Changes between Version 5 and Version 6 of DeveloperGuidelines/Themes/SCSS


Ignore:
Timestamp:
07/05/18 11:30:33 (6 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Themes/SCSS

    v5 v6  
    66=== Necessary Style Sheets ===
    77
    8 Foundation-based themes consist of four SCSS-built stylesheets:
     8==== Foundation ====
     9
     10Foundation-based themes must include the '''Foundation base stylesheets''':
    911
    1012 - static/themes/foundation/normalize.css
    1113 - static/themes/THEME/foundation/foundation.css
    1214 - static/themes/THEME/foundation/foundation.rtl.css
    13  - static/themes/THEME/theme.css
    1415
    15 Only one of {{{foundation.css}}} or {{{foundation.rtl.css}}} is loaded, depending on the writing direction for the current UI language (Left-To-Right or Right-To-Left).
     16These base styles must be loaded before all other Sahana style sheets.
    1617
     18Note that only one of {{{foundation.css}}} or {{{foundation.rtl.css}}} is loaded, depending on the writing direction for the current UI language (Left-To-Right or Right-To-Left).
     19
     20==== Theme ====
     21
     22The SCSS-built {{{theme.css}}} style sheet is included at the end of {{{css.cfg}}}:
     23
     24{{{
     25...
     26../themes/THEME/theme.css
     27#../themes/THEME/style.css
     28# Final line required for parsing
     29}}}
     30
     31It can be followed by an optional {{{THEME/style.css}}} with additional, theme-specific CSS and final overrides. The {{{THEME/style.css}}} is not built from SCSS, so it can be edited directly.
    1732=== Adding Foundation to layout.html ===
    1833