vendor/assets/stylesheets/foundation/components/_global.scss in foundation-rails-5.1.0.1 vs vendor/assets/stylesheets/foundation/components/_global.scss in foundation-rails-5.1.1.0
- old
+ new
@@ -5,14 +5,10 @@
// Data attribute namespace
// styles get applied to [data-mysite-plugin], etc
$namespace: false !default;
-meta.foundation-data-attribute-namespace {
- font-family: #{$namespace};
-}
-
$experimental: true !default;
// The default font-size is set to 100% of the browser style sheet (usually 16px)
// for compatibility with browser-based text zoom or user-set defaults.
@@ -22,13 +18,10 @@
$base-font-size: 100% !default;
// $base-line-height is 24px while $base-font-size is 16px
$base-line-height: 150% !default;
-// Must be 100% for off cavas to work
-html, body { height: 100%; }
-
//
// Global Foundation Mixins
//
// @mixins
@@ -290,9 +283,16 @@
meta.foundation-mq-xxlarge {
font-family: "/" + unquote($xxlarge-up) + "/";
width: lower-bound($xxlarge-range);
}
+
+ meta.foundation-data-attribute-namespace {
+ font-family: #{$namespace};
+ }
+
+ // Must be 100% for off canvas to work
+ html, body { height: 100%; }
@if $include-html-global-classes {
// Set box-sizing globally to handle padding and border widths
*,