$tabbar-menu-icon-text-indent: rem-calc(35) !default;
$tabbar-menu-icon-width: $tabbar-height !default;
$tabbar-menu-icon-height: $tabbar-height !default;
-$tabbar-menu-icon-line-height: rem-calc(33) !default;
$tabbar-menu-icon-padding: 0 !default;
$tabbar-hamburger-icon-width: rem-calc(16) !default;
// Transition Variabls
$menu-slide: "transform 500ms ease" !default;
```
-{{/markdown}}
\ No newline at end of file
+{{/markdown}}
// $tabbar-menu-icon-text-indent: rem-calc(35);
// $tabbar-menu-icon-width: $tabbar-height;
// $tabbar-menu-icon-height: $tabbar-height;
-// $tabbar-menu-icon-line-height: rem-calc(33);
// $tabbar-menu-icon-padding: 0;
// $tabbar-hamburger-icon-width: rem-calc(16);
// @mixins
//
-// We use this to optionally include experimental or
+// We use this to optionally include experimental or
// explicitly vendor prefixed properties
@mixin experimental() {
@if $experimental {
// $hover-color - icon color during hover
// $offcanvas - Set to true of @include in offcanvas
@mixin hamburger($width, $left, $top, $thickness, $gap, $color, $hover-color, $offcanvas) {
- span:after {
- content: '';
+ span::after {
+ content: "";
position: absolute;
display: block;
height: 0;
-
+
@if $offcanvas {
@if $top {
top: $top;
left: ($tabbar-menu-icon-width - $width)/2;
}
}
-
+ @else {
+ top: 50%;
+ margin-top: -$width/2;
+ #{$opposite-direction}: $topbar-link-padding;
+ }
+
box-shadow:
0 0px 0 $thickness $color,
0 $gap + $thickness 0 $thickness $color,
// Meta styles are included in all builds, as they are a dependancy of the Javascript.
// Used to provide media query values for javascript components.
// Forward slash placed around everything to convince PhantomJS to read the value.
-
+
meta.foundation-version {
font-family: "/5.2.3/";
}
-
+
meta.foundation-mq-small {
font-family: "/" + unquote($small-up) + "/";
width: lower-bound($small-range);
$tabbar-menu-icon-text-indent: rem-calc(35) !default;
$tabbar-menu-icon-width: $tabbar-height !default;
$tabbar-menu-icon-height: $tabbar-height !default;
-$tabbar-menu-icon-line-height: rem-calc(33) !default;
$tabbar-menu-icon-padding: 0 !default;
$tabbar-hamburger-icon-width: rem-calc(16) !default;
width: $tabbar-height;
height: $tabbar-height;
display: block;
- line-height: $tabbar-menu-icon-line-height;
padding: $tabbar-menu-icon-padding;
color: $tabbar-menu-icon-color;
position: relative;
// Adding the class "menu-icon" will add the 3-line icon people love and adore.
&.menu-icon {
- #{$opposite-direction}: $topbar-link-padding;
top: 50%;
margin-top: -16px;
- padding-#{$default-float}: 40px;
a {
@if $text-direction == rtl {
}
height: 34px;
line-height: 33px;
- padding: 0;
+ padding: 0 $topbar-link-padding+25 0 $topbar-link-padding;
color: $topbar-menu-link-color;
position: relative;
- &::after {
+ & {
// @include hamburger icon
//
// We use this to create the icon with three lines aka the hamburger icon, the menu-icon or the navicon
// $color - icon color
// $hover-color - icon color during hover, here it is set the same as $color because the values are changed on line 264
// $offcanvas - Set to false of @include in topbar
- @include hamburger(16px, false, 0, 1px, 6px, $topbar-menu-icon-color, $topbar-menu-icon-color, false );
- #{$opposite-direction}: 0;
+ @include hamburger(16px, false, 0, 1px, 6px, $topbar-menu-icon-color, $topbar-menu-icon-color, false);
}
}
}