Changes between Version 2 and Version 3 of DeveloperGuidelines/Themes/SCSS


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

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Themes/SCSS

    v2 v3  
    1515Only 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).
    1616
    17 === Style sheet inclusion in layout.html ===
     17=== Adding Foundation to layout.html ===
    1818
    19 The inclusion of {{{normalize.css}}} and {{{foundation.css}}} resp. {{{foundation.rtl.css}}} is encoded in a view template {{{views/foundation.css.html}}}, so it can easily be added to {{{layout.html}}}.
    20 
    21 For Foundation-based themes, the CSS style sheets are included in {{{layout.html}}} by the following sequence in the {{{<head>}}}:
     19The sequence to include Foundation base styles, consisting of {{{normalize.css}}} and {{{foundation.css}}} resp. {{{foundation.rtl.css}}}, is encoded in a view template {{{views/foundation.css.html}}}, so it can easily be added to {{{layout.html}}}:
    2220
    2321{{{
     
    3937}}}
    4038
     39Additionally, Foundation requires loading and initialization of some JavaScript scripts, at the end of the {{{<body>}}}. The corresponding sequence is also included in a view template {{{views/foundation.js.html}}}, so it can easily be added to {{{layout.html}}}:
     40
     41{{{
     42...
     43{{include "foundation.js.html"}}
     44</body>
     45</html>
     46}}}