Dotclear


Ignore:
Timestamp:
12/04/16 14:23:07 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Prettify scss code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/scss/init/_rebase.scss

    r3365 r3439  
    11/* largeur des paddings et border compris dans "width" */ 
     2 
    23*, 
    34*:before, 
    45*:after { 
    5     box-sizing: border-box; 
    6 } 
     6     box-sizing: border-box; 
     7} 
     8 
    79html { 
    810     font-size: 100%; 
     
    1214     padding: 0; 
    1315} 
     16 
    1417body { 
    15      margin: 0; 
    16      padding: 0; 
    17 } 
    18 a { background: transparent; } 
    19 a:focus { outline: thin dotted; } 
    20 a:active, a:hover { outline: none; } 
    21 a img { border: none; } 
    22 q, cite { 
    23   font-style: italic; 
    24 } 
    25 q:before, q:after { 
    26   content: ""; 
    27 } 
    28 sup, sub { 
     18     margin: 0; 
     19     padding: 0; 
     20} 
     21 
     22a { 
     23     background: transparent; 
     24     &:focus { 
     25          outline: thin dotted; 
     26     } 
     27     &:active, 
     28     &:hover { 
     29          outline: none; 
     30     } 
     31     img { 
     32          border: none; 
     33     } 
     34} 
     35 
     36q, 
     37cite { 
     38     font-style: italic; 
     39} 
     40 
     41q:before, 
     42q:after { 
     43     content: ""; 
     44} 
     45 
     46sup, 
     47sub { 
    2948     font-size: .75em; 
    3049     line-height: 0; 
     
    3251     vertical-align: baseline; 
    3352} 
    34 sup { top: -0.5em; } 
    35 sub { bottom: -0.25em; } 
     53 
     54sup { 
     55     top: -0.5em; 
     56} 
     57 
     58sub { 
     59     bottom: -0.25em; 
     60} 
     61 
    3662abbr[title] { 
    37   border-bottom: 1px dotted; 
    38   cursor: help; 
    39 } 
    40 b, strong { 
    41   font-weight: bold; 
    42   font-size: 0.9375em; 
    43 } 
     63     border-bottom: 1px dotted; 
     64     cursor: help; 
     65} 
     66 
     67b, 
     68strong { 
     69     font-weight: bold; 
     70     font-size: 0.9375em; 
     71} 
     72 
    4473small { 
    4574     font-size: 80%; 
    4675} 
     76 
    4777dfn { 
    4878     font-style: italic; 
    4979} 
     80 
    5081hr { 
    51      -moz-box-sizing: content-box; 
    5282     box-sizing: content-box; 
    5383     height: 0; 
    5484} 
     85 
    5586mark { 
    5687     background: #ff0; 
    5788     color: #000; 
    5889} 
    59 code, kbd, pre, samp { 
     90 
     91code, 
     92kbd, 
     93pre, 
     94samp { 
    6095     font-family: monospace, serif; 
    6196     font-size: 1em; 
    6297} 
     98 
    6399pre { 
    64100     white-space: pre-wrap; 
    65101} 
     102 
    66103fieldset { 
    67104     margin: 0; 
     
    69106     border: none; 
    70107} 
    71 input, button, select { 
     108 
     109input, 
     110button, 
     111select { 
    72112     vertical-align: middle; 
    73113} 
    74 button, input, select, textarea { 
     114 
     115button, 
     116input, 
     117select, 
     118textarea { 
    75119     font-family: inherit; 
    76120     font-size: 100%; 
    77121     margin: 0; 
    78122} 
    79 button, input { 
     123 
     124button, 
     125input { 
    80126     line-height: normal; 
    81127} 
     128 
    82129button, 
    83130html input[type="button"], 
     
    87134     cursor: pointer; 
    88135} 
     136 
    89137button[disabled], 
    90138html input[disabled] { 
    91139     cursor: default; 
    92140} 
     141 
    93142input[type="checkbox"], 
    94143input[type="radio"] { 
     
    96145     border: none; 
    97146} 
     147 
    98148input[type="search"] { 
    99149     -webkit-appearance: textfield; 
    100150} 
     151 
    101152input[type="search"]::-webkit-search-cancel-button, 
    102153input[type="search"]::-webkit-search-decoration { 
    103154     -webkit-appearance: none; 
    104155} 
     156 
    105157button::-moz-focus-inner, 
    106158input::-moz-focus-inner { 
     
    108160     padding: 0; 
    109161} 
     162 
    110163textarea { 
    111164     overflow: auto; 
    112165     vertical-align: top; 
    113166} 
     167 
    114168table { 
    115169     border-collapse: collapse; 
    116170     margin-bottom: 1.5em; 
    117171} 
    118 td, th { 
     172 
     173td, 
     174th { 
    119175     padding: 1px; 
    120176     vertical-align: top; 
    121177     text-align: left; 
    122178} 
    123 td:first-child, th:first-child { 
     179 
     180td:first-child, 
     181th:first-child { 
    124182     empty-cells: hide; 
    125183} 
     184 
     185 
    126186/* scripts */ 
    127 body > script {display: none !important;} 
     187 
     188body > script { 
     189     display: none !important; 
     190} 
     191 
    128192 
    129193/* HTML5 for old browsers */ 
    130 article, aside, details, figcaption, figure, footer, 
    131 header, hgroup, main, nav, section, summary { 
     194 
     195article, 
     196aside, 
     197details, 
     198figcaption, 
     199figure, 
     200footer, 
     201header, 
     202hgroup, 
     203main, 
     204nav, 
     205section, 
     206summary { 
    132207     display: block; 
    133208} 
    134 audio, canvas, video { 
     209 
     210audio, 
     211canvas, 
     212video { 
    135213     display: inline-block; 
    136214} 
     215 
    137216audio:not([controls]) { 
    138217     display: none; 
    139218     height: 0; 
    140219} 
     220 
    141221figure { 
    142222     margin: 0; 
    143223} 
    144 [hidden], template { 
     224 
     225[hidden], 
     226template { 
    145227     display: none; 
    146228} 
     229 
    147230svg:not(:root) { 
    148231     overflow: hidden; 
    149232} 
     233 
     234 
    150235/* Headings reset */ 
    151 h1, h2, h3, h4, h5, h6 { 
     236 
     237h1, 
     238h2, 
     239h3, 
     240h4, 
     241h5, 
     242h6 { 
    152243     font-size: 1em; 
    153244     font-weight: normal; 
     
    155246} 
    156247 
     248 
    157249/* Screen-reader only */ 
     250 
    158251.visually-hidden { 
    159252     @include visually-hidden; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map