From 94a912b768d7b054571b39e1279ed42c2b8432de Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Thu, 30 Mar 2017 14:27:22 +0300 Subject: [PATCH] Housekeeping for input control module Split file into mixins, moved variables, updated hidden flags and cleaned up flavor files. --- docs/v2/DEVLOG.md | 4 + src/flavors/mini-default.scss | 178 +++++++++++++-------------- src/flavors/mini-sucroa.scss | 180 +++++++++++++--------------- src/mini/_input_control.scss | 131 +++++++------------- src/mini/_input_control_mixins.scss | 55 +++++++++ src/mini/_navigation.scss | 85 ++++++------- 6 files changed, 314 insertions(+), 319 deletions(-) create mode 100644 src/mini/_input_control_mixins.scss diff --git a/docs/v2/DEVLOG.md b/docs/v2/DEVLOG.md index 707408e..0ba5639 100644 --- a/docs/v2/DEVLOG.md +++ b/docs/v2/DEVLOG.md @@ -896,3 +896,7 @@ - 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. +- Added an extra **hidden flag** in `navigation` under `$include-nav-styles` to make sure that `nav` elements can be removed from flavors (possibly not present in the `barebones` flavor). +- Updated `input_control`, splitting into main file and mixins file. Added **hidden flag** `$hide-check-and-radio` and standardized existing one (`$input-high-specificity-selectors`). +- Cleanup and housekeeping for readability in flavor files for updated `input_control`. +- *TODO* Make class naming rules more consistent in module defaults - meaning add all class naming defaults to the very top of all modules, saving time and space when simplified flavors kick in. diff --git a/src/flavors/mini-default.scss b/src/flavors/mini-default.scss index 6e9a0b1..b43c57a 100644 --- a/src/flavors/mini-default.scss +++ b/src/flavors/mini-default.scss @@ -198,105 +198,97 @@ $footer-sticky-name: 'sticky'; // Class name for sticky