Changeset 45:282249d3b55d for admin/style
- Timestamp:
- 04/29/11 10:06:34 (14 years ago)
- Branch:
- userprefs
- Parents:
- 39:859596664e23 (diff), 37:89b90dfd3913 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r36 r45 4 4 # This file is part of Dotclear 2. 5 5 # 6 # Copyright (c) 2003-201 0Olivier Meunier & Association Dotclear6 # Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or … … 12 12 */ 13 13 body { 14 font: 62.5%/1.5em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;15 color : #000;16 background : #fff;17 margin 18 padding 14 font: 76%/1.5em Helvetica,Arial,sans-serif; 15 color: #333; 16 background: #f5f5f5; 17 margin: 0; 18 padding: 0; 19 19 } 20 20 body.auth { 21 background -image: none;21 background: #fff; 22 22 } 23 23 … … 25 25 26 26 a, a:link, a:visited { 27 color : #06c;28 text-decoration 29 border-bottom 27 color: #2373A8; 28 text-decoration: none; 29 border-bottom: 1px dotted #f90; 30 30 } 31 31 a:hover, a:active, a:focus { 32 32 text-decoration: underline; 33 33 } 34 34 35 35 h1, h2, h3, h4, h5, h6, p { 36 margin-top 36 margin-top: 0; 37 37 margin-bottom: 0.6em; 38 38 } 39 39 40 40 h2 { 41 font-family : Arial,Helvetica,sans-serif; 42 color : #069; 43 font-size : 1.4em; 41 color: #666; 42 font-size: 1.4em; 44 43 padding: 4px 0; 45 44 } 46 45 47 46 h3 { 48 font-family : Arial,Helvetica,sans-serif; 49 color : #333; 50 font-size : 1.2em; 47 color: #333; 48 font-size: 1.2em; 51 49 } 52 50 53 51 p, div.p { 54 margin 52 margin: 0 0 1em 0; 55 53 } 56 54 57 55 hr { 58 height 59 border-width 60 border-color 61 border-style 56 height: 1px; 57 border-width: 1px 0 0 0; 58 border-color: #999; 59 border-style: solid; 62 60 } 63 61 … … 75 73 word-wrap: break-word; 76 74 } 75 abbr { 76 cursor: help; 77 } 77 78 78 79 79 80 /* LAYOUT 80 81 -------------------------------------------------------- */ 81 /* General font-size */82 #top, #info-box, #main, #main-menu, #footer {83 font-size: 1.1em;84 }85 82 86 83 #top { 87 margin 88 padding 89 background : transparent url(head-bg.png) repeat-x;84 margin: 0; 85 padding: 0; 86 background: #575859 url(dc_bg.png) repeat-x 0 3em; 90 87 } 91 88 #top h1 { 92 padding 93 margin 94 height : 58px;95 text-indent 96 background : transparent url(head-logo.png) no-repeat 0 0;89 padding: 0; 90 margin: 0; 91 height: 3em; 92 text-indent: -1000px; 93 background: transparent url(dc_logo.png) no-repeat 0 50%; 97 94 } 98 95 #top h1 a { … … 101 98 left: 0; 102 99 width: 130px; 103 height: 35px;100 height: 60px; 104 101 border: none; 105 102 outline: none; 103 color: #fff; 106 104 } 107 105 108 106 #info-box { 109 position : absolute; 110 right : 10px; 111 top : 3px; 112 margin : 0; 113 padding : 3px 3px 4px 15px; 107 background: #575859; 108 position: absolute; 109 left: 13em; 110 top: 3px; 111 margin: 0; 112 padding: 3px 3px 4px 0; 114 113 color: #fff; 115 114 } 116 #info-box div { 115 #info-box2 { 116 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 { 117 125 margin: 0; padding: 0; 118 126 } 119 #info-box div div {127 #info-box div div, #info-box2 div div { 120 128 display: inline; 121 129 } 122 #info-box>form>div {123 line-height: 1 8px;130 #info-box>form>div, #info-box2>form>div { 131 line-height: 1.5; 124 132 } 125 133 #info-box select { 126 width : 160px; 127 } 128 #info-box a.logout { 129 font-weight : bold; 134 width: 20em; 135 } 136 #info-box a img, #info-box2 a img { 137 vertical-align: middle; 138 padding-left: .3em; 139 } 140 #info-box a, #info-box2 a { 141 background: #575859; 142 font-weight: bold; 130 143 color: #fff; 131 } 144 border-bottom-color: #ccc; 145 } 146 #info-box a {margin-left: 2em;} 132 147 133 148 #wrapper { 134 background: transparent url(page-bg.png) repeat-y top left;135 149 width: 100%; 136 150 } 137 151 #main { 138 width : 100%; 139 float : right; 140 margin-left : -155px; 141 margin-top : 0; 142 } 143 152 width: 100%; 153 float: right; 154 margin-left: -13em; 155 margin-top: 0; 156 } 144 157 #content { 145 margin-left : 155px; 146 margin-bottom : 10px; 147 padding-top : 1px; 148 margin-right : 15px; 149 } 150 158 margin-left: 13em; 159 margin-bottom: 4em; 160 margin-top: .5em; 161 margin-right: 1.5em; 162 padding-top: 10px; 163 padding-left: 1em; 164 padding-right: 1em; 165 background: #fff; 166 -webkit-border-radius: .5em; 167 -moz-border-radius: .5em; 168 border-radius: .5em; 169 border: 1px solid #ddd; 170 } 171 #content:after {clear:both; content:""; display:block; height:0; font-size:0;} 151 172 #main-menu { 152 width : 135px; 153 float : left; 154 margin-top : 0; 155 margin-bottom : 10px; 156 } 173 font-size: .95em; 174 width: 13em; 175 float: left; 176 margin-top: .5em; 177 margin-bottom: 10px; 178 } 179 157 180 #main-menu h3 { 158 margin 159 padding : 0 0 0 5px;181 margin: 0 0 0.5em 0; 182 padding: .5em 0 0 .5em; 160 183 text-transform: uppercase; 161 color: # 7e7d77;184 color: #666; 162 185 } 163 186 #main-menu ul { 164 margin : 0 0 1em 4px;165 padding 166 list-style 187 margin: 0 0 1em 0; 188 padding: 0; 189 list-style: none; 167 190 } 168 191 #main-menu li { 169 display 170 margin : 0.5em 0 0 5px;171 padding : 2px 0 1px 20px;192 display: block; 193 margin: 0.5em 0 0 0; 194 padding: .2em 0 0 32px; 172 195 background-repeat: no-repeat; 173 background-position: 0 0;196 background-position: 12px .2em; 174 197 } 175 198 #main-menu a { 176 font-weight 199 font-weight: bold; 177 200 } 178 201 #main-menu .active a { 179 202 border-bottom-style: solid; 203 border-bottom: none; 204 } 205 #main-menu li.active { 206 background-color: #fff; 207 border: 1px solid #ccc; 208 border-right: none; 209 border-left: none; 210 margin-right: -.76em; 211 padding: .4em 0 .1em 32px; 212 background-position: 12px .4em; 180 213 } 181 214 #main-menu #dashboard-menu li { 182 215 margin-left: 0; 183 216 } 184 #main-menu #menu-new-post a { 185 padding : 2px; 186 background: #7e7d77; 217 218 /* favoris en haut */ 219 #fav-add { 220 position: absolute; 221 top: 3.5em; 222 right: 2em; 223 } 224 225 #footer { 226 clear: both; 227 padding: .75em 2em; 228 margin: 6em 1em .5em 1em; 229 -webkit-border-radius: .3em; 230 -moz-border-radius: .3em; 231 border-radius: .3em; 232 background: #575859 url(dc_logo_small.png) no-repeat right bottom; 187 233 color: #fff; 188 border: 1px solid #7e7d77;189 -moz-border-radius: 3px;190 -webkit-border-radius: 3px;191 }192 #main-menu #menu-new-post a:hover, #main-menu #menu-new-post a:focus {193 background: #666;194 }195 196 #footer {197 clear : both;198 margin: 0;199 padding: 40px 0 0 0;200 background: #fff url(footer-bg.png) no-repeat top left;201 }202 #footer p * {203 vertical-align: bottom;204 234 } 205 235 #footer p { 206 margin: 0 15px 0 155px;; 207 padding: 3px 0 20px 0; 208 border-top: 1px solid #dedcd1; 209 color: #93928a; 210 text-align: right; 236 margin: 0; 237 padding: 0 1em; 238 text-align: center; 211 239 font-size: 1.1em; 240 } 241 #footer a { 242 color: #f5f5f5; 243 } 244 #footer p span.credit { 245 font-size: .85em; 246 font-weight: normal; 212 247 } 213 248 … … 224 259 } 225 260 #debug p { 226 margin 261 margin: 0.5em 0; 227 262 } 228 263 #debug:hover { … … 237 272 float: left; 238 273 overflow: hidden; 239 padding -bottom: 1em;274 padding: 1em 1%; 240 275 width: 66%; 241 276 } … … 243 278 overflow: hidden; 244 279 padding-bottom: 1em; 280 text-align: center; 245 281 } 246 282 #dashboard-main #icons p { 247 float: left; 248 width: 32%; 283 width: 240px; 249 284 text-align: center; 250 285 margin: 2em 0 0 0; 286 display:inline-block; 251 287 } 252 288 #dashboard-main #icons span { … … 266 302 #dashboard-main #quick h3 { 267 303 margin-bottom: 0.2em; 268 font-size: 1. 4em;304 font-size: 1.2em; 269 305 } 270 306 #dashboard-main #quick p.qinfo { … … 276 312 #dashboard-items { 277 313 float: left; 278 width: 31%;314 width: 29%; 279 315 overflow: hidden; 280 316 margin-left: 2%; 281 317 padding-bottom: 1em; 282 font-size: 1.2em;318 padding-top: 3em; 283 319 } 284 320 #dashboard-items p img { … … 299 335 } 300 336 #dashboard-items #news dd { 301 font-size: 0.9em;302 337 margin: 0 0 1em 0; 303 338 } … … 306 341 } 307 342 #upg-notify { 308 font-size: 0.9em;309 343 } 310 344 #upg-notify ul { … … 317 351 /* POST */ 318 352 #entry-sidebar { 319 width 320 float 353 width: 200px; 354 float: right; 321 355 } 322 356 #entry-content { 323 margin-right 357 margin-right: 220px; 324 358 } 325 359 #comments { 326 clear 360 clear: both; 327 361 } 328 362 … … 337 371 } 338 372 #categories ul li { 339 margin: 1em 0 00;340 padding: 5px 10px 1em 30px;373 margin: .5em 0; 374 padding: .3em 1.5em; 341 375 border: 1px solid #ccc; 342 background: transparent url(cat-bg.png) repeat-y top left; 343 -moz-border-radius: 4px; 344 -webkit-border-radius: 4px; 376 border-left: 1em solid #E5E3DA; 377 -moz-border-radius: .3em; 378 -webkit-border-radius: .3em; 379 border-radius: .3em; 345 380 } 346 381 #categories ul li h4 { … … 392 427 } 393 428 429 /* favorites */ 430 #my-favs ul { 431 list-style-type: none; 432 margin-left: 0; 433 padding-left: 0; 434 line-height: 1.2; 435 } 436 #my-favs ul li { 437 display: block; 438 float: left; 439 width: 170px; 440 margin-bottom: 2.5em; 441 } 442 #my-favs label {height: 2.5em;width:140px;margin-top:.3em;} 443 #my-favs label input {display:inline;} 444 #my-favs img { 445 display: block; 446 } 447 #my-favs input.position { 448 margin: 0 0 .4em .2em; 449 } 450 #available-favs input, #available-favs label, #available-favs label span { 451 white-space: normal; 452 display: inline; 453 } 454 455 #default-favs h3 { 456 margin-top: 2em; 457 margin-bottom: 1em; 458 } 459 460 .fav-list { 461 list-style-type: none; 462 margin-left: 0; 463 padding-left: 0; 464 } 465 .fav-list li { 466 line-height: 2; 467 margin-left: 0; 468 padding-left: 0; 469 position: relative; 470 } 471 .fav-list li img { 472 vertical-align: middle; 473 margin-right: .2em; 474 } 475 #available-favs label span.zoom { 476 display: none; 477 } 478 #available-favs li:hover label span.zoom { 479 display: block; 480 position: absolute; 481 bottom: 0; 482 left: 10em; 483 background-color: #f5f5f5; 484 border: 1px solid #ddd; 485 padding: .2em; 486 -moz-border-radius: .5em; 487 -webkit-border-radius: .5em; 488 border-radius: .5em; 489 } 490 394 491 /* Help */ 395 492 #help { 396 493 margin-top: 2em; 397 background: #d6dde5; 494 background: #f5f5f5; 495 z-index: 100; 398 496 } 399 497 #help-button { 400 498 position: absolute; 401 top: 50px;499 top: 6.2em; 402 500 right: 0px; 403 501 cursor: pointer; 404 background: #06c; 405 -moz-border-radius: 8px 0 0 8px; 406 -webkit-border-top-left-radius: 8px; 407 -webkit-border-bottom-left-radius: 8px; 502 background: #fc3; 503 border: 1px solid #dde; 504 border-right: none; 505 font-size: 1.1em; 506 font-weight: bold; 507 text-transform: capitalize; 508 padding: .33em .75em .33em 1em; 509 -moz-border-radius: 1em 0 0 1em; 510 -webkit-border-top-left-radius: 1em; 511 -webkit-border-bottom-left-radius: 1em; 512 color: #444; 408 513 } 409 514 .help-box { … … 415 520 } 416 521 #content.with-help #help-button { 417 right: 28 0px;522 right: 282px; 418 523 } 419 524 #content.with-help #help { … … 423 528 right: 0; 424 529 width: 280px; 425 border-left: 1px solid #ccc;530 border-left: 2px solid #fc3; 426 531 margin-top: 0; 427 532 padding: 10px 0 0 0; … … 434 539 /* POPUP */ 435 540 body.popup #wrapper { 436 background-position 541 background-position: -130px 0; 437 542 } 438 543 body.popup #top h1 { 439 background-position 544 background-position: -130px 0; 440 545 } 441 546 body.popup #main { 442 margin-left 547 margin-left: -35px; 443 548 } 444 549 body.popup #content { 445 margin-left 550 margin-left: 35px; 446 551 } 447 552 body.popup #footer { … … 455 560 /* CLASSES 456 561 -------------------------------------------------------- */ 457 a.button, a.back { 458 padding : 2px; 459 background: #e2dfca; 460 border: 1px solid #e2dfca; 461 -moz-border-radius: 3px; 462 -webkit-border-radius: 3px; 463 cursor: pointer; 464 outline: none; 465 } 466 a.button:hover, a.button:focus, a.back:hover, a.back:focus { 467 border-color: #ccc; 468 } 469 h2 a.button { 470 color: #333; 471 font-weight: normal; 472 } 473 a.back:before { 474 content: "\ab\a0"; 475 } 476 562 p.top-add { 563 text-align: right; 564 margin: 0; 565 } 566 p.top-add a { 567 padding: .3em 1em .3em .5em; 568 font-weight: bold; 569 } 570 p.top-add a img { 571 padding-right: .3em; 572 vertical-align: middle; 573 } 574 575 /* -------------- aide ----------- */ 477 576 .help-content dt { 478 577 font-weight: bold; 479 color: #6 66;578 color: #626262; 480 579 margin: 0; 481 580 } … … 485 584 486 585 .clear { 487 clear 586 clear: both; 488 587 } 489 588 .lclear { 490 clear 589 clear: left; 491 590 } 492 591 div.clearer { 493 height 494 font-size 592 height: 1px; 593 font-size: 1px; 495 594 } 496 595 497 596 .hide { 498 display 597 display: none; 499 598 } 500 599 501 600 .right { 502 text-align 601 text-align: right; 503 602 } 504 603 … … 516 615 517 616 .line p { 518 margin 617 margin: 0; 519 618 } 520 619 … … 524 623 -moz-border-radius: 8px; 525 624 -webkit-border-radius: 8px; 625 border-radius: 8px; 526 626 } 527 627 p.error, p.message, p.static-msg { … … 542 642 543 643 .offline { 544 color 644 color: #666; 545 645 } 546 646 … … 558 658 } 559 659 .three-cols .col { 560 width 561 float 562 margin-left 660 width: 32.3%; 661 float: left; 662 margin-left: 1%; 563 663 } 564 664 .three-cols .col:first-child { 565 width 566 margin-left 665 width: 33.3%; 666 margin-left: 0; 567 667 } 568 668 569 669 .two-cols { 570 position 670 position: static; 571 671 } 572 672 .two-cols .col { 573 width 574 margin-left : 1%;575 float 673 width: 49%; 674 margin-left: 2%; 675 float: left; 576 676 } 577 677 .two-cols .col:first-child { 578 width : 50%; 579 margin-left : 0; 678 width: 49%; 679 margin-left: 0; 680 } 681 .two-cols .col70{ 682 width: 69%; 683 margin-left: 0; 684 float: left; 685 } 686 .two-cols .col30 { 687 width: 28%; 688 margin-left: 2%; 689 float: left; 580 690 } 581 691 582 692 .comment { 583 border-top 584 margin-bottom 585 padding 586 position 693 border-top: 2px solid #ccc; 694 margin-bottom: 1em; 695 padding: 2em 0 1em 0; 696 position: relative; 587 697 } 588 698 .comment form p { 589 margin : 0; 590 position : absolute; 591 top : 2px; 592 right : 0; 593 } 594 595 596 .part-tabs { 597 float: left; 598 width: 100%; 599 background: transparent url(tab-bg.png) repeat-x bottom; 600 margin-bottom: 2em; 601 } 699 margin: 0; 700 position: absolute; 701 top: 2px; 702 right: 0; 703 } 704 705 /* -------- onglets ------ */ 602 706 .part-tabs ul { 603 margin: 0; 604 padding: 10px 10px 0; 707 padding: .3em 0 1px 1em; 708 border-bottom: 1px solid #999; 709 } 710 .part-tabs li { 605 711 list-style: none; 606 } 607 .part-tabs li { 608 float: left; 609 background: transparent url(tab-n-l.png) no-repeat top left; 610 margin: 0 3px 0 0; 611 padding: 0 0 0 5px; 612 } 613 .part-tabs a { 614 display: block; 615 background: transparent url(tab-n-r.png) no-repeat top right; 616 padding: 1px 10px 1px 5px; 617 border: none; 618 outline: none; 619 } 620 .part-tabs li.part-tabs-active { 621 background-image: url(tab-c-l.png); 712 margin: 0; 713 display: inline; 714 } 715 .part-tabs li a { 716 padding: .3em 0.5em; 717 margin-right: .5em; 718 border: 1px solid #999; 719 border-bottom: none; 720 background: #dfdfdf; 721 text-decoration: none; 722 -webkit-border-top-left-radius: .3em; 723 -webkit-border-top-right-radius: .3em; 724 -moz-border-radius-topleft: .3em; 725 -moz-border-radius-topright: .3em; 726 border-top-left-radius: .3em; 727 border-top-right-radius: .3em; 728 color: #000; 729 } 730 .part-tabs li.part-tabs-link a { 731 background: #ffe; 732 } 733 .part-tabs li a:hover, .part-tabs li a:focus { 734 color: #000; 735 background: #fff; 736 border-bottom-color: #fff; 622 737 } 623 738 .part-tabs li.part-tabs-active a { 624 background-image: url(tab-c-r.png); 625 padding-bottom: 2px; 626 font-weight : bold; 627 } 628 .part-tabs li.part-tabs-link { 629 background-image: url(tab-l-l.png); 630 } 631 .part-tabs li.part-tabs-link a { 632 background-image: url(tab-l-r.png); 739 background: #fff; 740 border-bottom: 1px solid #fff; 741 color: #000; 742 font-weight: bold; 633 743 } 634 744 … … 727 837 -moz-border-radius: 4px; 728 838 -webkit-border-radius: 4px; 839 border-radius: 4px; 729 840 } 730 841 #themes div.theme-details-js label { … … 732 843 } 733 844 #themes div.theme-details-js.theme-selected { 734 background: # ebe9dd;845 background: #E5E3DA; 735 846 border: 1px solid #999; 736 847 } … … 741 852 } 742 853 #themes div.theme-details-js h3 { 743 font-size: 90%;744 854 font-family: inherit; 745 855 font-weight: normal; … … 752 862 vertical-align: middle; 753 863 } 754 #plugins td form input.activate, table.plugins form input.delete {755 padding: 1px;756 background: none;757 font-weight: normal;758 border-color: #f90;759 }760 #plugins td form input.delete {761 font-weight: bold;762 color: #c00;763 }764 765 864 .media-list { 766 position 865 position: static; 767 866 } 768 867 .media-col-0 { … … 826 925 -------------------------------------------------------- */ 827 926 table { 828 font-size 829 border-collapse 830 margin 927 font-size: 1em; 928 border-collapse: collapse; 929 margin: 0 0 1em 0; 831 930 } 832 931 tr.line:hover { 833 background 932 background: #ddd; 834 933 } 835 934 th, td { 836 border-width 837 border-style 838 border-color 839 padding 840 vertical-align 935 border-width: 0 0 1px 0; 936 border-style: solid; 937 border-color: #ccc; 938 padding: 3px 5px; 939 vertical-align: top; 841 940 } 842 941 th { 843 text-align 844 border-bottom-color 942 text-align: left; 943 border-bottom-color: #666; 845 944 } 846 945 847 946 .noborder td, td.noborder, .noborder th, th.noborder { 848 border-width 947 border-width: 0; 849 948 } 850 949 851 950 table .maximal, table.maximal { 852 width 951 width: 100%; 853 952 } 854 953 table .minimal { 855 width 954 width: 1px; 856 955 } 857 956 858 957 table .nowrap { 859 white-space : nowrap; 958 white-space: nowrap; 959 vertical-align: top; 860 960 } 861 961 … … 875 975 } 876 976 tr.line input { 877 vertical-align: top;977 vertical-align: middle; 878 978 } 879 979 tr.expand td { … … 891 991 } 892 992 .handle { 893 padding 993 padding: 0; 894 994 } 895 995 .handler { 896 cursor 897 background 898 padding-left 996 cursor: move; 997 background: transparent url(drag.png) no-repeat 0 50%; 998 padding-left: 15px; 899 999 } 900 1000 … … 902 1002 -------------------------------------------------------- */ 903 1003 form { 904 display 905 margin 906 padding 1004 display: block; 1005 margin: 0; 1006 padding: 0; 907 1007 } 908 1008 909 1009 fieldset { 910 display 911 margin 912 padding 913 border-width 1010 display: block; 1011 margin: 0 0 1em 0; 1012 padding: 1em 0.5em; 1013 border-width: 1px 0; 914 1014 border-style: solid; 915 1015 border-color: #ccc; 916 background: #f bfbfb;1016 background: #f5f5f5; 917 1017 } 918 1018 legend { 919 font-weight 1019 font-weight: bold; 920 1020 padding: 0.2em 0.6em; 921 1021 border-width: 1px; 922 1022 border-style: solid; 923 1023 border-color: #ccc; 924 background: #f bfbfb;1024 background: #f5f5f5; 925 1025 margin-bottom: 0.5em; 926 1026 } 927 1027 optgroup { 928 font-weight 929 font-style 1028 font-weight: bold; 1029 font-style: normal; 930 1030 } 931 1031 option { 932 font-weight 1032 font-weight: normal; 933 1033 } 934 1034 935 1035 input, textarea, select { 936 background 937 color 938 border-width 939 border-style 940 border-color 1036 background: #f9f9f9; 1037 color: #000; 1038 border-width: 1px; 1039 border-style: solid; 1040 border-color: #000 #ccc #ccc #000; 941 1041 } 942 1042 input, textarea, select, option { … … 944 1044 } 945 1045 input[type=text], input[type=password], textarea { 946 padding : 2px 0; 1046 padding: 2px 0; 1047 margin-right: .3em; 947 1048 } 948 1049 input[type=checkbox], input[type=radio] { … … 950 1051 } 951 1052 textarea { 952 padding : 2px 0; 953 } 954 /*input[type=text]:focus, input[type=password]:focus, textarea:focus, option { 955 background : #dfdcc7; 956 } can't select text with opera */ 957 input[type=submit], input[type=reset], input[type=button], input.submit { 958 padding : 2px 2px; 959 background: #e2dfca; 960 border: 1px solid #e2dfca; 961 color: #333; 962 -moz-border-radius: 3px; 963 -webkit-border-radius: 3px; 964 cursor: pointer; 965 } 966 input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover, input.submit:hover { 967 border-color: #ccc; 968 color: #06c; 969 } 970 971 input[type=submit], input.submit { 972 font-weight : bold; 1053 padding: 2px 0; 973 1054 } 974 1055 975 1056 input[type=checkbox], input[type=radio] { 976 margin 977 padding 978 background 1057 margin: 0; 1058 padding: 0; 1059 background: transparent; 979 1060 } 980 1061 981 1062 label { 982 display 1063 display: block; 983 1064 } 984 1065 label input, label select, label span { 985 display 1066 display: block; 986 1067 } 987 1068 p.form-note { 988 margin-top : -1em; 989 color : #f60; 1069 margin-top: -1em; 1070 color: #C71585; 1071 font-style: italic; 990 1072 } 991 1073 992 1074 label.classic { 993 display 1075 display: inline; 994 1076 } 995 1077 label.classic input, label span input, label.classic select, label span select { 996 display 1078 display: inline; 997 1079 } 998 1080 … … 1001 1083 } 1002 1084 .area textarea { 1003 display 1004 width 1085 display: block; 1086 width: 100%; 1005 1087 } 1006 1088 1007 1089 label.required { 1008 font-weight : bold; 1009 } 1010 label.required:before { 1011 content : '* '; 1012 color : #c00; 1013 } 1014 1090 font-weight: bold; 1091 } 1092 label.required abbr { 1093 color: red; 1094 font-size: 1.3em; 1095 } 1096 label.inline { 1097 display: inline; 1098 } 1015 1099 p.field { 1016 1100 position: relative; … … 1029 1113 1030 1114 label .maximal, textarea.maximal, input.maximal { 1031 width 1115 width: 100%; 1032 1116 } 1033 1117 1034 1118 a.form-control { 1035 display 1119 display: none; 1036 1120 font-weight: bold; 1037 1121 background: url(magnifier.png) no-repeat 0 0; … … 1049 1133 #login-screen { 1050 1134 display: block; 1051 width : 180px;1052 margin 1135 width: 18em; 1136 margin: 30px auto 0; 1053 1137 font-size: 1.1em; 1054 1138 } … … 1063 1147 -moz-border-radius: 4px; 1064 1148 -webkit-border-radius: 4px; 1149 border-radius: 4px; 1065 1150 } 1066 1151 #login-screen input[type=text], #login-screen input[type=password] { 1067 1152 width: 100%; 1068 1153 } 1069 #login-screen #safe_mode_help { 1070 display : none; 1071 margin : 0 0 1em 0; 1072 padding: 5px 10px 5px 30px; 1073 background: #fbfbfb url(msg-std.png) no-repeat 5px 5px; 1154 1155 /* ------------------ Tous les boutons -------------------- */ 1156 h2 a.button { 1157 color: #333; 1158 font-weight: normal; 1159 font-size: .75em; 1160 vertical-align: middle; 1161 } 1162 /* commun */ 1163 input[type=submit], 1164 input[type=reset], 1165 input[type=button], 1166 a.button, 1167 a.button.add, 1168 a.back { 1169 display: inline-block; 1170 outline: none; 1171 cursor: pointer; 1172 text-align: center; 1173 text-decoration: none; 1174 padding: .1em .75em .1em; 1175 text-shadow: 0 1px 1px rgba(0,0,0,.3); 1176 -webkit-border-radius: .2em; 1177 -moz-border-radius: .2em; 1178 border-radius: .2em; 1179 } 1180 /* validation */ 1181 input[type=submit], 1182 input[type=button], 1183 a.button.add { 1184 color: #fff; 1185 border: 1px solid #2373A8; 1186 background: #2373A8; 1187 background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8)); 1188 background: -moz-linear-gradient(top, #2C8FD1, #2373A8); 1189 } 1190 input[type=submit]:hover, 1191 input[type=reset]:hover, 1192 input[type=button]:hover, 1193 input[type=submit]:focus, 1194 input[type=reset]:focus, 1195 input[type=button]:focus, 1196 a.button.add:hover, 1197 a.button.add:focus { 1198 background: #2373A8; 1199 background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1)); 1200 background: -moz-linear-gradient(top, #2373A8, #2C8FD1); 1201 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1'); 1202 border: 1px solid #2C8FD1; 1203 } 1204 /* suppression et reset */ 1205 a.button, 1206 a.back, 1207 input[type=submit].reset, 1208 input[type=submit].delete { 1074 1209 border: 1px solid #999; 1075 -moz-border-radius: 4px; 1076 -webkit-border-radius: 4px; 1077 } 1210 background: #f5f5f5; 1211 color: #000; 1212 background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5)); 1213 background: -moz-linear-gradient(top, #f5f5f5, #e5e5e5); 1214 text-shadow: none; 1215 } 1216 a.button:hover, 1217 a.back:hover, 1218 input[type=submit].reset:hover, 1219 input[type=submit].delete:hover, 1220 a.button:focus, 1221 a.back:focus, 1222 input[type=submit].reset:focus, 1223 input[type=submit].delete:focus { 1224 background: #e5e5e5; 1225 background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#f5f5f5)); 1226 background: -moz-linear-gradient(top, #e5e5e5, #f5f5f5); 1227 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#f5f5f5'); 1228 } 1229 a.delete, 1230 input.delete, 1231 input[type=submit].delete { 1232 color: #c00; 1233 font-weight: bold; 1234 } 1235 a.delete:hover, 1236 input.delete:hover, 1237 input[type=submit].delete:hover, 1238 a.delete:focus, 1239 input.delete:focus, 1240 input[type=submit].delete:focus { 1241 border-color: #c00; 1242 } 1243 /* finasseries */ 1244 input[type=button] { 1245 padding: .1em .1em; 1246 } 1247 #info-box a.button { 1248 padding: 0 .5em; 1249 margin-left: 2em; 1250 } 1251 a.back:before { 1252 content: "\ab\a0"; 1253 } -
admin/style/default.css
r29 r45 1094 1094 font-size: 1.3em; 1095 1095 } 1096 /* à supprimer quand tous les formulaires auront été corrigés */ 1097 label.required:before { 1098 content: '* '; 1099 color: #c00; 1100 } 1101 1096 label.inline { 1097 display: inline; 1098 } 1102 1099 p.field { 1103 1100 position: relative;
Note: See TracChangeset
for help on using the changeset viewer.