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