Changeset 1816:7d46d26e84dd
- Timestamp:
- 09/08/13 00:27:44 (12 years ago)
- Branch:
- Ticket #1539
- Parents:
- 1815:07b857f03655 (diff), 1748:cc4744ca4ed7 (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. - Files:
-
- 11 deleted
- 2 edited
-
admin/post.php (modified) (9 diffs)
-
admin/style/default.css (modified) (19 diffs)
-
unit-tests/dotclearTest.php (deleted)
-
unit-tests/inc/libs/clearbricks/_commonTest.php (deleted)
-
unit-tests/inc/libs/clearbricks/common/_mainTest.php (deleted)
-
unit-tests/inc/libs/clearbricks/common/lib.cryp.Test.php (deleted)
-
unit-tests/inc/libs/clearbricks/common/lib.date.Test.php (deleted)
-
unit-tests/inc/libs/clearbricks/common/lib.files.Test.php (deleted)
-
unit-tests/inc/libs/clearbricks/common/lib.form.Test.combo.1.xml (deleted)
-
unit-tests/inc/libs/clearbricks/common/lib.form.Test.combo.2.xml (deleted)
-
unit-tests/inc/libs/clearbricks/common/lib.form.Test.php (deleted)
-
unit-tests/inc/libs/clearbricks/common/lib.form.Test.render.1.xml (deleted)
-
unit-tests/readme.md (deleted)
Legend:
- Unmodified
- Added
- Removed
-
admin/post.php
r1741 r1816 51 51 52 52 # Getting categories 53 $categories_combo = dcAdminCombos::getCategoriesCombo( 54 $core->blog->getCategories(array('post_type'=>'post')) 55 ); 56 57 $status_combo = dcAdminCombos::getPostStatusesCombo(); 58 53 $categories_combo = array(' ' => ''); 54 try { 55 $categories = $core->blog->getCategories(array('post_type'=>'post')); 56 while ($categories->fetch()) { 57 $categories_combo[] = new formSelectOption( 58 str_repeat(' ',$categories->level-1).($categories->level-1 == 0 ? '' : '• ').html::escapeHTML($categories->cat_title), 59 $categories->cat_id 60 ); 61 } 62 } catch (Exception $e) { } 63 64 # Status combo 65 foreach ($core->blog->getAllPostStatus() as $k => $v) { 66 $status_combo[$v] = (string) $k; 67 } 59 68 $img_status_pattern = '<img class="img_select_option" alt="%1$s" title="%1$s" src="images/%2$s" />'; 60 69 61 70 # Formaters combo 62 $formaters_combo = dcAdminCombos::getFormatersCombo(); 71 foreach ($core->getFormaters() as $v) { 72 $formaters_combo[$v] = $v; 73 } 63 74 64 75 # Languages combo 65 76 $rs = $core->blog->getLangs(array('order'=>'asc')); 66 $lang_combo = dcAdminCombos::getLangsCombo($rs,true); 77 $all_langs = l10n::getISOcodes(0,1); 78 $lang_combo = array('' => '', __('Most used') => array(), __('Available') => l10n::getISOcodes(1,1)); 79 while ($rs->fetch()) { 80 if (isset($all_langs[$rs->post_lang])) { 81 $lang_combo[__('Most used')][$all_langs[$rs->post_lang]] = $rs->post_lang; 82 unset($lang_combo[__('Available')][$all_langs[$rs->post_lang]]); 83 } else { 84 $lang_combo[__('Most used')][$rs->post_lang] = $rs->post_lang; 85 } 86 } 87 unset($all_langs); 88 unset($rs); 67 89 68 90 # Validation flag … … 283 305 284 306 # Getting categories 285 $categories_combo = dcAdminCombos::getCategoriesCombo( 286 $core->blog->getCategories(array('post_type'=>'post')) 287 ); 307 $categories_combo = array(__('(No cat)') => ''); 308 try { 309 $categories = $core->blog->getCategories(array('post_type'=>'post')); 310 if (!$categories->isEmpty()) { 311 while ($categories->fetch()) { 312 $catparents_combo[] = $categories_combo[] = new formSelectOption( 313 str_repeat(' ',$categories->level-1).($categories->level-1 == 0 ? '' : '• ').html::escapeHTML($categories->cat_title), 314 $categories->cat_id 315 ); 316 } 317 } 318 } catch (Exception $e) { } 319 288 320 /* DISPLAY 289 321 -------------------------------------------------------- */ … … 413 445 '<p>'.form::combo('post_format',$formaters_combo,$post_format,'maximal'). 414 446 '</p>'. 415 '<p >'.($post_id && $post_format != 'xhtml' ?416 '<a id="convert-xhtml" class="button " href="post.php?id='.$post_id.'&xconv=1">'.417 __('Convert to XHTML').'</a> ' : '').'</p></div>')),447 '<p class="format_control control_wiki">'. 448 '<a id="convert-xhtml" class="button maximal '.($post_id && $post_format != 'wiki' ? 'hide' : '').'" href="post.php?id='.$post_id.'&xconv=1">'. 449 __('Convert to XHTML').'</a></p></div>')), 418 450 'metas-box' => array( 419 451 'title' => __('Ordering'), … … 485 517 486 518 "post_excerpt" => 487 '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').' <span class="form-note">'.519 '<p class="area" id="excerpt-area"><label for="post_excerpt">'.__('Excerpt:').'<span class="form-note">'. 488 520 __('Introduction to the post.').'</span></label> '. 489 521 form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). … … 491 523 492 524 "post_content" => 493 '<p class="area" ><label class="required" '.525 '<p class="area" id="content-area"><label class="required" '. 494 526 'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 495 527 form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content)). … … 497 529 498 530 "post_notes" => 499 '<p class="area" id="notes-area"><label for="post_notes">'.__('Personal notes:').' <span class="form-note">'.531 '<p class="area" id="notes-area"><label for="post_notes">'.__('Personal notes:').'<span class="form-note">'. 500 532 __('Unpublished notes.').'</span></label>'. 501 533 form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). … … 548 580 549 581 foreach ($sidebar_items as $id => $c) { 550 echo '<div id="'.$id.'" class=" sb-box">'.582 echo '<div id="'.$id.'" class="box">'. 551 583 '<h4>'.$c['title'].'</h4>'; 552 584 foreach ($c['items'] as $e_name=>$e_content) { … … 601 633 602 634 echo 603 '<div id="comments" class=" clearmulti-part" title="'.__('Comments').'">';635 '<div id="comments" class="multi-part" title="'.__('Comments').'">'; 604 636 605 637 # --BEHAVIOR-- adminCommentsActionsCombo … … 608 640 $has_action = !empty($combo_action) && (!$trackbacks->isEmpty() || !$comments->isEmpty()); 609 641 echo 610 '<p class="top-add"><a class="button add " href="#comment-form">'.__('Add a comment').'</a></p>';642 '<p class="top-add"><a class="button add onblog_link" href="#comment-form">'.__('Add a comment').'</a></p>'; 611 643 612 644 if ($has_action) { -
admin/style/default.css
r1815 r1816 1 1 /* 2 # -- BEGIN LICENSE BLOCK --------------------------------------- 3 # 2 # -- BEGIN LICENSE BLOCK -------------------------------------------------- 4 3 # This file is part of Dotclear 2. 5 #6 4 # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear 7 5 # Licensed under the GPL version 2.0 license. 8 # See LICENSE file or 9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 10 # 11 # -- END LICENSE BLOCK ----------------------------------------- 6 # See LICENSE file or http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 7 # -- END LICENSE BLOCK ---------------------------------------------------- 8 LAYOUTS 9 HTML TAGS 10 FORMULAIRES 11 BOUTONS 12 MESSAGES 13 ELEMENTS PRINCIPAUX 14 REGLES SPECIFIQUES 15 MEDIA QUERIES 12 16 */ 13 14 /* ------------------------------------------------------------------ html */ 15 html { 16 font-size: 62.5%; 17 } 18 body { 19 font-size: 12px; /* ie < 9 sucks */ 20 font-size: 1.2rem; 21 line-height: 1.5; 22 font-family: Arial,Helvetica,sans-serif; 23 color: #333; 24 background: #fff; 25 margin: 0; 26 padding: 0; 27 } 28 29 a, a:link, a:visited { 30 color: #2373A8; 31 text-decoration: none; 32 border-bottom: 1px dotted #f90; 33 } 34 a:hover, a:active, a:focus { 35 text-decoration: underline; 36 } 37 a.hide, a.button.hide, a.submit.hide { 38 display: none; 39 } 40 a img, a:link img, a:visited img { 41 border:none; 42 } 43 h1, h2, h3, .as_h3, h4, h5, h6, p { 44 margin-top: 0; 45 margin-bottom: 1em; 46 } 47 h2 { 48 color: #666; 49 font-size: 18px; /* ie < 9 sucks */ 50 font-size: 1.8rem; 51 padding: 0 0 1.5em; 52 font-weight: normal; 53 } 54 h2 a:link, h2 a:visited { 55 color: #666; 56 border-color: #000; 57 } 58 .page-title { 59 color: #d30e60; 60 } 61 .page-title img { 62 padding-left: .5em; 63 vertical-align: middle; 64 } 65 #content > h2 { 66 padding: 0 18px 6px; /* ie < 9 sucks */ 67 padding: 0 1.8rem .6rem; 68 margin: 0 -18px .5em; /* ie < 9 sucks */ 69 margin: 0 -1.8rem 1rem; 70 background: #fff url(bg_h2.png) repeat-x center bottom; 71 } 72 h3, .as_h3 { 73 color: #575859; 74 font-size: 16px; /* ie < 9 sucks */ 75 font-size: 1.6rem; 76 } 77 h4 { 78 font-size: 14px; /* ie < 9 sucks */ 79 font-size: 1.4rem; 80 color: #575859; 81 } 82 h5 { 83 font-size: 12px; /* ie < 9 sucks */ 84 font-size: 1.2rem; 85 color: #575859; 86 } 87 #entry-sidebar h5 { 88 font-weight: normal; 89 color: #333; 90 } 91 .entry-status img.img_select_option { 92 padding-left: 4px; 93 vertical-align: text-top; 94 } 95 p, div.p { 96 margin: 0 0 1em 0; 97 } 98 hr { 99 height: 1px; 100 border-width: 1px 0 0; 101 border-color: #999; 102 border-style: solid; 103 } 104 pre, code { 105 font: 100% "Andale Mono","Courier New",monospace; 106 } 107 pre { 108 white-space: pre; 109 white-space: -moz-pre-wrap; 110 white-space: -hp-pre-wrap; 111 white-space: -o-pre-wrap; 112 white-space: -pre-wrap; 113 white-space: pre-wrap; 114 white-space: pre-line; 115 word-wrap: break-word; 116 } 117 abbr { 118 cursor: help; 119 } 120 121 /* LAYOUT 122 -------------------------------------------------------- */ 123 /* header */ 17 /* --------------------------------------------------------------------------- 18 LAYOUTS 19 ---------------------------------------------------------------------------- */ 124 20 #header { 125 background: # 575859;21 background: #676e78; 126 22 position: relative; 127 23 border-bottom: 4px solid #A2CBE9; 128 24 width: 100%; 129 } 130 #prelude { 131 line-height: 1.5; 132 margin: 0; 133 padding: 0; 134 overflow: hidden; 135 position: absolute; 136 top: 3em; 137 left: 0; 138 background: #A2CBE9; 139 width: 100%; 140 } 141 #prelude li { 142 list-style-type: none; 143 margin: 0; 144 background:transparent; 145 display: inline; 146 } 147 #prelude li a { 148 padding: 3px 16px 3px 8px; /* ie < 9 sucks */ 149 padding: 3px 1.6rem 3px .8rem; 150 background: #A2CBE9; 151 color: #000; 152 border-bottom-color: #A2CBE9; 153 } 154 #top { 155 margin: 0; 156 padding: 0; 157 width: 14.5em; 158 float: left; 159 } 160 #top h1 { 161 padding: 0; 162 margin: 0; 163 height: 36px; 164 text-indent: -1000px; 165 } 166 #top h1 a { 167 position: absolute; 168 top: 0; 169 left: 0; 170 width: 174px; /* ie < 9 sucks */ 171 width: 17.4rem; 172 height: 36px; /* ie < 9 sucks */ 173 height: 3.6rem; 174 border: none; 175 color: #fff; 176 } 177 #top h1 a:link { 178 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 179 } 180 #top h1 a:hover, #top h1 a:focus { 181 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 -94px; 182 } 183 #info-boxes { 184 font-size: 12px; /* ie < 9 sucks */ 185 font-size: 1.2rem; 186 line-height: 3em; 187 } 188 #info-box1 { 189 margin: 0; 190 padding: 0 3px 0 18px; 191 color: #fff; 192 display: inline-block; 193 } 194 #info-box2 { 195 margin: 0; 196 padding: 0 18px 0 0; 197 color: #fff; 198 float: right; 199 text-align: right; 200 } 201 #info-box1 p { 202 margin: 0; 203 display: inline; 204 } 205 #info-box1 select { 206 width: 145px; /* ie < 9 sucks */ 207 width: 14.5em; 208 } 209 #info-box1 a img, #info-box2 a img { 210 vertical-align: middle; 211 padding-left: .3em; 212 } 213 #info-boxes a { 214 font-weight: bold; 215 color: #fff; 216 border-bottom-color: #ccc; 217 margin-left: .3em; 218 margin-right: .3em; 219 white-space: nowrap; 220 font-weight: normal; 221 } 222 #info-boxes .logout { 223 margin-right: 0; 224 } 225 #info-box1 a { 226 margin-left: 1.33em; 227 } 228 #info-box2 a.active { 229 border-bottom-color: #fff; 230 margin: 0; 231 padding: 1.2em .5em; 232 background-color: #fff; 233 color: #333; 234 font-weight: bold; 235 } 236 #info-box2 span { 237 color: #999; 238 } 239 /* main blocks */ 25 } 240 26 #wrapper { 241 27 width: 100%; 242 28 padding-top: 1em; 243 }29 } 244 30 #main { 245 31 width: 100%; … … 248 34 margin-top: 0; 249 35 background: #fff url(bg_menu.png); 250 }36 } 251 37 #content { 252 38 margin: 0 0 0 14.5em; … … 254 40 padding: .9rem 1.8rem 1.8rem; 255 41 background: #fff; 256 } 257 /* Micro clearfix thx to Nicolas Gallagher */ 258 #content:before, #content:after {content:"";display:table;} 259 #content:after {clear:both;} 260 /* -------------------------------------------------- layout - multipart */ 261 .three-cols { 262 } 263 .three-cols .col { 264 width: 32.3%; 265 float: left; 266 margin-left: 1%; 267 } 268 .three-cols .col:first-child { 269 width: 33.3%; 270 margin-left: 0; 271 } 272 .two-cols { 273 position: static; 274 } 275 .two-cols .col { 276 width: 48%; 277 margin-left: 2%; 278 float: left; 279 } 280 .two-cols .col70{ 281 width: 68%; 282 margin-left: 0; 283 float: left; 284 } 285 .col30 { 286 width: 28%; 287 margin-left: 2%; 288 float: left; 289 } 290 .two-cols .col:first-child, 291 .two-cols .col30.first-col { 292 margin-left: 0; 293 margin-right: 2%; 294 } 295 .two-cols .col:last-child, 296 .two-cols .col70.last-col { 297 margin-left: 2%; 298 margin-right: 0; 299 } 300 /* -------------------------------------------------------------- layout - onglets */ 301 .part-tabs ul { 302 padding: .5em 0 .3em 1em; 303 border-bottom: 1px solid #ddd; 304 } 305 .part-tabs li { 306 list-style: none; 307 margin: 0; 308 display: inline; 309 } 310 .part-tabs li a { 311 padding: .5em 2em; 312 margin-right: -1px; 313 border: 1px solid #aaa; 314 border-bottom: none; 315 text-decoration: none; 316 color: #333; 317 background-color:#E4E0EC; 318 } 319 .part-tabs li a:hover, .part-tabs li a:focus { 320 color: #000; 321 background: #fff; 322 border-bottom-color: #fff; 323 } 324 .part-tabs li.part-tabs-active a { 325 background: #fff; 326 font-weight: bold; 327 border-bottom-color: #fff; 328 padding-bottom: 7px; /* ie < 9 sucks */ 329 padding-bottom: .7rem; 330 } 331 /* ------------------------------------------------------------------ main-menu */ 42 } 332 43 #main-menu { 333 44 width: 14.5em; … … 337 48 padding-bottom: 1em; 338 49 background: #f7f7f7; 339 } 340 #main-menu h3 { 341 margin: 0; 342 padding: 10px 0 10px 8px; 343 color: #666; 344 font-size: 14px; /* ie < 9 sucks */ 345 font-size: 1.4rem; 346 } 347 #main-menu h3 img[alt="cacher"] { 348 vertical-align: top; 349 } 350 #main-menu ul { 351 margin: 0 0 1.5em 0; 352 padding: 0; 353 list-style: none; 354 } 355 #main-menu li { 356 display: block; 357 margin: 0.5em 0 0; 358 padding: 3px 0 0 30px; 359 background-repeat: no-repeat; 360 background-position: 8px .3em; 361 } 362 #main-menu ul li:first-child { 363 margin-top: 0; 364 } 365 #main-menu li.active { 366 background-color: #fff; 367 } 368 #main-menu a { 369 color: #333; 370 border-bottom-color: #ccc; 371 } 372 #main-menu .active a { 373 border-bottom: none; 374 color: #d30e60; 375 } 376 #main-menu .active { 377 font-weight: bold; 378 } 379 #search-menu { 380 padding: 4px 5px 0; 381 font-size: 100% 382 } 383 #search-menu * { 384 height: 22px; /* ie < 9 sucks */ 385 height: 2.2rem; 386 display: inline-block; 387 vertical-align: top; 388 line-height: 22px; 389 } 390 #search-menu p { 391 border: 1px solid #999; 392 border-radius: .3em; 393 position: relative; 394 overflow: hidden; 395 } 396 #qx { 397 width: 124px; /* ie < 9 sucks */ 398 width: 12.4rem; 399 border-bottom-left-radius: .3em; 400 border-top-left-radius: .3em; 401 background: transparent url(search.png) no-repeat 4px center; 402 text-indent: 18px; 403 padding: 0; 404 border: none; 405 height: 22px; 406 height: 2.2rem; 407 } 408 #qx:focus { 409 border: 2px solid #bee74b; 410 } 411 #search-menu input[type="submit"] { 412 padding: 0 3px; 413 padding: 0 .3rem; 414 margin-left: -4px; 415 background: #dfdfdf; 416 border-color: #999; 417 color: #444; 418 border-bottom-right-radius: .3em; 419 border-top-right-radius: .3em; 420 border-top-left-radius: 0; 421 border-bottom-left-radius: 0; 422 text-shadow: none; 423 border: none; 424 border-left: 1px solid #aaa; 425 font-size: 10px; /* ie < 9 sucks */ 426 font-size: 1rem; 427 } 428 #search-menu input[type="submit"]:hover, 429 #search-menu input[type="submit"]:focus { 430 background: #575859; 431 color: #fff; 432 } 433 #favorites-menu, #blog-menu, #system-menu, #plugins-menu { 434 border-bottom: 1px dashed #A2CBE9; 435 } 436 #favorites-menu h3 { 437 color: #000; 438 font-variant: small-caps; 439 padding-top: .2em; 440 } 441 /* ------------------------------------------------------------------ footer */ 50 } 442 51 #footer { 443 52 clear: both; … … 445 54 text-align: right; 446 55 border-top: 1px solid #ccc; 447 } 448 #footer p { 449 margin: 0; 450 padding: 0 1em; 451 font-size: 1em; 452 } 453 #footer p span.credit { 454 font-size: 1em; 455 font-weight: normal; 456 } 457 /* ---------------------------------------------------------------------------- auth.php */ 458 #login-screen { 459 display: block; 460 width: 20em; 461 margin: 1.5em auto 0; 462 font-size: 14px; /* ie < 9 sucks */ 463 font-size: 1.4rem; 464 } 465 #login-screen h1 { 466 text-indent: -2000px; 467 background: transparent url(dc_logos/w-dotclear240.png) no-repeat top left; 468 height: 66px; 469 margin-bottom: .5em; 470 margin-left: 0; 471 } 472 #login-screen .fieldset { 473 border: 1px solid #A8DC26; 474 padding: 1em 1em 0 1em; 475 border-radius: 3px; 476 background: #fff; 477 } 478 #login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { 56 } 57 /* -------------------------------------------------------------- layout: two-cols */ 58 .two-cols { 59 position: static; 60 } 61 .two-cols .col { 62 width: 48%; 63 margin-left: 2%; 64 float: left; 65 } 66 .two-cols .col70 { 67 width: 68%; 68 margin-left: 0; 69 float: left; 70 } 71 .col30 { 72 width: 28%; 73 margin-left: 2%; 74 float: left; 75 } 76 .two-cols .col:first-child, 77 .two-cols .col30.first-col { 78 margin-left: 0; 79 margin-right: 2%; 80 } 81 .two-cols .col:last-child, 82 .two-cols .col70.last-col { 83 margin-left: 2%; 84 margin-right: 0; 85 } 86 /* ------------------------------------------------- layout: optionnal one/two-boxes */ 87 .one-box { 88 text-align: center; 479 89 width: 100%; 480 } 481 #login-screen input.login { 482 padding-top: 6px; 483 padding-bottom: 6px; 484 font-size: 1em; 485 } 486 #login-screen #issue { 487 margin-left: 1.33em; 488 font-size: 12px; /* ie < 9 sucks */ 489 font-size: 1.2rem; 490 } 491 #login-screen #issue strong { 492 font-weight: normal; 493 } 494 /* ------------------------------------------------------------------ dashboard */ 495 #dashboard-main { 496 padding: 1em 0; 497 } 498 #icons { 499 overflow: hidden; 500 padding-bottom: 1em; 501 text-align: center; 502 } 503 #icons p { 504 width: 210px; 505 text-align: center; 506 margin: 1em 0 2em; 507 padding: 1em 0; 508 display:inline-block; 509 vertical-align: top; 510 } 511 #icons a, 512 #icons a:link, 513 #icons a:visited, 514 #icons a:hover, 515 #icons a:focus { 516 border-bottom-width: 0px; 517 text-decoration: none; 518 } 519 #icons a span { 520 border-bottom: 1px dotted #f90; 521 color: #333; 522 } 523 #icons a img { 524 padding: 2em; 525 -moz-box-shadow: 0px 1px 0px 0px #ffffff; 526 -webkit-box-shadow: 0px 1px 0px 0px #ffffff; 527 box-shadow: 0px 1px 0px 0px #ffffff; 528 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) ); 529 background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% ); 530 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9'); 531 background-color:#f9f9f9; 532 -moz-border-radius:1em; 533 -webkit-border-radius:1em; 534 border-radius:1em; 535 border:1px solid #dcdcdc; 536 display:inline-block; 537 } 538 #icons a:focus img, #icons a:hover img { 539 background: #bee74b; 540 } 541 #icons a:focus span, #icons a:hover span { 542 text-decoration: underline; 543 } 544 #quick { 545 margin-top: 2em; 546 } 547 #quick h3 { 548 margin-bottom: 0.2em; 549 font-size: 1.2em; 550 } 551 #quick p.qinfo { 552 margin: -.7em -1em 1em; 553 background: #f3f3ff url(info.png) no-repeat .2em .2em; 554 border: 1px solid #99f; 555 padding: .2em 1em .1em 24px; 556 color: #666; 557 } 558 #quick #new_cat, .q-cat, .q-cat label { 90 } 91 .one-box .box { 92 display: inline-block; 93 vertical-align: top; 94 padding-right: 3%; 95 text-align: left; 96 } 97 .two-boxes { 98 width: 47%; 559 99 display: inline-block; 560 100 vertical-align: top; 561 margin-right: 1em; 562 margin-top: 0; 563 } 564 .q-cat label { 565 margin-right: .3em; 566 } 567 #quick #new_cat { 568 margin-bottom: 2em; 569 } 570 #dashboard-items { 571 margin: 3em auto; 572 display: table; 573 width: 100%; 574 border-collapse: collapse; 575 } 576 .db-item { 577 display: table-cell; 578 padding: 1em 3em; 579 vertical-align: top; 580 border: 1px solid #ddd; 581 border-collapse: collapse; 582 } 583 .db-item h3 { 584 font-weight: normal; 585 } 586 #dashboard-items img { 587 vertical-align: middle; 588 } 589 #dashboard-items ul { 590 display: block; 591 padding-left: 1.5em; 592 list-style: square; 593 } 594 #dashboard-items li { 595 margin: 0.25em 0 0 0; 596 color: #666; 597 } 598 #news dt { 599 font-weight: bold; 600 margin: 0 0 0.4em 0; 601 } 602 #news dd { 603 margin: 0 0 1em 0; 604 } 605 #news dd p { 606 margin: 0.2em 0 0 0; 607 } 608 609 #upg-notify { 610 } 611 #upg-notify ul { 612 padding-left: 1.5em; 613 } 614 #upg-notify li { 615 color: #fff; 616 } 617 /* ------------------------------------------------------------------ post */ 618 #entry-wrapper { 619 float: left; 620 width: 100%; 621 margin-right: -18em; 622 } 623 #entry-content { 624 margin-right: 19em; 625 margin-left: 0; 626 } 627 .multi-part { 628 padding-left: 1em; 629 } 630 #entry-content label { 631 text-transform: uppercase; 632 font-weight: bold; 633 margin-top: 2em; 634 } 635 #entry-sidebar { 636 width: 17em; 637 float: right; 638 } 639 #entry-sidebar select { 640 width: 100%; 641 } 642 #entry-sidebar input#post_position { 643 width: 4em; 644 } 645 .box { 646 border-bottom: 1px solid #ddd; 647 margin-bottom: 1em; 648 } 649 #comments { 650 clear: both; 651 } 652 #trackback-form textarea { 653 width: 98%; 654 } 655 /* ------------------------------------------------------------------ categories */ 656 #categories { 657 margin: 1em 0; 658 } 659 #categories ul { 660 list-style: none; 661 margin: 0; 662 padding: 0; 663 } 664 #categories li { 665 margin: .5em 0; 666 padding: .5em 1.2em; 667 border: 1px solid #ccc; 668 border-left: 8px solid #E5E3DA; 669 border-radius: 3px; 670 } 671 #categories input[type="checkbox"] { 672 margin-right: .8em; 673 } 674 #categories h4 { 675 margin: 0; 676 } 677 #categories label a { 678 font-weight: bold; 679 } 680 #categories h4 span { 681 font-weight: normal; 682 } 683 #categories li p { 684 margin: 0; 685 display: inline-block; 686 } 687 .cat-url { 688 padding-left: 1em; 689 } 690 .cat-actions { 691 line-height: 2; 692 } 693 select#del_cat { 694 width: 100%; 695 } 696 #new_cat { 697 font-weight: bold; 698 margin-top: 2em; 699 } 700 #categories .placeholder { 701 outline: 1px dashed #4183C4; 702 min-height: 2.5em; 703 } 704 #categories input.cat-rank { 705 float: right; 706 margin-left: 30px; 707 } 708 #save-set-order.disabled { 709 text-shadow: none; 710 color: #666; 711 background: #F5F5F5; 712 border: 1px solid #CCCCCC; 713 } 714 #save-set-order.disabled:hover { 715 color: #666; 716 background: #DFDFDF; 717 border: 1px solid #CCCCCC; 718 } 719 /* ------------------------------------------------------------------ media */ 720 #media-icon { 721 float: left; 722 } 723 #media-details { 724 } 725 .near-icon { 726 margin-left: 70px; 727 margin-bottom: 3em; 728 } 729 #media-details ul { 730 display: block; 731 margin-left: 0; 732 padding: 0; 733 } 734 #media-details li { 735 list-style: square inside; 736 margin: 0; 737 padding: 0; 738 } 739 #media-original-image { 740 overflow: auto; 741 } 742 #media-original-image.overheight { 743 height: 500px; 744 } 745 #add-file-f { 746 position: relative; 747 } 748 #add-file-f .more-file { 749 position:absolute; 750 right: 0.5em; 751 background: #999; 752 color: #fff; 753 border: none; 754 } 755 .media-list { 756 position: static; 757 } 758 /*.media-col-0 { 759 clear: left; 760 } 761 .media-item { 762 position: relative; 763 border-top: 1px solid #ccc; 764 margin-bottom: 1em; 765 padding: 5px 0; 766 } 767 div.media-list .media-item { 768 width: 49%; 769 float: left; 770 margin-right: 1%; 771 } 772 a.media-icon { 773 display: block; 774 border-bottom: none; 775 float: left; 776 } 777 .media-icon img { 778 display: block; 779 } 780 .media-item ul { 781 display: block; 782 list-style: none; 783 margin: 0 0 0 60px; 784 padding: 0; 785 }*/ 786 li.media-action { 787 display: block; 788 position: absolute; 789 top: 5px; 790 right: 5px; 791 height: 16px; 792 } 793 li.media-action a { 794 border: none; 795 } 796 li.media-action form { 797 display: inline; 798 } 799 li.media-action input { 800 border: none; 801 } 802 .media-item, .media-action-box { 803 position: relative; 804 border: 1px solid #ccc; 805 margin: 1em; 806 padding: 1em; 807 width: 300px; 101 } 102 .two-boxes:first-child, .two-boxes.odd, .two-boxes.odd:last-child { 103 margin-right: 3%; 104 } 105 .two-boxes.even:last-child, .two-boxes.even { 106 margin-left: 3%; 107 } 108 .three-boxes { 109 width: 30%; 808 110 display: inline-block; 809 111 vertical-align: top; 810 min-height: 120px 811 } 812 a.media-icon { 813 display: block; 814 border-bottom: none; 815 margin: 0 auto; 816 } 817 .media-icon img { 818 display: block; 819 } 820 .media-item ul { 821 display: block; 822 list-style: none; 823 margin: 0; 824 padding: 0; 825 } 826 /* ------------------------------------------------------------------ preferences */ 827 #my-favs { 828 border: 1px solid #A8DC26; 829 padding: 1em 2em 830 } 831 #my-favs ul { 832 list-style-type: none; 833 margin-left: 0; 834 padding-left: 0; 835 line-height: 1.2; 836 } 837 #my-favs li { 838 display: block; 839 float: left; 840 width: 164px; 841 margin-top: 1em; 842 margin-bottom: 1.5em; 843 } 844 #my-favs label {height: 2.5em;width:140px;margin-top:.3em;} 845 #my-favs label input {display:inline;} 846 #my-favs img { 847 display: block; 848 } 849 #my-favs input.position { 850 margin: 0 0 .4em .2em; 851 } 852 #available-favs input, #available-favs label, #available-favs label span { 853 white-space: normal; 854 display: inline; 855 } 856 #default-favs h3 { 857 margin-top: 2em; 858 margin-bottom: 1em; 859 } 860 .fav-list { 861 list-style-type: none; 862 margin-left: 0; 863 padding-left: 0; 864 } 865 .fav-list li { 866 line-height: 2; 867 margin-left: 0; 868 padding-left: 0; 869 position: relative; 870 } 871 .fav-list img { 872 vertical-align: middle; 873 margin-right: .2em; 874 } 875 #available-favs label span.zoom { 876 display: none; 877 } 878 #available-favs li:hover label span.zoom { 879 display: block; 880 position: absolute; 881 bottom: 0; 882 left: 10em; 883 background-color: #f5f5f5; 884 border: 1px solid #ddd; 885 padding: .2em; 886 border-radius: .5em; 887 } 888 #user-options label.ib { 889 display: inline-block; 890 width: 14em; 891 padding-right: 1em; 892 } 893 .blog-perm { 894 margin-top: 2em; 895 font-weight: bold; 896 } 897 .ul-perm { 898 list-style-type: square; 899 margin-left: 0; 900 padding-left: 3.5em; 901 margin-bottom: 0 902 } 903 .add-perm { 904 padding-top: .5em; 905 padding-left: 2.5em; 906 margin-left: 0; 907 } 908 /* in blog_pref */ 909 .user-perm { 910 margin: 2em 0px; 911 background: transparent url(user.png) no-repeat left top; 912 width: 320px; 913 display: inline-block; 914 vertical-align: top; 915 } 916 .user-perm h4, .user-perm h5, .user-perm p, .user-perm ul, .user-perm li { 917 margin: .5em 0 .33em; 918 padding: 0; 919 } 920 .user-perm h4 { 921 padding-left: 28px; 922 } 923 .user-perm ul { 924 list-style-type: inside; 925 } 926 .user-perm li { 927 margin-left: 1em; 928 padding-left: 0; 929 } 930 .user-perm h5 { 931 margin: 1em 0 0 0; 932 } 933 li.user_super, li.user_admin { 934 margin-left: 0; 935 padding-left: 1em; 936 list-style: none; 937 background: transparent url(../images/superadmin.png) no-repeat -2px 2px; 938 } 939 li.user_admin { 940 background-image: url(../images/admin.png); 941 } 942 943 /* -------------------------------------------------------------------- Themes */ 944 #themes { 945 margin: 0; 946 width: 100%; 947 padding: 0; 948 } 949 #themes h3 { 950 } 951 #themes div.theme-details { 952 border-top: 1px solid #ccc; 953 padding: 12px; 954 display: inline-block; 955 vertical-align: top; 956 width: 284px; 957 } 958 .current-theme { 959 background: #eef; 960 } 961 #themes div.theme-details:hover { 962 background: #f0f0f0; 963 } 964 #themes div.theme-details div.theme-shot { 965 } 966 #themes div.theme-details div.theme-shot img { 967 display: block; 968 border: 1px solid #ccc; 969 margin-bottom: 1.5em; 970 } 971 #themes div.theme-details div.theme-info { 972 } 973 #themes div.theme-details div.theme-info span.theme-desc { 974 display: block; 975 } 976 #themes div.theme-details div.theme-info span.theme-version { 977 color: #666; 978 } 979 #themes div.theme-details div.theme-actions { 980 } 981 #themes-actions { 982 border-bottom: 1px solid #999; 983 margin-bottom: 3em; 984 } 985 .theme-css { 986 display: block; 987 } 988 /* Themes list, JS version */ 989 #themes-wrapper { 990 display: table; 991 } 992 #themes-wrapper #themes { 993 display: table-cell; 994 vertical-align: top; 995 padding-left: 1em; 996 } 997 #theme-box { 998 display: table-cell; 999 vertical-align: top; 1000 padding: 0; 1001 width: 312px; 1002 border: 1px solid #ccc; 1003 border-radius: 3px; 1004 } 1005 #theme-box .theme-shot, 1006 #theme-box .theme-info, 1007 #theme-box .theme-actions { 1008 background: #eef; 1009 padding: 1em 16px; 1010 margin: 0; 1011 } 1012 #theme-box .theme-shot img { 1013 display: block; 1014 width: 280px; 1015 height: 245px; 1016 border: 1px solid #ccc; 1017 } 1018 #theme-box h4 { 1019 color: #000; 1020 background: #eef; 1021 } 1022 #theme-box span.theme-version { 1023 color: #666; 1024 } 1025 #theme-box span.theme-parent-ok { 1026 color: #666; 1027 } 1028 #theme-box span.theme-parent-missing { 1029 color: #c00; 1030 font-weight:bold; 1031 } 1032 #theme-box .theme-actions { 1033 border-bottom: 1px solid #ccc; 1034 } 1035 #themes .theme-details-js { 1036 float: left; 1037 width: 120px; 1038 height: 150px; 1039 margin: 0 12px 24px; 1040 padding: 12px 12px 0; 1041 text-align: center; 1042 background: #f3f3f3; 1043 border: 1px solid #ddd; 1044 cursor: pointer; 1045 border-radius: 4px; 1046 } 1047 #themes .theme-details-js label { 1048 cursor: pointer; 1049 } 1050 #themes .theme-details-js.theme-selected { 1051 background: #ddd; 1052 border: 1px solid #999; 1053 } 1054 #themes .theme-details-js .theme-shot img { 1055 width: 120px; 1056 height: 105px; 1057 border: 1px solid #fff; 1058 } 1059 #themes a:focus div, #themes a:hover div, 1060 #themes a:focus div.current-theme, #themes a:hover div.current-theme { 1061 background: #bee74b; 1062 } 1063 /* ---------------------------------------------------------- Plugins list */ 1064 #plugins td.action { 1065 vertical-align: middle; 1066 } 1067 select.l10n option { 1068 padding-left: 16px; 1069 } 1070 option.avail10n { 1071 background: transparent url(../images/check-on.png) no-repeat 0 50%; 1072 } 1073 /* ------------------------------------------------------------------ contextual help */ 1074 #help { 1075 margin-top: 4em; 1076 background: #f5f5f5; 1077 z-index: 100; 1078 clear: both; 1079 padding: 0 1em; 1080 } 1081 #help-button { 1082 background: transparent url(../images/page_help.png) no-repeat 6px center; 1083 position: absolute; 1084 top: 36px; /* ie < 9 sucks */ 1085 top: 3.6rem; 1086 right: 0px; 1087 padding: 0 1.5em 0 30px; 1088 cursor: pointer; 1089 color: #2373A8; 1090 line-height: 42px; /* ie < 9 sucks */ 1091 line-height: 4.2rem; 1092 } 1093 #help-button span { 1094 padding: .5em 0 .1em 0; 1095 border-bottom: 1px solid #2373A8; 1096 } 1097 .help-box { 1098 display: none; 1099 } 1100 .help-box ul { 1101 padding-left: 20px; 1102 margin-left: 0; 1103 } 1104 #content.with-help #help-button { 1105 right: 282px; /* ie < 9 sucks */ 1106 right: 28.2rem; 1107 background-color: #f5f5f5; 1108 position: fixed; 1109 border-top: 2px solid #FFD478; 1110 border-left: 2px solid #FFD478; 1111 border-bottom: 2px solid #FFD478; 1112 border-bottom-left-radius: 1em; 1113 border-top-left-radius: 1em; 1114 } 1115 #content.with-help #help { 1116 display: block; 1117 position: absolute; 1118 top: 36px; /* ie < 9 sucks */ 1119 top: 3.6rem; 1120 right: 0; 1121 width: 280px; /* ie < 9 sucks */ 1122 width: 28rem; 1123 border-left: 2px solid #FFD478; 1124 border-top: 2px solid #FFD478; 1125 margin-top: 0; 1126 padding: .5em 0 0 0; 1127 overflow: auto; 1128 } 1129 #content.with-help .help-content { 1130 padding: 0 .5em 1em; 1131 } 1132 .help-content dt { 1133 font-weight: bold; 1134 color: #626262; 1135 margin: 0; 1136 } 1137 .help-content dd { 1138 margin: 0.3em 0 1.5em 0; 1139 } 1140 /* ------------------------------------------------------------------ popups */ 112 margin-left: 2.5%; 113 margin-right: 2.5%; 114 } 115 .three-boxes:first-child { 116 margin-left: 0; 117 } 118 .three-boxes:last-child { 119 margin-right: 0; 120 } 121 /* boîtes intérieures */ 122 .box { 123 margin-bottom: 2em; 124 } 125 /* ---------------------------------------------------------------- layout: popups */ 1141 126 body.popup #wrapper, body.popup #top { 1142 127 width: 100%; … … 1153 138 font-weight: normal; 1154 139 color: #fff; 1155 background: # 575859;140 background: #676e78; 1156 141 font-size: 1.5em; 1157 142 text-indent: .5em; … … 1171 156 border: none; 1172 157 } 1173 /* ------------------------------------------------------------------ messages */ 1174 .error, .message, .static-msg, .static-msg, .success { 1175 padding: 1em 0.5em 0.5em 48px; 1176 margin-bottom: 1em; 1177 border-radius: 8px; 1178 } 1179 p.error, p.message, p.static-msg, p.success { 1180 padding-top: 1em; 1181 padding-bottom: 1em; 1182 } 1183 .error { 1184 background: #FFBABA url(msg-error.png) no-repeat .7em .7em; 1185 color: #000; 1186 } 1187 .message, .static-msg { 1188 background: #666 url(msg-std.png) no-repeat .7em .7em; 1189 color: #fff; 1190 } 1191 .success { 1192 background: #bee74b url(msg-success.png) no-repeat .7em .7em; 1193 color: #000; 1194 } 1195 .message a, .static-msg a { 1196 color: #fff; 1197 } 1198 .success a { 1199 color: #666; 1200 } 1201 .dc-update { 1202 padding: 1em 48px 0.5em 48px; 1203 margin-bottom: 1em; 1204 border-radius: 8px; 1205 background: #A2CBE9 url(msg-success.png) no-repeat .7em .7em; 1206 } 1207 .dc-update a { 1208 color: #000; 1209 border-color: #000; 1210 margin-right: 1em; 1211 } 1212 a.info { 1213 margin-left: 2em; 1214 font-weight: bold; 1215 } 1216 /* ------------------------------------------------------------------ navigation */ 1217 .anchor-nav { 1218 background: #575859; 1219 color: #fff; 1220 padding: 4px 1em; 1221 float: right; 1222 } 1223 .nav_prevnext { 1224 margin-bottom: 2em; 1225 color: #fff; 1226 } 1227 .nav_prevnext a, a.back { 1228 border: 1px solid #ddd; 1229 padding: 2px 1.5em; 1230 border-radius: .75em; 1231 background-color: #f0f0f0; 1232 } 1233 a.back:before { 1234 content: "\ab\a0"; 1235 } 1236 a.onblog_link { 1237 color: #333; 1238 float: right; 1239 border: 1px solid #eee; 1240 padding: 2px 1.5em; 1241 border-radius: .75em; 1242 background-color: #ffe; 1243 } 1244 /* ------------------------------------------------------------------ debug */ 1245 #debug { 1246 position: absolute; 1247 top: 0; 1248 width: 100%; 1249 height: 4px; 1250 background: #d99; 1251 } 1252 #debug div { 1253 display: none; 1254 padding: 3px 0.5em 2px; 1255 } 1256 #debug p { 1257 margin: 0.5em 0; 1258 } 1259 #debug:hover { 1260 height: auto; 1261 } 1262 #debug:hover div { 1263 display: block; 1264 } 1265 /* -------------------------------------------------------------------- CLASSES COMMUNES */ 1266 .no-margin, #entry-content label.no-margin { 158 /* ------------------------------------------------------------- layout: compléments */ 159 .constrained { 1267 160 margin: 0; 1268 } 1269 .vertical-separator { 1270 margin-top: 2em; 1271 } 1272 p.clear.vertical-separator { 1273 padding-top: 2em; 1274 } 1275 .border-top { 1276 border-top: 1px solid #999; 1277 padding-top: 1em; 1278 margin-top: 1em; 1279 } 1280 .fieldset { 1281 background: #fff; 1282 border: 1px solid #aaa; 1283 border-radius: 6px; 1284 padding: 1em .7em .5em; 1285 margin-bottom: 1em; 1286 } 1287 .fieldset h3 { 1288 color: #333; 1289 } 161 padding: 0; 162 border: none; 163 background: transparent; 164 } 1290 165 .table { 1291 166 display: table; 1292 }167 } 1293 168 .cell { 1294 169 display: table-cell; 1295 } 1296 /* paragraphe pour bouton Nouveau bidule */ 1297 p.top-add { 1298 text-align: right; 1299 margin: 0; 1300 } 1301 p.top-add a { 1302 padding: .3em 1em .3em .5em; 1303 font-weight: bold; 1304 } 1305 p.top-add a img { 1306 padding-right: .3em; 1307 vertical-align: middle; 1308 } 1309 170 vertical-align: top; 171 } 1310 172 .clear { 1311 173 clear: both; 1312 }174 } 1313 175 .lclear { 1314 176 clear: left; 1315 }1316 div.clearer {177 } 178 .clearer { 1317 179 height: 1px; 1318 180 font-size: 1px; 1319 } 1320 .right { 1321 text-align: right; 1322 } 1323 .txt-center { 1324 text-align: center; 1325 } 181 } 182 /* Micro clearfix thx to Nicolas Gallagher */ 183 .clearfix:before, .clearfix:after { 184 content: " "; 185 display: table; 186 } 187 .clearfix:after { 188 clear: both; 189 } 1326 190 .frame-shrink { 1327 191 border: 1px solid #666; … … 1330 194 height: 120px; 1331 195 overflow: auto; 1332 } 1333 .grid { 1334 background: transparent repeat url('grid.png') 0 0; 1335 } 1336 .line p { 196 } 197 /* --------------------------------------------------------------------------- 198 HTML TAGS 199 ---------------------------------------------------------------------------- */ 200 html { 201 font-size: 62.5%; 202 } 203 body { 204 font-size: 12px; /* ie < 9 sucks */ 205 font-size: 1.2rem; 206 line-height: 1.5; 207 font-family: Arial,Helvetica,sans-serif; 208 color: #333; 209 background: #fff; 1337 210 margin: 0; 1338 } 1339 .offline { 211 padding: 0; 212 } 213 /* ------------------------------------------------------------------ titres */ 214 h1, h2, h3, .as_h3, h4, .as_h4, h5, h6 { 215 margin-top: 0; 216 margin-bottom: 1em; 217 } 218 h2 { 1340 219 color: #666; 1341 } 1342 ul.nice { 1343 margin: 1em 0; 1344 padding: 0 0 0 2em; 1345 list-style: square; 1346 } 1347 ul.nice li { 1348 margin:0; 1349 padding: 0; 1350 } 1351 .zip-dl { 1352 background: transparent url(package.png) no-repeat 0 50%; 1353 padding: 5px 0 5px 20px; 1354 } 1355 .distrib img { 1356 display: block; 1357 float: right; 1358 margin-top: -1em; 1359 } 1360 1361 /* TABLES 1362 -------------------------------------------------------- */ 220 font-size: 18px; /* ie < 9 sucks */ 221 font-size: 1.8rem; 222 padding: 0 0 1.5em; 223 font-weight: normal; 224 } 225 /* titre de page */ 226 #content > h2 { 227 padding: 0 18px 6px; /* ie < 9 sucks */ 228 padding: 0 1.8rem .6rem; 229 margin: 0 -18px .5em; /* ie < 9 sucks */ 230 margin: 0 -1.8rem 1rem; 231 background: #fff url(bg_h2.png) repeat-x center bottom; 232 } 233 h2 a:link, h2 a:visited { 234 color: #676e78; 235 border-color: #000; 236 } 237 .page-title { 238 color: #d30e60; 239 } 240 .page-title img { 241 padding-left: .5em; 242 vertical-align: middle; 243 } 244 h3, .as_h3 { 245 margin-top: 1em; 246 color: #676e78; 247 font-size: 16px; /* ie < 9 sucks */ 248 font-size: 1.6rem; 249 } 250 h4, as_h4 { 251 font-size: 14px; /* ie < 9 sucks */ 252 font-size: 1.4rem; 253 color: #676e78; 254 } 255 .smart-title, .box h3, .media-action-box h4 { /* pour les h3 ou les h4 titres de boîtes */ 256 font-size: 1em; 257 text-transform: uppercase; 258 font-weight: bold; 259 color: #333; 260 text-shadow: 0 1px 0 rgba(200, 200, 200, 0.6) 261 } 262 h5 { 263 font-size: 12px; /* ie < 9 sucks */ 264 font-size: 1.2rem; 265 color: #676e78; 266 } 267 #entry-sidebar h5 { 268 font-weight: normal; 269 color: #333; 270 } 271 .entry-status img.img_select_option { 272 padding-left: 4px; 273 vertical-align: text-top; 274 } 275 /* ---------------------------------------------------------------- tableaux */ 1363 276 table { 1364 277 font-size: 12px; /* ie < 9 sucks */ … … 1366 279 border-collapse: collapse; 1367 280 margin: 0 0 1em 0; 1368 } 1369 table.posts-list { 1370 min-width: 50%; 1371 } 1372 tr.line:hover { 1373 background: #f3f3f3; 1374 } 281 } 1375 282 caption { 1376 283 color: #333; … … 1378 285 text-align: left; 1379 286 margin-bottom: .5em; 1380 } 1381 287 } 288 th { 289 border-width: 1px 0 1px 0; 290 border-style: solid; 291 border-color: #ddd; 292 background: #f3f3ff; 293 padding: .4em 1em .4em .5em; 294 vertical-align: top; 295 text-align: left; 296 text-transform: uppercase; 297 font-size: 10px; 298 font-size: 1rem; 299 } 1382 300 td { 1383 301 border-width: 0 0 1px 0; 1384 302 border-style: solid; 1385 303 border-color: #e3e3e3; 1386 padding: . 3em 1em .3em .5em;304 padding: .4em 1em .4em .5em; 1387 305 vertical-align: top; 1388 } 1389 th { 1390 border-width: 1px 0 1px 0; 306 } 307 308 /* ---------------------------------------------------------- autres balises */ 309 p { 310 margin: 0 0 1em 0; 311 } 312 hr { 313 height: 1px; 314 border-width: 1px 0 0; 315 border-color: #ddd; 316 background: #ddd; 1391 317 border-style: solid; 1392 border-color: #ccc; 1393 background: #f3f3ff; 1394 padding: .3em 1em .3em .5em; 1395 vertical-align: top; 1396 text-align: left; 1397 } 1398 th.first img { 1399 padding-right: 24px; 1400 } 1401 .noborder td, td.noborder, .noborder th, th.noborder { 1402 border-width: 0 0 1px 0; 1403 border-color: #ddd; 1404 line-height: 2em; 1405 padding-bottom: 0; 1406 } 1407 .noborder p { 1408 margin-bottom: 0; 1409 } 1410 table .maximal, table.maximal { 1411 width: 100%; 1412 } 1413 table .minimal { 1414 width: 1px; 1415 } 1416 table .nowrap { 1417 white-space: nowrap; 1418 vertical-align: top; 1419 } 1420 table .count { 1421 text-align: right; 1422 padding-right: 1.5em; 1423 } 1424 table.settings, table.prefs { 1425 width: 80%; 1426 border: 1px solid #999; 1427 margin-bottom: 3em; 1428 } 1429 table.settings th, table.prefs th { 1430 background: #f3f3ff; 1431 } 1432 table.settings th:first-child, table.prefs th:first-child { 1433 width: 20%; 1434 } 1435 table.settings th + th, table.prefs th + th { 1436 width: 30%; 1437 } 1438 table.settings th + th + th, table.prefs th + th + th { 1439 width: 10%; 1440 } 1441 table.settings th:last-child, table.prefs th:last-child { 1442 width: 40%; 1443 } 1444 td.status { 1445 vertical-align: middle; 1446 } 1447 td.status img { 1448 margin-bottom: -2px; 1449 } 1450 td.status a { 1451 border: none; 1452 } 1453 tr.line img.expand, th img.expand { 1454 margin-right: 6px; 1455 margin-bottom: -2px; 1456 } 1457 tr.line input { 1458 vertical-align: middle; 1459 } 1460 tr.expand td { 1461 border-bottom: none; 1462 } 1463 td.expand { 1464 padding: 1em; 1465 } 1466 1467 .dragable { 1468 border-collapse: separate; 1469 } 1470 .dragable tbody td { 1471 1472 } 1473 .handle { 1474 padding: 0; 1475 } 1476 .handler { 1477 cursor: move; 1478 background: transparent url(drag.png) no-repeat 0 50%; 1479 padding-left: 15px; 1480 } 1481 /* ----------------------------------------------------------------- FORMS */ 318 } 319 hr.clearer { 320 clear: both; 321 } 322 pre, code { 323 font: 100% "Andale Mono","Courier New",monospace; 324 } 325 pre { 326 white-space: pre; 327 white-space: -moz-pre-wrap; 328 white-space: -hp-pre-wrap; 329 white-space: -o-pre-wrap; 330 white-space: -pre-wrap; 331 white-space: pre-wrap; 332 white-space: pre-line; 333 word-wrap: break-word; 334 } 335 abbr { 336 cursor: help; 337 } 338 /* ------------------------------------------------------------------ liens */ 339 a, a:link, a:visited { 340 color: #2373A8; 341 text-decoration: none; 342 border-bottom: 1px dotted #999; 343 } 344 a:hover, a:active, a:focus { 345 text-decoration: underline; 346 } 347 a img, a:link img, a:visited img { 348 border:none; 349 } 350 /* ---------------------------------------------------------------------------- 351 FORMULAIRES 352 ---------------------------------------------------------------------------- */ 1482 353 form { 1483 354 display: block; 1484 355 margin: 0; 1485 356 padding: 0; 1486 }357 } 1487 358 fieldset { 1488 359 display: block; … … 1492 363 border-style: solid; 1493 364 border-color: #ccc; 1494 background: #f5f5f5; 1495 } 365 background: #f7f7f7; 366 } 367 input, textarea, select, option, optgroup, legend { 368 font: 100% "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif; 369 } 1496 370 legend { 1497 371 font-weight: bold; … … 1503 377 margin-bottom: 0.5em; 1504 378 border-radius: 3px; 1505 } 379 } 380 label .maximal, textarea.maximal, input.maximal { 381 width: 99%; 382 } 383 input[type=text], input[type=password], textarea, select { 384 background: #fbfbfb; 385 color: #000; 386 border-width: 1px; 387 border-style: solid; 388 border-color: #ddd; 389 border-radius: 3px; 390 box-shadow: 1px 1px 2px #F1F1F1 inset; 391 padding: 3px; 392 } 393 input:focus, textarea:focus, select:focus { 394 -webkit-box-sizing: border-box; 395 -moz-box-sizing: border-box; 396 box-sizing: border-box; 397 border-color: #bee74b; 398 } 399 textarea { 400 padding: 2px 0; 401 } 402 textarea.maximal { 403 resize: vertical; 404 } 405 .area textarea { 406 display: block; 407 width: 100%; 408 resize: vertical; 409 } 410 select { 411 padding: 2px 0; 412 } 413 select.l10n option { 414 padding-left: 16px; 415 } 416 option.avail10n { 417 background: transparent url(../images/check-on.png) no-repeat 0 50%; 418 } 419 input.invalid, textarea.invalid, select.invalid { 420 border: 1px solid red; 421 background: #FFBABA; 422 color: red; 423 box-shadow: 0 0 0 3px rgba(218, 62, 90, 0.3); 424 } 425 input[type=text], input[type=password], textarea { 426 margin-right: .3em; 427 } 428 input[type=checkbox], input[type=radio], input[type=file] { 429 border: none; 430 margin: 0; 431 padding: 0; 432 background: transparent; 433 } 434 input[type=file] { 435 margin-top: .3em; 436 margin-bottom: .3em; 437 } 1506 438 optgroup { 1507 439 font-weight: bold; 1508 440 font-style: normal; 1509 }441 } 1510 442 option { 1511 443 font-weight: normal; 1512 } 1513 input, textarea, select { 1514 background: #f9f9f9; 444 } 445 label, label span { 446 display: block; 447 } 448 label.ib, input.ib { 449 display: inline-block; 450 } 451 label.classic { 452 display: inline; 453 } 454 label.classic input, label span input, label.classic select, label span select { 455 display: inline; 456 } 457 label.required { 458 font-weight: bold; 459 } 460 label.required abbr { 461 color: #dd0000; 462 font-size: 1.3em; 463 } 464 label.area, p.area { 465 width: inherit !important; 466 } 467 p.field { 468 position: relative; 469 } 470 p.field label { 471 display: block; 472 width: 14em; 473 } 474 p.field input, p.field select { 475 display: inline; 476 position: absolute; 477 left: 14.5em; 478 top: 0; 479 } 480 a.form-control { 481 display: none; 482 background: url(../images/expand.png) no-repeat 4px center; 483 padding-left: 20px; 1515 484 color: #000; 1516 border-width: 2px; 1517 border-style: solid; 1518 border-color: #ccc #ddd #ddd #ccc; 1519 } 1520 select { 1521 border-right: 2px solid #fff; 1522 } 1523 input.invalid, textarea.invalid, select.invalid { 1524 border: 1px solid red; 1525 background: #fff; 1526 color: red; 1527 box-shadow: 0 0 0 1px rgba(218, 62, 90, 0.3) 1528 } 1529 input, textarea, select, option { 1530 font: 100% "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif; 1531 } 1532 input[type=text], input[type=password], textarea { 1533 padding: 2px 0; 1534 margin-right: .3em; 1535 } 1536 textarea { 1537 padding: 2px 0; 1538 } 1539 input[type=checkbox], input[type=radio], input[type=file] { 1540 border: none; 1541 margin: 0; 1542 padding: 0; 1543 background: transparent; 1544 } 1545 input[type=file] { 1546 margin-top: .3em; 1547 margin-bottom: .3em; 1548 } 1549 label { 1550 display: block; 1551 } 1552 label input, label select, label span { 1553 display: block; 1554 } 1555 p.form-note { 1556 font-style:italic; 1557 margin-top: -.7em; 485 } 486 .form-note { 487 font-style: italic; 488 font-weight: normal; 1558 489 color: #666; 1559 } 1560 span.form-note { 1561 font-style:italic; 490 } 491 p.form-note { 492 margin-top: -.7em; 493 } 494 span.form-note { 495 text-transform: none; 496 } 497 /* ---------------------------------------------------------------------------- 498 BOUTONS 499 ---------------------------------------------------------------------------- */ 500 /* commun */ 501 input[type=submit], input[type=reset], input[type=button], input[type=delete], 502 input.submit, input.reset, input.button, input.delete, 503 a.button, a.submit, a.delete, a.reset { 504 display: inline-block; 505 cursor: pointer; 506 text-align: center; 507 text-decoration: none; 508 padding: 2px 6px 2px; 509 border-radius: 3px; 510 font-size: 12px; /* ie < 9 sucks */ 511 font-size: 1.2rem; 512 line-height: 1.5em; 513 } 514 a.button, a.submit, a.reset { 515 padding-bottom: 1px; 516 } 517 /* validation */ 518 input[type=submit], a.submit { 519 color: #fff; 520 text-shadow: 0 -1px 0 rgba(100, 100, 100, 0.6); 521 background:#25A6E1; 522 background:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%); 523 background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#25A6E1),color-stop(100%,#188BC0)); 524 background:linear-gradient(top,#25A6E1 0%,#188BC0 100%); 525 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#25A6E1',endColorstr='#188BC0',GradientType=0); 526 border: 1px solid #2C8FD1; 527 padding-bottom: 1px; 528 } 529 input[type=submit]:hover, input[type=submit]:focus, 530 a.submit:hover, a.submit:focus { 531 background:#188BC0; 532 background:-moz-linear-gradient(top,#188BC0 0%,#25A6E1 100%); 533 background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#188BC0),color-stop(100%,#25A6E1)); 534 background:linear-gradient(top,#188BC0 0%,#25A6E1 100%); 535 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#25A6E1',endColorstr='#25A6E1',GradientType=0); 536 } 537 /* suppression, reset, "neutres" */ 538 input[type=reset], input[type=delete], input[type=button], 539 input.delete, input.reset, input.button, 540 a.delete, a.reset, a.button { 541 border: 1px solid #ccc; 542 background: #f5f5f5; 543 color: #000; 544 background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf)); 545 background: -moz-linear-gradient(top, #f5f5f5, #dfdfdf); 546 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); 547 } 548 input[type=reset]:hover, input[type=delete]:hover, input[type=button]:hover, 549 input.delete:hover, input.reset:hover, input.button:hover, 550 a.delete:hover, a.reset:hover, a.button:hover, 551 input[type=reset]:focus, input[type=delete]:focus, input[type=button]:focus, 552 input.delete:focus, input.reset:focus, input.button:focus, 553 a.delete:focus, a.reset:focus, a.button:focus { 554 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) ); 555 background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% ); 556 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9'); 557 background-color:#e9e9e9; 558 } 559 a.delete, input[type=delete], input.delete { 560 color: #c00; 561 margin-left: 1em; 562 padding-bottom: 2px; 563 } 564 a.delete:hover, input[type=delete]:hover, input.delete:hover, 565 a.delete:focus, input[type=delete]:focus, input.delete:focus { 566 border-color: #c00; 567 } 568 a.button {padding-bottom: 1px} 569 #info-box a.button { 570 padding: 0 .5em; 571 margin-left: 2em; 572 } 573 .button.add { 574 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bee74b), color-stop(1, #9BCA1C) ); 575 background:-moz-linear-gradient( center top, #bee74b 5%, #9BCA1C 100% ); 576 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bee74b', endColorstr='#9BCA1C'); 577 background-color:#bee74b; 578 border:1px solid #B2D742; 579 padding:.33em 1.33em; 580 color: #000; 581 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); 1562 582 font-weight: normal; 1563 text-transform: none; 1564 color: #666; 1565 } 1566 p.form-note.warn, p.form-note.info, p.warning { 583 font-size: 14px; /* ie < 9 sucks */ 584 font-size: 1.4rem; 585 } 586 .button.add:hover, .button.add:active, .button.add:focus { 587 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9BCA1C), color-stop(1, #bee74b) ); 588 background:-moz-linear-gradient( center top, #9BCA1C 5%, #bee74b 100% ); 589 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9BCA1C', endColorstr='#bee74b'); 590 background-color:#9BCA1C; 591 } 592 .button-add:focus { 593 outline: dotted 1px; 594 } 595 /* paragraphe pour bouton Nouveau bidule */ 596 p.top-add { 597 text-align: right; 598 margin: 0; 599 } 600 601 /* disabled */ 602 input.disabled { 603 text-shadow: none; 604 color: #666; 605 background: #F5F5F5; 606 border: 1px solid #CCC; 607 } 608 input.disabled:hover { 609 color: #666; 610 background: #DFDFDF; 611 border: 1px solid #CCC; 612 } 613 /* ---------------------------------------------------------------------------- 614 MESSAGES 615 ---------------------------------------------------------------------------- */ 616 .warn, .warning, .info { 1567 617 font-style: normal; 1568 618 padding: .2em .66em .2em; … … 1571 621 display: inline-block; 1572 622 line-height: 1.5em; 1573 } 1574 p.form-note.warn, p.warning { 1575 background: #ffd url(msg-warning.png) no-repeat .3em .3em; 1576 border: 1px solid #f0c020; 1577 } 1578 p.form-note.info { 1579 background: #f5eaff url(msg-info.png) no-repeat .3em .3em; 1580 border: 1px solid #c484ff; 1581 } 1582 .form-note a {border-bottom: 1px solid #ddbaff;} 1583 1584 label.ib { 1585 display: inline-block; 1586 } 1587 label.classic { 1588 display: inline; 1589 } 1590 label.classic input, label span input, label.classic select, label span select { 1591 display: inline; 1592 } 1593 1594 label.area, p.area { 1595 width: inherit !important; 1596 } 1597 .area textarea { 1598 display: block; 1599 width: 100%; 1600 resize: vertical; 1601 } 1602 label.required { 1603 font-weight: bold; 1604 } 1605 label.required abbr { 1606 color: #dd0000; 1607 font-size: 1.3em; 1608 } 1609 label.inline { 1610 display: inline; 1611 } 1612 p.field { 1613 position: relative; 1614 1615 } 1616 p.field label { 1617 display: block; 1618 width: 14em; 1619 } 1620 p.field input, p.field select { 1621 display: inline; 1622 position: absolute; 1623 left: 14.5em; 1624 top: 0; 1625 } 1626 label .maximal, textarea.maximal, input.maximal { 1627 width: 100%; 1628 } 1629 textarea.maximal { 1630 resize: vertical; 1631 } 1632 1633 a.form-control { 1634 display: none; 1635 background: url(../images/expand.png) no-repeat 4px center; 1636 padding-left: 20px; 1637 color: #000; 1638 } 1639 .constrained { 623 border-radius: 3px; 624 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) 625 } 626 .warn, .warning { 627 background: #FEFACD url(msg-warning.png) no-repeat .3em .3em; 628 border: 1px solid #F7E07E; 629 } 630 .info { 631 background: #D9EDF7 url(msg-info.png) no-repeat .3em .3em; 632 border: 1px solid #BCE8F1; 633 } 634 .error, .message, .static-msg, .success, .warning-msg { 635 padding: 1em 0.5em 0.5em 48px; 636 margin-bottom: 1em; 637 border-radius: 8px; 638 } 639 p.error, p.message, p.static-msg, p.success, p.warning-msg { 640 padding-top: 1em; 641 padding-bottom: 1em; 642 } 643 .error { 644 background: #FFBABA url(msg-error.png) no-repeat .7em .7em; 645 color: #000; 646 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); 647 } 648 .message, .static-msg { 649 background: #676e78 url(msg-std.png) no-repeat .7em .7em; 650 color: #fff; 651 } 652 .message a, .static-msg a { 653 color: #fff; 654 } 655 .success, .warning-msg { 656 color: #000; 657 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) 658 } 659 .success { 660 background: #bee74b url(msg-success.png) no-repeat .7em .7em; 661 } 662 .warning-msg { 663 background: #F7E07E url(msg-warning.png) no-repeat .7em .7em; 664 border: 1px solid #F7E07E; 665 } 666 .success a, .warning-msg a { 667 color: #333; 668 } 669 .dc-update { 670 padding: 1em 48px 0.5em 48px; 671 margin-bottom: 1em; 672 border-radius: 8px; 673 background: #A2CBE9 url(msg-success.png) no-repeat .7em .7em; 674 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); 675 color: #34495e; 676 } 677 .dc-update h3 { 678 margin-top: 0; 679 color: #34495e; 680 } 681 .dc-update a { 682 color: #34495e; 683 border-color: #000; 684 margin-right: 1em; 685 } 686 a.updt-info { 687 margin-left: 2em; 688 font-weight: bold; 689 } 690 .dc-update a.button { 691 border-color: #ccc; 692 font-weight: bold; 693 padding: .5em 1em; 694 } 695 /* --------------------------------------------------------------------------------- 696 ELEMENTS PRINCIPAUX 697 --------------------------------------------------------------------------------- */ 698 /* -------------------------------------------------------------- HEADER ELEMENTS */ 699 /* prelude */ 700 #prelude { 701 line-height: 1.5; 1640 702 margin: 0; 1641 703 padding: 0; 1642 border: none; 1643 background: transparent; 1644 } 1645 input:focus, textarea:focus, select:focus { 1646 -webkit-box-sizing: border-box; 1647 -moz-box-sizing: border-box; 1648 box-sizing: border-box; 1649 border: 2px solid #bee74b; 1650 } 1651 /* --------------------------------------------------------------- buttons */ 1652 /* commun */ 1653 input[type=submit], 1654 input[type=reset], 1655 input[type=button], 1656 a.button, 1657 a.submit { 1658 display: inline-block; 1659 cursor: pointer; 1660 text-align: center; 1661 text-decoration: none; 1662 padding: .1em .5em; 1663 border-radius: .2em; 1664 margin-bottom: .1em; 704 overflow: hidden; 705 position: absolute; 706 top: 3em; 707 left: 0; 708 background: #A2CBE9; 709 width: 100%; 710 } 711 #prelude li { 712 list-style-type: none; 713 margin: 0; 714 background:transparent; 715 display: inline; 716 } 717 #prelude li a { 718 padding: 3px 16px 3px 8px; /* ie < 9 sucks */ 719 padding: 3px 1.6rem 3px .8rem; 720 background: #A2CBE9; 721 color: #000; 722 border-bottom-color: #A2CBE9; 723 } 724 /* top (h1) */ 725 #top { 726 margin: 0; 727 padding: 0; 728 width: 14.5em; 729 float: left; 730 } 731 h1 { 732 padding: 0; 733 margin: 0; 734 height: 36px; 735 text-indent: -1000px; 736 } 737 h1 a { 738 position: absolute; 739 top: 0; 740 left: 0; 741 width: 174px; /* ie < 9 sucks */ 742 width: 17.4rem; 743 height: 36px; /* ie < 9 sucks */ 744 height: 3.6rem; 745 border: none; 746 color: #fff; 747 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 748 } 749 h1 a:hover, h1 a:focus { 750 background-position: 0 -94px; 751 } 752 /* info-boxes */ 753 #info-boxes { 1665 754 font-size: 12px; /* ie < 9 sucks */ 1666 755 font-size: 1.2rem; 1667 } 1668 h4 a.button {font-weight: normal;} 1669 1670 /* validation */ 1671 input[type=submit], 1672 input[type=button], 1673 a.submit { 1674 color: #fff; 1675 text-shadow: 0 -1px 1px #1A87B9; 1676 background:#25A6E1; 1677 background:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%); 1678 background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#25A6E1),color-stop(100%,#188BC0)); 1679 background:linear-gradient(top,#25A6E1 0%,#188BC0 100%); 1680 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#25A6E1',endColorstr='#188BC0',GradientType=0); 1681 border:1px solid #2C8FD1; 1682 1683 } 1684 input[type=submit]:hover, 1685 input[type=button]:hover, 1686 a.submit:hover, 1687 input[type=submit]:focus, 1688 input[type=button]:focus, 1689 a.submit:focus { 1690 background:#188BC0; 1691 background:-moz-linear-gradient(top,#188BC0 0%,#25A6E1 100%); 1692 background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#188BC0),color-stop(100%,#25A6E1)); 1693 background:linear-gradient(top,#188BC0 0%,#25A6E1 100%); 1694 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#25A6E1',endColorstr='#25A6E1',GradientType=0); 1695 } 1696 /* suppression et reset */ 1697 a.button, 1698 input[type=submit].reset, 1699 input[type=submit].delete { 1700 border: 1px solid #ccc; 1701 background: #f5f5f5; 1702 color: #000; 1703 background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf)); 1704 background: -moz-linear-gradient(top, #f5f5f5, #dfdfdf); 1705 text-shadow:1px 1px 0px #fff; 1706 } 1707 a.button:hover, 1708 input[type=reset]:hover, 1709 input[type=submit].reset:hover, 1710 input[type=submit].delete:hover, 1711 a.button:focus, 1712 input[type=reset]:focus, 1713 input[type=submit].reset:focus, 1714 input[type=submit].delete:focus { 1715 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) ); 1716 background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% ); 1717 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9'); 1718 background-color:#e9e9e9; 1719 } 1720 a.delete, 1721 input.delete, 1722 input[type=submit].delete { 1723 color: #c00; 1724 padding-bottom: 2px; 1725 } 1726 #entry-content .delete { 1727 margin-left: 1em; 1728 } 1729 a.delete:hover, 1730 input.delete:hover, 1731 input[type=submit].delete:hover, 1732 a.delete:focus, 1733 input.delete:focus, 1734 input[type=submit].delete:focus { 1735 border-color: #c00; 1736 } 1737 /* finasseries */ 1738 input[type=button] { 1739 padding: .1em; 1740 } 1741 #info-box a.button { 1742 padding: 0 .5em; 1743 margin-left: 2em; 1744 } 1745 .button.add { 1746 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bee74b), color-stop(1, #9BCA1C) ); 1747 background:-moz-linear-gradient( center top, #bee74b 5%, #9BCA1C 100% ); 1748 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bee74b', endColorstr='#9BCA1C'); 1749 background-color:#bee74b; 1750 border:1px solid #B2D742; 1751 padding:.5em 1.5em; 1752 color: #000; 1753 text-shadow:1px 1px 0px #98cf40; 1754 font-weight: normal; 756 line-height: 3em; 757 } 758 #info-boxes a { 759 font-weight: bold; 760 color: #fff; 761 border-bottom-color: #ccc; 762 margin-left: .3em; 763 margin-right: .3em; 764 white-space: nowrap; 765 font-weight: normal; 766 } 767 #info-boxes a img { 768 vertical-align: middle; 769 padding-left: .3em; 770 } 771 #info-box1 { 772 margin: 0; 773 padding: 0 3px 0 18px; 774 color: #fff; 775 display: inline-block; 776 } 777 #info-box1 p { 778 margin: 0; 779 display: inline; 780 } 781 #info-box1 select { 782 width: 145px; /* ie < 9 sucks */ 783 width: 14.5em; 784 } 785 #info-box1 a { 786 margin-left: 1.33em; 787 } 788 #info-box2 { 789 margin: 0; 790 padding: 0 18px 0 0; 791 color: #fff; 792 float: right; 793 text-align: right; 794 } 795 #info-box2 span { 796 color: #999; 797 } 798 #info-box2 .logout { 799 margin-right: 0; 800 } 801 #info-box2 a.active { 802 border-bottom-color: #fff; 803 margin: 0; 804 padding: 1.2em .5em; 805 background-color: #fff; 806 color: #333; 807 font-weight: bold; 808 } 809 /* ---------------------------------------------------------- MAIN-MENU ELEMENTS */ 810 #favorites-menu, #blog-menu, #system-menu, #plugins-menu { 811 border-bottom: 1px dashed #A2CBE9; 812 } 813 #main-menu h3 { 814 margin: 0; 815 padding: 10px 0 10px 8px; 816 color: #666; 1755 817 font-size: 14px; /* ie < 9 sucks */ 1756 818 font-size: 1.4rem; 1757 } 1758 .button.add:hover, .button.add:active, .button.add:focus { 1759 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9BCA1C), color-stop(1, #bee74b) ); 1760 background:-moz-linear-gradient( center top, #9BCA1C 5%, #bee74b 100% ); 1761 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9BCA1C', endColorstr='#bee74b'); 1762 background-color:#9BCA1C; 1763 } 1764 .button-add:focus { 1765 outline: dotted 1px; 1766 } 819 } 820 #favorites-menu h3 { 821 color: #000; 822 font-variant: small-caps; 823 padding-top: .2em; 824 } 825 #main-menu a { 826 color: #333; 827 border-bottom-color: #ccc; 828 } 829 #main-menu ul { 830 margin: 0 0 1.5em 0; 831 padding: 0; 832 list-style: none; 833 } 834 #main-menu li { 835 display: block; 836 margin: 0.5em 0 0; 837 padding: 4px 0 1px 32px; 838 background-repeat: no-repeat; 839 background-position: 8px .3em; 840 } 841 #main-menu ul li:first-child { 842 margin-top: 0; 843 } 844 #main-menu li.active { 845 background-color: #fff; 846 font-weight: bold; 847 } 848 #favorites-menu li.active { 849 background-color: transparent; 850 } 851 #main-menu .active a { 852 border-bottom: none; 853 color: #d30e60; 854 } 855 #favorites-menu .active a { 856 color: #000; 857 } 858 #search-menu { 859 padding: 4px 5px 0; 860 font-size: 100% 861 } 862 #search-menu * { 863 height: 22px; /* ie < 9 sucks */ 864 height: 2.2rem; 865 display: inline-block; 866 vertical-align: top; 867 line-height: 22px; 868 } 869 #search-menu p { 870 border: 1px solid #999; 871 border-radius: .3em; 872 position: relative; 873 overflow: hidden; 874 } 875 #qx { 876 width: 124px; /* ie < 9 sucks */ 877 width: 12.4rem; 878 border-bottom-left-radius: .3em; 879 border-top-left-radius: .3em; 880 background: transparent url(search.png) no-repeat 4px center; 881 text-indent: 18px; 882 padding: 0; 883 border: none; 884 height: 22px; 885 height: 2.2rem; 886 } 887 #qx:focus { 888 border-color: #bee74b; 889 } 890 #search-menu input[type="submit"] { 891 padding: 0 3px; 892 padding: 0 .3rem; 893 margin-left: -4px; 894 background: #dfdfdf; 895 border-color: #999; 896 color: #444; 897 border-bottom-right-radius: .3em; 898 border-top-right-radius: .3em; 899 border-top-left-radius: 0; 900 border-bottom-left-radius: 0; 901 text-shadow: none; 902 border: none; 903 border-left: 1px solid #aaa; 904 font-size: 10px; /* ie < 9 sucks */ 905 font-size: 1rem; 906 } 907 #search-menu input[type="submit"]:hover, 908 #search-menu input[type="submit"]:focus { 909 background: #676e78; 910 color: #fff; 911 } 912 /* ----------------------------------------------------------------- CONTENT ELEMENTS */ 913 .part-tabs ul { 914 padding: .5em 0 .3em 1em; 915 border-bottom: 1px solid #ddd; 916 } 917 .part-tabs li { 918 list-style: none; 919 margin: 0; 920 display: inline; 921 } 922 .part-tabs li a { 923 padding: .5em 2em; 924 margin-right: -1px; 925 border: 1px solid #ccc; 926 border-bottom: none; 927 text-decoration: none; 928 color: #333; 929 background-color: #ecf0f1; 930 } 931 .part-tabs li a:hover, .part-tabs li a:focus { 932 color: #000; 933 background: #fff; 934 border-bottom-color: #fff; 935 } 936 .part-tabs li.part-tabs-active a { 937 background: #fff; 938 font-weight: bold; 939 border-bottom-color: #fff; 940 padding-bottom: 7px; /* ie < 9 sucks */ 941 padding-bottom: .7rem; 942 } 943 .multi-part { 944 padding-left: 1em; 945 } 946 /* contextual help */ 947 #help { 948 margin-top: 4em; 949 background: #f5f5f5; 950 z-index: 100; 951 clear: both; 952 padding: 0 1em; 953 } 954 #content.with-help #help { 955 display: block; 956 position: absolute; 957 top: 36px; /* ie < 9 sucks */ 958 top: 3.6rem; 959 right: 0; 960 width: 280px; /* ie < 9 sucks */ 961 width: 28rem; 962 border-left: 2px solid #FFD478; 963 border-top: 2px solid #FFD478; 964 margin-top: 0; 965 padding: .5em 0 0 0; 966 overflow: auto; 967 } 968 #help-button { 969 background: transparent url(../images/page_help.png) no-repeat 6px center; 970 position: absolute; 971 top: 36px; /* ie < 9 sucks */ 972 top: 3.6rem; 973 right: 0px; 974 padding: 0 1.5em 0 30px; 975 cursor: pointer; 976 color: #2373A8; 977 line-height: 42px; /* ie < 9 sucks */ 978 line-height: 4.2rem; 979 } 980 #help-button span { 981 padding: .5em 0 .1em 0; 982 border-bottom: 1px solid #2373A8; 983 } 984 #content.with-help #help-button { 985 right: 282px; /* ie < 9 sucks */ 986 right: 28.2rem; 987 background-color: #f5f5f5; 988 position: fixed; 989 border-top: 2px solid #FFD478; 990 border-left: 2px solid #FFD478; 991 border-bottom: 2px solid #FFD478; 992 border-bottom-left-radius: 1em; 993 border-top-left-radius: 1em; 994 } 995 .help-box { 996 display: none; 997 } 998 .help-box ul { 999 padding-left: 20px; 1000 margin-left: 0; 1001 } 1002 #content.with-help .help-content { 1003 padding: 0 .5em 1em; 1004 } 1005 .help-content dt { 1006 font-weight: bold; 1007 color: #626262; 1008 margin: 0; 1009 } 1010 .help-content dd { 1011 margin: 0.3em 0 1.5em 0; 1012 } 1013 /* ------------------------------------------------------------------ FOOTER ELEMENTS */ 1014 #footer p { 1015 margin: 0; 1016 padding: 0 1em; 1017 font-size: 1em; 1018 } 1019 span.credit { 1020 font-size: 1em; 1021 font-weight: normal; 1022 } 1023 /* --------------------------------------------------------------------------------------- 1024 RÈGLES SPÉCIFIQUES 1025 ---------------------------------------------------------------------------------------- */ 1026 /* ---------------------------------------------------------------- LISTES TABLEAUX */ 1027 table .maximal, table.maximal { 1028 width: 100%; 1029 } 1030 table .minimal { 1031 width: 1px; 1032 } 1033 table .nowrap { 1034 white-space: nowrap; 1035 vertical-align: top; 1036 } 1037 table .count { 1038 text-align: right; 1039 padding-right: 1.5em; 1040 } 1041 th.first img { 1042 padding-right: 24px; 1043 } 1044 tr.line img.expand, th img.expand { 1045 margin-right: 6px; 1046 margin-bottom: -2px; 1047 } 1048 tr.line p { 1049 margin: 0; 1050 } 1051 tr.line input { 1052 vertical-align: middle; 1053 } 1054 tr.line:hover { 1055 background: #f3f3f3; 1056 } 1057 td.status { 1058 vertical-align: middle; 1059 } 1060 td.status img { 1061 margin-bottom: -2px; 1062 } 1063 td.status a { 1064 border: none; 1065 } 1066 .noborder td, td.noborder, .noborder th, th.noborder { 1067 border-width: 0 0 1px 0; 1068 border-color: #ddd; 1069 line-height: 2em; 1070 padding-bottom: 0; 1071 } 1072 .noborder p { 1073 margin-bottom: 0; 1074 } 1075 table.posts-list { 1076 min-width: 50%; 1077 } 1078 table.settings, table.prefs { 1079 width: 80%; 1080 border: 1px solid #ccc; 1081 margin-bottom: 3em; 1082 } 1083 table.settings th, table.prefs th { 1084 background: #f3f3ff; 1085 } 1086 table.settings th:first-child, table.prefs th:first-child { 1087 width: 20%; 1088 } 1089 table.settings th + th, table.prefs th + th { 1090 width: 30%; 1091 } 1092 table.settings th + th + th, table.prefs th + th + th { 1093 width: 10%; 1094 } 1095 table.settings th:last-child, table.prefs th:last-child { 1096 width: 40%; 1097 } 1098 /* js */ 1099 td.expand { 1100 padding: 1em; 1101 } 1102 tr.expand td { 1103 border-bottom: none; 1104 } 1105 .dragable { 1106 border-collapse: separate; 1107 } 1108 .handle { 1109 padding: 0; 1110 } 1111 .handler { 1112 cursor: move; 1113 background: transparent url(drag.png) no-repeat 0 50%; 1114 padding-left: 15px; 1115 } 1116 /* ----------------------------------------------------------- BOITES À FILTRES */ 1117 #filters-form { 1118 border: 1px dashed #999; 1119 border-radius: .5em; 1120 margin-bottom: 2em; 1121 padding: .5em 1em 0; 1122 } 1123 #filters-form .table { 1124 width: 100%; 1125 padding: 0; 1126 margin-bottom: 1em; 1127 margin-top: .5em; 1128 } 1129 #filters-form .cell { 1130 padding: 0 2em 0 0; 1131 } 1132 #filters-form .filters-sibling-cell { 1133 padding-top: 3.8em; 1134 } 1135 #filters-form .filters-options { 1136 padding-left: 2em; 1137 border-left: 1px solid #ccc; 1138 } 1139 #filters-form label.ib, span.ib { 1140 width:7em; 1141 } 1142 #filters-form label.ibw, span.ibw { 1143 width: 9em; 1144 display: inline-block; 1145 } 1146 #filters-form select { 1147 width: 14em; 1148 } 1149 #filters-form h4 { 1150 margin-top: 0; 1151 margin-bottom: 2em; 1152 } 1153 /* ---------------------------------------------------------------------------- SPEC PAGES */ 1154 /* ---------------------------------------------------------------------------- auth.php */ 1155 #login-screen { 1156 display: block; 1157 width: 20em; 1158 margin: 1.5em auto 0; 1159 font-size: 14px; /* ie < 9 sucks */ 1160 font-size: 1.4rem; 1161 } 1162 #login-screen h1 { 1163 text-indent: -2000px; 1164 background: transparent url(dc_logos/w-dotclear240.png) no-repeat top left; 1165 height: 66px; 1166 margin-bottom: .5em; 1167 margin-left: 0; 1168 } 1169 #login-screen .fieldset { 1170 border: 1px solid #A8DC26; 1171 padding: 1em 1em 0 1em; 1172 border-radius: 3px; 1173 background: #fff; 1174 } 1175 #login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { 1176 width: 100%; 1177 } 1178 #login-screen input.login { 1179 padding-top: 6px; 1180 padding-bottom: 6px; 1181 font-size: 1em; 1182 } 1183 #login-screen #issue { 1184 margin-left: 1.33em; 1185 font-size: 12px; /* ie < 9 sucks */ 1186 font-size: 1.2rem; 1187 } 1188 #login-screen #issue strong { 1189 font-weight: normal; 1190 } 1191 /* ------------------------------------------------------------------------- index.php */ 1192 #dashboard-main { 1193 padding: 1em 0; 1194 } 1195 /* raccourcis */ 1196 #icons { 1197 overflow: hidden; 1198 padding-bottom: 1em; 1199 text-align: center; 1200 } 1201 #icons p { 1202 width: 210px; 1203 text-align: center; 1204 margin: 1em 0 2em; 1205 padding: 1em 0; 1206 display:inline-block; 1207 vertical-align: top; 1208 } 1209 #icons a, 1210 #icons a:link, 1211 #icons a:visited, 1212 #icons a:hover, 1213 #icons a:focus { 1214 border-bottom-width: 0px; 1215 text-decoration: none; 1216 } 1217 #icons a span { 1218 border-bottom: 1px dotted #f90; 1219 color: #333; 1220 } 1221 #icons a img { 1222 padding: 2em; 1223 -moz-box-shadow: 0px 1px 0px 0px #ffffff; 1224 -webkit-box-shadow: 0px 1px 0px 0px #ffffff; 1225 box-shadow: 0px 1px 0px 0px #ffffff; 1226 background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) ); 1227 background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% ); 1228 filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9'); 1229 background-color:#f9f9f9; 1230 -moz-border-radius:1em; 1231 -webkit-border-radius:1em; 1232 border-radius:1em; 1233 border:1px solid #dcdcdc; 1234 display:inline-block; 1235 } 1236 #icons a:focus img, #icons a:hover img { 1237 background: #bee74b; 1238 } 1239 #icons a:focus span, #icons a:hover span { 1240 text-decoration: underline; 1241 } 1242 /* billet rapide */ 1243 #quick { 1244 margin-top: 1em; 1245 padding-top: 1em; 1246 } 1247 #quick h3 { 1248 margin-bottom: 0.2em; 1249 font-size: 1.2em; 1250 } 1251 #quick p.qinfo { 1252 margin: -.7em -1em 1em; 1253 background: #f3f3ff url(info.png) no-repeat .2em .2em; 1254 border: 1px solid #99f; 1255 padding: .2em 1em .1em 24px; 1256 color: #666; 1257 } 1258 #quick #new_cat, .q-cat, .q-cat label { 1259 display: inline-block; 1260 vertical-align: top; 1261 margin-right: 1em; 1262 margin-top: 0; 1263 } 1264 .q-cat label { 1265 margin-right: .3em; 1266 } 1267 #quick #new_cat { 1268 margin-bottom: 2em; 1269 } 1270 /* modules additionnels */ 1271 #dashboard-boxes { 1272 margin: 2em auto 1em; 1273 padding-top: 2em; 1274 } 1275 .db-items img, .db-contents img { 1276 vertical-align: middle; 1277 } 1278 .db-items ul, .db-contents ul { 1279 display: block; 1280 padding-left: 1.5em; 1281 list-style: square; 1282 } 1283 .db-items li, .db-contents li { 1284 margin: 0.25em 0 0 0; 1285 color: #666; 1286 } 1287 #news dt { 1288 font-weight: bold; 1289 margin: 0 0 0.4em 0; 1290 } 1291 #news dd { 1292 margin: 0 0 1em 0; 1293 } 1294 #news dd p { 1295 margin: 0.2em 0 0 0; 1296 } 1297 /* message de mise à jour */ 1298 #upg-notify ul { 1299 padding-left: 1.5em; 1300 } 1301 #upg-notify li { 1302 color: #fff; 1303 } 1304 /* ------------------------------------------------------------------- blog_pref.php */ 1305 .user-perm { 1306 margin: 2em 0px; 1307 background: transparent url(user.png) no-repeat left top; 1308 width: 320px; 1309 display: inline-block; 1310 vertical-align: top; 1311 } 1312 .user-perm h4, .user-perm h5, .user-perm p, .user-perm ul, .user-perm li { 1313 margin: .5em 0 .33em; 1314 padding: 0; 1315 } 1316 .user-perm h4 { 1317 padding-left: 28px; 1318 } 1319 .user-perm h5 { 1320 margin: 1em 0 0 0; 1321 } 1322 .user-perm ul { 1323 list-style-type: inside; 1324 } 1325 .user-perm li { 1326 margin-left: 1em; 1327 padding-left: 0; 1328 } 1329 li.user_super, li.user_admin { 1330 margin-left: 0; 1331 padding-left: 1em; 1332 list-style: none; 1333 background: transparent url(../images/superadmin.png) no-repeat -2px 2px; 1334 } 1335 li.user_admin { 1336 background-image: url(../images/admin.png); 1337 } 1338 /* ------------------------------------------------------------------- blog_theme.php */ 1339 #themes { 1340 margin: 0; 1341 width: 100%; 1342 padding: 0; 1343 } 1344 .theme-details { 1345 border-top: 1px solid #ccc; 1346 padding: 12px; 1347 display: inline-block; 1348 vertical-align: top; 1349 width: 284px; 1350 } 1351 .theme-details.current-theme { 1352 background: #eef; 1353 } 1354 .theme-details:hover { 1355 background: #f3f3f3; 1356 } 1357 .theme-shot img { 1358 display: block; 1359 border: 1px solid #ccc; 1360 margin-bottom: 1.5em; 1361 } 1362 span.theme-desc { 1363 display: block; 1364 } 1365 span.theme-version { 1366 color: #666; 1367 } 1368 .theme-css { 1369 display: block; 1370 } 1371 #themes-actions { 1372 border-bottom: 1px solid #999; 1373 margin-bottom: 3em; 1374 } 1375 /* Themes list, JS version */ 1376 #themes-wrapper { 1377 display: table; 1378 } 1379 #themes-wrapper #themes { 1380 display: table-cell; 1381 vertical-align: top; 1382 padding-left: 1em; 1383 } 1384 #theme-box { 1385 display: table-cell; 1386 vertical-align: top; 1387 padding: 0; 1388 width: 312px; 1389 border: 1px solid #ccc; 1390 border-radius: 3px; 1391 } 1392 #theme-box .theme-shot, 1393 #theme-box .theme-info, 1394 #theme-box .theme-actions { 1395 background: #eef; 1396 padding: 1em 16px; 1397 margin: 0; 1398 } 1399 #theme-box .theme-shot img { 1400 display: block; 1401 width: 280px; 1402 height: 245px; 1403 border: 1px solid #ccc; 1404 } 1405 #theme-box h4 { 1406 color: #000; 1407 background: #eef; 1408 } 1409 #theme-box span.theme-version { 1410 color: #666; 1411 } 1412 #theme-box span.theme-parent-ok { 1413 color: #666; 1414 } 1415 #theme-box span.theme-parent-missing { 1416 color: #c00; 1417 font-weight:bold; 1418 } 1419 #theme-box .theme-actions { 1420 border-bottom: 1px solid #ccc; 1421 } 1422 #themes .theme-details-js { 1423 float: left; 1424 width: 120px; 1425 height: 150px; 1426 margin: 0 12px 24px; 1427 padding: 12px 12px 0; 1428 text-align: center; 1429 background: #f3f3f3; 1430 border: 1px solid #ddd; 1431 cursor: pointer; 1432 border-radius: 4px; 1433 } 1434 #themes .theme-details-js label { 1435 cursor: pointer; 1436 } 1437 #themes .theme-details-js.theme-selected { 1438 background: #e7e7e7; 1439 border: 1px solid #999; 1440 } 1441 #themes .theme-details-js .theme-shot img { 1442 width: 120px; 1443 height: 105px; 1444 border: 1px solid #fff; 1445 } 1446 #themes a:focus div, #themes a:hover div, 1447 #themes a:focus div.current-theme, #themes a:hover div.current-theme { 1448 background: #bee74b; 1449 } 1450 /* ------------------------------------------------------------------ categories.php */ 1451 #categories { 1452 margin: 1em 0; 1453 } 1454 #categories ul { 1455 list-style: none; 1456 margin: 0; 1457 padding: 0; 1458 } 1459 #categories li { 1460 margin: .5em 0; 1461 padding: .5em 1.2em; 1462 border: 1px solid #ccc; 1463 border-left: 8px solid #E5E3DA; 1464 border-radius: 3px; 1465 } 1466 #categories label a { 1467 font-weight: bold; 1468 } 1469 #categories li p { 1470 margin: 0; 1471 display: inline-block; 1472 } 1473 #categories input[type="checkbox"] { 1474 margin-right: .8em; 1475 } 1476 .cat-url { 1477 padding-left: 1em; 1478 } 1479 #categories .placeholder { 1480 outline: 1px dashed #4183C4; 1481 min-height: 2.5em; 1482 } 1483 #categories input.cat-rank { 1484 float: right; 1485 margin-left: 30px; 1486 } 1487 #categories h4 { 1488 margin: 0; 1489 } 1490 #categories h4 span { 1491 font-weight: normal; 1492 } 1493 .cat-actions { 1494 line-height: 2; 1495 } 1496 #del_cat { 1497 width: 100%; 1498 } 1499 /* ------------------------------------------------------------------ media.php */ 1500 .media-list { 1501 position: static; 1502 } 1503 .media-item { 1504 position: relative; 1505 border: 1px solid #ccc; 1506 margin: 1em; 1507 padding: 1em; 1508 width: 300px; 1509 display: inline-block; 1510 vertical-align: top; 1511 min-height: 120px 1512 } 1513 .media-item ul { 1514 display: block; 1515 list-style: none; 1516 margin: 0; 1517 padding: 0; 1518 } 1519 a.media-icon { 1520 display: block; 1521 border-bottom: none; 1522 margin: 0 auto; 1523 } 1524 .media-icon img { 1525 display: block; 1526 } 1527 .media-action-box { 1528 position: relative; 1529 margin: 3em 3em 1em 1em; 1530 display: inline-block; 1531 vertical-align: top; 1532 } 1533 li.media-action { 1534 display: block; 1535 position: absolute; 1536 top: 5px; 1537 right: 5px; 1538 height: 16px; 1539 } 1540 li.media-action a { 1541 border: none; 1542 } 1543 li.media-action form { 1544 display: inline; 1545 } 1546 li.media-action input { 1547 border: none; 1548 } 1549 .zip-dl { 1550 background: transparent url(package.png) no-repeat 0 50%; 1551 padding: 5px 0 5px 20px; 1552 } 1553 /* --------------------------------------------------------------- media-item.php */ 1554 #media-icon { 1555 float: left; 1556 } 1557 .near-icon { 1558 margin-left: 70px; 1559 margin-bottom: 3em; 1560 } 1561 #media-details ul { 1562 display: block; 1563 margin-left: 0; 1564 padding: 0; 1565 } 1566 #media-details li { 1567 list-style: square inside; 1568 margin: 0; 1569 padding: 0; 1570 } 1571 #media-original-image { 1572 overflow: auto; 1573 } 1574 #media-original-image.overheight { 1575 height: 500px; 1576 } 1577 /* -------------------------------------------------------------------- plugins.php */ 1578 #plugins td.action { 1579 vertical-align: middle; 1580 } 1581 .distrib img { 1582 display: block; 1583 float: right; 1584 margin-top: -1em; 1585 } 1586 /* ---------------------------------------------------------- post.php, page.php */ 1587 #entry-wrapper { 1588 float: left; 1589 width: 100%; 1590 margin-right: -18em; 1591 } 1592 #entry-content { 1593 margin-right: 20em; 1594 margin-left: 0; 1595 } 1596 #entry-content label { 1597 text-transform: uppercase; 1598 font-weight: bold; 1599 margin-top: 2em; 1600 } 1601 #entry-content label:first-child { 1602 margin-top: 0; 1603 } 1604 #entry-sidebar { 1605 width: 18em; 1606 float: right; 1607 } 1608 #entry-sidebar select { 1609 width: 100%; 1610 } 1611 #entry-sidebar input#post_position { 1612 width: 4em; 1613 } 1614 .sb-box { 1615 border-bottom: 1px solid #ddd; 1616 margin-bottom: 1em; 1617 } 1618 /* ---------------------------------------------------------- preferences.php */ 1619 #my-favs { 1620 border: 1px solid #A8DC26; 1621 padding: 1em 2em 1622 } 1623 #my-favs ul { 1624 list-style-type: none; 1625 margin-left: 0; 1626 padding-left: 0; 1627 line-height: 1.2; 1628 } 1629 #my-favs li { 1630 display: block; 1631 float: left; 1632 width: 164px; 1633 margin-top: 1em; 1634 margin-bottom: 1.5em; 1635 } 1636 #my-favs label { 1637 height: 2.5em; 1638 width:140px; 1639 margin-top:.3em; 1640 } 1641 #my-favs label input { 1642 display:inline; 1643 } 1644 #my-favs img { 1645 display: block; 1646 } 1647 #my-favs input.position { 1648 margin: 0 0 .4em .2em; 1649 } 1650 #available-favs input, #available-favs label, #available-favs label span { 1651 white-space: normal; 1652 display: inline; 1653 } 1654 #default-favs h3 { 1655 margin-top: 2em; 1656 margin-bottom: 1em; 1657 } 1658 .fav-list { 1659 list-style-type: none; 1660 margin-left: 0; 1661 padding-left: 0; 1662 } 1663 .fav-list li { 1664 line-height: 2; 1665 margin-left: 0; 1666 padding-left: 0; 1667 position: relative; 1668 } 1669 .fav-list img { 1670 vertical-align: middle; 1671 margin-right: .2em; 1672 } 1673 #available-favs label span.zoom { 1674 display: none; 1675 } 1676 #available-favs li:hover label span.zoom { 1677 display: block; 1678 position: absolute; 1679 bottom: 0; 1680 left: 10em; 1681 background-color: #f7f7f7; 1682 border: 1px solid #ddd; 1683 padding: .2em; 1684 border-radius: .5em; 1685 } 1686 #user-options label.ib { 1687 display: inline-block; 1688 width: 14em; 1689 padding-right: 1em; 1690 } 1691 /* --------------------------------------------------------------------- user.php */ 1692 .blog-perm { 1693 margin-top: 2em; 1694 font-weight: bold; 1695 } 1696 .ul-perm { 1697 list-style-type: square; 1698 margin-left: 0; 1699 padding-left: 3.5em; 1700 margin-bottom: 0 1701 } 1702 .add-perm { 1703 padding-top: .5em; 1704 padding-left: 2.5em; 1705 margin-left: 0; 1706 } 1767 1707 1708 /* ------------------------------------------------------------------------------------ 1709 CLASSES 1710 ------------------------------------------------------------------------------------ */ 1768 1711 /* jQuery Autocomplete plugin */ 1769 1712 .ac_results { … … 1773 1716 overflow: hidden; 1774 1717 z-index: 99999; 1775 }1718 } 1776 1719 .ac_results ul { 1777 1720 width: 100%; … … 1780 1723 padding: 0; 1781 1724 margin: 0; 1782 }1783 .ac_results li {1784 margin: 0px;1785 padding: 2px 5px;1786 cursor: default;1787 display: block;1788 font: menu;1789 font-size: 1em;1790 line-height: 16px;1791 overflow: hidden;1792 }1725 } 1726 .ac_results li { 1727 margin: 0px; 1728 padding: 2px 5px; 1729 cursor: default; 1730 display: block; 1731 font: menu; 1732 font-size: 1em; 1733 line-height: 16px; 1734 overflow: hidden; 1735 } 1793 1736 .ac_loading { 1794 1737 background: transparent url('loader.gif') right center no-repeat; 1795 }1738 } 1796 1739 .ac_over { 1797 1740 background-color: #06c; 1798 1741 color: white; 1799 } 1800 1801 /* ------------------------------------------------------- Filters */ 1802 #filters-form { 1803 border: 1px dashed #999; 1804 border-radius: .5em; 1742 } 1743 /* password indicator */ 1744 .pw-table { 1745 display: table; 1746 margin-bottom: 1em; 1747 } 1748 .pw-cell { 1749 display: table-cell; 1750 margin-bottom: 1em; 1751 } 1752 #pwindicator { 1753 display: table-cell; 1754 vertical-align: bottom; 1755 padding-left: 1.5em; 1756 height: 3.8em; 1757 } 1758 #pwindicator .bar { 1759 height: 6px; 1760 margin-bottom: 4px; 1761 } 1762 .pw-very-weak .bar { 1763 background: #900; 1764 width: 30px; 1765 } 1766 .pw-weak .bar { 1767 background: #c00; 1768 width: 60px; 1769 } 1770 .pw-mediocre .bar { 1771 background: #f60; 1772 width: 90px; 1773 } 1774 .pw-strong .bar { 1775 background: #060; 1776 width: 120px; 1777 } 1778 .pw-very-strong .bar { 1779 background: #0c0; 1780 width: 150px; 1781 } 1782 /* ------------------------------------------------------------------ navigation */ 1783 /* selects accès rapide */ 1784 .anchor-nav { 1785 background: #ecf0f1; 1786 color: #000; 1787 padding: 4px 1em; 1788 } 1789 /* nav links */ 1790 .nav_prevnext { 1805 1791 margin-bottom: 2em; 1806 padding: .5em 1em 0; 1807 } 1808 #filters-form .table { 1809 display: table; 1810 width: 100%; 1811 padding: 0; 1812 margin-bottom: 1em; 1813 margin-top: .5em; 1814 } 1815 #filters-form .cell { 1816 padding: 0 2em 0 0; 1817 display: table-cell; 1818 vertical-align: top; 1819 } 1820 #filters-form .filters-sibling-cell { 1821 padding-top: 3.8em; 1822 } 1823 #filters-form .filters-options { 1824 padding-left: 2em; 1825 border-left: 1px solid #ccc; 1826 } 1827 #filters-form label.ib, span.ib { 1828 width:7em; 1829 display: inline-block; 1830 } 1831 #filters-form label.ibw, span.ibw { 1832 width: 9em; 1833 display: inline-block; 1834 } 1835 #filters-form select { 1836 width: 14em; 1837 } 1838 #filters-form h4 { 1839 margin-top: 0; 1840 margin-bottom: 2em; 1841 } 1842 1843 /* ---------------------------------------------------- Pagination */ 1792 color: #fff; 1793 } 1794 .nav_prevnext a, a.back { 1795 border: 1px solid #ddd; 1796 padding: 2px 1.5em; 1797 border-radius: .75em; 1798 background-color: #f0f0f0; 1799 } 1800 a.back:before { 1801 content: "\ab\a0"; 1802 } 1803 a.onblog_link { 1804 color: #333; 1805 float: right; 1806 border: 1px solid #eee; 1807 padding: 2px 1.5em; 1808 border-radius: .75em; 1809 background-color: #ffe; 1810 } 1811 /* Pagination */ 1844 1812 .pagination { 1845 1813 height: 22px; … … 1847 1815 line-height: 22px; 1848 1816 padding: 0 .75em; 1849 border: 1px solid # ddd;1817 border: 1px solid #e7e7e7; 1850 1818 overflow: hidden; 1851 background: #e1e1e1; 1852 background: -moz-linear-gradient(center top , #f2f2f2, #e1e1e1); 1853 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e1e1e1)); 1854 -moz-border-radius: 4px; 1855 -webkit-border-radius: 4px; 1856 border-radius: 4px; 1819 background: #f3f3f3; 1820 -moz-border-radius: 3px; 1821 -webkit-border-radius: 3px; 1822 border-radius: 3px; 1857 1823 clear: left; 1858 } 1859 .pagination a, .pagination strong { 1860 height: 20px; 1861 border: none; 1862 padding: 2px 6px; 1863 background-color : transparent; 1864 background-position : 50% 50%; 1865 background-repeat: no-repeat; 1866 } 1867 .pagination a:hover, .pagination strong { 1868 border-color : #ccc; 1869 background-color: #fff; 1870 } 1871 1872 /* --------------------------------------------------------------- password indcator */ 1873 .pw-table { 1874 display: table; 1824 } 1825 .pagination a, .pagination strong { 1826 height: 20px; 1827 border: none; 1828 padding: 2px 6px; 1829 background-color : transparent; 1830 background-position : 50% 50%; 1831 background-repeat: no-repeat; 1832 } 1833 .pagination a:hover, .pagination strong { 1834 border-color : #ccc; 1835 background-color: #fff; 1836 } 1837 /* Etapes */ 1838 .step { 1839 display: inline-block; 1840 float: left; 1841 margin: 3px 10px 2px 0; 1842 padding: 5px .5em; 1843 background: #ecf0f1; 1844 border-radius: 3px; 1845 font-weight: bold; 1846 border: 1px solid #bdc3c7; 1847 color: #738182; 1848 } 1849 /* ---------------------------------------------------------------- utilisables partout */ 1850 .fieldset { 1851 background: #fff; 1852 border: 1px solid #bbb; 1853 border-radius: 3px; 1854 padding: 1em .7em .5em; 1875 1855 margin-bottom: 1em; 1876 } 1877 .pw-cell { 1878 display: table-cell; 1879 margin-bottom: 1em; 1880 } 1881 #pwindicator { 1882 display: table-cell; 1883 vertical-align: bottom; 1884 padding-left: 1.5em; 1885 height: 3.8em; 1886 } 1887 #pwindicator .bar { 1888 height: 6px; 1889 margin-bottom: 4px; 1890 } 1891 .pw-very-weak .bar { 1892 background: #900; 1893 width: 30px; 1894 } 1895 .pw-weak .bar { 1896 background: #c00; 1897 width: 60px; 1898 } 1899 .pw-mediocre .bar { 1900 background: #f60; 1901 width: 90px; 1902 } 1903 .pw-strong .bar { 1904 background: #060; 1905 width: 120px; 1906 } 1907 .pw-very-strong .bar { 1908 background: #0c0; 1909 width: 150px; 1910 } 1911 /* ------------------------------------------------------------- cachotteries */ 1856 } 1857 .fieldset h3 { 1858 color: #333; 1859 } 1860 .right { 1861 text-align: right; 1862 } 1863 .txt-center { 1864 text-align: center; 1865 } 1866 .no-margin, label.no-margin { 1867 margin-top: 0; 1868 margin-bottom: 0; 1869 } 1870 .vertical-separator { 1871 margin-top: 2em; 1872 } 1873 p.clear.vertical-separator { 1874 padding-top: 2em; 1875 } 1876 .border-top { 1877 border-top: 1px solid #999; 1878 padding-top: 1em; 1879 margin-top: 1em; 1880 } 1881 .grid { 1882 background: transparent repeat url('grid.png') 0 0; 1883 } 1884 ul.nice { 1885 margin: 1em 0; 1886 padding: 0 0 0 2em; 1887 list-style: square; 1888 } 1889 ul.nice li { 1890 margin:0; 1891 padding: 0; 1892 } 1893 .offline { 1894 color: #666; 1895 } 1912 1896 /* caché pour tout le monde */ 1913 1897 .hide { 1914 1898 display: none; 1915 }1899 } 1916 1900 /* Caché sauf pour les revues d'écran */ 1917 1901 .hidden { … … 1928 1912 .no-js .hidden-if-no-js { 1929 1913 display: none; 1930 }1914 } 1931 1915 /* montré si js est inactif */ 1932 1916 .no-js .hidden-if-js { 1933 1917 display: block; 1934 }1918 } 1935 1919 /* caché si js est actif */ 1936 1920 .hidden-if-js { 1937 1921 display: none; 1938 } 1939 1940 /* --------------------------------------------------------------------------- 1941 Media queries vite fait en attendant la reprise complète du layout 1942 ---------------------------------------------------------------------------- */ 1922 } 1923 /* ------------------------------------------------------------------------------------ 1924 UTILS 1925 ------------------------------------------------------------------------------------ */ 1926 /* debug */ 1927 #debug { 1928 position: absolute; 1929 top: 0; 1930 width: 100%; 1931 height: 4px; 1932 background: #d99; 1933 } 1934 #debug div { 1935 display: none; 1936 padding: 3px 0.5em 2px; 1937 } 1938 #debug p { 1939 margin: 0.5em 0; 1940 } 1941 #debug:hover { 1942 height: auto; 1943 } 1944 #debug:hover div { 1945 display: block; 1946 } 1947 /* ------------------------------------------------------------------------------------ 1948 UN POIL DE MEDIA QUERIES 1949 ------------------------------------------------------------------------------------ */ 1943 1950 @media screen and (max-width: 920px) { 1944 #top, #top h1 a {width: 42px !important; height:100%; overflow: hidden; 1945 } 1946 #top h1 a:link { 1947 background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px; 1948 border-right: 1px solid #ccc; 1949 } 1950 #top h1 a:hover, #top h1 a:focus { 1951 background: url(dc_logos/b-dotclear120.png) no-repeat -180px -94px; 1952 border-right: 1px solid #A2CBE9; 1953 } 1954 } 1951 #top, #top h1 a { 1952 width: 42px !important; 1953 height:100%; 1954 overflow: hidden; 1955 } 1956 #top h1 a:link { 1957 background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px; 1958 border-right: 1px solid #ccc; 1959 } 1960 #top h1 a:hover, #top h1 a:focus { 1961 background: url(dc_logos/b-dotclear120.png) no-repeat -180px -94px; 1962 border-right: 1px solid #A2CBE9; 1963 } 1964 } 1955 1965 @media screen and (max-width: 800px) { 1956 1966 #top, #info-boxes, #info-box1, #info-box2 { … … 1959 1969 margin:0; 1960 1970 padding:0; 1961 line-height: 32px; /* ie < 9 sucks */1962 line-height: 3.2rem;1963 }1964 #info-box1 {margin-left: .75em;}1965 # info-box1 select {width: 140px; width: 14rem;}1966 #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child{1967 display:block;1971 line-height: 32px; line-height: 3.2rem; 1972 } 1973 #info-box1 { margin-left: .75em; } 1974 #info-box1 select { width: 140px; width: 14rem; } 1975 #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, 1976 .two-cols .col, .two-cols .col:first-child, .boxes { 1977 display:block !important; 1968 1978 width: 98%; 1969 1979 margin:0 auto; … … 1972 1982 text-align: left; 1973 1983 clear: both; 1974 }1984 } 1975 1985 #content { 1976 width: 100%;1977 padding-top: .5em;1978 }1979 }1986 width: 100%; 1987 padding-top: .5em; 1988 } 1989 } 1980 1990 @media screen and (max-width: 720px) { 1981 .smallscreen {display: none;} 1982 #help-button {width:20px; overflow: hidden;} 1983 #info-box2 {float:none;} 1984 #dashboard-items div {display: block;margin-bottom: 1em; padding: 0 1em;} 1985 #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size:10px; font-size: 1rem;line-height: 68px} 1986 } 1991 .smallscreen { display: none; } 1992 #info-box2 { float:none; } 1993 #help-button { 1994 height:26px; 1995 width:26px; 1996 background-color: #A2CBE9; 1997 padding: 0; 1998 margin: 0; 1999 font-size: 10px; font-size: 1rem; 2000 line-height: 68px; 2001 overflow: hidden; 2002 } 2003 } 1987 2004 @media screen and (max-width: 492px) { 1988 #header {height: 36px; height: 3.6rem;} 1989 #wrapper {font-size: 16px; font-size: 1.6rem;} 1990 .page-title, #info-boxes, .media-item {display: inline-block;} 1991 div.media-list .media-item {width: 90%; float: none} 1992 #info-box1 select {width: 120px; width: 12rem; margin-right: .6rem;} 1993 #info-box1 p.nomobile, label.nomobile {display: none;} 1994 } 2005 #header { height: 36px; height: 3.6rem; } 2006 #wrapper { font-size: 16px; font-size: 1.6rem; } 2007 .page-title, #info-boxes { display: inline-block; } 2008 #info-box1 select { 2009 width: 120px; width: 12rem; 2010 margin-right: .6rem; 2011 } 2012 #info-box1 p.nomobile, label.nomobile { display: none; } 2013 }
Note: See TracChangeset
for help on using the changeset viewer.
