From: Даниил Пронин Date: Wed, 25 Jun 2014 08:13:17 +0000 (+1100) Subject: do not print `.icon-bar` if `$include-html-form-classes` is `false` X-Git-Tag: v5.3.1~17^2^2~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5374%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git do not print `.icon-bar` if `$include-html-form-classes` is `false` --- 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 +}