From 60f374a9b7ee3c6d2f541360819d58ca7ee3525a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=B8=D0=BB=20=D0=9F=D1=80=D0=BE?= =?utf8?q?=D0=BD=D0=B8=D0=BD?= Date: Wed, 25 Jun 2014 19:13:17 +1100 Subject: [PATCH] do not print `.icon-bar` if `$include-html-form-classes` is `false` --- scss/foundation/components/_icon-bar.scss | 48 ++++++++++++----------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/scss/foundation/components/_icon-bar.scss b/scss/foundation/components/_icon-bar.scss index 2a7fc3369..77b6a5328 100644 --- a/scss/foundation/components/_icon-bar.scss +++ b/scss/foundation/components/_icon-bar.scss @@ -199,31 +199,33 @@ $icon-bar-item-padding: 1.25rem !default; } } +@if $include-html-form-classes { -/* toolbar styles */ + // toolbar styles -.icon-bar { + .icon-bar { - // Counts + // Counts - &.two-up { - .item { width: 50%; } - &.vertical .item { width: auto; } - } - &.three-up { - .item { width: 33.3333%; } - &.vertical .item { width: auto; } - } - &.four-up { - .item { width: 25%; } - &.vertical .item { width: auto; } - } - &.five-up { - .item { width: 20%; } - &.vertical .item { width: auto; } - } - &.six-up { - .item { width: 16.66667%; } - &.vertical .item { width: auto; } + &.two-up { + .item { width: 50%; } + &.vertical .item { width: auto; } + } + &.three-up { + .item { width: 33.3333%; } + &.vertical .item { width: auto; } + } + &.four-up { + .item { width: 25%; } + &.vertical .item { width: auto; } + } + &.five-up { + .item { width: 20%; } + &.vertical .item { width: auto; } + } + &.six-up { + .item { width: 16.66667%; } + &.vertical .item { width: auto; } + } } -} \ No newline at end of file +} -- 2.47.2