/// @type Map
$offcanvas-sizes: (
small: 250px,
- medium: 350px,
+ medium: 250px,
) !default;
/// Height map of a top/bottom off-canvas panel.
/// @type Map
$offcanvas-vertical-sizes: (
small: 250px,
- medium: 350px,
+ medium: 250px,
) !default;
/// Background color of an off-canvas panel.
&.is-overlay-absolute {
position: absolute;
}
-
+
&.is-overlay-fixed {
position: fixed;
}
transform: translateX(-$size);
}
}
-
+
// Sets the position for nested off-canvas element
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
transform: translateX($size);
}
}
-
+
// Sets the position for nested off-canvas element
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
transform: translateY(-$size);
}
}
-
+
// Sets the position for nested off-canvas element
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
@each $name, $size in $sizes {
transform: translateY($size);
}
}
-
+
// Sets the position for nested off-canvas element
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
@each $name, $size in $sizes {
@else if $position == bottom {
@include inner-side-shadow(top, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
}
- }
+ }
}
}