Changeset 1946:4f3fe6de5381
- Timestamp:
- 09/18/13 19:12:08 (12 years ago)
- Branch:
- default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/common.js
r1923 r1946 418 418 hideSidebar(); 419 419 } 420 }) .css('height', objSeparator.parent().parent().parent().outerHeight() + 'px');420 }); 421 421 if ( $.cookie('sidebar-pref') == 'hide-mm' ){ 422 422 objMain.addClass('hide-mm'); … … 424 424 objMain.removeClass('hide-mm'); 425 425 } 426 427 426 }); -
admin/style/default.css
r1934 r1946 25 25 } 26 26 #wrapper { 27 position: relative; 27 28 width: 100%; 28 29 padding-top: 1em; … … 59 60 /* to hide main-menu */ 60 61 #collapser { 62 position: absolute; 63 top: 0; 64 left: 14.5em; 65 width: 1em; 66 height: 100%; 67 overflow: hidden; 61 68 display: block; 62 float: left;63 width: 1em;64 69 background: #f3f3f3 url(../images/collapser-hide.png) no-repeat center bottom; 65 margin-left: 14.5em; 66 border: none; 67 text-align: left; 68 overflow: hidden; 69 border-right: double #ddd; 70 border-right: double #dfdfdf; 71 z-index: 1; 70 72 } 71 73 .expand-mm { … … 86 88 } 87 89 .hide-mm #collapser { 88 margin-left: 0; 89 text-align: right; 90 left: 0; 90 91 background: #e3e3e3 url(../images/collapser-show.png) no-repeat center bottom; 91 92 } … … 96 97 display: block; 97 98 } 98 /* if no js activated */99 .no-js #content {100 margin-left: 14.5em;101 }102 103 99 /* -------------------------------------------------------------- layout: two-cols */ 104 100 .two-cols { … … 1073 1069 display: block; 1074 1070 position: absolute; 1075 top: 36px; /* ie < 9 sucks */ 1076 top: 3.6rem; 1071 top: 0; 1077 1072 right: 0; 1078 1073 width: 280px; /* ie < 9 sucks */ … … 1087 1082 background: transparent url(../images/page_help.png) no-repeat 6px center; 1088 1083 position: absolute; 1089 top: 36px; /* ie < 9 sucks */ 1090 top: 3.6rem; 1091 right: 0px; 1084 top: 0; 1085 right: 0; 1092 1086 padding: 0 1.5em 0 30px; 1093 1087 cursor: pointer; … … 1105 1099 background-color: #f5f5f5; 1106 1100 position: fixed; 1101 top: 40px; 1107 1102 border-top: 2px solid #FFD478; 1108 1103 border-left: 2px solid #FFD478; … … 1352 1347 } 1353 1348 #icons a img { 1354 padding: 2em; 1355 -moz-box-shadow: 0px 1px 0px 0px #ffffff; 1356 -webkit-box-shadow: 0px 1px 0px 0px #ffffff; 1357 box-shadow: 0px 1px 0px 0px #ffffff; 1358 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) ); 1359 background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% ); 1360 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9'); 1349 padding: 1.5em; 1361 1350 background-color:#f9f9f9; 1362 -moz-border-radius: 1em;1363 -webkit-border-radius: 1em;1364 border-radius: 1em;1351 -moz-border-radius:8px; 1352 -webkit-border-radius:8px; 1353 border-radius:8px; 1365 1354 border:1px solid #dcdcdc; 1366 1355 display:inline-block; -
inc/admin/lib.dc.page.php
r1937 r1946 151 151 echo 152 152 '<div id="wrapper" class="clearfix">'."\n". 153 '<div id="main">'."\n". 154 '<div class="hidden-if-no-js"><a href="#" id="collapser">'. 153 '<div class="hidden-if-no-js collapser-box"><a href="#" id="collapser">'. 155 154 '<img class="collapse-mm" src="images/collapser-hide.png" alt="'.__('Hide main menu').'" />'. 156 155 '<img class="expand-mm" src="images/collapser-show.png" alt="'.__('Show main menu').'" />'. 157 156 '</a></div>'. 157 '<div id="main">'."\n". 158 158 '<div id="content" class="clearfix">'."\n"; 159 159 … … 216 216 echo 217 217 '</div>'."\n". // End of #main-menu 218 218 "</div>\n"; // End of #wrapper 219 220 echo 219 221 '<div id="footer">'. 220 222 '<a href="http://dotclear.org/" title="'.$text.'"><img src="style/dc_logos/w-dotclear90.png" alt="'.$text.'" /></a></div>'."\n". … … 226 228 ' \__________"|'."\n". 227 229 ' ~^~^~^~^~^~^~^~^~^~'."\n". 228 ' -->'."\n". 229 "</div>\n"; // End of #wrapper 230 ' -->'."\n"; 230 231 231 232 if (defined('DC_DEV') && DC_DEV === true) {
Note: See TracChangeset
for help on using the changeset viewer.