From 491082e65cea4da28e2fbc8ecf944fc5003e49a1 Mon Sep 17 00:00:00 2001 From: Johnny Magrippis Date: Sat, 1 Nov 2014 15:50:34 +0200 Subject: [PATCH] Active state styling Actually makes use of the $icon-bar-active-color variable to set the background when an "active" class is added to the anchor, akin to what happens with the :hover pseudoclass. --- scss/foundation/components/_icon-bar.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scss/foundation/components/_icon-bar.scss b/scss/foundation/components/_icon-bar.scss index 8f5d6a7e3..8ed083ca9 100644 --- a/scss/foundation/components/_icon-bar.scss +++ b/scss/foundation/components/_icon-bar.scss @@ -179,6 +179,15 @@ $icon-bar-item-padding: 1.25rem !default; label { color: $bar-font-color-hover; } + i { color: $bar-icon-color-hover; } + } + + & > a.active { + + background: $bar-active-color; + + label { color: $bar-font-color-hover; } + i { color: $bar-icon-color-hover; } } } -- 2.47.2