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/_layout.scss

    r3513 r3763  
    77 
    88#header { 
     9  color: $header-color; 
     10  background: $header-background; 
     11  border-bottom: 4px solid $header-border; 
    912     width: 99.99%; 
    1013     /* Bugfix Chrome >= 49.0.2623.108 */ 
     
    2427 
    2528#wrapper { 
     29  background: $wrapper-background url(bg_wrapper.png) repeat-y 14em; 
    2630     position: relative; 
    2731     padding-top: 1.5em; 
     
    4448 
    4549#content { 
     50  background: $content-background; 
    4651     margin: 0 0 0 14em; 
    4752     padding: .5em 1.5em .75em 2.5em; 
     
    4954 
    5055#main-menu { 
     56  background: $main-menu-background; 
    5157     width: 14em; 
    5258     float: left; 
     
    5864 
    5965#footer { 
     66  background-color: $footer-background; 
     67  border-top: 1px solid $footer-border; 
    6068     clear: both; 
    6169     position: relative; 
     
    6876 
    6977#collapser { 
     78  background: $collapser-background; 
    7079     position: absolute; 
    7180     top: 0; 
     
    7584     overflow: hidden; 
    7685     display: block; 
    77      border-right: 0; // 1px solid #999; 
     86     border-right: 0; 
    7887     border-bottom: 0; 
    7988     z-index: 1; 
    8089     transition: none; 
     90  &:hover, 
     91  &:focus { 
     92    background: $collapser-focus; 
     93  } 
     94  .hide-mm & { 
     95    background: $collapser-focus; 
     96    &:hover, 
     97    &:focus { 
     98      background: $collapser-background; 
     99    } 
     100  } 
    81101} 
    82102 
     
    110130          display: block; 
    111131     } 
     132} 
     133 
     134#wrapper.hide-mm { 
     135  background: $content-background; 
    112136} 
    113137 
     
    206230.popup { 
    207231     h1 { 
     232    color: $popup-title-color; 
     233    background: $popup-title-background; 
    208234          display: block; 
    209235          width: 100%; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map