From: Shaun Date: Thu, 14 Mar 2013 02:14:07 +0000 (-0300) Subject: Adjust .switch to only apply to div tags X-Git-Tag: v4.0.6~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1893%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Adjust .switch to only apply to div tags This makes it match [the docs](http://foundation.zurb.com/docs/components/switch.html) and less likely to conflict with 3rd party plugins that utilize the switch class on other tag types. --- diff --git a/scss/foundation/components/_switch.scss b/scss/foundation/components/_switch.scss index d70e76595..468ddb818 100644 --- a/scss/foundation/components/_switch.scss +++ b/scss/foundation/components/_switch.scss @@ -219,7 +219,7 @@ $switch-label-outline: 1px dotted #888 !default; @media only screen { // Containing element for the radio switch - .switch { + div.switch { @include switch; // Large radio switches @@ -247,4 +247,4 @@ $switch-label-outline: 1px dotted #888 !default; @-webkit-keyframes webkitSiblingBugfix { from { position: relative; } to { position: relative; } } } -} \ No newline at end of file +}