Dotclear


Ignore:
Timestamp:
06/22/18 16:48:10 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Use sass variables for every color used (mainly foreground, background, border)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/scss/partials/_markup.scss

    r3762 r3763  
    77     padding: 0 1em .5em 1em; 
    88     margin: 0 -1em 1em -1em; 
    9      background: #fff url(bg_h2.png) repeat-x center bottom; 
    10 } 
    11  
    12 h2 a:link, 
    13 h2 a:visited { 
    14      color: #676e78; 
    15      border-color: #000; 
    16 } 
    17  
     9     background: $breadcrumb-background url(bg_h2.png) repeat-x center bottom; 
     10} 
    1811 
    1912/* page courante dans le fil d'ariane */ 
    2013 
    2114.page-title { 
    22      color: #d30e60; 
     15     color: $breadcrumb-current; 
    2316     img { 
    2417          padding-left: .5em; 
     
    3730.fieldset h4, 
    3831.pretty-title { 
    39      color: #D33800; 
     32     color: $fieldset-pretty-title-color; 
    4033     font-size: 1em; 
    4134     font-weight: bold; 
     
    5245     text-transform: uppercase; 
    5346     font-weight: bold; 
    54      color: #333; 
     47     color: $fieldset-smart-title-color; 
    5548} 
    5649 
    5750#entry-sidebar h5 { 
    5851     font-weight: normal; 
    59      color: #333; 
     52     color: $entry-sidebar-title-color; 
    6053} 
    6154 
     
    6760h4 label, 
    6861h5 label { 
    69      color: #333; 
     62     color: $title-label-color; 
    7063} 
    7164 
     
    9992 
    10093caption { 
    101      color: #333; 
     94     color: $table-caption-color; 
    10295     font-weight: bold; 
    10396     text-align: left; 
     
    108101     border-width: 1px 0 1px 0; 
    109102     border-style: solid; 
    110      border-color: #dfdfdf; 
    111      background: #eef1ec; 
     103     border-color: $head-border; 
     104  background: $head-background; 
    112105     padding: .4em 1em .4em .5em; 
    113106     vertical-align: top; 
     
    119112     border-width: 0 0 1px 0; 
    120113     border-style: solid; 
    121      border-color: #e3e3e3; 
     114     border-color: $cell-border; 
    122115     padding: .4em 1em .4em .5em; 
    123116     vertical-align: top; 
     
    134127     height: 1px; 
    135128     border-width: 1px 0 0; 
    136      border-color: #dfdfdf; 
    137      background: #dfdfdf; 
     129     border-color: $hr-color; 
     130     background: $hr-color; 
    138131     border-style: solid; 
    139132     &.clearer { 
     
    149142 
    150143code { 
    151      background: #fefacd; 
     144     background: $code-background; 
    152145} 
    153146 
     
    180173a:link, 
    181174a:visited { 
    182      color: #2373A8; 
     175  color: $link-color; 
    183176     text-decoration: none; 
    184      border-bottom: 1px dotted #999; 
     177     border-bottom: 1px dotted $link-border; 
    185178     background-color: inherit; 
    186179     outline: 0; 
     
    202195 
    203196.discrete a { 
    204      color: #333; 
     197     color: $discrete-link-color; 
    205198} 
    206199 
     
    211204a:focus, 
    212205a:focus img { 
    213      outline: 2px solid #bee74b; 
     206     outline: 2px solid $link-outline; 
    214207     border-bottom: none; 
    215208     text-decoration: none; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map