🚀 RELEASE: 2020 Revamp

Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
2020-05-09 22:15:53 +01:00
parent 3d9513dbe7
commit 906e557d65
198 changed files with 49195 additions and 11405 deletions

View File

@ -0,0 +1,32 @@
// stylelint-disable declaration-no-important
// Common values
@each $position in $positions {
.position-#{$position} { position: $position !important; }
}
// Shorthand
.fixed-top {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: $zindex-fixed;
}
.fixed-bottom {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: $zindex-fixed;
}
.sticky-top {
@supports (position: sticky) {
position: sticky;
top: 0;
z-index: $zindex-sticky;
}
}