Changeset 29539
- Timestamp:
- Sep 15, 2014, 5:18:17 PM (10 years ago)
- Location:
- trunk/admin/themes
- Files:
-
- 6 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/clear/theme.css
r29406 r29539 382 382 } 383 383 384 .font-checkbox [class*=icon-check]:before { color:#444; } -
trunk/admin/themes/default/js/common.js
r28039 r29539 1 jQuery.fn.fontCheckbox = function() { 2 this.find('input[type=checkbox], input[type=radio]').each(function() { 3 if (!jQuery(this).is(':checked')) { 4 jQuery(this).prev().toggleClass('icon-check icon-check-empty'); 5 } 6 }); 7 this.find('input[type=checkbox]').on('change', function() { 8 jQuery(this).prev().toggleClass('icon-check icon-check-empty'); 9 }); 10 this.find('input[type=radio]').on('change', function() { 11 jQuery(this).closest('.font-checkbox').find('input[type=radio][name='+ jQuery(this).attr('name') +']') 12 .prev().toggleClass('icon-check icon-check-empty'); 13 }); 14 }; 15 16 // init fontChecbox everywhere 17 jQuery('.font-checkbox').fontCheckbox(); 18 1 19 function array_delete(arr, item) { 2 20 var i = arr.indexOf(item); -
trunk/admin/themes/default/theme.css
r29485 r29539 1268 1268 vertical-align:top; 1269 1269 } 1270 1271 .font-checkbox [class*=icon-check]:before { 1272 font-size:16px; 1273 line-height:16px; 1274 margin-right:0; 1275 } 1276 .font-checkbox .icon-check-empty { 1277 position:relative; 1278 left:-1px; 1279 } 1280 .font-checkbox input[type=checkbox], .font-checkbox input[type=radio] { 1281 display:none; 1282 } -
trunk/admin/themes/roma/theme.css
r29485 r29539 17 17 /* text color */ 18 18 body, h3, dt, .throw, .content, label, LEGEND { 19 color:# 666;19 color:#777; 20 20 } 21 21 … … 358 358 border-color: #444; 359 359 } 360 361 .font-checkbox [class*=icon-check]:before { color:#aaa; }
Note: See TracChangeset
for help on using the changeset viewer.