]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Adjust .switch to only apply to div tags 1893/head
authorShaun <simshaun@gmail.com>
Thu, 14 Mar 2013 02:14:07 +0000 (23:14 -0300)
committerShaun <simshaun@gmail.com>
Thu, 14 Mar 2013 02:14:07 +0000 (23:14 -0300)
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.

scss/foundation/components/_switch.scss

index d70e7659541ae053875b74bdc18a93542b910237..468ddb818df65f44abdd23e3510c8ca97cefc9cb 100644 (file)
@@ -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
+}