Changeset 3365:11eb6b993152 for admin/style/default.css
- Timestamp:
- 10/26/16 14:09:23 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r3355 r3365 179 179 margin: 0; } 180 180 181 /* Hide only visually, but have it available for screenreaders: h5bp.com/v*/181 /* Screen-reader only */ 182 182 .visually-hidden { 183 183 border: 0; 184 184 clip: rect(0 0 0 0); 185 clip-path: inset(50%); 185 186 height: 1px; 186 187 margin: -1px; … … 188 189 padding: 0; 189 190 position: absolute; 190 width: 1px; } 191 width: 1px; 192 white-space: nowrap; } 193 .visually-hidden:focus, .visually-hidden:active { 194 clip: auto; 195 clip-path: none; 196 height: auto; 197 overflow: visible; 198 position: static; 199 width: auto; 200 white-space: normal; } 191 201 192 202 /** -------------------------------------------------- … … 200 210 font-size: 1.4rem; 201 211 line-height: 1.5; 202 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 203 color: #323232; 204 background: #fff; } 212 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } 205 213 @media screen and (max-width: 26.5em) { 206 214 body { … … 228 236 font-weight: normal; 229 237 line-height: 1.25; 230 padding: 0 0 1.5em; 231 color: #676e78; } 238 padding: 0 0 1.5em; } 232 239 233 240 h3, .as_h3 { … … 235 242 font-weight: normal; 236 243 line-height: 1.5; 237 margin-top: 1em; 238 color: #d33800; } 244 margin-top: 1em; } 239 245 240 246 h4, .as_h4 { 241 247 font-size: 1.16em; 242 line-height: 1.5; 243 color: #676e78; } 248 line-height: 1.5; } 244 249 245 250 h5 { 246 251 font-size: 1em; 247 252 line-height: 1.5; 248 font-weight: bold; 249 color: #676e78; } 253 font-weight: bold; } 250 254 251 255 h6 { 252 256 font-size: 1em; 253 line-height: 1.5; 254 color: #676e78; } 257 line-height: 1.5; } 255 258 256 259 /** -------------------------------------------------- … … 263 266 264 267 #header { 265 background: #676e78;266 color: #fff;267 border-bottom: 4px solid #a2cbe9;268 268 width: 99.99%; 269 269 /* Bugfix Chrome >= 49.0.2623.108 */ … … 286 286 width: 100%; 287 287 z-index: 10; 288 background: #f3f3f3 url(bg_wrapper.png) repeat-y 14em;289 288 flex: 1; } 290 289 … … 300 299 #content { 301 300 margin: 0 0 0 14em; 302 padding: .5em 1.5em .75em 2.5em; 303 background: #fff; } 301 padding: .5em 1.5em .75em 2.5em; } 304 302 305 303 #main-menu { … … 309 307 padding-top: .5em; 310 308 padding-bottom: 1em; 311 overflow: hidden; 312 background: #f3f3f3; } 309 overflow: hidden; } 313 310 314 311 #footer { … … 316 313 position: relative; 317 314 padding: .5em 0 .5em 1em; 318 text-align: left; 319 border-top: 1px solid #c9c9c9; 320 background-color: #fff; } 315 text-align: left; } 321 316 322 317 /* to hide main-menu */ … … 329 324 overflow: hidden; 330 325 display: block; 331 background: #a2cbe9;332 326 border-right: 0; 333 327 border-bottom: 0; … … 339 333 340 334 /* if main-menu is hidden */ 341 #wrapper.hide-mm {342 background: #fff; }343 344 335 .hide-mm #main { 345 336 margin-left: 0; } … … 437 428 width: 100%; 438 429 margin: 0; 439 background: #676e78;440 430 font-size: 1.5em; 441 431 text-indent: 1em; 442 432 line-height: 1.5em; 443 font-weight: normal; 444 color: #fff; } 433 font-weight: normal; } 445 434 446 435 .popup #wrapper { … … 531 520 532 521 /* ------------------------------------------------------------------------------------ 533 522 UN POIL DE MEDIA QUERIES 534 523 ------------------------------------------------------------------------------------ */ 535 @media screen and (min-width: 80em) { 536 #wrapper { 537 background: #f3f3f3 url(bg_wrapper.png) repeat-y 17em; } 538 524 @media screen and (max-width: 80em) { 539 525 #main { 540 526 margin-left: -17em; } … … 550 536 551 537 h1 { 552 width: 19.5em; } }553 @media screen and (max-width: 61em) { 538 width: 19.5em; } 539 554 540 #top-info-blog #switchblog { 555 541 max-width: 16em; } … … 561 547 display: block; 562 548 width: 100%; 563 text-align: right; 564 background: #323232; } 549 text-align: right; } 565 550 566 551 #header h1, 567 552 #header h1 a { 568 553 width: 120px; 569 padding: 0;570 554 margin: 0; } 571 555 … … 578 562 #top-info-user { 579 563 display: block; 580 width: 100%; 581 background: #676e78; 582 padding-right: 0; } 583 584 #top-info-user li:last-child { 585 padding-right: 1em; } 586 587 #top-info-user a.active { 588 padding: 2px 8px; 589 background: #999; 590 color: #FFF; 591 border-width: 0; 592 border-radius: 6px; } 564 width: 100%; } 593 565 594 566 .three-boxes, … … 612 584 height: 26px; 613 585 width: 26px; 614 background-color: #a2cbe9;615 padding: 0;616 586 margin: 0; 617 font-size: .83em;618 line-height: 68px;619 587 overflow: hidden; } 620 588 … … 648 616 height: 42px; } 649 617 650 h1 a:link {651 background: transparent url(dc_logos/b-dotclear120.png) no-repeat -270px 6px;652 border-right: 1px solid #c9c9c9; }653 654 h1 a:hover,655 h1 a:focus {656 background: url(dc_logos/b-dotclear120.png) no-repeat -270px -94px;657 border-right: 1px solid #a2cbe9; }658 659 618 #wrapper, 660 619 #main, … … 665 624 margin: 0; } 666 625 667 #dashboard-main {668 padding: 0; }669 670 626 #main-menu a { 671 627 display: block; … … 677 633 #content, 678 634 .hide-mm #content { 679 margin: 0; 680 padding: 0 .5em !important; } 635 margin: 0; } 681 636 682 637 #collapser { … … 684 639 685 640 #main #content > h2 { 686 margin: 0 -.25em 1em; 687 padding: 6px 30px 4px .5em; } 641 margin: 0 -.25em 1em; } 688 642 689 643 #dashboard-boxes .box.medium, … … 699 653 #filters-form .cell { 700 654 display: inline-block; 701 border: none;702 padding: 1em;703 655 vertical-align: bottom; } 704 656 … … 706 658 display: block; 707 659 float: left; 708 width: 50%; 709 border-top: 1px solid #ddd; 710 padding: .25em; } 711 712 .pseudo-tabs li:first-child, 713 .pseudo-tabs li:nth-of-type(2) { 714 border-top: none; } } 660 width: 50%; } } 715 661 @media screen and (max-width: 26.5em) { 716 h1,717 h1 a {718 padding: 0;719 border-right: #323232 !important; }720 721 662 #top-info-blog label, 722 663 .nomobile { … … 735 676 736 677 #content.with-help #help { 737 width: 28rem; 738 font-size: 1.2rem; } 678 width: 28rem; } 739 679 740 680 p.top-add { 741 margin-bottom: .5em; 742 text-align: center; } 743 744 .multi-part { 745 padding-left: 0; } 681 margin-bottom: .5em; } 746 682 747 683 .part-tabs ul { 748 margin: 1em 0; 749 padding: 0 .5em; } 684 margin: 1em 0; } 750 685 751 686 .part-tabs li a { … … 754 689 755 690 #icons p { 756 width: 9em; 757 padding: 1em .25em; } 691 width: 9em; } 758 692 759 693 .media-item { … … 768 702 .box.current-theme { 769 703 margin: 5px; 770 padding: 10px;771 704 width: 100%; } 772 705 … … 779 712 min-width: 14em; } 780 713 781 th,782 td {783 padding: 0.3em 1em 0.3em 0; }784 785 714 .pseudo-tabs li { 786 715 display: block; 787 716 width: 100%; 788 float: none; 789 border-top: 1px solid #ddd !important; } 790 791 .pseudo-tabs li:first-child { 792 border-top: none; } } 717 float: none; } } 718 /** -------------------------------------------------- 719 Colors 720 --------------------------------------------------- */ 721 body { 722 color: #323232; 723 background: #fff; } 724 725 h2 { 726 color: #676e78; } 727 728 h3, .as_h3 { 729 color: #d33800; } 730 731 h4, .as_h4 { 732 color: #676e78; } 733 734 h5 { 735 color: #676e78; } 736 737 h6 { 738 color: #676e78; } 739 740 /* ---------------------------------------------------------------- layout: main */ 741 #header { 742 color: #fff; 743 background: #676e78; 744 border-bottom: 4px solid #a2cbe9; } 745 746 #wrapper { 747 background: #f3f3f3 url(bg_wrapper.png) repeat-y 14em; } 748 749 #content { 750 background: #fff; } 751 752 #main-menu { 753 background: #f3f3f3; } 754 755 #footer { 756 background-color: #fff; 757 border-top: 1px solid #c9c9c9; } 758 759 /* to hide main-menu */ 760 #collapser { 761 background: #a2cbe9; } 762 763 /* if main-menu is hidden */ 764 #wrapper.hide-mm { 765 background: #fff; } 766 767 /* ---------------------------------------------------------------- layout: popups */ 768 .popup h1 { 769 color: #fff; 770 background: #676e78; } 771 772 /* ------------------------------------------------------------------------------------ 773 UN POIL DE MEDIA QUERIES 774 ------------------------------------------------------------------------------------ */ 775 @media screen and (max-width: 80em) { 776 #header, h1 { 777 background: #323232; } 778 779 #top-info-user { 780 background: #676e78; } 781 782 #top-info-user a.active { 783 color: #fff; 784 background: #868686; } 785 786 #wrapper { 787 background: #f3f3f3 url(bg_wrapper.png) repeat-y 17em; } } 788 @media screen and (max-width: 44em) { 789 #help-button { 790 background-color: #a2cbe9; } } 791 @media screen and (max-width: 38em) { 792 h1 a:link { 793 border-right: 1px solid #c9c9c9; } 794 795 h1 a:hover, 796 h1 a:focus { 797 border-right: 1px solid #a2cbe9; } 798 799 .pseudo-tabs li { 800 border-top: 1px solid #c9c9c9; } } 801 @media screen and (max-width: 26.5em) { 802 h1, 803 h1 a { 804 border-right: #323232 !important; } 805 806 .pseudo-tabs li { 807 border-top: 1px solid #c9c9c9 !important; } } 793 808 /** -------------------------------------------------- 794 809 Elements … … 912 927 913 928 code { 914 background: #fefacd; }929 color: #fefacd; } 915 930 916 931 pre { … … 1183 1198 input.button.start { 1184 1199 color: #fff; 1185 background-color: #25A6E1; 1186 background-image: -webkit-gradient(linear, left top, left bottom, from(#25A6E1), to(#188BC0)); 1187 background-image: linear-gradient(#25a6e1, #188bc0); 1188 border-color: #25A6E1; 1200 background-color: #25a6e1; 1201 background-image: linear-gradient(to bottom, #25a6e1, #188bc0); 1202 border-color: #25a6e1; 1189 1203 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); } 1190 1204 … … 1195 1209 a.button.submit:hover, 1196 1210 a.button.submit:focus { 1197 background-color: #188BC0; 1198 background-image: -webkit-gradient(linear, left top, left bottom, from(#188BC0), to(#25A6E1)); 1199 background-image: linear-gradient(#188bc0, #25a6e1); 1200 border-color: #188BC0; } 1211 background-color: #188bc0; 1212 background-image: linear-gradient(to bottom, #188bc0, #25a6e1); 1213 border-color: #188bc0; } 1201 1214 1202 1215 /* suppression, reset, "neutres" fond gris */ … … 1213 1226 a.button.reset { 1214 1227 color: #000; 1215 background-color: #EAEAEA; 1216 background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#EAEAEA)); 1217 background-image: linear-gradient(#f9f9f9, #eaeaea); 1228 background-color: #eaeaea; 1229 background-image: linear-gradient(to bottom, #f9f9f9, #eaeaea); 1218 1230 background-repeat: repeat-x; 1219 border-color: #dfdfdf #dfdfdf # C5C5C5;1231 border-color: #dfdfdf #dfdfdf #c5c5c5; 1220 1232 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9); } 1221 1233 … … 1242 1254 a.button.reset:focus, 1243 1255 a.button:focus { 1244 background-color: #DADADA; 1245 background-image: -webkit-gradient(linear, left top, left bottom, from(#EAEAEA), to(#DADADA)); 1246 background-image: linear-gradient(#eaeaea, #dadada); 1256 background-color: #dadada; 1257 background-image: linear-gradient(to bottom, #eaeaea, #dadada); 1247 1258 background-repeat: repeat-x; 1248 border-color: # CCCCCC #CCCCCC #B5B5B5; }1259 border-color: #cccccc #cccccc #b5b5b5; } 1249 1260 1250 1261 /* suppression */ … … 1260 1271 input.delete:focus, 1261 1272 a.button.delete:focus { 1262 color: #FFFFFF; 1263 background-color: #B33630; 1264 background-image: -webkit-gradient(linear, left top, left bottom, from(#DC5F59), to(#B33630)); 1265 background-image: linear-gradient(#dc5f59, #b33630); 1273 color: #ffffff; 1274 background-color: #b33630; 1275 background-image: linear-gradient(to bottom, #dc5f59, #b33630); 1266 1276 background-repeat: repeat-x; 1267 border-color: # CD504A;1277 border-color: #cd504a; 1268 1278 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); } 1269 1279 … … 1275 1285 color: #000; 1276 1286 background-color: #bee74b; 1277 background-image: -webkit-gradient(linear, left top, left bottom, from(#bee74b), to(#9BCA1C)); 1278 background-image: linear-gradient(#bee74b, #9bca1c); 1287 background-image: linear-gradient(to bottom, #bee74b, #9bca1c); 1279 1288 border-color: #bee74b; 1280 1289 padding: .33em 1.33em .5em; 1281 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); 1282 font-weight: normal; 1283 font-size: 1.16em; } 1290 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); } 1284 1291 1285 1292 .button.add:hover, 1286 1293 .button.add:active, 1287 1294 .button.add:focus { 1288 background-color: #9BCA1C; 1289 background-image: -webkit-gradient(linear, left top, left bottom, from(#9BCA1C), to(#bee74b)); 1290 background-image: linear-gradient(#9bca1c, #bee74b); 1291 border-color: #9BCA1C; } 1295 background-color: #9bca1c; 1296 background-image: linear-gradient(to bottom, #9bca1c, #bee74b); 1297 border-color: #9bca1c; } 1292 1298 1293 1299 .button-add:focus { … … 1441 1447 top: 3em; 1442 1448 left: 0; 1443 background: # A2CBE9;1449 background: #a2cbe9; 1444 1450 width: 100%; 1445 1451 z-index: 100; } 1446 1447 #prelude li { 1448 list-style-type: none; 1449 margin: 0; 1450 background: transparent; 1451 display: inline; } 1452 1453 #prelude li a { 1454 padding: 3px 16px 3px 8px; 1455 background: #A2CBE9; 1456 color: #000; 1457 text-decoration: underline; } 1458 1459 #prelude li a:hover, 1460 #prelude li a:focus { 1461 background: #FFF; } 1452 #prelude li { 1453 list-style-type: none; 1454 margin: 0; 1455 background: transparent; 1456 display: inline; } 1457 #prelude li a { 1458 padding: 3px 16px 3px 8px; 1459 background: #a2cbe9; 1460 color: #000; 1461 text-decoration: underline; } 1462 #prelude li a:hover, #prelude li a:focus { 1463 background: #fff; } 1462 1464 1463 1465 /* si le prélude est affiché on repousse les trucs dessous */ … … 1471 1473 /* header global h1, form#top-info-blog, ul#top-info-user */ 1472 1474 #header a { 1473 color: # FFF; }1475 color: #fff; } 1474 1476 1475 1477 #header img { … … 1481 1483 text-indent: 100%; 1482 1484 width: 16.5em; } 1483 1484 h1 a { 1485 position: absolute; 1486 top: 0; 1487 left: 0; 1488 width: 150px; 1489 height: 3em; 1490 color: #fff; 1491 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 1492 transition: none; } 1493 1494 h1 a:hover, 1495 h1 a:focus { 1496 background-position: 0 -94px; 1497 background-color: transparent; 1498 transition: none; } 1499 1500 h1 a:link { 1501 transition-timing-function: ease-in-out; } 1485 h1 a { 1486 position: absolute; 1487 top: 0; 1488 left: 0; 1489 width: 150px; 1490 height: 3em; 1491 color: #fff; 1492 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 1493 transition: none; } 1494 h1 a:hover, h1 a:focus { 1495 background-position: 0 -94px; 1496 background-color: transparent; 1497 transition: none; } 1498 h1 a:link { 1499 transition-timing-function: ease-in-out; } 1502 1500 1503 1501 /* top-info-blog */ … … 1510 1508 #top-info-blog input[type=submit] { 1511 1509 background: #000; 1512 border-color: # 999;1510 border-color: #868686; 1513 1511 margin-left: .33em; } 1514 1512 1515 1513 #top-info-blog input[type=submit]:hover { 1516 background: # 999; }1514 background: #868686; } 1517 1515 1518 1516 #top-info-blog p { … … 1530 1528 margin-left: .5em; 1531 1529 padding-left: .5em; 1532 border-left: 1px solid # 999; }1530 border-left: 1px solid #868686; } 1533 1531 1534 1532 #top-info-user li:first-child { … … 1540 1538 padding: 18px .5em; 1541 1539 background-color: #fff; 1542 color: #3 33;1540 color: #323232; 1543 1541 font-weight: bold; } 1544 1542 1543 /* ------------------------------------------------------------------------------------ 1544 UN POIL DE MEDIA QUERIES 1545 ------------------------------------------------------------------------------------ */ 1546 @media screen and (max-width: 80em) { 1547 #top-info-user { 1548 padding-right: .5em; } 1549 1550 #top-info-user a.active { 1551 padding: 2px 8px; 1552 border-width: 0; 1553 border-radius: 6px; } } 1554 @media screen and (max-width: 26.5em) { 1555 h1, 1556 h1 a { 1557 padding: 0; } } 1558 @media screen and (max-width: 38em) { 1559 h1 a:link { 1560 background: transparent url(dc_logos/b-dotclear120.png) no-repeat -270px 6px; } 1561 1562 h1 a:hover, 1563 h1 a:focus { 1564 background: url(dc_logos/b-dotclear120.png) no-repeat -270px -94px; } } 1545 1565 #favorites-menu, 1546 1566 #blog-menu, … … 1889 1909 1890 1910 tr.line input[type=text] { 1891 background: # FFF; }1911 background: #fff; } 1892 1912 1893 1913 tr.line input, … … 2766 2786 .modules tr.expand td:first-child { 2767 2787 font-weight: bold; 2768 background: # DFE5E7; }2788 background: #dfe5e7; } 2769 2789 2770 2790 .modules td.expand { … … 2907 2927 2908 2928 .guideline #content h2 { 2909 color: # D33800;2929 color: #d33800; 2910 2930 padding: 2em 0 0 0; 2911 2931 margin: 1em 0; … … 2965 2985 2966 2986 .ac_over { 2967 background-color: #2373 A8;2987 background-color: #2373a8; 2968 2988 color: white; } 2969 2989 … … 3302 3322 .colorEndValidatorMsg { 3303 3323 color: #ffcc00; } 3324 3325 /* ------------------------------------------------------------------------------------ 3326 UN POIL DE MEDIA QUERIES 3327 ------------------------------------------------------------------------------------ */ 3328 @media screen and (max-width: 44em) { 3329 #help-button { 3330 padding: 0; 3331 font-size: .83em; 3332 line-height: 68px; } } 3333 @media screen and (max-width: 38em) { 3334 #dashboard-main { 3335 padding: 0; } 3336 3337 #content, 3338 .hide-mm #content { 3339 padding: 0 .5em !important; } 3340 3341 #main #content > h2 { 3342 padding: 6px 30px 4px .5em; } 3343 3344 .cell, 3345 #filters-form .cell { 3346 border: none; 3347 padding: 1em; } 3348 3349 .pseudo-tabs li { 3350 padding: .25em; } 3351 3352 .pseudo-tabs li:first-child, 3353 .pseudo-tabs li:nth-of-type(2) { 3354 border-top: none; } } 3355 @media screen and (max-width: 26.5em) { 3356 #content.with-help #help { 3357 font-size: 1.2rem; } 3358 3359 p.top-add { 3360 text-align: center; } 3361 3362 .multi-part { 3363 padding-left: 0; } 3364 3365 .part-tabs ul { 3366 padding: 0 .5em; } 3367 3368 #icons p { 3369 padding: 1em .25em; } 3370 3371 .box.current-theme { 3372 padding: 10px; } 3373 3374 th, 3375 td { 3376 padding: 0.3em 1em 0.3em 0; } 3377 3378 .pseudo-tabs li:first-child { 3379 border-top: none; } }
Note: See TracChangeset
for help on using the changeset viewer.