Changeset 3365:11eb6b993152
- Timestamp:
- 10/26/16 14:09:23 (9 years ago)
- Branch:
- default
- Files:
-
- 2 added
- 15 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; } } -
admin/style/scss/default.scss
r3355 r3365 26 26 --------------------------------------------------- */ 27 27 @import "partials/layout"; 28 29 /** -------------------------------------------------- 30 Colors 31 --------------------------------------------------- */ 32 @import "partials/colors"; 28 33 29 34 /** -------------------------------------------------- … … 70 75 @import "partials/classes"; 71 76 @import "partials/utils"; 77 @import "partials/mediaqueries"; -
admin/style/scss/init/_config.scss
r3355 r3365 4 4 // Do not support IE less than IE9 5 5 $browser-minimum-versions: ( 6 "ie": " 9"6 "ie": "10" 7 7 ); 8 8 $graceful-usage-threshold: 100; … … 31 31 32 32 // Palette de base 33 33 34 $blue: #137bbb; 34 35 $green: #9ac123; … … 41 42 42 43 $gray-very-dark: shade($gray, 72%); // #323232 (near to #333 used before) 44 $gray-semi-dark: shade($gray, 25%); // #868686 (near to #999 used before) 43 45 $gray-light: tint($gray, 30%); // #c9c9c9 (near to #ccc used before) 44 46 $gray-very-light: tint($gray, 85%); // #f3f3f3 (near to #f7f7f7 used before) … … 46 48 $white: #fff; 47 49 $black: #000; 50 51 // Couleurs secondaires 52 53 48 54 49 55 // Application … … 62 68 63 69 // Autres 70 64 71 $css-img-path: 'img'; // utile pour le mixin de fallback svg 65 72 -
admin/style/scss/init/_mixins-functions.scss
r3355 r3365 1 1 // mixin svg fallback 2 2 @mixin svg( 3 4 3 $file-name, 4 $css-img-path: $css-img-path) 5 5 { 6 7 6 background-image: inline-image($file-name+'.png'); 7 background-image: inline-image($file-name+'.svg'), none; 8 8 } 9 9 10 10 @mixin bg-with-svg( 11 12 13 14 15 11 $file-name, 12 $css-img-path: $css-img-path, 13 $repeat: no-repeat, 14 $position: 50% 50%, 15 $bg-color: transparent) 16 16 { 17 18 17 background: inline-image($file-name+'.png') $repeat, $position, $bg-color; 18 background-image: inline-image($file-name+'.svg'), none; 19 19 } 20 20 21 // Mix from Nico3333 (https://github.com/nico3333fr/ROCSSTI/blob/master/src/css/rocssti-fr.css#L637) 22 // and ffood (http://www.ffoodd.fr/cache-cache-css/) 21 23 @mixin visually-hidden { 22 border: 0; 23 clip: rect(0 0 0 0); 24 height: 1px; 25 margin: -1px; 26 overflow: hidden; 27 padding: 0; 28 position: absolute; 29 width: 1px; 24 border: 0; 25 clip: rect(0 0 0 0); 26 clip-path: inset(50%); 27 height: 1px; 28 margin: -1px; 29 overflow: hidden; 30 padding: 0; 31 position: absolute; 32 width: 1px; 33 white-space: nowrap; 34 } 35 @mixin visually-hidden-focus { 36 clip: auto; 37 clip-path: none; 38 height: auto; 39 overflow: visible; 40 position: static; 41 width: auto; 42 white-space: normal; 30 43 } 31 44 32 45 // Remove any unit from a value 33 46 @function strip-unit( 34 47 $value) 35 48 { 36 49 @return $value / ($value * 0 + 1); 37 50 } 38 51 39 52 // Compute absolute value (in em or rem) depending on font-size of the html element (given in %) 40 53 @function relative-to-screen( 41 42 54 $value, // em or rem value 55 $html-font-size) // in % 43 56 { 44 57 @return $value / (strip-unit($html-font-size) / 100); 45 58 } -
admin/style/scss/init/_rebase.scss
r3355 r3365 154 154 margin: 0; 155 155 } 156 /* Hide only visually, but have it available for screenreaders: h5bp.com/v */ 156 157 /* Screen-reader only */ 157 158 .visually-hidden { 158 159 @include visually-hidden; 160 &:focus, 161 &:active { 162 @include visually-hidden-focus; 163 } 159 164 } -
admin/style/scss/partials/_buttons.scss
r3355 r3365 46 46 input.button.start { 47 47 color: #fff; 48 background-color: #25A6E1; 49 background-image: -webkit-gradient(linear, left top, left bottom, from(#25A6E1), to(#188BC0)); 50 background-image: linear-gradient(#25A6E1, #188BC0); 51 border-color: #25A6E1; 48 background-color: #25a6e1; 49 @include background-image(linear-gradient(to bottom, #25a6e1, #188bc0)); 50 border-color: #25a6e1; 52 51 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); 53 52 } … … 59 58 a.button.submit:hover, 60 59 a.button.submit:focus { 61 background-color: #188BC0; 62 background-image: -webkit-gradient(linear, left top, left bottom, from(#188BC0), to(#25A6E1)); 63 background-image: linear-gradient(#188BC0, #25A6E1); 64 border-color: #188BC0; 60 background-color: #188bc0; 61 @include background-image(linear-gradient(to bottom, #188bc0, #25a6e1)); 62 border-color: #188bc0; 65 63 } 66 64 … … 80 78 a.button.reset { 81 79 color: #000; 82 background-color: #EAEAEA; 83 background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#EAEAEA)); 84 background-image: linear-gradient(#f9f9f9, #EAEAEA); 80 background-color: #eaeaea; 81 @include background-image(linear-gradient(to bottom, #f9f9f9, #eaeaea)); 85 82 background-repeat: repeat-x; 86 border-color: #dfdfdf #dfdfdf # C5C5C5;83 border-color: #dfdfdf #dfdfdf #c5c5c5; 87 84 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9); 88 85 } … … 110 107 a.button.reset:focus, 111 108 a.button:focus { 112 background-color: #DADADA; 113 background-image: -webkit-gradient( linear, left top, left bottom, from(#EAEAEA), to(#DADADA)); 114 background-image: linear-gradient(#EAEAEA, #DADADA); 109 background-color: #dadada; 110 @include background-image(linear-gradient(to bottom, #eaeaea, #dadada)); 115 111 background-repeat: repeat-x; 116 border-color: # CCCCCC #CCCCCC #B5B5B5;112 border-color: #cccccc #cccccc #b5b5b5; 117 113 } 118 114 … … 132 128 input.delete:focus, 133 129 a.button.delete:focus { 134 color: #FFFFFF; 135 background-color: #B33630; 136 background-image: -webkit-gradient( linear, left top, left bottom, from(#DC5F59), to(#B33630)); 137 background-image: linear-gradient(#DC5F59, #B33630); 130 color: #ffffff; 131 background-color: #b33630; 132 @include background-image(linear-gradient(to bottom, #dc5f59, #b33630)); 138 133 background-repeat: repeat-x; 139 border-color: # CD504A;134 border-color: #cd504a; 140 135 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); 141 136 } … … 149 144 color: #000; 150 145 background-color: #bee74b; 151 background-image: -webkit-gradient(linear, left top, left bottom, from(#bee74b), to(#9BCA1C)); 152 background-image: linear-gradient(#bee74b, #9BCA1C); 146 @include background-image(linear-gradient(to bottom, #bee74b, #9bca1c)); 153 147 border-color: #bee74b; 154 148 padding: .33em 1.33em .5em; 155 149 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); 156 font-weight: normal;157 font-size: 1.16em;150 // font-weight: normal; 151 // font-size: 1.16em; 158 152 } 159 153 … … 161 155 .button.add:active, 162 156 .button.add:focus { 163 background-color: #9BCA1C; 164 background-image: -webkit-gradient(linear, left top, left bottom, from(#9BCA1C), to(#bee74b)); 165 background-image: linear-gradient(#9BCA1C, #bee74b); 166 border-color: #9BCA1C; 157 background-color: #9bca1c; 158 @include background-image(linear-gradient(to bottom, #9bca1c, #bee74b)); 159 border-color: #9bca1c; 167 160 } 168 161 -
admin/style/scss/partials/_charte.scss
r3355 r3365 1 1 .guideline #content h2 { 2 color: # D33800;2 color: #d33800; 3 3 padding: 2em 0 0 0; 4 4 margin: 1em 0; -
admin/style/scss/partials/_classes.scss
r3355 r3365 32 32 33 33 .ac_over { 34 background-color: #2373 A8;34 background-color: #2373a8; 35 35 color: white; 36 36 } -
admin/style/scss/partials/_common.scss
r3355 r3365 1 1 /* Typographie */ 2 2 3 // base // 3 4 html { … … 32 33 } 33 34 font-family: $sans-serif; 34 color: $primary-color;35 background: $primary-background;36 35 } 37 36 #wrapper { … … 51 50 line-height: 1.25; 52 51 padding: 0 0 1.5em; 53 color: $ternary-color;54 52 } 55 53 h3, .as_h3 { … … 58 56 line-height: 1.5; 59 57 margin-top: 1em; 60 color: $secondary-color;61 58 } 62 59 h4, .as_h4 { 63 60 font-size: 1.16em; 64 61 line-height: 1.5; 65 color: $ternary-color;66 62 } 67 63 h5 { … … 69 65 line-height: 1.5; 70 66 font-weight: bold; 71 color: $ternary-color;72 67 } 73 68 h6 { 74 69 font-size: 1em; 75 70 line-height: 1.5; 76 color: $ternary-color;77 71 } 78 72 -
admin/style/scss/partials/_header.scss
r3355 r3365 2 2 3 3 #prelude { 4 line-height: 1.5; 5 margin: 0; 6 padding: 0; 7 overflow: hidden; 8 position: absolute; 9 top: 3em; 10 left: 0; 11 background: #A2CBE9; 12 width: 100%; 13 z-index: 100; 4 line-height: 1.5; 5 margin: 0; 6 padding: 0; 7 overflow: hidden; 8 position: absolute; 9 top: 3em; 10 left: 0; 11 background: $light-blue; 12 width: 100%; 13 z-index: 100; 14 li { 15 list-style-type: none; 16 margin: 0; 17 background: transparent; 18 display: inline; 19 a { 20 padding: 3px 16px 3px 8px; 21 background: $light-blue; 22 color: $black; 23 text-decoration: underline; 24 &:hover, &:focus { 25 background: $white; 26 } 27 } 28 } 14 29 } 15 16 #prelude li {17 list-style-type: none;18 margin: 0;19 background: transparent;20 display: inline;21 }22 23 #prelude li a {24 padding: 3px 16px 3px 8px;25 background: #A2CBE9;26 color: #000;27 text-decoration: underline;28 }29 30 #prelude li a:hover,31 #prelude li a:focus {32 background: #FFF;33 }34 35 30 36 31 /* si le prélude est affiché on repousse les trucs dessous */ 37 32 38 33 #wrapper.with-prelude { 39 34 padding-top: 1em; 40 35 } 41 36 42 37 #help-button.with-prelude, 43 38 #collapser.with-prelude { 44 39 top: 1em; 45 40 } 46 47 41 48 42 /* header global h1, form#top-info-blog, ul#top-info-user */ 49 43 50 44 #header a { 51 color: #FFF;45 color: $white; 52 46 } 53 47 54 48 #header img { 55 56 49 vertical-align: middle; 50 padding-left: .5em; 57 51 } 58 59 52 60 53 /* h1 */ 61 54 62 55 h1 { 63 text-indent: 100%; 64 width: 16.5em; 56 text-indent: 100%; 57 width: 16.5em; 58 a { 59 position: absolute; 60 top: 0; 61 left: 0; 62 width: 150px; 63 height: 3em; 64 color: $white; 65 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 66 transition: none; 67 &:hover, 68 &:focus { 69 background-position: 0 -94px; 70 background-color: transparent; 71 transition: none; 72 } 73 &:link { 74 transition-timing-function: ease-in-out; 75 } 76 } 65 77 } 66 67 h1 a {68 position: absolute;69 top: 0;70 left: 0;71 width: 150px;72 height: 3em;73 color: #fff;74 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px;75 transition: none;76 }77 78 h1 a:hover,79 h1 a:focus {80 background-position: 0 -94px;81 background-color: transparent;82 transition: none;83 }84 85 h1 a:link {86 transition-timing-function: ease-in-out;87 }88 89 78 90 79 /* top-info-blog */ 91 80 92 81 #top-info-blog select { 93 82 max-width: 20em; 94 83 } 95 84 96 85 #top-info-blog a { 97 86 margin-left: 1.5em; 98 87 } 99 88 100 89 #top-info-blog input[type=submit] { 101 background: #000;102 border-color: #999;103 90 background: $black; 91 border-color: $gray-semi-dark; 92 margin-left: .33em; 104 93 } 105 94 106 95 #top-info-blog input[type=submit]:hover { 107 background: #999;96 background: $gray-semi-dark; 108 97 } 109 98 110 99 #top-info-blog p { 111 112 100 display: inline-block; 101 margin: 0; 113 102 } 114 115 103 116 104 /* top-info-user */ 117 105 118 106 #top-info-user { 119 120 121 107 padding-right: 18px; 108 list-style-type: none; 109 text-align: right; 122 110 } 123 111 124 112 #top-info-user li { 125 126 127 128 border-left: 1px solid #999;113 display: inline-block; 114 margin-left: .5em; 115 padding-left: .5em; 116 border-left: 1px solid $gray-semi-dark; 129 117 } 130 118 131 119 #top-info-user li:first-child { 132 120 border-left: none; 133 121 } 134 122 135 123 #top-info-user a.active { 136 border-bottom-color: #fff;137 138 139 background-color: #fff;140 color: #333;141 124 border-bottom-color: $white; 125 margin: 0; 126 padding: 18px .5em; 127 background-color: $white; 128 color: $primary-color; 129 font-weight: bold; 142 130 } 131 132 /* ------------------------------------------------------------------------------------ 133 UN POIL DE MEDIA QUERIES 134 ------------------------------------------------------------------------------------ */ 135 136 @media screen and (max-width: $xl-screen) { 137 #top-info-user { 138 padding-right: .5em; 139 } 140 #top-info-user a.active { 141 padding: 2px 8px; 142 border-width: 0; 143 border-radius: 6px; 144 } 145 } 146 147 @media screen and (max-width: $xxs-screen) { 148 h1, 149 h1 a { 150 padding: 0; 151 } 152 } 153 154 @media screen and (max-width: $xs-screen) { 155 h1 a:link { 156 background: transparent url(dc_logos/b-dotclear120.png) no-repeat -270px 6px; 157 } 158 h1 a:hover, 159 h1 a:focus { 160 background: url(dc_logos/b-dotclear120.png) no-repeat -270px -94px; 161 } 162 } -
admin/style/scss/partials/_layout.scss
r3355 r3365 1 // Admin layout 1 2 #dotclear-admin { 2 3 display: flex; … … 6 7 7 8 #header { 8 background: $ternary-background; 9 color: $white; 10 border-bottom: 4px solid $light-blue; 11 width: 99.99%; 12 /* Bugfix Chrome >= 49.0.2623.108 */ 9 width: 99.99%; /* Bugfix Chrome >= 49.0.2623.108 */ 13 10 display: table; 14 11 position: relative; … … 31 28 width: 100%; 32 29 z-index: 10; 33 background: $secondary-background url(bg_wrapper.png) repeat-y 14em;34 30 flex: 1; 35 31 } … … 49 45 margin: 0 0 0 14em; 50 46 padding: .5em 1.5em .75em 2.5em; 51 background: $white;52 47 } 53 48 … … 59 54 padding-bottom: 1em; 60 55 overflow: hidden; 61 background: $secondary-background;62 56 } 63 57 … … 67 61 padding: .5em 0 .5em 1em; 68 62 text-align: left; 69 border-top: 1px solid $gray-light; // #ccc;70 background-color: $white;71 63 } 72 64 … … 82 74 overflow: hidden; 83 75 display: block; 84 background: $light-blue; // #f3f3f3 url(../images/collapser-hide.png) no-repeat center bottom;85 76 border-right: 0; // 1px solid #999; 86 77 border-bottom: 0; … … 93 84 } 94 85 95 96 86 /* if main-menu is hidden */ 97 98 #wrapper.hide-mm {99 background: $white;100 }101 87 102 88 .hide-mm #main { … … 118 104 .hide-mm #collapser { 119 105 left: 0; 120 // background: #e3e3e3 url(../images/collapser-show.png) no-repeat center bottom;121 106 } 122 107 … … 128 113 display: block; 129 114 } 130 131 115 132 116 /* -------------------------------------------------------------- layout: two-cols */ … … 227 211 width: 100%; 228 212 margin: 0; 229 background: $ternary-background;230 213 font-size: 1.5em; 231 214 text-indent: 1em; 232 215 line-height: 1.5em; 233 216 font-weight: normal; 234 color: $white;235 217 } 236 218 … … 307 289 clear: both; 308 290 } 309 310 291 311 292 /* … … 346 327 } 347 328 348 349 329 /* ------------------------------------------------------------------------------------ 350 330 UN POIL DE MEDIA QUERIES 351 331 ------------------------------------------------------------------------------------ */ 352 332 353 @media screen and (min-width: $xl-screen) { 354 #wrapper { 355 background: $secondary-background url(bg_wrapper.png) repeat-y 17em; 356 } 333 @media screen and (max-width: $xl-screen) { 357 334 #main { 358 335 margin-left: -17em; … … 370 347 width: 19.5em; 371 348 } 372 }373 374 @media screen and (max-width: $l-screen) {375 349 #top-info-blog #switchblog { 376 350 max-width: 16em; … … 383 357 width: 100%; 384 358 text-align: right; 385 background: $gray-very-dark;386 359 } 387 360 #header h1, 388 361 #header h1 a { 389 362 width: 120px; 390 padding: 0;391 363 margin: 0; 392 364 } … … 400 372 display: block; 401 373 width: 100%; 402 background: $ternary-background;403 padding-right: 0;404 }405 #top-info-user li:last-child {406 padding-right: 1em;407 }408 #top-info-user a.active {409 padding: 2px 8px;410 background: #999;411 color: #FFF;412 border-width: 0;413 border-radius: 6px;414 374 } 415 375 .three-boxes, … … 439 399 height: 26px; 440 400 width: 26px; 441 background-color: $light-blue;442 padding: 0;443 401 margin: 0; 444 font-size: .83em;445 line-height: 68px;446 402 overflow: hidden; 447 403 } … … 478 434 height: 42px; 479 435 } 480 h1 a:link {481 background: transparent url(dc_logos/b-dotclear120.png) no-repeat -270px 6px;482 border-right: 1px solid $gray-light;483 }484 h1 a:hover,485 h1 a:focus {486 background: url(dc_logos/b-dotclear120.png) no-repeat -270px -94px;487 border-right: 1px solid $light-blue;488 }489 436 #wrapper, 490 437 #main, … … 495 442 margin: 0; 496 443 } 497 #dashboard-main {498 padding: 0;499 }500 444 #main-menu a { 501 445 display: block; … … 508 452 .hide-mm #content { 509 453 margin: 0; 510 padding: 0 .5em !important;511 454 } 512 455 #collapser { … … 515 458 #main #content > h2 { 516 459 margin: 0 -.25em 1em; 517 padding: 6px 30px 4px .5em;518 460 } 519 461 #dashboard-boxes .box.medium, … … 529 471 #filters-form .cell { 530 472 display: inline-block; 531 border: none;532 padding: 1em;533 473 vertical-align: bottom; 534 474 } … … 537 477 float: left; 538 478 width: 50%; 539 border-top: 1px solid #ddd;540 padding: .25em;541 }542 .pseudo-tabs li:first-child,543 .pseudo-tabs li:nth-of-type(2) {544 border-top: none;545 479 } 546 480 } 547 481 548 482 @media screen and (max-width: $xxs-screen) { 549 h1,550 h1 a {551 padding: 0;552 border-right: $gray-very-dark !important;553 }554 483 #top-info-blog label, 555 484 .nomobile { … … 569 498 #content.with-help #help { 570 499 width: 28rem; 571 font-size: 1.2rem // 12px;572 500 } 573 501 p.top-add { 574 502 margin-bottom: .5em; 575 text-align: center;576 }577 .multi-part {578 padding-left: 0;579 503 } 580 504 .part-tabs ul { 581 505 margin: 1em 0; 582 padding: 0 .5em;583 506 } 584 507 .part-tabs li a { … … 588 511 #icons p { 589 512 width: 9em; 590 padding: 1em .25em;591 513 } 592 514 .media-item { … … 601 523 .box.current-theme { 602 524 margin: 5px; 603 padding: 10px;604 525 width: 100%; 605 526 } … … 612 533 min-width: 14em; 613 534 } 614 th,615 td {616 padding: 0.3em 1em 0.3em 0;617 }618 535 .pseudo-tabs li { 619 536 display: block; 620 537 width: 100%; 621 538 float: none; 622 border-top: 1px solid #ddd !important; 623 } 624 .pseudo-tabs li:first-child { 625 border-top: none; 626 } 627 } 539 } 540 } -
admin/style/scss/partials/_plugins.scss
r3355 r3365 50 50 .modules tr.expand td:first-child { 51 51 font-weight: bold; 52 background: # DFE5E7;52 background: #dfe5e7; 53 53 } 54 54 -
admin/style/scss/partials/_tables.scss
r3355 r3365 37 37 38 38 tr.line input[type=text] { 39 background: # FFF;39 background: #fff; 40 40 } 41 41 -
plugins/dcLegacyEditor/css/jsToolBar/jsToolBar.css
r3258 r3365 58 58 background-position : 50% 50%; 59 59 background-repeat: no-repeat; 60 background-size: inherit; 60 61 } 61 62 .jstElements button:hover, .jstElements button:focus { -
plugins/themeEditor/style.css
r3253 r3365 2 2 width: 100%; 3 3 float: left; 4 margin-right: -1 80px;4 margin-right: -15em; /* was -180px; */ 5 5 } 6 6 7 7 #file-editor { 8 margin-right: 1 80px;8 margin-right: 15em; /* was 180px; */ 9 9 } 10 10 11 11 #file-chooser { 12 12 float: right; 13 width: 1 70px;13 width: 14em; /* was 170px; */ 14 14 } 15 15 #file-chooser ul {
Note: See TracChangeset
for help on using the changeset viewer.