Dotclear


Ignore:
Timestamp:
09/08/13 12:05:23 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Children:
1756:820ded7ce747, 1823:6dea7b458fb9
Message:

Layouts: detour du three-cols, améliorations des one- two- three- boxes.
Compléments sur _charte.html.

Location:
admin/style
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r1748 r1749  
    8484          margin-right: 0; 
    8585          } 
     86/* -------------------------------------------------------------- layout: three-cols */ 
     87.three-cols { 
     88     position: static; 
     89     } 
     90     .three-cols .col {  
     91          width: 32.3%;  
     92          float: left;  
     93          margin-left: 1%;  
     94          }  
     95     .three-cols .col:first-child {  
     96          width: 33.3%;  
     97          margin-left: 0;  
     98          } 
    8699/* ------------------------------------------------- layout: optionnal one/two-boxes */ 
     100.one-box, .two-boxes, .three-boxes, .box { 
     101     margin-bottom: 1em; 
     102     } 
    87103.one-box { 
    88      text-align: center; 
    89      width: 100%; 
    90      } 
    91      .one-box .box { 
    92           display: inline-block; 
    93           vertical-align: top; 
    94           padding-right: 3%;  
    95           text-align: left; 
    96           } 
     104     text-align: justify; 
     105     } 
    97106.two-boxes { 
    98107     width: 47%; 
     
    119128          margin-right: 0; 
    120129          } 
    121 /* boîtes intérieures */ 
     130/* boîtes intérieures distribuées horizontalement */ 
    122131.box { 
    123      margin-bottom: 2em; 
     132     display: inline-block; 
     133     vertical-align: top; 
     134     margin-right: 3%;  
     135     text-align: left; 
     136     } 
     137.box:last-child { 
     138     margin-right: 0; 
    124139     } 
    125140/* ---------------------------------------------------------------- layout: popups */ 
     
    624639     text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) 
    625640     } 
     641div.warn, div.warning, div.info { 
     642     padding: 1em 1em .33em 1em; 
     643     } 
    626644     .warn, .warning { 
    627645          background: #FEFACD url(msg-warning.png) no-repeat .3em .3em; 
     
    16201638     border: 1px solid #A8DC26; 
    16211639     padding: 1em 2em 
    1622      } 
    1623      #my-favs ul { 
    1624           list-style-type: none; 
    1625           margin-left: 0; 
    1626           padding-left: 0; 
    1627           line-height: 1.2; 
    1628           } 
    1629           #my-favs li { 
    1630                display: block; 
    1631                float: left; 
    1632                width: 164px; 
    1633                margin-top: 1em; 
    1634                margin-bottom: 1.5em; 
    1635                } 
    1636      #my-favs label { 
    1637           height: 2.5em; 
    1638           width:140px; 
    1639           margin-top:.3em; 
    1640           } 
    1641           #my-favs label input { 
    1642                display:inline; 
    1643                } 
    1644      #my-favs img { 
    1645           display: block; 
    1646           } 
    1647      #my-favs input.position { 
    1648           margin: 0 0 .4em .2em; 
    1649           } 
    1650      #available-favs input, #available-favs label, #available-favs label span { 
    1651           white-space: normal; 
    1652           display: inline; 
    1653           } 
    1654           #default-favs h3 { 
    1655                margin-top: 2em; 
    1656                margin-bottom: 1em; 
    1657                } 
    1658           .fav-list { 
    1659                list-style-type: none; 
    1660                margin-left: 0; 
    1661                padding-left: 0; 
    1662                } 
    1663                .fav-list li { 
    1664                     line-height: 2; 
    1665                     margin-left: 0; 
    1666                     padding-left: 0; 
    1667                     position: relative; 
    1668                     } 
    1669                .fav-list img { 
    1670                     vertical-align: middle; 
    1671                     margin-right: .2em; 
    1672                } 
    1673      #available-favs label span.zoom { 
    1674           display: none; 
    1675           } 
    1676      #available-favs li:hover label span.zoom { 
    1677           display: block; 
    1678           position: absolute; 
    1679           bottom: 0; 
    1680           left: 10em; 
    1681           background-color: #f7f7f7; 
    1682           border: 1px solid #ddd; 
    1683           padding: .2em; 
    1684           border-radius: .5em; 
    1685           } 
     1640} 
     1641#my-favs ul { 
     1642     list-style-type: none; 
     1643     margin-left: 0; 
     1644     padding-left: 0; 
     1645     line-height: 1.2; 
     1646} 
     1647#my-favs li { 
     1648     display: block; 
     1649     float: left; 
     1650     width: 164px; 
     1651     margin-top: 1em; 
     1652     margin-bottom: 1.5em; 
     1653} 
     1654#my-favs label {height: 2.5em;width:140px;margin-top:.3em;} 
     1655#my-favs label input {display:inline;} 
     1656#my-favs img { 
     1657     display: block; 
     1658} 
     1659#my-favs input.position { 
     1660     margin: 0 0 .4em .2em; 
     1661} 
     1662#available-favs input, #available-favs label, #available-favs label span { 
     1663     white-space: normal; 
     1664     display: inline; 
     1665} 
     1666#default-favs h3 { 
     1667     margin-top: 2em; 
     1668     margin-bottom: 1em; 
     1669} 
     1670.fav-list { 
     1671     list-style-type: none; 
     1672     margin-left: 0; 
     1673     padding-left: 0; 
     1674} 
     1675.fav-list li { 
     1676     line-height: 2; 
     1677     margin-left: 0; 
     1678     padding-left: 0; 
     1679     position: relative; 
     1680} 
     1681.fav-list img { 
     1682     vertical-align: middle; 
     1683     margin-right: .2em; 
     1684} 
     1685#available-favs label span.zoom { 
     1686     display: none; 
     1687} 
     1688#available-favs li:hover label span.zoom { 
     1689     display: block; 
     1690     position: absolute; 
     1691     bottom: 0; 
     1692     left: 10em; 
     1693     background-color: #f7f7f7; 
     1694     border: 1px solid #ddd; 
     1695     padding: .2em; 
     1696     border-radius: .5em; 
     1697} 
    16861698#user-options label.ib { 
    16871699     display: inline-block; 
     
    18581870          color: #333; 
    18591871          } 
    1860 .right { 
     1872.right, .txt-right { 
    18611873     text-align: right; 
    18621874     } 
    18631875.txt-center { 
    18641876     text-align: center; 
     1877     } 
     1878.txt-left { 
     1879     text-align: left; 
    18651880     } 
    18661881.no-margin, label.no-margin { 
     
    19741989          #info-box1 select { width: 140px; width: 14rem; } 
    19751990     #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content,  
    1976      .two-cols .col, .two-cols .col:first-child, .boxes { 
     1991     .col, .col30, .col70 { 
    19771992          display:block !important; 
    1978      width: 98%; 
    1979      margin:0 auto; 
     1993     width: 98% !important; 
     1994     margin:0 auto !important; 
    19801995     padding:0; 
    19811996     float:none; 
     
    20012016          overflow: hidden; 
    20022017          } 
     2018     .one-box, .two-boxes, .three-boxes { 
     2019          width: 100%; 
     2020          margin-left: 0; 
     2021          margin-right: 0;  
     2022          } 
    20032023     } 
    20042024@media screen and (max-width: 492px) { 
  • admin/style/jsToolBar/jsToolBar.css

    r1741 r1749  
    1313     width: 100%; 
    1414     padding: .5em 0 0 0; 
     15     min-height: 100px; 
    1516} 
    1617.jstHandle { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map