Changeset 2131:a1a18627d23d
- Timestamp:
- 09/22/13 18:39:29 (11 years ago)
- Branch:
- Ticket #1548
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r2130 r2131 20 20 #header { 21 21 background: #676e78; 22 position: relative;22 color: #FFF; 23 23 border-bottom: 4px solid #A2CBE9; 24 24 width: 100%; 25 } 26 #wrapper { 25 display: table; 26 } 27 #wrapper, #wrapper.with-prelude { 27 28 position: relative; 28 padding-top: 1em; 29 overflow: hidden; 29 padding-top: 1.5em; 30 30 float: left; 31 31 width: 100%; 32 32 z-index: 10; 33 /*background: #f7f7f7 url(bg_wrapper.png) repeat-y 15.5em;*/33 background: #F7F7F7 url(bg_wrapper.png) repeat-y 15em; 34 34 } 35 35 .with-js #wrapper { … … 39 39 width: 100%; 40 40 float: right; 41 margin-left: -1 5.5em;41 margin-left: -14em; 42 42 margin-top: 0; 43 43 } 44 44 #content { 45 margin: 0 0 0 1 5.5em;46 padding: .75em 1 em;45 margin: 0 0 0 14em; 46 padding: .75em 1.5em .75em 2.5em; 47 47 background: #fff; 48 48 } … … 64 64 border-top: 1px solid #ccc; 65 65 background-color: #fff; 66 }67 #content, #main-menu { /* hauteurs égales */68 padding-bottom: 200em;69 margin-bottom: -200em;70 66 } 71 67 /* to hide main-menu */ … … 137 133 margin-right: 0; 138 134 } 135 .two-cols table { 136 width: 90%; 137 } 139 138 /* -------------------------------------------------------------- layout: three-cols */ 140 139 .three-cols { … … 201 200 } 202 201 /* ---------------------------------------------------------------- layout: popups */ 203 .popup #wrapper, .popup #top { 202 .popup h1 { 203 display: block; 204 204 width: 100%; 205 padding: 0;206 }207 .popup h1, .popup #top {208 205 margin: 0; 209 border-bottom: 1px solid; 206 background: #676e78; 207 font-size: 1.5em; 208 text-indent: 1em; 209 line-height: 1.5em; 210 210 font-weight: normal; 211 211 color: #fff; 212 background: #676e78;213 font-size: 1.5em;214 text-indent: .5em;215 line-height: 1.3em;216 212 } 217 213 .popup #wrapper { 214 display: block; 218 215 float: none; 219 margin:0; 220 display: block; 221 } 222 .popup #main { 223 margin-bottom: 1em 0; 224 } 225 .popup #content { 226 margin: 0; 227 padding: .5em 0; 228 } 229 .popup #content h2 { 230 margin: 0 0 1em; 231 } 232 .popup #footer p { 233 border: none; 234 } 216 width: 100%; 217 margin: 0; 218 padding: 0; 219 background-position: 0 0; 220 } 221 .popup #main { 222 margin: 0; 223 padding: 0; 224 } 225 .popup #content { 226 margin: 0; 227 padding: 1em; 228 } 229 .popup #content h2 { 230 margin: 0 0 1em 0; 231 padding: 0; 232 } 233 .popup #footer p { 234 border: none; 235 } 235 236 /* -------------------------------------------------------- layout: classes de complément */ 236 237 .constrained { … … 301 302 /* titre de page */ 302 303 #content > h2 { 303 padding: 0 18px 6px; /* ie < 9 sucks */ 304 padding: 0 1.8rem .6rem; 305 margin: 0 -18px .5em; /* ie < 9 sucks */ 306 margin: 0 -1.8rem 1rem; 304 padding: 0 1em .5em 1em; 305 margin: 0 -1em .5em -1em; 307 306 background: #fff url(bg_h2.png) repeat-x center bottom; 308 307 } … … 366 365 } 367 366 /* ---------------------------------------------------------------- tableaux */ 367 .table-outer { 368 width: 100%; 369 overflow: auto; 370 } 368 371 table { 369 372 font-size: 12px; /* ie < 9 sucks */ … … 371 374 border-collapse: collapse; 372 375 margin: 0 0 1em 0; 376 width: 100%; 373 377 } 374 378 caption { … … 438 442 } 439 443 a:hover, a:active, a:focus { 440 text-decoration: underline;444 border-bottom-style: solid; 441 445 } 442 446 a img, a:link img, a:visited img { … … 572 576 display: inline-block; 573 577 } 574 a.form-control {575 display: none;576 background: url(../images/expand.png) no-repeat 4px center;577 padding-left: 20px;578 color: #000;579 }580 a.form-control.open {581 background: url(../images/hide.png) no-repeat 4px center;582 }583 578 .form-note { 584 579 font-style: italic; … … 746 741 display: block; 747 742 padding: 1em 1em .33em 1em; 743 margin-bottom: 1em; 748 744 } 749 745 .warn, .warning { … … 794 790 border: 1px solid #F7E07E; 795 791 } 796 .success a, .warning-msg a {792 .success a, .warning-msg a, .info a { 797 793 color: #333; 798 794 } … … 856 852 border-bottom-color: #A2CBE9; 857 853 } 858 /* top (h1) */ 859 #top { 854 /* header global h1, form#top-info-blog, ul#top-info-user */ 855 #header a { 856 color: #FFF; 857 } 858 #header img { 859 vertical-align: middle; 860 padding-left: .5em; 861 } 862 h1, #top-info-blog, #top-info-user { 863 display: table-cell; 864 padding: 8px 0; 860 865 margin: 0; 861 padding: 0; 862 width: 14.5em; 863 float: left; 864 } 865 h1 { 866 padding: 0; 867 margin: 0; 868 height: 36px; 869 text-indent: -1000px; 870 } 871 h1 a { 872 position: absolute; 873 top: 0; 874 left: 0; 875 width: 174px; /* ie < 9 sucks */ 876 width: 17.4rem; 877 height: 36px; /* ie < 9 sucks */ 878 height: 3.6rem; 879 color: #fff; 880 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 881 } 882 h1 a:hover, h1 a:focus { 883 background-position: 0 -94px; 884 } 885 /* info-boxes */ 886 #info-boxes { 887 font-size: 12px; /* ie < 9 sucks */ 888 font-size: 1.2rem; 889 line-height: 3em; 890 } 891 #info-boxes a { 892 font-weight: bold; 866 font-size: 1em; 867 vertical-align: top; 868 } 869 /* h1 */ 870 h1 { 871 text-indent: -1000px; 872 width: 16.5em; 873 } 874 h1 a { 875 position: absolute; 876 top: 0; 877 left: 0; 878 width: 174px; /* ie < 9 sucks */ 879 width: 17.4rem; 880 height: 36px; /* ie < 9 sucks */ 881 height: 3.6rem; 893 882 color: #fff; 894 border-bottom-color: #ccc; 895 margin-left: .3em; 896 margin-right: .3em; 897 white-space: nowrap; 898 font-weight: normal; 899 } 900 #info-boxes a img { 901 vertical-align: middle; 902 padding-left: .3em; 903 } 904 #info-box1 { 905 margin: 0; 906 padding: 0 3px 0 18px; 907 color: #fff; 908 display: inline-block; 909 } 910 #info-box1 p { 911 margin: 0; 912 display: inline; 913 } 914 .with-js #info-box1 .hidden-if-js { 915 display: none; 916 } 917 #info-box1 select { 918 width: 145px; /* ie < 9 sucks */ 919 width: 14.5em; 920 } 921 #info-box1 a { 922 margin-left: 1.33em; 923 } 924 #info-box1 input[type=submit] { 925 background: #000; 926 border-color: #999; 927 margin-left: .33em; 928 } 929 #info-box1 input[type=submit]:hover { 930 background: #999; 931 } 932 #info-box2 { 933 margin: 0; 934 padding: 0 18px 0 0; 935 color: #fff; 936 float: right; 937 text-align: right; 938 } 939 #info-box2 span { 940 color: #999; 941 } 942 #info-box2 .logout { 943 margin-right: 0; 944 } 945 #info-box2 a.active { 946 border-bottom-color: #fff; 947 margin: 0; 948 padding: 1.2em .5em; 949 background-color: #fff; 950 color: #333; 951 font-weight: bold; 952 } 883 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 884 } 885 h1 a:hover, h1 a:focus { 886 background-position: 0 -94px; 887 } 888 /* top-info-blog */ 889 #top-info-blog select { 890 max-width: 20em; 891 } 892 .with-js #top-info-blog select, .no-js #top-info-blog input[type=submit] { 893 margin-right: 1.33em; 894 } 895 #top-info-blog input[type=submit] { 896 background: #000; 897 border-color: #999; 898 margin-left: .33em; 899 } 900 #top-info-blog input[type=submit]:hover { 901 background: #999; 902 } 903 #top-info-blog p { 904 display: inline-block; 905 margin: 0; 906 } 907 /* top-info-user */ 908 #top-info-user { 909 padding-right: 18px; 910 list-style-type: none; 911 text-align: right; 912 } 913 #top-info-user li { 914 display: inline-block; 915 margin-left: .5em; 916 padding-left: .5em; 917 border-left: 1px solid #999; 918 } 919 #top-info-user li:first-child { 920 border-left: none; 921 } 922 #top-info-user a.active { 923 border-bottom-color: #fff; 924 margin: 0; 925 padding: 16px .5em; 926 background-color: #fff; 927 color: #333; 928 font-weight: bold; 929 } 953 930 /* ---------------------------------------------------------- MAIN-MENU ELEMENTS */ 954 931 #favorites-menu, #blog-menu, #system-menu, #plugins-menu { … … 1030 1007 } 1031 1008 #qx:focus { 1032 border -color:#bee74b;1009 border: 1px solid #bee74b; 1033 1010 } 1034 1011 #search-menu input[type="submit"] { … … 1120 1097 line-height: 3.6rem; 1121 1098 } 1099 #help-button.floatable { 1100 border-top: 2px solid #ccc; 1101 border-left: 2px solid #ccc; 1102 border-bottom: 2px solid #ccc; 1103 border-bottom-left-radius: 1em; 1104 border-top-left-radius: 1em; 1105 background-color: #f5f5f5; 1106 position: fixed; 1107 top: 10px; 1108 } 1122 1109 .no-js #help-button { 1123 1110 top: 1em; … … 1128 1115 } 1129 1116 #content.with-help #help-button { 1130 right: 28 2px; /* ie < 9 sucks */1117 right: 280px; /* ie < 9 sucks */ 1131 1118 right: 28rem; 1132 1119 background-color: #f5f5f5; 1133 1120 position: fixed; 1134 top: 5 4px;1121 top: 50px; 1135 1122 z-index: 100; 1136 1123 border-top: 2px solid #FFD478; … … 1148 1135 } 1149 1136 #content.with-help .help-content { 1150 padding: 0 .5em 1em;1137 padding: 0 1em 1em; 1151 1138 } 1152 1139 .help-content dt { … … 1266 1253 } 1267 1254 /* ----------------------------------------------------------- BOITES À FILTRES */ 1255 a.form-control { 1256 display: none; 1257 background: url(../images/expand.png) no-repeat 4px center; 1258 padding-left: 20px; 1259 color: #000; 1260 } 1261 a.form-control.open { 1262 background: url(../images/hide.png) no-repeat 4px center; 1263 } 1268 1264 #filters-form { 1269 1265 border: 1px dashed #999; … … 1369 1365 #icons a:hover, 1370 1366 #icons a:focus { 1371 border-bottom-width: 0 px;1367 border-bottom-width: 0; 1372 1368 text-decoration: none; 1373 1369 } … … 1389 1385 } 1390 1386 #icons a:focus span, #icons a:hover span { 1391 text-decoration: underline;1387 border-bottom-style: solid; 1392 1388 } 1393 1389 /* billet rapide */ … … 2091 2087 } 2092 2088 /* password indicator */ 2089 .install .pw-table, .install .pw-cell, .install .pwindicator { 2090 display: block; 2091 } 2093 2092 .pw-table { 2094 2093 display: table; … … 2334 2333 /* ------------------------------------------------------------------------------------ 2335 2334 UN POIL DE MEDIA QUERIES 2336 ------------------------------------------------------------------------------------ */2335 ------------------------------------------------------------------------------------ 2337 2336 @media screen and (max-width: 920px) { 2338 2337 #top, #top h1 a { … … 2404 2403 #info-box1 p.nomobile, label.nomobile { display: none; } 2405 2404 } 2405 */ -
inc/admin/lib.pager.php
r2130 r2131 50 50 $this->form_hidden = ''; 51 51 foreach ($args as $k=>$v) { 52 $this->form_hidden .= form::hidden(array($k),$v); 52 if (is_array($v)) { 53 foreach ($v as $k2=>$v2) { 54 $this->form_hidden .= form::hidden(array($k.'[]'),$v2); 55 } 56 } else { 57 $this->form_hidden .= form::hidden(array($k),$v); 58 } 53 59 } 54 60 $this->form_action = $url['path']; … … 164 170 } 165 171 } 166 $html_block = '<table class="clear">'; 172 $html_block = 173 '<div class="table-outer">'. 174 '<table class="clear">'; 167 175 168 176 if( $filter ) { … … 180 188 '<th scope="col">'.__('Trackbacks').'</th>'. 181 189 '<th scope="col">'.__('Status').'</th>'. 182 '</tr>%s</table> ';190 '</tr>%s</table></div>'; 183 191 184 192 if ($enclose_block) { … … 284 292 285 293 $html_block = 286 '<table class="clear"><caption class="hidden">'.__('Entries list').'</caption><tr>'. 294 '<div class="table-outer clear">'. 295 '<table><caption class="hidden">'.__('Entries list').'</caption><tr>'. 287 296 '<th scope="col">'.__('Title').'</th>'. 288 297 '<th scope="col">'.__('Date').'</th>'. 289 298 '<th scope="col">'.__('Author').'</th>'. 290 299 '<th scope="col">'.__('Status').'</th>'. 291 '</tr>%s</table> ';300 '</tr>%s</table></div>'; 292 301 293 302 if ($enclose_block) { … … 375 384 $pager = new dcPager($page,$this->rs_count,$nb_per_page,10); 376 385 386 $comments = array(); 387 if (isset($_REQUEST['comments'])) { 388 foreach ($_REQUEST['comments'] as $v) { 389 $comments[(integer)$v]=true; 390 } 391 } 377 392 $html_block = 393 '<div class="table-outer">'. 378 394 '<table><caption class="hidden">'.__('Comments and trackbacks list').'</caption><tr>'. 379 395 '<th colspan="2" scope="col" abbr="comm" class="first">'.__('Type').'</th>'. … … 382 398 '<th scope="col" class="txt-center">'.__('Status').'</th>'. 383 399 '<th scope="col" abbr="entry">'.__('Entry title').'</th>'. 384 '</tr>%s</table> ';400 '</tr>%s</table></div>'; 385 401 386 402 if ($enclose_block) { … … 396 412 while ($this->rs->fetch()) 397 413 { 398 echo $this->commentLine( );414 echo $this->commentLine(isset($comments[$this->rs->comment_id])); 399 415 } 400 416 … … 405 421 } 406 422 407 private function commentLine( )423 private function commentLine($checked=false) 408 424 { 409 425 global $author, $status, $sortby, $order, $nb_per_page; … … 484 500 485 501 $html_block = 486 '<table class="clear"><caption class="hidden">'.__('Users list').'</caption><tr>'. 502 '<div class="table-outer clear">'. 503 '<table><caption class="hidden">'.__('Users list').'</caption><tr>'. 487 504 '<th colspan="2" scope="col" class="first">'.__('Username').'</th>'. 488 505 '<th scope="col">'.__('First Name').'</th>'. … … 490 507 '<th scope="col">'.__('Display name').'</th>'. 491 508 '<th scope="col" class="nowrap">'.__('Entries (all types)').'</th>'. 492 '</tr>%s</table> ';509 '</tr>%s</table></div>'; 493 510 494 511 if ($enclose_block) {
Note: See TracChangeset
for help on using the changeset viewer.