From 58b8cf981a62255e3d16eac8f68546f3eec050fc Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Thu, 30 Mar 2017 13:54:10 +0300 Subject: [PATCH] Housekeeping for navigation module Variables moved, added a hidden flag for an old fix that was in the header logo. --- docs/v2/DEVLOG.md | 2 + src/flavors/mini-default.scss | 110 +++++++++++++++------------------- src/flavors/mini-sucroa.scss | 104 ++++++++++++++------------------ src/mini/_navigation.scss | 42 ++++++------- 4 files changed, 115 insertions(+), 143 deletions(-) diff --git a/docs/v2/DEVLOG.md b/docs/v2/DEVLOG.md index a9020de..707408e 100644 --- a/docs/v2/DEVLOG.md +++ b/docs/v2/DEVLOG.md @@ -894,3 +894,5 @@ - Updated `grid` by moving variable definitions and defaults to the top of the module. - Updated flavor files, dealing with indentation and readability. +- Updated `navigation` by moving variable definitions and defaults. Added **hidden flag** `$header-colorize-svgs` for a hacky fix that was there before (just in case). +- Updated flavor files, made most multiline comments up to `navigation` into single line comments in order to make the flavor files shorter while maintining readability. diff --git a/src/flavors/mini-default.scss b/src/flavors/mini-default.scss index 2c346fb..6e9a0b1 100644 --- a/src/flavors/mini-default.scss +++ b/src/flavors/mini-default.scss @@ -16,8 +16,7 @@ $base-root-font-size: 16px; // Root font sizing for all elements [1] $base-font-size: 1em; // Default font sizing for all elements [2] $base-line-height: 1.5; // Default line height for all elements. $body-margin: 0; // Margin for the body -$apply-defaults-to-all: true; // Should default values be applied to all - // elements? (`true` or `false`) [3] +$apply-defaults-to-all: true; // Should default values be applied to all elements? (`true` or `false`) [3] $h1-font-size: 2em; // Font size of h1 $h2-font-size: 1.5em; // Font size for h2 $h3-font-size: 1.25em; // Font size for h3 @@ -28,8 +27,7 @@ $heading-line-height: 1.2em; // Line height for all headings $heading-margin: 12px 8px; // Margin for all headings $heading-font-weight: 500; // Font weight for all headings $heading-smalltext-fore-color: #424242; // color in headings -$make-heading-smalltext-block: true; // Should elements in headings - // be displayed as blocks (`true`/`false`) [4] +$make-heading-smalltext-block: true; // Should elements in headings be displayed as blocks (`true`/`false`) [4] $heading-smalltext-b-font-size: 75%; // Font size of block elements in headings $heading-smalltext-b-top-margin:-4px; // Top margin of block elements in headings $paragraph-margin: 1px 8px; // Margin for

elements @@ -38,10 +36,8 @@ $list-left-padding: 28px; // Left padding for

    and