Dotclear


Ignore:
Timestamp:
08/27/13 14:09:21 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Adding 3 styles to manage displaying or not elements with or without javascript. Documentation will be updated today or tomorrow for everybody use.
Apply it to categories page.
Translations in french.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r1594 r1599  
    113113abbr { 
    114114     cursor: help; 
    115 } 
    116  
    117 .no-js .js-hidden { 
    118         display: block; 
    119 } 
    120 .no-js .no-js-hidden { 
    121         display: none; 
    122 } 
    123 .js-hidden { 
    124         display: none; 
    125115} 
    126116 
     
    11871177     vertical-align: middle; 
    11881178} 
    1189 /* Si quelque chose a besoin d'être caché sauf pour les revues d'écran */ 
    1190 .hidden { 
    1191     position: absolute !important; 
    1192     clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 
    1193     clip: rect(1px, 1px, 1px, 1px); 
    1194     padding: 0 !important; 
    1195     border: 0 !important; 
    1196     height: 1px !important; 
    1197     width: 1px !important; 
    1198     overflow: hidden; 
    1199     } 
     1179 
    12001180.clear { 
    12011181     clear: both; 
     
    12071187     height: 1px; 
    12081188     font-size: 1px; 
    1209 } 
    1210 .hide { 
    1211      display: none; 
    12121189} 
    12131190.right { 
     
    12511228     margin-top: -1em; 
    12521229} 
     1230 
    12531231/* TABLES 
    12541232-------------------------------------------------------- */ 
     
    16221600} 
    16231601.button.add { 
    1624      background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9dce2c), color-stop(1, #8cb82b) ); 
    1625      background:-moz-linear-gradient( center top, #9dce2c 5%, #8cb82b 100% ); 
    1626      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9dce2c', endColorstr='#8cb82b'); 
    1627      background-color:#9dce2c; 
    1628      border:1px solid #83c41a; 
     1602     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #BBDB58), color-stop(1, #9AC123) ); 
     1603     background:-moz-linear-gradient( center top, #BBDB58 5%, #9AC123 100% ); 
     1604     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#BBDB58', endColorstr='#9AC123'); 
     1605     background-color:#BBDB58; 
     1606     border:1px solid #B2D742; 
    16291607     padding:.5em 1.5em; 
    16301608     color: #000; 
    1631      text-shadow: 1px 1px 0 #BBDB58; 
     1609     text-shadow:1px 1px 0px #98cf40; 
    16321610     font-weight: normal; 
    16331611     font-size: 14px; /* ie < 9 sucks */ 
     
    16351613} 
    16361614.button.add:hover, .button.add:active, .button.add:focus { 
    1637      background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8cb82b), color-stop(1, #9dce2c) ); 
    1638      background:-moz-linear-gradient( center top, #8cb82b 5%, #9dce2c 100% ); 
    1639      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8cb82b', endColorstr='#9dce2c'); 
    1640      background-color:#8cb82b; 
    1641      border:1px solid #83c41a; 
     1615     background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9AC123), color-stop(1, #BBDB58) ); 
     1616     background:-moz-linear-gradient( center top, #9AC123 5%, #BBDB58 100% ); 
     1617     filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9AC123', endColorstr='#BBDB58'); 
     1618     background-color:#9AC123; 
    16421619} 
    16431620.button-add:focus { 
     
    17871764     background: #0c0; 
    17881765     width: 150px; 
     1766} 
     1767/* ------------------------------------------------------------- cachotteries */ 
     1768/* caché pour tout le monde */ 
     1769.hide { 
     1770     display: none; 
     1771} 
     1772/* Caché sauf pour les revues d'écran */ 
     1773.hidden { 
     1774    position: absolute !important; 
     1775    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 
     1776    clip: rect(1px, 1px, 1px, 1px); 
     1777    padding: 0 !important; 
     1778    border: 0 !important; 
     1779    height: 1px !important; 
     1780    width: 1px !important; 
     1781    overflow: hidden; 
     1782    } 
     1783/* caché si js est inactif */ 
     1784.no-js .hidden-if-no-js { 
     1785        display: none; 
     1786} 
     1787/* montré si js est inactif */ 
     1788.no-js .hidden-if-js { 
     1789     display: block; 
     1790} 
     1791/* caché si js est actif */ 
     1792.hidden-if-js { 
     1793        display: none; 
    17891794} 
    17901795 
Note: See TracChangeset for help on using the changeset viewer.

Sites map