Changeset 2468:d7fda5a0bd39 for admin/style/default.css
- Timestamp:
- 10/21/13 09:08:36 (12 years ago)
- Branch:
- twig
- Children:
- 2593:6741802596a0, 2609:c26642f775e2
- Parents:
- 2321:3ab5e6c3d301 (diff), 2466:e42d3233f080 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r2313 r2468 16 16 */ 17 17 /* --------------------------------------------------------------------------- 18 START 19 ---------------------------------------------------------------------------- */ 20 html { 21 font-size: 62.5%; 22 } 23 body { 24 font-size: 12px; /* ie < 9 sucks */ 25 font-size: 1.2rem; 26 line-height: 1.5; 27 font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 28 margin: 0; 29 padding: 0; 30 } 31 /* --------------------------------------------------------------------------- 18 32 LAYOUTS 19 33 ---------------------------------------------------------------------------- */ 34 *, *:before, *:after { 35 -webkit-box-sizing: border-box; 36 -moz-box-sizing: border-box; 37 box-sizing: border-box; 38 } 20 39 #header { 21 40 background: #676e78; … … 24 43 width: 100%; 25 44 display: table; 45 position: relative; 26 46 } 27 47 #wrapper { … … 69 89 top: 0; 70 90 left: 14em; 71 width: 1 em;91 width: 15px; 72 92 height: 100%; 73 93 overflow: hidden; … … 123 143 } 124 144 .two-cols .col:first-child, 125 145 .two-cols .col30.first-col { 126 146 margin-left: 0; 127 147 margin-right: 2%; 128 148 } 129 149 .two-cols .col:last-child, 130 150 .two-cols .col70.last-col { 131 151 margin-left: 2%; 132 152 margin-right: 0; … … 145 165 } 146 166 .three-cols .col:first-child { 147 width: 33.3%;148 167 margin-left: 0; 149 168 } … … 153 172 } 154 173 .two-boxes { 155 width: 4 7%;174 width: 48.5%; 156 175 } 157 176 .three-boxes { … … 162 181 vertical-align: top; 163 182 margin: 0 1.5% 1em; 164 -moz-box-sizing: border-box;165 -webkit-box-sizing: border-box;166 box-sizing: border-box;167 183 text-align: left; 184 } 185 .two-boxes:nth-of-type(odd), .three-boxes:nth-of-type(3n+1) { 186 margin-left: 0; 187 } 188 .two-boxes:nth-of-type(even), .three-boxes:nth-of-type(3n) { 189 margin-right: 0; 168 190 } 169 191 /* ---------------------------------------------------------------- layout: popups */ … … 244 266 display: inline-block; 245 267 vertical-align: top; 246 margin: 0 1.5% 1em; 247 -moz-box-sizing: border-box; 248 -webkit-box-sizing: border-box; 249 box-sizing: border-box; 268 margin: 0 10px 10px; 250 269 text-align: left; 251 270 } 252 271 .box.small { 253 width: 3 20px;272 width: 312px; 254 273 } 255 274 .box.medium { 256 width: 6 60px;275 width: 644px; 257 276 } 258 277 .box.large { … … 268 287 HTML TAGS 269 288 ---------------------------------------------------------------------------- */ 270 html {271 font-size: 62.5%;272 }273 289 body { 274 font-size: 12px; /* ie < 9 sucks */275 font-size: 1.2rem;276 line-height: 1.5;277 font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;278 290 color: #333; 279 291 background: #fff; 280 margin: 0;281 padding: 0;282 292 } 283 293 /* ------------------------------------------------------------------ titres */ … … 291 301 padding: 0 0 1.5em; 292 302 font-weight: normal; 303 line-height: 1.25; 293 304 } 294 305 /* fil d'ariane */ 295 306 #content > h2 { 296 307 padding: 0 1em .5em 1em; 297 margin: 0 -1em .5em -1em;308 margin: 0 -1em 1em -1em; 298 309 background: #fff url(bg_h2.png) repeat-x center bottom; 299 310 } … … 321 332 } 322 333 h4, .as_h4 { 323 font-size: 14px; /* ie < 9 sucks */ 324 font-size: 1.4rem; 334 font-size: 1.16em; 325 335 color: #676e78; 326 336 } … … 341 351 } 342 352 h5 { 343 font-size: 12px; /* ie < 9 sucks */ 344 font-size: 1.2rem; 353 font-size: 1em; 345 354 font-weight: bold; 346 355 color: #676e78; … … 368 377 } 369 378 table { 370 font-size: 12px; /* ie < 9 sucks */ 371 font-size: 1.2rem; 379 font-size: 1em; 372 380 border-collapse: collapse; 373 381 margin: 0 0 1em 0; … … 419 427 white-space: pre; 420 428 white-space: -moz-pre-wrap; 421 white-space: -hp-pre-wrap;422 white-space: -o-pre-wrap;423 white-space: -pre-wrap;424 429 white-space: pre-wrap; 425 430 white-space: pre-line; … … 456 461 input[type=button], input[type=reset], a.button, button, textarea, select, legend { 457 462 border-radius: 3px; 463 max-width: 100%; 458 464 } 459 465 form { … … 496 502 } 497 503 input:focus, textarea:focus, select:focus { 498 -webkit-box-sizing: border-box;499 -moz-box-sizing: border-box;500 box-sizing: border-box;501 504 border-color: #9bca1c; 502 505 } … … 594 597 color: #900; 595 598 font-size: 1.3em; 599 } 600 label.bold { 601 text-transform: uppercase; 602 font-weight: bold; 603 margin-top: 2em; 596 604 } 597 605 label.area, p.area { … … 730 738 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); 731 739 font-weight: normal; 732 font-size: 14px; /* ie < 9 sucks */ 733 font-size: 1.4rem; 740 font-size: 1.16em; 734 741 } 735 742 .button.add:hover, .button.add:active, .button.add:focus { 736 743 background-color: #9BCA1C; 737 744 background-image: -webkit-gradient(linear, left top, left bottom, from(#9BCA1C), to(#bee74b)); 738 background-image: linear-gradient( top,#9BCA1C, #bee74b);745 background-image: linear-gradient(#9BCA1C, #bee74b); 739 746 border-color: #9BCA1C; 740 747 } … … 799 806 padding-top: 1em; 800 807 padding-bottom: 1em; 808 margin-top: .5em; 801 809 } 802 810 .error { … … 879 887 } 880 888 #prelude li a { 881 padding: 3px 16px 3px 8px; /* ie < 9 sucks */ 882 padding: 3px 1.6rem 3px .8rem; 889 padding: 3px 16px 3px 8px; 883 890 background: #A2CBE9; 884 891 color: #000; … … 912 919 /* h1 */ 913 920 h1 { 914 text-indent: -1000px;921 text-indent: 100%; 915 922 width: 16.5em; 916 923 } … … 919 926 top: 0; 920 927 left: 0; 921 width: 15em; 922 height: 36px; 923 /* ie < 9 sucks */ 924 height: 3.6rem; 928 width: 150px; 929 height: 3em; 925 930 color: #fff; 926 931 background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; … … 979 984 padding: 10px 0 10px 8px; 980 985 color: #676e78; 981 font-size: 14px; /* ie < 9 sucks */ 982 font-size: 1.4rem; 986 font-size: 1.15em; 983 987 } 984 988 #favorites-menu h3 { … … 1025 1029 } 1026 1030 #search-menu * { 1027 height: 22px; /* ie < 9 sucks */ 1028 height: 2.2rem; 1031 height: 2em; 1029 1032 display: inline-block; 1030 1033 vertical-align: top; 1031 line-height: 2 2px;1034 line-height: 24px; 1032 1035 } 1033 1036 #search-menu p { … … 1035 1038 border-radius: .3em; 1036 1039 position: relative; 1040 width: 95%; 1037 1041 overflow: hidden; 1038 1042 } 1039 1043 #qx { 1040 width: 124px; /* ie < 9 sucks */ 1041 width: 12.4rem; 1044 width: 80%; 1042 1045 border-bottom-left-radius: .3em; 1043 1046 border-top-left-radius: .3em; … … 1046 1049 padding: 0; 1047 1050 border: none; 1048 height: 22px; 1049 height: 2.2rem; 1051 height: 2em; 1050 1052 } 1051 1053 #qx:focus { … … 1053 1055 } 1054 1056 #search-menu input[type="submit"] { 1055 padding: 0 3px; 1056 padding: 0 .3rem; 1057 margin-left: -4px; 1057 padding: 0 .25em; 1058 margin-left: .33em; 1058 1059 background: #dfdfdf; 1059 1060 border-color: #999; … … 1066 1067 border: none; 1067 1068 border-left: 1px solid #999; 1068 font-size: 10px; /* ie < 9 sucks */1069 f ont-size: 1rem;1069 font-size: .91em; 1070 float: right; 1070 1071 } 1071 1072 #search-menu input[type="submit"]:hover, … … 1077 1078 .part-tabs ul { 1078 1079 padding: .5em 0 0 1em; 1079 border-bottom: 1px solid # dfdfdf;1080 line-height: 2;1080 border-bottom: 1px solid #ccc; 1081 line-height: 1.8; 1081 1082 } 1082 1083 .part-tabs li { … … 1085 1086 display: inline; 1086 1087 } 1088 .part-tabs li:first-child a { 1089 border-top-left-radius: 3px; 1090 } 1091 .part-tabs li:last-child a { 1092 border-top-right-radius: 3px; 1093 } 1087 1094 .part-tabs li a { 1088 padding: . 5em 2em;1095 padding: .33em 1.5em; 1089 1096 margin-right: -1px; 1090 1097 border: 1px solid #ccc; … … 1108 1115 padding-left: 1em; 1109 1116 } 1117 .pseudo-tabs { 1118 margin: -.75em 0 2em 0; 1119 border-bottom: 1px solid #bbb; 1120 display: table; 1121 width: 100%; 1122 padding: 0; 1123 line-height: 24px; 1124 border-collapse: collapse; 1125 } 1126 .pseudo-tabs li { 1127 display: table-cell; 1128 border-width: 0 1px; 1129 border-style: solid; 1130 border-color: #ccc; 1131 padding: 0; 1132 margin: 0; 1133 text-align: center; 1134 } 1135 .pseudo-tabs a { 1136 display: block; 1137 font-weight: bold; 1138 padding: 0 24px; 1139 border-bottom: none; 1140 } 1141 .pseudo-tabs a:hover, .pseudo-tabs a:focus { 1142 background-color: #ecf0f1; 1143 color: #333; 1144 } 1145 .pseudo-tabs a.active { 1146 background-color: #ecf0f1; 1147 color: #d30e60; 1148 } 1110 1149 /* contextual help */ 1111 1150 #help { … … 1121 1160 top: 0; 1122 1161 right: 0; 1123 width: 280px; /* ie < 9 sucks */ 1124 width: 28rem; 1162 width: 24em; 1125 1163 border-left: 2px solid #FFD478; 1126 1164 border-top: 2px solid #FFD478; … … 1137 1175 cursor: pointer; 1138 1176 color: #2373A8; 1139 line-height: 36px; /* ie < 9 sucks */ 1140 line-height: 3.6rem; 1177 line-height: 3; 1141 1178 } 1142 1179 #help-button.floatable { … … 1149 1186 position: fixed; 1150 1187 top: 10px; 1188 -webkit-transform:translateZ(0); /* Let GPU doing his job */ 1151 1189 } 1152 1190 .no-js #help-button { … … 1157 1195 } 1158 1196 #content.with-help #help-button { 1159 right: 280px; /* ie < 9 sucks */ 1160 right: 28rem; 1197 right: 24em; 1161 1198 background-color: #f5f5f5; 1162 1199 position: fixed; … … 1371 1408 width: 20em; 1372 1409 margin: 1.5em auto 0; 1373 font-size: 14px; /* ie < 9 sucks */ 1374 font-size: 1.4rem; 1410 font-size: 1.16em; 1375 1411 } 1376 1412 #login-screen h1 { … … 1386 1422 padding: 1em 1em 0 1em; 1387 1423 background: #fff; 1424 margin-bottom: 0; 1388 1425 } 1389 1426 #login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit], … … 1392 1429 margin: 0; 1393 1430 padding: 5px 3px; 1394 -webkit-box-sizing: border-box;1395 -moz-box-sizing: border-box;1396 box-sizing: border-box;1397 1431 } 1398 1432 #login-screen input.login, #login-screen input.login:focus { … … 1403 1437 #login-screen #issue { 1404 1438 margin-left: 1.33em; 1405 font-size: 12px; /* ie < 9 sucks */ 1406 font-size: 1.2rem; 1439 font-size: .91em; 1440 } 1441 #issue p:first-child { 1442 text-align: right; 1407 1443 } 1408 1444 #login-screen #issue strong { … … 1411 1447 /* ------------------------------------------------------------------------- index.php */ 1412 1448 #dashboard-main { 1413 padding: 1em 0; 1449 padding: 1em; 1450 text-align: center; 1414 1451 } 1415 1452 /* raccourcis */ … … 1420 1457 } 1421 1458 #icons p { 1422 width: 1 70px;1459 width: 14em; 1423 1460 text-align: center; 1424 1461 margin: 1em 0 2em; … … 1454 1491 /* billet rapide */ 1455 1492 #quick { 1456 margin-top: 1em; 1457 padding-top: 1em; 1493 padding: 1em; 1494 max-width: 976px; 1495 margin: 0 auto; 1496 background: #f5f5f5; 1497 box-shadow: 0 1px 2px rgba(0, 0, 0, .2); 1498 text-align: left; 1458 1499 } 1459 1500 #quick h3 { … … 1482 1523 /* modules additionnels */ 1483 1524 #dashboard-boxes { 1484 margin: 2em auto 1em;1525 margin: 1em auto 1em; 1485 1526 padding-top: 2em; 1486 1527 } … … 1569 1610 } 1570 1611 /* ------------------------------------------------------------------- blog_theme.php */ 1612 /* pour les alignements verticaux */ 1613 #theme-new, #theme-activate, #theme-deactivate { 1614 margin-left: -10px; 1615 margin-right: -10px; 1616 } 1571 1617 .box.theme { 1572 margin: .5em;1618 margin: 5px; 1573 1619 padding: 10px 10px 5px 10px; 1574 1620 border: 1px solid #dfdfdf; 1575 min-height: 295px;1576 1621 position: relative; 1577 1622 } … … 1579 1624 background: #ecf0f1 url(texture.png); 1580 1625 } 1581 #theme-new .box.theme {1582 width: 280px;1583 }1584 #theme-activate .box.theme {1585 min-height: 330px;1586 }1587 1626 .module-name { 1588 1627 margin-bottom: .5em; … … 1592 1631 } 1593 1632 .module-sshot img { 1594 padding: .5em;1633 padding: 5px; 1595 1634 background: #f7f7f7; 1596 1635 box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 1597 1636 border: 3px solid #fff; 1598 padding: .5em; 1599 } 1600 .theme .module-sshot img { 1601 max-width: 280px; /* pour ceux qui n'ont pas de miniature */ 1602 } 1603 #theme-new .theme .module-sshot img { 1604 max-width: 240px; /* pour ceux qui n'ont pas de miniature */ 1637 max-width: 100%; 1638 } 1639 .module-actions { 1640 margin-top: 1em; 1641 } 1642 .bloc-toggler { 1643 text-align: right; 1644 } 1645 .bloc-toggler img { 1646 opacity: .4; 1647 } 1648 .bloc-toggler img:hover { 1649 opacity: 1; 1650 } 1651 .bloc-toggler a:focus img { 1652 opacity: 1; 1653 } 1654 span.module-version:before { 1655 content: "- "; 1656 } 1657 .toggle-bloc .mod-more { 1658 display: block; 1659 margin-left: 0; 1660 } 1661 .box.theme input { 1662 margin-bottom: 1em; 1663 } 1664 /** 1665 Les screenshots des thèmes ont deux tailles possibles : 1666 - dans Ajouter des thèmes : 240px (+ 10 padding image + 20 padding boîte + 6 bordure + 2 ombrage = 278) 1667 - dans Thèmes installés : 280px (+ 10 padding-image + 20 padding-boîte + 2 ombrage = 318) 1668 On adapte largeur et hauteur en fonction 1669 */ 1670 #theme-new .box.theme { /* Ajouter un thème */ 1671 width: 278px; 1672 min-height: 275px; 1673 } 1674 #theme-new .module-sshot img { /* Pour ceux qui n'ont pas de miniature on contraint l'image */ 1675 max-width: 240px; 1605 1676 max-height: 210px; 1606 1677 overflow: hidden; 1607 1678 } 1608 .module-actions { 1609 margin-top: 1em; 1610 } 1611 .bloc-toggler { 1612 text-align: right; 1613 } 1614 .bloc-toggler img { 1615 opacity: .4; 1616 } 1617 .bloc-toggler img:hover { 1618 opacity: 1; 1619 } 1620 .bloc-toggler a:focus img { 1621 opacity: 1; 1622 } 1623 span.module-version:before { 1624 content: "- "; 1625 } 1679 #theme-deactivate .box.theme { /* Thèmes désactivés */ 1680 width: 278px; 1681 } 1682 #theme-activate .box.theme { /* Thèmes installés */ 1683 width: 318px; 1684 min-height: 304px; 1685 max-width: 100%; 1686 } 1687 #theme-deactivate .box.theme:hover { 1688 background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; 1689 } 1690 /* si js est là, les infos viennent par dessus le screenshot */ 1626 1691 .with-js #theme-new .module-infos.toggle-bloc, 1627 1692 .with-js #theme-new .module-actions.toggle-bloc { 1628 1693 position: absolute; 1629 top: 138px;1630 1694 left: 10px; 1631 1695 width: 239px; 1696 margin: 0; 1632 1697 padding: 10px; 1633 1698 background: rgba(250, 250, 250, .95); 1634 1699 } 1635 1700 .with-js #theme-new .module-infos.toggle-bloc { 1636 top: 1 38px;1701 top: 128px; 1637 1702 height: 80px; 1638 1703 border-top: 1px solid #e3e3e3; 1639 1704 } 1640 1705 .with-js #theme-new .module-actions.toggle-bloc { 1641 top: 228px; 1642 height: 18px; 1643 margin: 0; 1706 top: 208px; 1707 height: 40px; 1644 1708 border-bottom: 1px solid #e3e3e3; 1645 1709 } 1646 . toggle-bloc .mod-more{1647 display: block;1648 margin-left: 0;1649 } 1650 .box.current-theme { 1651 width: 6 52px;1652 margin: .5em;1653 padding: 10px 18px;1710 .with-js .module-sshot:hover { 1711 cursor: pointer; 1712 } 1713 /* mise en forme pour la boîte du thème courant */ 1714 .box.current-theme { /* Thème courant */ 1715 width: 646px; 1716 margin: 5px; 1717 padding: 20px 18px 6px; 1654 1718 background: #fff url(texture.png); 1655 1719 border: 1px solid #eee; 1656 1720 border-radius: .5em; 1657 min-height: 3 30px;1721 min-height: 326px; 1658 1722 box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 1723 position: relative; 1724 } 1725 .current-theme .module-sshot:hover { 1726 cursor: auto; 1659 1727 } 1660 1728 .current-theme .module-sshot img { 1661 1729 float: left; 1662 1730 margin-right: 2em; 1663 margin-bottom: 1em; 1664 border: 3px solid #fff; 1665 padding: .5em; 1731 border: 9px solid #fff; 1732 padding: 5px; 1733 max-width: 308px; 1734 max-height: 273px; 1666 1735 } 1667 1736 .current-theme .module-name { 1668 1737 color: #D33800; 1669 font-size: 1.33em; 1670 } 1671 .box.theme input { 1738 font-size: 1.5em; 1672 1739 margin-bottom: 1em; 1673 1740 } … … 1675 1742 width: auto; 1676 1743 overflow: hidden; 1677 padding-top: 3em;1744 padding-top: 2em; 1678 1745 margin: 1.5em 0 2em; 1679 1746 background: transparent url(../images/minus-theme.png) no-repeat left top; 1747 } 1748 .current-theme .actions-buttons { 1749 position: absolute; 1750 bottom: 0; 1751 right: 18px; 1680 1752 } 1681 1753 /* ------------------------------------------------------------------ categories.php */ … … 1721 1793 float: right; 1722 1794 margin-top: -.2em; 1723 font-size: 11px;1795 font-size: .91em; 1724 1796 } 1725 1797 .cat-buttons select { … … 1750 1822 margin: 9px; 1751 1823 padding: 10px 12px 6px; 1752 width: 3 00px;1824 width: 320px; 1753 1825 display: inline-block; 1754 1826 vertical-align: top; … … 1794 1866 li.media-action a { 1795 1867 border: none; 1868 } 1869 li.media-action a.attach-media { 1870 margin-right: 5px; 1796 1871 } 1797 1872 li.media-action form { … … 1931 2006 .upload-progress div { 1932 2007 width: 0; 1933 height: 1em; 1934 padding: .2em 0; 1935 font-size: 0.8em; 2008 height: 1.2em; 1936 2009 font-weight: bold; 1937 line-height: 1 em;2010 line-height: 1.2em; 1938 2011 text-align: right; 1939 2012 background: green url(loader.png) repeat-x left top; … … 1997 2070 padding: 4px 4px 0 20px; 1998 2071 } 2072 .modules a.module-config { 2073 /* todo: add icon here */ 2074 padding: 4px 4px 0 20px; 2075 } 1999 2076 #m_search { 2000 2077 background: transparent url(search.png) no-repeat 4px center; … … 2036 2113 margin-left: 0; 2037 2114 } 2038 #entry-content label {2039 text-transform: uppercase;2040 font-weight: bold;2041 margin-top: 2em;2042 display: inline-block;2043 }2044 #entry-content label:first-child {2045 margin-top: 0;2046 }2047 2115 #entry-sidebar { 2048 2116 width: 16em; … … 2050 2118 } 2051 2119 #entry-sidebar h4 { 2052 font-size: 13px; 2053 font-size: 1.3rem; 2120 font-size: 1.08em; 2054 2121 margin-top: .3em; 2055 2122 } … … 2137 2204 /* --------------------------------------------------------------------- user.php */ 2138 2205 .blog-perm { 2206 padding-top: 2em; 2207 } 2208 .blog-perm { 2139 2209 margin-top: 2em; 2140 2210 font-weight: bold; … … 2158 2228 font-size: 2em; 2159 2229 } 2230 .guideline #content h2:first-child { 2231 margin-top: 0; 2232 padding-top: .5em; 2233 } 2160 2234 .guideline h3 { 2161 2235 margin-top: 2em; … … 2168 2242 padding: 2px .5em; 2169 2243 } 2244 .guideline #main-menu ul { 2245 margin: 0; 2246 padding: 0; 2247 font-weight: normal; 2248 } 2249 .guideline #main-menu li { 2250 padding-left: 1em; 2251 } 2170 2252 /* ------------------------------------------------------------------------------------ 2171 2253 CLASSES … … 2331 2413 font-variant: small-caps; 2332 2414 } 2415 .index li {margin-bottom: 3px;} 2333 2416 .index a { 2334 2417 font-weight: bold; … … 2513 2596 UN POIL DE MEDIA QUERIES 2514 2597 ------------------------------------------------------------------------------------ */ 2515 @media screen and (max-width: 1000px) { 2598 @media screen and (min-width: 117em) { 2599 body { 2600 border: 1px solid #ccc; 2601 border-top-width: 0; 2602 } 2603 } 2604 @media screen and (min-width: 80em) { 2605 html { 2606 background: #fff; 2607 } 2608 body { 2609 max-width: 140em; 2610 margin: 0 auto; 2611 } 2612 #wrapper { 2613 background: #F7F7F7 url(bg_wrapper.png) repeat-y 18em; 2614 } 2615 #main { 2616 margin-left: -17em; 2617 } 2618 #content { 2619 margin: 0 0 0 17em; 2620 } 2621 #main-menu { 2622 width: 17em; 2623 } 2624 #collapser { 2625 left: 17em; 2626 } 2627 h1 { 2628 width: 19.5em; 2629 } 2630 } 2631 @media screen and (max-width: 61em) { 2516 2632 #top-info-blog #switchblog { 2517 2633 max-width: 16em; … … 2520 2636 margin-left: 2em; 2521 2637 } 2522 }2523 @media screen and (max-width: 960px) {2524 2638 #header { 2525 2639 display: block; … … 2561 2675 } 2562 2676 } 2563 @media screen and (max-width: 700px) { 2677 @media screen and (max-width: 48em) { 2678 #dashboard-boxes .box.medium, .box.medium, 2679 #dashboard-boxes .box.small, .box.small, 2680 #dashboard-boxes .box.large, .box.large { 2681 width: 95%; 2682 margin: 10px auto; 2683 } 2684 } 2685 @media screen and (max-width: 44em) { 2564 2686 #help-button { 2565 2687 height: 26px; … … 2568 2690 padding: 0; 2569 2691 margin: 0; 2570 font-size: 10px; 2571 font-size: 1rem; 2692 font-size: .83em; 2572 2693 line-height: 68px; 2573 2694 overflow: hidden; … … 2576 2697 top: 77px; 2577 2698 } 2578 .one-box, .two-boxes, . two-boxes.odd, .two-boxes.even, .box,2699 .one-box, .two-boxes, .box, 2579 2700 .two-cols .col { 2580 width: 100%;2701 width: 96%; 2581 2702 margin-left: 0; 2582 2703 margin-right: 0; 2583 2704 } 2705 #entry-wrapper { 2706 float: none; 2707 width: 100%; 2708 margin-right: 0; 2709 } 2710 #entry-content { 2711 margin-right: 0; 2712 margin-left: 0; 2713 } 2714 #entry-sidebar { 2715 width: 100%; 2716 float: none; 2717 } 2584 2718 } 2585 @media screen and (max-width: 600px) {2719 @media screen and (max-width: 38em) { 2586 2720 #header h1, #header h1 a { 2587 2721 width: 42px !important; … … 2589 2723 } 2590 2724 h1 a:link { 2591 background: transparent url(dc_logos/b-dotclear120.png) no-repeat - 180px 6px;2725 background: transparent url(dc_logos/b-dotclear120.png) no-repeat -270px 6px; 2592 2726 border-right: 1px solid #ccc; 2593 2727 } 2594 2728 h1 a:hover, h1 a:focus { 2595 background: url(dc_logos/b-dotclear120.png) no-repeat - 180px -94px;2729 background: url(dc_logos/b-dotclear120.png) no-repeat -270px -94px; 2596 2730 border-right: 1px solid #A2CBE9; 2597 2731 } … … 2601 2735 width: 100%; 2602 2736 margin: 0; 2737 } 2738 #dashboard-main { 2739 padding: 0; 2603 2740 } 2604 2741 #main-menu a { … … 2617 2754 } 2618 2755 #main #content > h2 { 2619 margin: 0 ;2620 padding: 6px 30px 6px 0;2621 } 2622 #dashboard-boxes .box.medium, 2623 #dashboard-boxes .box.small, 2624 #dashboard-boxes .box.large {2625 width: 100%;2756 margin: 0 -.5em 1em; 2757 padding: 6px 30px 4px .5em; 2758 } 2759 #dashboard-boxes .box.medium, .box.medium, 2760 #dashboard-boxes .box.small, .box.small, 2761 #dashboard-boxes .box.large, .box.large { 2762 width: 95%; 2626 2763 margin: 10px auto; 2627 2764 } 2765 .cell, #filters-form .cell { 2766 display: inline-block; 2767 border: none; 2768 padding: 1em; 2769 vertical-align: bottom; 2770 } 2628 2771 } 2629 @media screen and (max-width: 420px) {2772 @media screen and (max-width: 26.5em) { 2630 2773 h1, h1 a { 2631 2774 padding: 0; … … 2642 2785 margin-bottom: .5em; 2643 2786 } 2787 #wrapper { 2788 font-size: 1.4em; 2789 } 2790 #content.with-help #help-button { 2791 top: 120px; 2792 right: 20.5em; 2793 } 2794 #content.with-help #help { 2795 font-size: 12px; 2796 } 2797 p.top-add { 2798 margin-bottom: .5em; 2799 text-align: center; 2800 } 2801 .multi-part { 2802 padding-left: 0; 2803 } 2804 .part-tabs ul { 2805 margin: 1em 0; 2806 padding: 0 .5em; 2807 } 2808 .part-tabs li a { 2809 display: block; 2810 width: 100%; 2811 } 2644 2812 #icons p { 2645 width: 150px; 2646 } 2647 #content.with-help #help-button { 2648 top: 101px; 2813 width: 9em; 2814 padding: 1em .25em; 2815 } 2816 .media-item { 2817 width: 90%; 2818 } 2819 #theme-new, #theme-activate, #theme-deactivate { 2820 margin-left: 0; 2821 margin-right: 0; 2822 } 2823 .box.current-theme { 2824 margin: 5px; 2825 padding: 10px; 2826 width: 100%; 2827 } 2828 .current-theme .module-sshot img { 2829 margin: 0; 2830 float: none; 2831 max-width: 100%; 2832 } 2833 table .maximal { 2834 min-width: 14em; 2835 } 2836 th, td { 2837 padding: 0.3em 1em 0.3em 0; 2649 2838 } 2650 2839 }
Note: See TracChangeset
for help on using the changeset viewer.