Changeset 503:a4f39cc10d7a for admin
- Timestamp:
- 07/04/11 08:52:37 (14 years ago)
- Branch:
- themes
- Parents:
- 502:d002906f0b30 (diff), 501:ead05faef1e4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Location:
- admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_theme.php
r500 r503 156 156 157 157 $radio_id = 'theme_'.html::escapeHTML($id); 158 if (preg_match('#^http(s)?://#',$core->blog->settings->system->themes_url)) { 159 $theme_url = http::concatURL($core->blog->settings->system->themes_url,'/'.$id); 160 } else { 161 $theme_url = http::concatURL($core->blog->url,$core->blog->settings->system->themes_url.'/'.$id); 162 } 158 $theme_url = http::concatURL($core->blog->url,$core->blog->settings->system->themes_url.'/'.$id); 163 159 $has_conf = file_exists(path::real($core->blog->themes_path.'/'.$id).'/_config.php'); 164 160 $has_css = file_exists(path::real($core->blog->themes_path.'/'.$id).'/style.css'); … … 216 212 { 217 213 echo 218 '<h2>'.html::escapeHTML($core->blog->name).' › <span class="page-title">'.__('Blog appearance').'</span></h2>';214 '<h2>'.html::escapeHTML($core->blog->name).' › '.__('Blog appearance').'</h2>'; 219 215 220 216 if (!empty($_GET['upd'])) { … … 333 329 echo 334 330 '<h2>'.html::escapeHTML($core->blog->name). 335 ' › <a href="blog_theme.php">'.__('Blog appearance').'</a> › <span class="page-title">'.__('Theme configuration').'<span class="page-title"></h2>'.331 ' › <a href="blog_theme.php">'.__('Blog appearance').'</a> › '.__('Theme configuration').'</h2>'. 336 332 '<p><a class="back" href="blog_theme.php">'.__('back').'</a></p>'; 337 333 338 334 try 339 335 { 340 # Let theme configuration set their own form(s) if required341 $ standalone_config = (boolean) $core->themes->moduleInfo($core->blog->settings->system->theme,'standalone_config');342 343 if (!$ standalone_config)336 # Let theme configuration set their own form(s) 337 $managed = (boolean) $core->callBehavior('adminThemeConfigManaged'); 338 339 if (!$managed) 344 340 echo '<form id="theme_config" action="blog_theme.php?conf=1" method="post" enctype="multipart/form-data">'; 345 341 346 342 include $theme_conf_file; 347 343 348 if (!$ standalone_config)344 if (!$managed) 349 345 echo 350 346 '<p class="clear"><input type="submit" value="'.__('Save').'" />'. 351 347 $core->formNonce().'</p>'. 352 348 '</form>'; 353 354 349 } 355 350 catch (Exception $e) -
admin/style/default.css
r500 r503 1179 1179 p.field { 1180 1180 position: relative; 1181 1181 1182 1182 } 1183 1183 p.field label { -
admin/style/default.css
r391 r503 11 11 # -- END LICENSE BLOCK ----------------------------------------- 12 12 */ 13 14 /* ------------------------------------------------------------------ html */ 13 15 body { 14 font: 7 6%/1.5em Helvetica,Arial,sans-serif;16 font: 75%/1.5em Helvetica,Arial,sans-serif; 15 17 color: #333; 16 18 background: #f5f5f5; … … 21 23 background: #fff; 22 24 } 23 24 a img,:link img,:visited img { border:none }25 25 26 26 a, a:link, a:visited { … … 32 32 text-decoration: underline; 33 33 } 34 a img, a:link img, a:visited img { 35 border:none; 36 } 34 37 35 38 h1, h2, h3, h4, h5, h6, p { … … 37 40 margin-bottom: 0.6em; 38 41 } 39 40 42 h2 { 41 43 color: #666; … … 43 45 padding: 4px 0; 44 46 } 45 47 .page-title { 48 color: #d30e60; 49 } 46 50 h3 { 47 51 color: #333; 48 52 font-size: 1.2em; 49 53 } 50 51 54 p, div.p { 52 55 margin: 0 0 1em 0; 53 56 } 54 55 57 hr { 56 58 height: 1px; … … 59 61 border-style: solid; 60 62 } 61 62 63 pre, code { 63 64 font: 100% "Andale Mono","Courier New",monospace; … … 80 81 /* LAYOUT 81 82 -------------------------------------------------------- */ 82 83 /* prelude */ 84 #prelude { 85 background: #575859; 86 line-height: 1.8em; 87 margin: 0; 88 overflow: hidden; 89 } 90 #prelude li { 91 list-style-type: none; 92 margin: 0 1em 0 0; 93 background:transparent; 94 } 95 #prelude a { 96 color:#fff; 97 } 98 /* header */ 99 #header { 100 background: #575859; 101 height: 3em; 102 position: relative; 103 } 83 104 #top { 84 105 margin: 0; 85 106 padding: 0; 86 background: #575859 url(dc_bg.png) repeat-x 0 3em; 107 width: 13em; 108 float: left; 87 109 } 88 110 #top h1 { … … 103 125 color: #fff; 104 126 } 105 106 #info-box { 127 #info-boxes { 107 128 background: #575859; 108 position: absolute; 109 left: 13em; 110 top: 3px; 111 margin: 0; 112 padding: 3px 3px 4px 0; 129 font-size: .95em; 130 height: 3em; 131 } 132 #info-box1 { 133 margin: 0; 134 padding: .5em 3px 4px 0; 113 135 color: #fff; 136 float: left; 137 background: #575859; 114 138 } 115 139 #info-box2 { 140 margin: .1em 0 0 0; 141 padding: .5em 1em 4px 0; 142 color: #fff; 143 float: right; 144 text-align: right; 116 145 background: #575859; 117 position: absolute; 118 right: 1em; 119 top: 3px; 120 margin: 0; 121 padding: 3px 3px 4px 0; 122 color: #fff; 123 } 124 #info-box div, #info-box2 div { 125 margin: 0; padding: 0; 126 } 127 #info-box div div, #info-box2 div div { 128 display: inline; 129 } 130 #info-box>form>div, #info-box2>form>div { 131 line-height: 1.5; 132 } 133 #info-box select { 134 width: 20em; 135 } 136 #info-box a img, #info-box2 a img { 146 height: 2em; 147 } 148 #info-box1 select { 149 width: 15em; 150 } 151 #info-box1 a img, #info-box2 a img { 137 152 vertical-align: middle; 138 153 padding-left: .3em; 139 154 } 140 #info-box a, #info-box2 a {155 #info-box1 a, #info-box2 a { 141 156 background: #575859; 142 157 font-weight: bold; 143 158 color: #fff; 144 159 border-bottom-color: #ccc; 145 } 146 #info-box a { 147 margin-left: 2em; 148 } 149 160 margin-left: .3em; 161 margin-right: .3em; 162 white-space: nowrap; 163 font-weight: normal; 164 } 165 #info-box1 a { 166 margin-left: 1.33em; 167 } 168 #info-box2 a.active { 169 border-bottom-color: #f5f5f5; 170 margin: 0; 171 padding: 1.2em .5em; 172 background-color: #f5f5f5; 173 color: #333; 174 font-weight: bold; 175 } 176 #info-box2 span { 177 color: #575859; 178 } 179 /* prelude */ 150 180 #wrapper { 151 181 width: 100%; … … 169 199 #content:before, #content:after {content:"";display:table;} 170 200 #content:after {clear:both;} 171 201 /* -------------------------------------------------- layout - multipart */ 202 .three-cols { 203 } 204 .three-cols .col { 205 width: 32.3%; 206 float: left; 207 margin-left: 1%; 208 } 209 .three-cols .col:first-child { 210 width: 33.3%; 211 margin-left: 0; 212 } 213 .two-cols { 214 position: static; 215 } 216 .two-cols .col { 217 width: 49%; 218 margin-left: 2%; 219 float: left; 220 } 221 .two-cols .col:first-child { 222 width: 49%; 223 margin-left: 0; 224 } 225 .two-cols .col70{ 226 width: 69%; 227 margin-left: 0; 228 float: left; 229 } 230 .two-cols .col30 { 231 width: 28%; 232 margin-left: 2%; 233 float: left; 234 } 235 /* -------------------------------------------------------------- layout - onglets */ 236 .part-tabs ul { 237 padding: .3em 0 1px 1em; 238 border-bottom: 1px solid #999; 239 } 240 .part-tabs li { 241 list-style: none; 242 margin: 0; 243 display: inline; 244 } 245 .part-tabs li a { 246 padding: .3em 0.5em; 247 margin-right: .5em; 248 border: 1px solid #999; 249 border-bottom: none; 250 background: #dfdfdf; 251 text-decoration: none; 252 -webkit-border-top-left-radius: .3em; 253 -webkit-border-top-right-radius: .3em; 254 -moz-border-radius-topleft: .3em; 255 -moz-border-radius-topright: .3em; 256 border-top-left-radius: .3em; 257 border-top-right-radius: .3em; 258 color: #000; 259 } 260 .part-tabs li.part-tabs-link a { 261 background: #ffe; 262 } 263 .part-tabs li a:hover, .part-tabs li a:focus { 264 color: #000; 265 background: #fff; 266 border-bottom-color: #fff; 267 } 268 .part-tabs li.part-tabs-active a { 269 background: #fff; 270 border-bottom: 1px solid #fff; 271 color: #000; 272 font-weight: bold; 273 } 274 /* ------------------------------------------------------------------ main-menu */ 172 275 #main-menu { 173 276 width: 13em; 174 277 float: left; 175 margin-top: 1 em;278 margin-top: 1.2em; 176 279 margin-bottom: 1em; 177 280 } 178 #main-menu * {179 }180 181 281 #main-menu h3 { 182 margin: 0 0 0.5em 0;282 margin: 0 0 0.5em; 183 283 padding: .5em 0 0 .5em; 184 284 text-transform: uppercase; … … 194 294 #main-menu li { 195 295 display: block; 196 margin: 0.5em 0 0 0;296 margin: 0.5em 0 0; 197 297 padding: .2em 0 0 32px; 198 298 background-repeat: no-repeat; … … 206 306 color: #333; 207 307 } 208 #main-menu li.active {308 #main-menu .active { 209 309 background-color: #fff; 210 310 padding: .4em 0 .1em 32px; … … 214 314 margin-right: -1px; 215 315 } 216 #main-menu #dashboard-menu li { 217 margin-left: 0; 218 } 219 316 #favorites-menu { 317 margin: 0 0 2em; 318 } 319 #favorites-menu h3 { 320 color: #333; 321 text-transform: none; 322 } 323 #favorites-menu a { 324 color: #000; 325 font-weight: normal; 326 } 327 #favorites-menu .active { 328 background-color: transparent; 329 border: none; 330 } 331 #favorites-menu .active a { 332 font-weight: bold; 333 } 334 /* ------------------------------------------------------------------ footer */ 220 335 #footer { 221 336 clear: both; … … 241 356 font-weight: normal; 242 357 } 243 244 #debug { 245 position: absolute; 246 top: 0; 358 /* ---------------------------------------------------------------------------- auth.php */ 359 #login-screen { 360 display: block; 361 width: 18em; 362 margin: 1.5em auto 0; 363 font-size: 1.1em; 364 } 365 #login-screen h1 { 366 text-indent: -2000px; 367 background: transparent url(dotclear-logo2.png) no-repeat top left; 368 height: 50px; 369 margin-bottom: .5em; 370 margin-left: .5em; 371 } 372 #login-screen fieldset { 373 border: 1px solid #999; 374 padding: 1em 1em 0 1em; 375 -moz-border-radius: 4px; 376 -webkit-border-radius: 4px; 377 border-radius: 4px; 378 } 379 #login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { 247 380 width: 100%; 248 height: 4px; 249 background: #d99; 250 } 251 #debug div { 252 display: none; 253 padding: 3px 0.5em 2px; 254 } 255 #debug p { 256 margin: 0.5em 0; 257 } 258 #debug:hover { 259 height: auto; 260 } 261 #debug:hover div { 262 display: block; 263 } 264 265 /* DASHBOARD */ 381 } 382 #login-screen #issue { 383 margin-left: 1em; 384 font-size: 1em; 385 } 386 #login-screen #issue strong {font-weight: normal;} 387 388 389 /* ------------------------------------------------------------------ dashboard */ 266 390 #dashboard-main { 267 391 float: left; … … 275 399 float: none; 276 400 } 277 # dashboard-main #icons {401 #icons { 278 402 overflow: hidden; 279 403 padding-bottom: 1em; 280 404 text-align: center; 281 405 } 282 # dashboard-main #icons p {406 #icons p { 283 407 width: 210px; 284 408 text-align: center; … … 286 410 display:inline-block; 287 411 } 288 #dashboard-main #icons span { 289 display: block; 290 } 291 #dashboard-main #icons a { 292 border-bottom-width: 0; 293 } 294 #dashboard-main #icons span a { 295 border-bottom-width: 1px; 296 } 297 298 #dashboard-main #quick { 412 #icons a, 413 #icons a:link, 414 #icons a:visited, 415 #icons a:hover, 416 #icons a:focus { 417 border-bottom-width: 0px; 418 text-decoration: none; 419 } 420 #icons a span { 421 border-bottom: 1px dotted #f90; 422 } 423 #icons a:focus span, #icons a:hover span { 424 text-decoration: underline; 425 } 426 #quick { 299 427 clear: left; 300 428 margin-top: 2em; 301 429 } 302 # dashboard-main #quick h3 {430 #quick h3 { 303 431 margin-bottom: 0.2em; 304 432 font-size: 1.2em; 305 433 } 306 # dashboard-main #quick p.qinfo {434 #quick p.qinfo { 307 435 margin: -.7em -1em 1em; 308 436 background: #eef url(info.png) no-repeat .2em .2em; … … 311 439 color: #666; 312 440 } 313 314 441 #dashboard-items { 315 442 float: left; … … 319 446 padding-top: 3em; 320 447 } 321 #dashboard-items pimg {448 #dashboard-items img { 322 449 vertical-align: middle; 323 450 } … … 331 458 color: #666; 332 459 } 333 # dashboard-items #news dt {460 #news dt { 334 461 font-weight: bold; 335 462 margin: 0 0 0.4em 0; 336 463 } 337 # dashboard-items #news dd {464 #news dd { 338 465 margin: 0 0 1em 0; 339 466 } 340 # dashboard-items #news dd p {467 #news dd p { 341 468 margin: 0.2em 0 0 0; 342 469 } … … 350 477 color: #fff; 351 478 } 352 353 /* POST */ 479 /* ------------------------------------------------------------------ post */ 480 #entry-wrapper { 481 float: left; 482 width: 100%; 483 margin-right: -18em; 484 } 485 #entry-content { 486 margin-right: 18em; 487 } 354 488 #entry-sidebar { 355 489 width: 17em; 356 490 float: right; 357 491 } 358 #entry-content {359 margin-right: 18em;360 }361 492 #comments { 362 493 clear: both; 363 494 } 364 365 /* CATEGORIES */ 495 /* ------------------------------------------------------------------ categories */ 366 496 #categories { 367 497 margin: 1em 0 2em; … … 372 502 padding: 0; 373 503 } 374 #categories ulli {504 #categories li { 375 505 margin: .5em 0; 376 506 padding: .3em 1.5em; … … 381 511 border-radius: .3em; 382 512 } 383 #categories ul lih4 {384 margin: 0; 385 } 386 #categories ul lih4 span {513 #categories h4 { 514 margin: 0; 515 } 516 #categories h4 span { 387 517 font-weight: normal; 388 518 } 389 #categories ulli p {519 #categories li p { 390 520 margin: 0; 391 521 } … … 393 523 width: 100%; 394 524 } 395 396 /* MEDIA */ 525 /* ------------------------------------------------------------------ media */ 397 526 #media-icon { 398 527 float: left; … … 417 546 height: 500px; 418 547 } 419 420 548 #add-file-f { 421 549 position: relative; … … 428 556 border: none; 429 557 } 430 431 /* favorites */ 558 .media-list { 559 position: static; 560 } 561 .media-col-0 { 562 clear: left; 563 } 564 .media-item { 565 position: relative; 566 border-top: 1px solid #ccc; 567 margin-bottom: 1em; 568 padding: 5px 0; 569 } 570 div.media-list .media-item { 571 width: 49%; 572 float: left; 573 margin-right: 1%; 574 } 575 a.media-icon { 576 display: block; 577 border-bottom: none; 578 float: left; 579 } 580 .media-icon img { 581 display: block; 582 } 583 .media-item ul { 584 display: block; 585 list-style: none; 586 margin: 0 0 0 60px; 587 padding: 0; 588 } 589 li.media-action { 590 display: block; 591 position: absolute; 592 top: 5px; 593 right: 5px; 594 height: 16px; 595 } 596 li.media-action a { 597 border: none; 598 } 599 li.media-action form { 600 display: inline; 601 } 602 li.media-action input { 603 border: none; 604 } 605 /* ------------------------------------------------------------------ preferences */ 432 606 #my-favs ul { 433 607 list-style-type: none; … … 436 610 line-height: 1.2; 437 611 } 438 #my-favs ulli {612 #my-favs li { 439 613 display: block; 440 614 float: left; … … 455 629 display: inline; 456 630 } 457 458 631 #default-favs h3 { 459 632 margin-top: 2em; 460 633 margin-bottom: 1em; 461 634 } 462 463 635 .fav-list { 464 636 list-style-type: none; … … 472 644 position: relative; 473 645 } 474 .fav-list liimg {646 .fav-list img { 475 647 vertical-align: middle; 476 648 margin-right: .2em; … … 491 663 border-radius: .5em; 492 664 } 493 494 /* Help */ 665 /* -------------------------------------------------------------------- Themes */ 666 #themes { 667 border-bottom: 1px solid #ccc; 668 margin: 1em 0; 669 } 670 #themes div.theme-details { 671 clear: left; 672 border-top: 1px solid #ccc; 673 padding: 1em 0; 674 } 675 #themes div.theme-details:hover { 676 background: #eee; 677 } 678 #themes div.theme-details div.theme-shot { 679 float: left; 680 } 681 #themes div.theme-details div.theme-shot img { 682 display: block; 683 width: 57px; 684 height: 50px; 685 border: 1px solid #ccc; 686 } 687 #themes div.theme-details div.theme-info { 688 margin-left: 67px; 689 } 690 #themes div.theme-details div.theme-info span.theme-desc { 691 display: block; 692 } 693 #themes div.theme-details div.theme-info span.theme-version { 694 color: #666; 695 } 696 #themes div.theme-details div.theme-actions { 697 margin-left: 67px; 698 } 699 /* Themes list, JS version */ 700 #themes-wrapper { 701 } 702 #theme-box { 703 border: 1px solid #999; 704 border-left: none; 705 padding: 5px; 706 float: right; 707 height: 420px; 708 width: 320px; 709 overflow: auto; 710 } 711 #theme-box div.theme-shot img { 712 display: block; 713 margin: 0 0 0 10px; 714 width: 280px; 715 height: 245px; 716 border: 1px solid #ccc; 717 } 718 #theme-box div.theme-info { 719 margin: 1em 0 0 10px; 720 } 721 #theme-box h3 { 722 margin: 0; 723 } 724 #theme-box div.theme-info span { 725 display: block; 726 } 727 #theme-box span.theme-version { 728 color: #666; 729 } 730 #theme-box span.theme-parent-ok { 731 color: #666; 732 } 733 #theme-box span.theme-parent-missing { 734 color: #c00; 735 font-weight:bold; 736 } 737 #theme-box div.theme-actions { 738 margin-left: 10px; 739 } 740 #themes-wrapper #themes { 741 border: 1px solid #999; 742 overflow: auto; 743 height: 420px; 744 padding: 5px; 745 margin: 0; 746 } 747 #themes div.theme-details-js { 748 float: left; 749 width: 120px; 750 height: 150px; 751 margin: 0 10px 20px; 752 padding: 10px 10px 0; 753 text-align: center; 754 background: #f3f3f3; 755 border: 1px solid #f3f3f3; 756 cursor: pointer; 757 -moz-border-radius: 4px; 758 -webkit-border-radius: 4px; 759 border-radius: 4px; 760 } 761 #themes div.theme-details-js label { 762 cursor: pointer; 763 } 764 #themes div.theme-details-js.theme-selected { 765 background: #E5E3DA; 766 border: 1px solid #999; 767 } 768 #themes div.theme-details-js div.theme-shot img { 769 width: 120px; 770 height: 105px; 771 border: 1px solid #fff; 772 } 773 #themes div.theme-details-js h3 { 774 font-family: inherit; 775 font-weight: normal; 776 margin: 0; 777 padding: 0; 778 } 779 /* ---------------------------------------------------------- Plugins list */ 780 #plugins td.action { 781 vertical-align: middle; 782 } 783 784 select.l10n option { 785 padding-left: 16px; 786 } 787 option.avail10n { 788 background: transparent url(../images/check-on.png) no-repeat 0 50%; 789 } 790 /* ------------------------------------------------------------------ contextual help */ 495 791 #help { 496 792 margin-top: 2em; … … 539 835 padding: 0 5px 1em 5px; 540 836 } 541 542 /* POPUP */ 837 .help-content dt { 838 font-weight: bold; 839 color: #626262; 840 margin: 0; 841 } 842 .help-content dd { 843 margin: 0.3em 0 1.5em 0; 844 } 845 /* ------------------------------------------------------------------ popups */ 543 846 body.popup #wrapper, body.popup #top { 544 847 margin-top: -1.5em; 848 float: none; 545 849 } 546 850 body.popup #top h1 { … … 562 866 border: none; 563 867 } 564 565 /* CLASSES 566 -------------------------------------------------------- */ 567 568 /* -------------- paragraphe pour bouton Nouveau bidule ----------- */ 868 /* ------------------------------------------------------------------ messages */ 869 div.error, p.error, 870 div.message, p.message, 871 div.static-msg, p.static-msg { 872 padding: 0.5em 0.5em 0.5em 40px; 873 margin-bottom: 1em; 874 -moz-border-radius: 8px; 875 -webkit-border-radius: 8px; 876 border-radius: 8px; 877 } 878 p.error, p.message, p.static-msg { 879 padding-top: 1em; 880 padding-bottom: 1em; 881 } 882 div.error, p.error { 883 background: #e5bfbf url(msg-error.png) no-repeat 5px 5px; 884 color: #600; 885 } 886 div.message, p.message, 887 div.static-msg, p.static-msg { 888 background: #666 url(msg-std.png) no-repeat 5px 5px; 889 color: #fff; 890 } 891 div.message a, p.message a, 892 div.static-msg a, p.static-msg a { 893 color: #fff; 894 } 895 /* ------------------------------------------------------------------ debug */ 896 #debug { 897 position: absolute; 898 top: 0; 899 width: 100%; 900 height: 4px; 901 background: #d99; 902 } 903 #debug div { 904 display: none; 905 padding: 3px 0.5em 2px; 906 } 907 #debug p { 908 margin: 0.5em 0; 909 } 910 #debug:hover { 911 height: auto; 912 } 913 #debug:hover div { 914 display: block; 915 } 916 /* -------------------------------------------------------------------- CLASSES COMMUNES */ 917 918 /* paragraphe pour bouton Nouveau bidule */ 569 919 p.top-add { 570 920 text-align: right; … … 579 929 vertical-align: middle; 580 930 } 581 582 931 /* Si quelque chose a besoin d'être caché sauf pour les revues d'écran */ 583 932 .hidden { … … 591 940 overflow: hidden; 592 941 } 593 594 /* -------------- aide ----------- */595 .help-content dt {596 font-weight: bold;597 color: #626262;598 margin: 0;599 }600 .help-content dd {601 margin: 0.3em 0 1.5em 0;602 }603 604 942 .clear { 605 943 clear: both; … … 625 963 overflow: auto; 626 964 } 627 628 965 .grid { 629 966 background: transparent repeat url('grid.png') 0 0; 630 967 } 631 632 968 .line p { 633 969 margin: 0; 634 970 } 635 636 div.error, p.error, div.message, p.message, div.static-msg, p.static-msg {637 padding: 0.5em 0.5em 0.5em 40px;638 margin-bottom: 1em;639 -moz-border-radius: 8px;640 -webkit-border-radius: 8px;641 border-radius: 8px;642 }643 p.error, p.message, p.static-msg {644 padding-top: 1em;645 padding-bottom: 1em;646 }647 div.error, p.error {648 background: #e5bfbf url(msg-error.png) no-repeat 5px 5px;649 color: #600;650 }651 div.message, p.message, div.static-msg, p.static-msg {652 background: #666 url(msg-std.png) no-repeat 5px 5px;653 color: #fff;654 }655 div.message a, p.message a, div.static-msg a, p.static-msg a {656 color: #fff;657 }658 659 971 .offline { 660 972 color: #666; 661 973 } 662 663 974 ul.nice { 664 975 margin: 1em 0; … … 670 981 padding: 0; 671 982 } 672 673 .three-cols { 674 } 675 .three-cols .col { 676 width: 32.3%; 677 float: left; 678 margin-left: 1%; 679 } 680 .three-cols .col:first-child { 681 width: 33.3%; 682 margin-left: 0; 683 } 684 .two-cols { 685 position: static; 686 } 687 .two-cols .col { 688 width: 49%; 689 margin-left: 2%; 690 float: left; 691 } 692 .two-cols .col:first-child { 693 width: 49%; 694 margin-left: 0; 695 } 696 .two-cols .col70{ 697 width: 69%; 698 margin-left: 0; 699 float: left; 700 } 701 .two-cols .col30 { 702 width: 28%; 703 margin-left: 2%; 704 float: left; 705 } 706 983 .zip-dl { 984 background: transparent url(package.png) no-repeat 0 50%; 985 padding: 5px 0 5px 20px; 986 } 987 /* pas trouvé dans le code */ 707 988 .comment { 708 989 border-top: 2px solid #ccc; … … 717 998 right: 0; 718 999 } 719 720 /* -------- onglets ------ */721 .part-tabs ul {722 padding: .3em 0 1px 1em;723 border-bottom: 1px solid #999;724 }725 .part-tabs li {726 list-style: none;727 margin: 0;728 display: inline;729 }730 .part-tabs li a {731 padding: .3em 0.5em;732 margin-right: .5em;733 border: 1px solid #999;734 border-bottom: none;735 background: #dfdfdf;736 text-decoration: none;737 -webkit-border-top-left-radius: .3em;738 -webkit-border-top-right-radius: .3em;739 -moz-border-radius-topleft: .3em;740 -moz-border-radius-topright: .3em;741 border-top-left-radius: .3em;742 border-top-right-radius: .3em;743 color: #000;744 }745 .part-tabs li.part-tabs-link a {746 background: #ffe;747 }748 .part-tabs li a:hover, .part-tabs li a:focus {749 color: #000;750 background: #fff;751 border-bottom-color: #fff;752 }753 .part-tabs li.part-tabs-active a {754 background: #fff;755 border-bottom: 1px solid #fff;756 color: #000;757 font-weight: bold;758 }759 760 /* Themes list */761 #themes {762 border-bottom: 1px solid #ccc;763 margin: 1em 0;764 }765 #themes div.theme-details {766 clear: left;767 border-top: 1px solid #ccc;768 padding: 1em 0;769 }770 #themes div.theme-details:hover {771 background: #eee;772 }773 #themes div.theme-details div.theme-shot {774 float: left;775 }776 #themes div.theme-details div.theme-shot img {777 display: block;778 width: 57px;779 height: 50px;780 border: 1px solid #ccc;781 }782 #themes div.theme-details div.theme-info {783 margin-left: 67px;784 }785 #themes div.theme-details div.theme-info span.theme-desc {786 display: block;787 }788 #themes div.theme-details div.theme-info span.theme-version {789 color: #666;790 }791 #themes div.theme-details div.theme-actions {792 margin-left: 67px;793 }794 /* Themes list, JS version */795 #themes-wrapper {796 }797 #theme-box {798 border: 1px solid #999;799 border-left: none;800 padding: 5px;801 float: right;802 height: 420px;803 width: 320px;804 overflow: auto;805 }806 #theme-box div.theme-shot img {807 display: block;808 margin: 0 0 0 10px;809 width: 280px;810 height: 245px;811 border: 1px solid #ccc;812 }813 #theme-box div.theme-info {814 margin: 1em 0 0 10px;815 }816 #theme-box h3 {817 margin: 0;818 }819 #theme-box div.theme-info span {820 display: block;821 }822 #theme-box span.theme-version {823 color: #666;824 }825 #theme-box span.theme-parent-ok {826 color: #666;827 }828 #theme-box span.theme-parent-missing {829 color: #c00;830 font-weight:bold;831 }832 #theme-box div.theme-actions {833 margin-left: 10px;834 }835 #themes-wrapper #themes {836 border: 1px solid #999;837 overflow: auto;838 height: 420px;839 padding: 5px;840 margin: 0;841 }842 #themes div.theme-details-js {843 float: left;844 width: 120px;845 height: 150px;846 margin: 0 10px 20px;847 padding: 10px 10px 0;848 text-align: center;849 background: #f3f3f3;850 border: 1px solid #f3f3f3;851 cursor: pointer;852 -moz-border-radius: 4px;853 -webkit-border-radius: 4px;854 border-radius: 4px;855 }856 #themes div.theme-details-js label {857 cursor: pointer;858 }859 #themes div.theme-details-js.theme-selected {860 background: #E5E3DA;861 border: 1px solid #999;862 }863 #themes div.theme-details-js div.theme-shot img {864 width: 120px;865 height: 105px;866 border: 1px solid #fff;867 }868 #themes div.theme-details-js h3 {869 font-family: inherit;870 font-weight: normal;871 margin: 0;872 padding: 0;873 }874 875 /* Plugins list */876 #plugins td.action {877 vertical-align: middle;878 }879 .media-list {880 position: static;881 }882 .media-col-0 {883 clear: left;884 }885 .media-item {886 position: relative;887 border-top: 1px solid #ccc;888 margin-bottom: 1em;889 padding: 5px 0;890 }891 div.media-list .media-item {892 width: 49%;893 float: left;894 margin-right: 1%;895 }896 a.media-icon {897 display: block;898 border-bottom: none;899 float: left;900 }901 .media-icon img {902 display: block;903 }904 .media-item ul {905 display: block;906 list-style: none;907 margin: 0 0 0 60px;908 padding: 0;909 }910 li.media-action {911 display: block;912 position: absolute;913 top: 5px;914 right: 5px;915 height: 16px;916 }917 li.media-action a {918 border: none;919 }920 li.media-action form {921 display: inline;922 }923 li.media-action input {924 border: none;925 }926 927 .zip-dl {928 background: transparent url(package.png) no-repeat 0 50%;929 padding: 5px 0 5px 20px;930 }931 932 select.l10n option {933 padding-left: 16px;934 }935 option.avail10n {936 background: transparent url(../images/check-on.png) no-repeat 0 50%;937 }938 939 1000 /* TABLES 940 1001 -------------------------------------------------------- */ … … 958 1019 border-bottom-color: #666; 959 1020 } 960 961 1021 .noborder td, td.noborder, .noborder th, th.noborder { 962 1022 border-width: 0; 963 1023 } 964 965 1024 table .maximal, table.maximal { 966 1025 width: 100%; … … 969 1028 width: 1px; 970 1029 } 971 972 1030 table .nowrap { 973 1031 white-space: nowrap; 974 1032 vertical-align: top; 975 1033 } 976 977 1034 td.status { 978 1035 vertical-align: middle; … … 1014 1071 } 1015 1072 1016 /* FORMS 1017 -------------------------------------------------------- */ 1073 /* ----------------------------------------------------------------- FORMS */ 1018 1074 form { 1019 1075 display: block; … … 1021 1077 padding: 0; 1022 1078 } 1023 1024 1079 fieldset { 1025 1080 display: block; … … 1047 1102 font-weight: normal; 1048 1103 } 1049 1050 1104 input, textarea, select { 1051 1105 background: #f9f9f9; … … 1074 1128 background: transparent; 1075 1129 } 1076 1077 1130 label { 1078 1131 display: block; … … 1114 1167 width: 100%; 1115 1168 } 1116 1117 1169 label.required { 1118 1170 font-weight: bold; … … 1139 1191 top: 0; 1140 1192 } 1141 1142 1193 label .maximal, textarea.maximal, input.maximal { 1143 1194 width: 100%; … … 1151 1202 padding-left: 20px; 1152 1203 } 1153 1154 1204 fieldset.constrained { 1155 1205 margin: 0; … … 1159 1209 } 1160 1210 1161 #login-screen { 1162 display: block; 1163 width: 18em; 1164 margin: 1.5em auto 0; 1165 font-size: 1.1em; 1166 } 1167 #login-screen h1 { 1168 text-indent: -2000px; 1169 background: transparent url(dotclear-logo2.png) no-repeat top left; 1170 height: 50px; 1171 margin-bottom: .5em; 1172 margin-left: .5em; 1173 } 1174 #login-screen fieldset { 1175 border: 1px solid #999; 1176 padding: 1em 1em 0 1em; 1177 -moz-border-radius: 4px; 1178 -webkit-border-radius: 4px; 1179 border-radius: 4px; 1180 } 1181 #login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] { 1182 width: 100%; 1183 } 1184 #login-screen #issue { 1185 margin-left: 1em; 1186 font-size: 1em; 1187 } 1188 #login-screen #issue strong {font-weight: normal;} 1189 1190 1191 /* ------------------ Tous les boutons -------------------- */ 1211 /* --------------------------------------------------------------- buttons */ 1192 1212 h2 a.button { 1193 1213 color: #333;
Note: See TracChangeset
for help on using the changeset viewer.