Changeset 1834:f4c0c4d04639 for admin
- Timestamp:
- 09/12/13 00:08:55 (12 years ago)
- Branch:
- Ticket #1539
- Parents:
- 1833:81903fe2f6eb (diff), 1799:a5868fc53e27 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- admin
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/common.js
r1798 r1834 263 263 }, 264 264 265 checkboxesHelpers: function(e ) {265 checkboxesHelpers: function(e, target) { 266 266 $(e).append(document.createTextNode(dotclear.msg.to_select)); 267 267 $(e).append(document.createTextNode(' ')); 268 268 269 target = target || $(e).parents('form').find('input[type="checkbox"]'); 270 269 271 var a = document.createElement('a'); 270 272 a.href='#'; 271 273 $(a).append(document.createTextNode(dotclear.msg.select_all)); 272 274 a.onclick = function() { 273 $(this).parents('form').find('input[type="checkbox"]').check();275 target.check(); 274 276 return false; 275 277 }; … … 282 284 $(a).append(document.createTextNode(dotclear.msg.no_selection)); 283 285 a.onclick = function() { 284 $(this).parents('form').find('input[type="checkbox"]').unCheck();286 target.unCheck(); 285 287 return false; 286 288 }; … … 293 295 $(a).append(document.createTextNode(dotclear.msg.invert_sel)); 294 296 a.onclick = function() { 295 $(this).parents('form').find('input[type="checkbox"]').toggleCheck();297 target.toggleCheck(); 296 298 return false; 297 299 }; -
admin/js/common.js
r1829 r1834 348 348 $(function() { 349 349 // remove class no-js from html tag; cf style/default.css for examples 350 $('body').removeClass('no-js'); 351 $('body').addClass('with-js'); 352 350 $('body').removeClass('no-js').addClass('with-js'); 351 353 352 $('#wrapper').contents().each(function() { 354 353 if (this.nodeType==8) { -
admin/style/default.css
r1798 r1834 2001 2001 } 2002 2002 /* caché pour tout le monde */ 2003 .hide {2003 .hide, .button.hide { 2004 2004 display: none; 2005 2005 } -
admin/style/default.css
r1829 r1834 574 574 color: #fff; 575 575 background-color:#25A6E1; 576 border -color:#2C8FD1;576 border: 1px solid #2C8FD1; 577 577 background:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%); 578 578 background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#25A6E1),color-stop(100%,#188BC0)); … … 589 589 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#25A6E1',endColorstr='#25A6E1',GradientType=0); 590 590 } 591 /* suppression, reset, "neutres" */ 592 input[type=reset], input[type=delete], input[type=submit].delete, input[type=submit].reset, input[type=button], 593 input.delete, input.reset, input.button, 594 a.delete, a.reset, a.button { 591 /* suppression, reset, "neutres" fond gris */ 592 button, input[type=button], input.button, 593 input[type=reset], input[type=submit].reset, input.reset, 594 input[type=submit].delete, input.delete, 595 a.button.delete, a.button.reset, a.button { 595 596 color: #000; 596 597 background-color: #f5f5f5; … … 599 600 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); 600 601 } 601 input[type=reset]:hover, input[type=delete]:hover, input[type=button]:hover,602 input[type=submit].delete:hover,603 input .delete:hover, input.reset:hover, input.button:hover,604 a.delete:hover, a.reset:hover, a.button:hover,605 input[type= reset]:focus, input[type=delete]:focus, input[type=button]:focus,606 input[type=submit].delete:focus, 607 input.delete:focus, input.reset:focus, input.button:focus,608 a. delete:focus, a.reset:focus, a.button:focus {602 button:hover, input[type=button]:hover, input.button:hover, 603 button:focus, input[type=button]:focus, input.button:focus, 604 input[type=reset]:hover, input[type=submit].reset:hover, input.reset:hover, 605 input[type=reset]:focus, input[type=submit].reset:focus, input.reset:focus, 606 input[type=submit].delete:hover, input.delete:hover, 607 input[type=submit].delete:focus, input.delete:focus, 608 a.button.delete:hover, a.button.reset:hover, a.button:hover, 609 a.button.delete:focus, a.button.reset:focus, a.button:focus { 609 610 background-color:#e9e9e9; 610 611 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) ); … … 612 613 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9'); 613 614 } 614 a.delete, input[type=delete], input.delete { 615 /* suppression */ 616 input[type=submit].delete, input.delete, a.button.delete { 615 617 border-color: #ccc; 616 618 color: #c00; 617 619 margin-left: 1em; 618 620 } 619 a.delete:first-child, input [type=delete]:first-child, input.delete:first-child {621 a.delete:first-child, input.delete:first-child { 620 622 margin-left: 0; 621 623 } 622 a.delete:hover, input[type=delete]:hover, input.delete:hover,623 a.delete:focus, input[type=delete]:focus, input.delete:focus {624 input[type=submit].delete:hover, input.delete:hover, a.button.delete:hover, 625 input[type=submit].delete:focus, input.delete:focus, a.button.delete:focus { 624 626 border-color: #c00; 625 627 } … … 748 750 .dc-update p { 749 751 display: inline-block; 752 vertical-align: middle; 750 753 } 751 754 .dc-update a { … … 1079 1082 margin: 0.3em 0 1.5em 0; 1080 1083 } 1084 /* 1. inside help block */ 1085 #helplink p { 1086 padding: 0 0 0 .5em; 1087 } 1088 /* 2. in footer */ 1089 span.helplink { 1090 display: block; 1091 float: left; 1092 padding: 0 1.5em 0 30px; 1093 background: transparent url(../images/page_help.png) no-repeat 6px center; 1094 } 1095 span.helplink a { 1096 border-bottom: 1px solid #2373A8; 1097 } 1081 1098 /* ------------------------------------------------------------------ FOOTER ELEMENTS */ 1082 1099 #footer p { … … 2034 2051 display: block; 2035 2052 } 2036 2037 2038 /*2039 tests dashboard2040 2041 #content {width: auto;float:none !important; margin: 0;}2042 #main {width: auto; display:inline-block; vertical-align: top; margin: 0;float: none !important}2043 #main-menu {clear:both; width: auto}2044 #main-menu {margin-top: 8em}2045 #favorites-menu {display:none;}2046 #plugins-menu, #blog-menu, #system-menu, #dashboard-items {display: inline-block;vertical-align: top; min-width: 17em; margin: 0; clear: none;}2047 2048 */2049 2050 2051 2053 /* ------------------------------------------------------------------------------------ 2052 2054 UN POIL DE MEDIA QUERIES … … 2121 2123 #info-box1 p.nomobile, label.nomobile { display: none; } 2122 2124 } 2123 }2124
Note: See TracChangeset
for help on using the changeset viewer.