refactor: rename --switcher-offet CSS variable to --offset-sides
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
--container-width: #{$container-width};
|
--container-width: #{$container-width};
|
||||||
|
|
||||||
// Offsets
|
// Offsets
|
||||||
--switcher-offset: 16px;
|
--offset-sides: 16px;
|
||||||
|
|
||||||
// Animation
|
// Animation
|
||||||
--ease-quart: cubic-bezier(.165, .84, .44, 1);
|
--ease-quart: cubic-bezier(.165, .84, .44, 1);
|
||||||
@@ -12,6 +12,6 @@
|
|||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
// Offsets
|
// Offsets
|
||||||
--switcher-offset: clamp(20px, 3vw, 40px);
|
--offset-sides: clamp(20px, 3vw, 40px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
$shadow-color: rgba(0, 0, 0, 0.05);
|
$shadow-color: rgba(0, 0, 0, 0.05);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
bottom: var(--switcher-offset);
|
bottom: var(--offset-sides);
|
||||||
left: var(--switcher-offset);
|
left: var(--offset-sides);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
@include bp (md) {
|
@include bp (md) {
|
||||||
|
|||||||
Reference in New Issue
Block a user