Changeset 2351:8fee74237ff5 for admin/style/default.css
- Timestamp:
- 10/13/13 18:22:40 (12 years ago)
- Branch:
- 2.6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r2345 r2351 1574 1574 } 1575 1575 /* ------------------------------------------------------------------- blog_theme.php */ 1576 /* pour les alignements verticaux */ 1577 #theme-new, #theme-activate, #theme-deactivate { 1578 margin-left: -10px; 1579 margin-right: -10px; 1580 } 1576 1581 .box.theme { 1577 margin: .5em;1582 margin: 5px; 1578 1583 padding: 10px 10px 5px 10px; 1579 1584 border: 1px solid #dfdfdf; 1580 min-height: 275px;1581 1585 position: relative; 1582 1586 } … … 1584 1588 background: #ecf0f1 url(texture.png); 1585 1589 } 1586 #theme-new .box.theme {1587 width: 260px;1588 }1589 #theme-activate .box.theme {1590 min-height: 300px;1591 }1592 #theme-deactivate .box.theme {1593 min-height: 90px;1594 }1595 #theme-deactivate .box.theme:hover {1596 background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right;1597 }1598 1590 .module-name { 1599 1591 margin-bottom: .5em; … … 1602 1594 text-align: center; 1603 1595 } 1604 .with-js .module-sshot:hover {1605 cursor: pointer;1606 }1607 .current-theme .module-sshot:hover {1608 cursor: auto;1609 }1610 1596 .module-sshot img { 1611 padding: .5em;1597 padding: 5px; 1612 1598 background: #f7f7f7; 1613 1599 box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 1614 1600 border: 3px solid #fff; 1615 padding: .5em; 1616 } 1617 .theme .module-sshot img { 1618 max-width: 260px; /* pour ceux qui n'ont pas de miniature */ 1619 } 1620 #theme-new .theme .module-sshot img { 1621 max-width: 240px; /* pour ceux qui n'ont pas de miniature */ 1601 } 1602 .module-actions { 1603 margin-top: 1em; 1604 } 1605 .bloc-toggler { 1606 text-align: right; 1607 } 1608 .bloc-toggler img { 1609 opacity: .4; 1610 } 1611 .bloc-toggler img:hover { 1612 opacity: 1; 1613 } 1614 .bloc-toggler a:focus img { 1615 opacity: 1; 1616 } 1617 span.module-version:before { 1618 content: "- "; 1619 } 1620 .toggle-bloc .mod-more { 1621 display: block; 1622 margin-left: 0; 1623 } 1624 .box.theme input { 1625 margin-bottom: 1em; 1626 } 1627 /** 1628 Les screenshots des thèmes ont deux tailles possibles : 1629 - dans Ajouter des thèmes : 240px (+ 10 padding image + 20 padding boîte + 6 bordure + 2 ombrage = 278) 1630 - dans Thèmes installés : 280px (+ 10 padding-image + 20 padding-boîte + 2 ombrage = 318) 1631 On adapte largeur et hauteur en fonction 1632 */ 1633 #theme-new .box.theme { /* Ajouter un thème */ 1634 width: 278px; 1635 min-height: 275px; 1636 } 1637 #theme-new .module-sshot img { /* Pour ceux qui n'ont pas de miniature on contraint l'image */ 1638 max-width: 240px; 1622 1639 max-height: 210px; 1623 1640 overflow: hidden; 1624 1641 } 1625 .module-actions { 1626 margin-top: 1em; 1627 } 1628 .bloc-toggler { 1629 text-align: right; 1630 } 1631 .bloc-toggler img { 1632 opacity: .4; 1633 } 1634 .bloc-toggler img:hover { 1635 opacity: 1; 1636 } 1637 .bloc-toggler a:focus img { 1638 opacity: 1; 1639 } 1640 span.module-version:before { 1641 content: "- "; 1642 } 1642 #theme-deactivate .box.theme { /* Thèmes désactivés */ 1643 width: 278px; 1644 } 1645 #theme-activate .box.theme { /* Thèmes installés */ 1646 width: 318px; 1647 min-height: 304px; 1648 } 1649 #theme-deactivate .box.theme:hover { 1650 background: transparent url(dc_logos/sq-logo-32.png) no-repeat top right; 1651 } 1652 /* si js est là, les infos viennent par dessus le screenshot */ 1643 1653 .with-js #theme-new .module-infos.toggle-bloc, 1644 1654 .with-js #theme-new .module-actions.toggle-bloc { 1645 1655 position: absolute; 1646 top: 128px;1647 1656 left: 10px; 1648 1657 width: 239px; 1658 margin: 0; 1649 1659 padding: 10px; 1650 1660 background: rgba(250, 250, 250, .95); … … 1658 1668 top: 208px; 1659 1669 height: 40px; 1660 margin: 0;1661 1670 border-bottom: 1px solid #e3e3e3; 1662 background: rgba(250, 250, 250, .95); 1663 } 1664 .toggle-bloc .mod-more { 1665 display: block; 1666 margin-left: 0; 1667 } 1668 .box.current-theme { 1669 width: 652px; 1670 margin: .5em; 1671 padding: 20px 18px 10px; 1671 } 1672 .with-js .module-sshot:hover { 1673 cursor: pointer; 1674 } 1675 /* mise en forme pour la boîte du thème courant */ 1676 .box.current-theme { /* Thème courant */ 1677 width: 646px; 1678 margin: 5px; 1679 padding: 20px 18px 6px; 1672 1680 background: #fff url(texture.png); 1673 1681 border: 1px solid #eee; 1674 1682 border-radius: .5em; 1675 min-height: 3 00px;1683 min-height: 326px; 1676 1684 box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 1685 position: relative; 1686 } 1687 .current-theme .module-sshot:hover { 1688 cursor: auto; 1677 1689 } 1678 1690 .current-theme .module-sshot img { 1679 1691 float: left; 1680 1692 margin-right: 2em; 1681 margin-bottom: 1em; 1682 border: 3px solid #fff; 1683 padding: .5em; 1693 border: 9px solid #fff; 1694 padding: 5px; 1684 1695 } 1685 1696 .current-theme .module-name { 1686 1697 color: #D33800; 1687 font-size: 1.33em; 1688 } 1689 .box.theme input { 1698 font-size: 1.5em; 1690 1699 margin-bottom: 1em; 1691 1700 } … … 1693 1702 width: auto; 1694 1703 overflow: hidden; 1695 padding-top: 3em;1704 padding-top: 2em; 1696 1705 margin: 1.5em 0 2em; 1697 1706 background: transparent url(../images/minus-theme.png) no-repeat left top; 1707 } 1708 .current-theme .actions-buttons { 1709 position: absolute; 1710 bottom: 0; 1711 right: 18px; 1698 1712 } 1699 1713 /* ------------------------------------------------------------------ categories.php */ … … 2194 2208 padding: 2px .5em; 2195 2209 } 2210 .guideline #main-menu ul { 2211 margin: 0; 2212 padding: 0; 2213 font-weight: normal; 2214 } 2215 .guideline #main-menu li { 2216 padding-left: 1em; 2217 } 2196 2218 /* ------------------------------------------------------------------------------------ 2197 2219 CLASSES
Note: See TracChangeset
for help on using the changeset viewer.