From e6746925442bb0b2828af17db57e247aad86d88c Mon Sep 17 00:00:00 2001 From: Marco Biedermann Date: Sat, 7 Feb 2015 17:01:40 +0100 Subject: [PATCH] @mixin coding style --- scss/foundation/_functions.scss | 1 + scss/foundation/components/_range-slider.scss | 2 ++ 2 files changed, 3 insertions(+) diff --git a/scss/foundation/_functions.scss b/scss/foundation/_functions.scss index 6f0c46fbc..60c7e01b7 100644 --- a/scss/foundation/_functions.scss +++ b/scss/foundation/_functions.scss @@ -8,6 +8,7 @@ $rem-base: 16px !default; // IMPORT ONCE // We use this to prevent styles from being loaded multiple times for components that rely on other components. $modules: () !default; + @mixin exports($name) { // Import from global scope $modules: $modules !global; diff --git a/scss/foundation/components/_range-slider.scss b/scss/foundation/components/_range-slider.scss index 1acc3ae6b..513fd303b 100644 --- a/scss/foundation/components/_range-slider.scss +++ b/scss/foundation/components/_range-slider.scss @@ -102,6 +102,7 @@ $range-slider-disabled-cursor: $cursor-disabled-value !default; -ms-touch-action: manipulation; touch-action: manipulation; } + @mixin range-slider-handle-style( $bg: true, $radius: false, @@ -118,6 +119,7 @@ $range-slider-disabled-cursor: $cursor-disabled-value !default; background: $range-slider-handle-bg-hover-color; } } + @mixin range-slider-handle() { @include range-slider-handle-base; @include range-slider-handle-style; -- 2.47.2