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

    r3468 r3763  
    1212     margin: 5px; 
    1313     padding: 10px 10px 5px 10px; 
    14      border: 1px solid #dfdfdf; 
     14     border: 1px solid $theme-box-border; 
    1515     position: relative; 
    1616     &:hover { 
    17           background: #ecf0f1 url(texture.png); 
     17          background: $theme-box-over url(texture.png); 
    1818     } 
    1919     input { 
     
    2525.module-name label { 
    2626     margin-bottom: .5em; 
    27      color: #676e78; 
     27     color: $theme-name-color; 
    2828} 
    2929 
     
    3232     img { 
    3333          padding: 5px; 
    34           background: #f7f7f7; 
    35           box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 
    36           border: 3px solid #fff; 
     34          background: $theme-img-background; 
     35          box-shadow: 1px 1px 2px $theme-img-shadow; 
     36          border: 3px solid $theme-img-border; 
    3737          max-width: 100%; 
    3838     } 
     
    117117          margin: 0; 
    118118          padding: 10px; 
    119           background: rgba(250, 250, 250, .95); 
     119          background: $theme-action-background; 
    120120     } 
    121121     .module-infos.toggle-bloc { 
    122122          top: 128px; 
    123123          height: 80px; 
    124           border-top: 1px solid #e3e3e3; 
     124          border-top: 1px solid $theme-action-border; 
    125125     } 
    126126     .module-actions.toggle-bloc { 
    127127          top: 208px; 
    128128          height: 40px; 
    129           border-bottom: 1px solid #e3e3e3; 
     129          border-bottom: 1px solid $theme-action-border; 
    130130     } 
    131131} 
     
    143143     margin: 5px; 
    144144     padding: 20px 18px 6px; 
    145      background: #fff url(texture.png); 
    146      border: 1px solid #eee; 
     145     background: $theme-current-background url(texture.png); 
     146     border: 1px solid $theme-current-border; 
    147147     border-radius: .5em; 
    148148     min-height: 326px; 
    149      box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); 
     149     box-shadow: 1px 1px 2px $theme-current-shadow; 
    150150     position: relative; 
    151151     .module-sshot:hover { 
     
    155155          float: left; 
    156156          margin-right: 2em; 
    157           border: 9px solid #fff; 
     157          border: 9px solid $theme-current-img-border; 
    158158          padding: 5px; 
    159159          max-width: 308px; 
     
    161161     } 
    162162     .module-name { 
    163           color: #D33800; 
     163          color: $theme-current-name-color; 
    164164          font-size: 1.5em; 
    165165          margin-bottom: 1em; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map