Changes between Version 2 and Version 3 of DeveloperGuidelines/Themes/SCSS
- Timestamp:
- 07/05/18 11:20:16 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Themes/SCSS
v2 v3 15 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). 16 16 17 === Style sheet inclusion inlayout.html ===17 === Adding Foundation to layout.html === 18 18 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>}}}: 19 The 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}}}: 22 20 23 21 {{{ … … 39 37 }}} 40 38 39 Additionally, 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 }}}