Changeset 1309:eb5238f5be85
- Timestamp:
- 08/06/13 17:26:09 (10 years ago)
- Branch:
- default
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/auth.php
r1308 r1309 395 395 __('Remember my ID on this computer').'</label></p>'. 396 396 397 '<p><input type="submit" value="'.__('log in').'" /></p>';397 '<p><input class="add button" type="submit" value="'.__('log in').'" /></p>'; 398 398 399 399 if (!empty($_REQUEST['blog'])) { -
admin/style/default.css
r1308 r1309 23 23 padding: 0; 24 24 } 25 body.auth {26 background: #fff;27 }28 25 29 26 a, a:link, a:visited { … … 46 43 color: #666; 47 44 font-size: 1.8rem; 48 padding: 0 0 2em;45 padding: 0 0 1.8rem; 49 46 font-weight: normal; 50 47 } … … 65 62 hr { 66 63 height: 1px; 67 border-width: 1px 0 0 0;64 border-width: 1px 0 0; 68 65 border-color: #999; 69 66 border-style: solid; … … 91 88 #header { 92 89 background: #575859; 93 height: 3 .6rem;90 height: 3em; 94 91 position: relative; 95 92 border-bottom: 4px solid #A2CBE9; … … 101 98 overflow: hidden; 102 99 position: absolute; 103 top: 3 .6rem;100 top: 3em; 104 101 left: 0; 105 102 background: #A2CBE9; 106 width: 14 em;103 width: 14.5em; 107 104 } 108 105 #prelude li { … … 112 109 } 113 110 #prelude li a { 114 padding : .5rem 1rem .4rem 1.5rem;111 padding-left: 1.6rem; 115 112 background: #A2CBE9; 116 113 color: #000; … … 120 117 margin: 0; 121 118 padding: 0; 122 width: 14 em;119 width: 14.5em; 123 120 float: left; 124 line-height: 3 .6rem;121 line-height: 3em; 125 122 } 126 123 #top h1 { … … 135 132 top: 0; 136 133 left: 0; 137 width: 14 rem;134 width: 14.5em; 138 135 height: 3.6rem; 139 136 border: none; … … 146 143 background: #575859; 147 144 font-size: 1em; 148 line-height: 3.6rem; 149 text-align: justify; 145 line-height: 3em; 150 146 } 151 147 #info-box1 { … … 169 165 } 170 166 #info-box1 select { 171 width: 1 5em;167 width: 14.5em; 172 168 } 173 169 #info-box1 a img, #info-box2 a img { … … 175 171 padding-left: .3em; 176 172 } 177 #info-box 1 a, #info-box2a {173 #info-boxes a { 178 174 background: #575859; 179 175 font-weight: bold; … … 199 195 color: #999; 200 196 } 201 /* prelude*/197 /* main blocks */ 202 198 #wrapper { 203 199 width: 100%; … … 206 202 width: 100%; 207 203 float: right; 208 margin-left: -14 em;204 margin-left: -14.5em; 209 205 margin-top: 0; 210 206 background: #fff url(dc_bg.png); 211 207 } 212 208 #content { 213 margin: 0 0 0 14 em;209 margin: 0 0 0 14.5em; 214 210 padding: .9rem 1.8rem 1.8rem; 215 211 background: #fff url(dc_bg_title.png) repeat-x center top; … … 254 250 /* -------------------------------------------------------------- layout - onglets */ 255 251 .part-tabs ul { 256 padding: .5em 0 .3em 1 .2rem;252 padding: .5em 0 .3em 1em; 257 253 border-bottom: 1px solid #ccc; 258 254 } … … 292 288 /* ------------------------------------------------------------------ main-menu */ 293 289 #main-menu { 294 width: 14 em;290 width: 14.5em; 295 291 float: left; 296 margin-top: 4.4rem; 297 padding-bottom: 1rem; 292 margin:0; 293 padding-top: 4em; 294 padding-bottom: 1em; 298 295 background: #f7f7f7; 299 296 } … … 309 306 } 310 307 #main-menu ul { 311 font-size: 1.2rem;312 308 margin: 0 0 1.8rem 0; 313 309 padding: 0; … … 366 362 width: 18em; 367 363 margin: 1.5em auto 0; 368 font-size: 1. 1em;364 font-size: 1.4rem; 369 365 } 370 366 #login-screen h1 { … … 373 369 height: 50px; 374 370 margin-bottom: .5em; 375 margin-left: .5em;371 margin-left: 0; 376 372 } 377 373 #login-screen fieldset, #login-screen .fieldset { 378 border: 1px solid # 999;374 border: 1px solid #A8DC26; 379 375 padding: 1em 1em 0 1em; 380 376 border-radius: 4px; 381 377 } 378 #login-screen legend { 379 border: 1px solid #A8DC26; 380 } 382 381 #login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { 383 382 width: 100%; 384 383 } 385 384 #login-screen #issue { 386 margin-left: 1 em;387 font-size: 1 em;385 margin-left: 1.5rem; 386 font-size: 1.2rem; 388 387 } 389 388 #login-screen #issue strong {font-weight: normal;} … … 793 792 } 794 793 #help-button { 795 background: transparent url(../images/page_help.png) no-repeat .6remcenter;794 background: transparent url(../images/page_help.png) no-repeat 6px center; 796 795 position: absolute; 797 796 top: 3.6rem; … … 800 799 cursor: pointer; 801 800 color: #2373A8; 802 line-height: 4 rem;801 line-height: 4.2rem; 803 802 } 804 803 #help-button span { … … 878 877 } 879 878 p.error, p.message, p.static-msg { 880 padding-top: 1 em;881 padding-bottom: 1 em;879 padding-top: 1rem; 880 padding-bottom: 1rem; 882 881 } 883 882 div.error, p.error { … … 931 930 p.top-add { 932 931 text-align: right; 933 margin: 2rem 00;932 margin: 0; 934 933 } 935 934 p.top-add a { … … 1023 1022 } 1024 1023 tr.line:hover { 1025 background: # ddd;1024 background: #f3f3f3; 1026 1025 } 1027 1026 caption { … … 1035 1034 border-width: 0 0 1px 0; 1036 1035 border-style: solid; 1037 border-color: # ccc;1036 border-color: #e3e3e3; 1038 1037 padding: .4rem .5rem; 1039 1038 vertical-align: top; … … 1041 1040 th { 1042 1041 text-align: left; 1043 border-bottom-color: # 666;1042 border-bottom-color: #aaa; 1044 1043 } 1045 1044 .noborder td, td.noborder, .noborder th, th.noborder { … … 1147 1146 border-width: 1px; 1148 1147 border-style: solid; 1149 border-color: # 000 #ccc #ccc #000;1148 border-color: #666 #ccc #ccc #999; 1150 1149 } 1151 1150 input.invalid, textarea.invalid, select.invalid { … … 1237 1236 display: inline; 1238 1237 position: absolute; 1239 left: 1 5em;1238 left: 14.5em; 1240 1239 top: 0; 1241 1240 } … … 1262 1261 1263 1262 /* --------------------------------------------------------------- buttons */ 1264 h2 a.button {1265 color: #333;1266 font-weight: normal;1267 font-size: .75em;1268 vertical-align: middle;1269 }1270 1263 /* commun */ 1271 1264 input[type=submit], … … 1426 1419 Media queries vite fait en attendant la reprise complète du layout 1427 1420 ---------------------------------------------------------------------------- */ 1428 @media screen and (max-width: 880px) { 1429 #top, #top h1 a {width: 42px;overflow:hidden;} 1430 #top, #info-boxes, #info-box1, #info-box2 {display:inline-block;vertical-align:middle;margin:0;padding:0;line-height: 3.2rem;} 1431 #info-box1 select {width: 14rem;} 1432 #help-button {position: absolute;top: 8rem; right:0;} 1433 } 1434 @media screen and (max-width: 680px) { 1435 .nomobile, #help-button {display: none;} 1436 #main-menu, #main, #content, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { 1437 display:block; 1438 width: 98% !important; 1439 margin:0 auto; 1440 padding:0; 1441 float:none; 1442 text-align: left; 1443 clear: both; 1444 } 1445 } 1421 @media screen and (max-width: 920px) { 1422 #top, #top h1 a {width: 42px !important;overflow:hidden;} 1423 } 1424 @media screen and (max-width: 800px) { 1425 #top, #info-boxes, #info-box1, #info-box2 { 1426 display:inline-block; 1427 vertical-align:middle; 1428 margin:0; 1429 padding:0; 1430 line-height: 3.2rem; 1431 } 1432 #info-box1 select {width: 14rem;} 1433 #help-button {position: absolute; top: 8rem; right:0;} 1434 #main-menu, #main, #content, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { 1435 display:block; 1436 width: 98%; 1437 margin:0 auto; 1438 padding:0; 1439 float:none; 1440 text-align: left; 1441 clear: both; 1442 } 1443 #content { 1444 width: 100%; 1445 padding-top: .5em; 1446 } 1447 } 1448 @media screen and (max-width: 720px) { 1449 .smallscreen {display: none;} 1450 } 1451 @media screen and (max-width: 492px) { 1452 #info-boxes {float:right;} 1453 #info-box1, #info-box2 {display: block;} 1454 #header {height:7.2rem;} 1455 #help-button {top: 11rem;} 1456 #info-boxes {display: inline-block; height: auto;} 1457 #top h1 a, #top {height: auto;} 1458 } -
inc/admin/lib.dc.page.php
r1308 r1309 74 74 $blog_box = 75 75 '<p><label for="switchblog" class="classic">'. 76 __('Blogs:').' '.76 __('Blogs:').'</label> '. 77 77 $core->formNonce(). 78 78 form::combo('switchblog',$blogs,$core->blog->id). 79 '</ label></p>'.79 '</p>'. 80 80 '<noscript><p><input type="submit" value="'.__('ok').'" /></p></noscript>'; 81 81 } … … 138 138 '</div>'. 139 139 '<div id="info-box2">'. 140 '<a class=" nomobile"'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="index.php">'.__('My dashboard').'</a>'.141 '<span class=" nomobile"> | </span><a class=" nomobile"'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' class="active nomobile"' : '').' href="preferences.php">'.__('My preferences').'</a>'.142 '<span class=" nomobile"> | </span><a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()).' <img src="images/logout.png" alt="" /></a>'.140 '<a class="smallscreen"'.(preg_match('/index.php$/',$_SERVER['REQUEST_URI']) ? ' class="active"' : '').' href="index.php">'.__('My dashboard').'</a>'. 141 '<span class="smallscreen"> | </span><a class="smallscreen"'.(preg_match('/preferences.php(\?.*)?$/',$_SERVER['REQUEST_URI']) ? ' class="active smallscreen"' : '').' href="preferences.php">'.__('My preferences').'</a>'. 142 '<span class="smallscreen"> | </span><a href="index.php?logout=1" class="logout">'.sprintf(__('Logout %s'),$core->auth->userID()).' <img src="images/logout.png" alt="" /></a>'. 143 143 '</div>'. 144 144 '</div>'.
Note: See TracChangeset
for help on using the changeset viewer.