]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
update
authorzurbchris <chris@zurb.com>
Thu, 28 Feb 2013 19:36:39 +0000 (11:36 -0800)
committerzurbchris <chris@zurb.com>
Thu, 28 Feb 2013 19:36:39 +0000 (11:36 -0800)
scss/foundation/components/_magellan.scss
scss/foundation/components/_reveal.scss
scss/foundation/components/_switch.scss

index 68a44f99ceffe4fd4c5bdbe154622186e7384061..0e5676c17d083f551e52a940902090fb127cd1ec 100644 (file)
@@ -1,6 +1,3 @@
-
-
-
 @if $include-html-classes {
 
   [data-magellan-expedition] {
index 1efdb22e7d354f452ecbe95531bd1b40ed201ac7..3149a88988b4c73e02ac4335288066b5d2ffa3de 100644 (file)
@@ -99,31 +99,33 @@ $reveal-border-color:    #666 !default;
   cursor: pointer;
 }
 
-// Reveal Modals
-.reveal-modal-bg { @include reveal-bg; }
+@if $include-html-classes {
+  // Reveal Modals
+  .reveal-modal-bg { @include reveal-bg; }
 
-.reveal-modal {
-  @include reveal-modal-base;
-  @include reveal-modal-style;
+  .reveal-modal {
+    @include reveal-modal-base;
+    @include reveal-modal-style;
 
-  .close-reveal-modal { @include reveal-close; }
-}
+    .close-reveal-modal { @include reveal-close; }
+  }
 
-// Large Screen Styles
-@media #{$small} {
+  // Large Screen Styles
+  @media #{$small} {
 
-  .reveal-modal {
-    @include reveal-modal-style(false, emCalc(30px), false, $box-shadow: false, $top-offset: emCalc(100px));
+    .reveal-modal {
+      @include reveal-modal-style(false, emCalc(30px), false, $box-shadow: false, $top-offset: emCalc(100px));
 
-    &.small  { @include reveal-modal-base(false, 30%); }
-    &.medium { @include reveal-modal-base(false, 40%); }
-    &.large  { @include reveal-modal-base(false, 60%); }
-    &.xlarge { @include reveal-modal-base(false, 70%); }
-    &.expand { @include reveal-modal-base(false, 95%); }
+      &.small  { @include reveal-modal-base(false, 30%); }
+      &.medium { @include reveal-modal-base(false, 40%); }
+      &.large  { @include reveal-modal-base(false, 60%); }
+      &.xlarge { @include reveal-modal-base(false, 70%); }
+      &.expand { @include reveal-modal-base(false, 95%); }
+    }
   }
-}
 
-// Reveal Print Styles
-@media print {
-  div:not(.reveal-modal) { display: none; }
-}
+  // Reveal Print Styles
+  @media print {
+    div:not(.reveal-modal) { display: none; }
+  }
+}
\ No newline at end of file
index c169ad197f8f627efc0ebf1ee476baf22a0564be..ba71f2ba4918a2f9fce3155e75079098ec218e79 100644 (file)
@@ -205,36 +205,38 @@ $switch-label-outline:            1px dotted #888 !default;
   @include switch-style($paddle-bg, $positive-color, $negative-color, $radius, $base-style);
 }
 
+@if $include-html-classes {
 
-/* Foundation Switches */
-@media only screen {
+  /* Foundation Switches */
+  @media only screen {
 
-  // Containing element for the radio switch
-  .switch {
-    @include switch;
+    // Containing element for the radio switch
+    .switch {
+      @include switch;
 
-    // Large radio switches
-    &.large { @include switch-size($switch-height-lrg, $switch-font-size-lrg); }
+      // Large radio switches
+      &.large { @include switch-size($switch-height-lrg, $switch-font-size-lrg); }
 
-    // Small radio switches
-    &.small { @include switch-size($switch-height-sml, $switch-font-size-sml, 2.1em); }
+      // Small radio switches
+      &.small { @include switch-size($switch-height-sml, $switch-font-size-sml, 2.1em); }
 
-    // Tiny radio switches
-    &.tiny { @include switch-size($switch-height-tny, $switch-font-size-tny, 1.9em); }
+      // Tiny radio switches
+      &.tiny { @include switch-size($switch-height-tny, $switch-font-size-tny, 1.9em); }
 
-    // Add a radius to the switch
-    &.radius { @include radius(4px);
-      & > span { @include radius(3px); }
-    }
+      // Add a radius to the switch
+      &.radius { @include radius(4px);
+        & > span { @include radius(3px); }
+      }
 
-    // Make the switch completely round, like a pill
-    &.round { @include radius(1000px);
-      & > span { @include radius(999px); }
-      label { padding: 0 emCalc($switch-label-side-padding + 3px); }
-    }
+      // Make the switch completely round, like a pill
+      &.round { @include radius(1000px);
+        & > span { @include radius(999px); }
+        label { padding: 0 emCalc($switch-label-side-padding + 3px); }
+      }
 
-  }
+    }
 
-  @-webkit-keyframes webkitSiblingBugfix { from { position: relative; } to { position: relative; } }
+    @-webkit-keyframes webkitSiblingBugfix { from { position: relative; } to { position: relative; } }
 
+  }
 }
\ No newline at end of file