Dotclear


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

CSS : sous-menu pour les groupes de pages.

Modèle de source à placer directement après le h2 :

<ul class="pseudo-tabs">

<li><a href="#">Page 1</a></li>
<li><a href="#">Autre faux onglet</a></li>
<li><a href="#" class="active">Truc item 3 actif</a></li>
<li><a href="#">Liste 4</a></li>

</ul>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r2354 r2358  
    1616*/ 
    1717/* --------------------------------------------------------------------------- 
     18                                                                                          START 
     19---------------------------------------------------------------------------- */ 
     20html { 
     21     font-size: 62.5%; 
     22     } 
     23body { 
     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/* --------------------------------------------------------------------------- 
    1832                                                                                     LAYOUTS 
    1933---------------------------------------------------------------------------- */ 
     
    128142     } 
    129143.two-cols .col:first-child, 
    130      .two-cols .col30.first-col { 
     144.two-cols .col30.first-col { 
    131145     margin-left: 0; 
    132146     margin-right: 2%; 
    133147     } 
    134148.two-cols .col:last-child, 
    135      .two-cols .col70.last-col { 
     149.two-cols .col70.last-col { 
    136150     margin-left: 2%; 
    137151     margin-right: 0; 
     
    150164     } 
    151165.three-cols .col:first-child { 
    152      width: 33.3%; 
    153166     margin-left: 0; 
    154167     } 
     
    273286                                                                                     HTML TAGS 
    274287---------------------------------------------------------------------------- */ 
    275 html { 
    276      font-size: 62.5%; 
    277      } 
    278288body { 
    279      font-size: 12px; /* ie < 9 sucks */ 
    280      font-size: 1.2rem; 
    281      line-height: 1.5; 
    282      font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    283289     color: #333; 
    284290     background: #fff; 
    285      margin: 0; 
    286      padding: 0; 
    287291     } 
    288292/* ------------------------------------------------------------------ titres */ 
     
    424428     white-space: pre; 
    425429     white-space: -moz-pre-wrap; 
    426      white-space: -hp-pre-wrap; 
    427      white-space: -o-pre-wrap; 
    428      white-space: -pre-wrap; 
    429430     white-space: pre-wrap; 
    430431     white-space: pre-line; 
     
    11171118     padding-left: 1em; 
    11181119     } 
     1120.pseudo-tabs { 
     1121     margin: -.75em 0 2em 0; 
     1122     border-bottom: 1px solid #bbb; 
     1123     display: table; 
     1124     width: 100%; 
     1125     padding: 0; 
     1126     line-height: 24px; 
     1127     border-collapse: collapse; 
     1128     } 
     1129.pseudo-tabs li { 
     1130     display: table-cell; 
     1131     border-width: 0 1px; 
     1132     border-style: solid; 
     1133     border-color: #ccc; 
     1134     padding: 0; 
     1135     margin: 0; 
     1136     text-align: center; 
     1137     } 
     1138.pseudo-tabs a { 
     1139     display: block; 
     1140     font-weight: bold; 
     1141     padding: 0 24px; 
     1142     border-bottom: none; 
     1143     } 
     1144.pseudo-tabs a:hover, .pseudo-tabs a:focus { 
     1145     background-color: #ecf0f1; 
     1146     color: #333; 
     1147     } 
     1148.pseudo-tabs a.active { 
     1149     background-color: #ecf0f1; 
     1150     color: #d30e60; 
     1151     } 
    11191152/* contextual help */ 
    11201153#help { 
     
    14221455/* ------------------------------------------------------------------------- index.php */ 
    14231456#dashboard-main { 
    1424      padding: 1em 0; 
     1457     padding: 1em; 
    14251458     } 
    14261459/* raccourcis */ 
     
    14651498/* billet rapide */ 
    14661499#quick { 
    1467      margin-top: 1em; 
    1468      padding-top: 1em; 
     1500     padding: 1em; 
     1501     max-width: 1000px; 
     1502     margin: 0 auto; 
     1503     background: #f5f5f5; 
     1504     box-shadow: 0 1px 2px rgba(0, 0, 0, .2); 
    14691505     } 
    14701506#quick h3 { 
     
    14931529/* modules additionnels */ 
    14941530#dashboard-boxes { 
    1495      margin: 2em auto 1em; 
     1531     margin: 1em auto 1em; 
    14961532     padding-top: 2em; 
    14971533     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map