Dotclear


Ignore:
Timestamp:
10/13/13 18:22:40 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
2.6
Message:

Ajustements sur la page de gestion des thèmes (suite).
Compléments pour la charte.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r2345 r2351  
    15741574     } 
    15751575/* ------------------------------------------------------------------- blog_theme.php */ 
     1576/* pour les alignements verticaux */ 
     1577#theme-new, #theme-activate, #theme-deactivate { 
     1578     margin-left: -10px; 
     1579     margin-right: -10px; 
     1580     } 
    15761581.box.theme { 
    1577      margin: .5em; 
     1582     margin: 5px; 
    15781583     padding: 10px 10px 5px 10px; 
    15791584     border: 1px solid #dfdfdf; 
    1580      min-height: 275px; 
    15811585     position: relative; 
    15821586     } 
     
    15841588     background: #ecf0f1 url(texture.png); 
    15851589     } 
    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      } 
    15981590.module-name { 
    15991591     margin-bottom: .5em; 
     
    16021594     text-align: center; 
    16031595     } 
    1604 .with-js .module-sshot:hover { 
    1605      cursor: pointer; 
    1606      } 
    1607 .current-theme .module-sshot:hover { 
    1608      cursor: auto; 
    1609      } 
    16101596.module-sshot img { 
    1611      padding: .5em; 
     1597     padding: 5px; 
    16121598     background: #f7f7f7; 
    16131599     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 
    16141600     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     } 
     1617span.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/** 
     1628Les 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) 
     1631On 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; 
    16221639     max-height: 210px; 
    16231640     overflow: hidden; 
    16241641     } 
    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 */ 
    16431653.with-js #theme-new .module-infos.toggle-bloc, 
    16441654.with-js #theme-new .module-actions.toggle-bloc { 
    16451655     position: absolute; 
    1646      top: 128px; 
    16471656     left: 10px; 
    16481657     width: 239px; 
     1658     margin: 0; 
    16491659     padding: 10px; 
    16501660     background: rgba(250, 250, 250, .95); 
     
    16581668     top: 208px; 
    16591669     height: 40px; 
    1660      margin: 0; 
    16611670     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; 
    16721680     background: #fff url(texture.png); 
    16731681     border: 1px solid #eee; 
    16741682     border-radius: .5em; 
    1675      min-height: 300px; 
     1683     min-height: 326px; 
    16761684     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 
     1685     position: relative; 
     1686     } 
     1687.current-theme .module-sshot:hover { 
     1688     cursor: auto; 
    16771689     } 
    16781690.current-theme .module-sshot img { 
    16791691     float: left; 
    16801692     margin-right: 2em; 
    1681      margin-bottom: 1em; 
    1682      border: 3px solid #fff; 
    1683      padding: .5em; 
     1693     border: 9px solid #fff; 
     1694     padding: 5px; 
    16841695     } 
    16851696.current-theme .module-name { 
    16861697     color: #D33800; 
    1687      font-size: 1.33em; 
    1688      } 
    1689 .box.theme input { 
     1698     font-size: 1.5em; 
    16901699     margin-bottom: 1em; 
    16911700     } 
     
    16931702     width: auto; 
    16941703     overflow: hidden; 
    1695      padding-top: 3em; 
     1704     padding-top: 2em; 
    16961705     margin: 1.5em 0 2em; 
    16971706     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; 
    16981712     } 
    16991713/* ------------------------------------------------------------------ categories.php */ 
     
    21942208     padding: 2px .5em; 
    21952209     } 
     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} 
    21962218/* ------------------------------------------------------------------------------------ 
    21972219                                                                                                    CLASSES 
Note: See TracChangeset for help on using the changeset viewer.

Sites map