diff options
author | Matt Rude <[email protected]> | 2018-02-03 21:08:46 -0600 |
---|---|---|
committer | Matt Rude <[email protected]> | 2018-02-03 21:08:46 -0600 |
commit | c5c60729062cc3d89be7447b5d330367417aa6f7 (patch) | |
tree | 74330b48908247623f48b01420d833c7feb3fab7 /assets/node_modules/bootstrap/scss/utilities/_position.scss | |
parent | 0c0cde3923440b2d293549c7e430a38082cc0457 (diff) | |
download | xmpp-site-lite-c5c60729062cc3d89be7447b5d330367417aa6f7.tar.gz xmpp-site-lite-c5c60729062cc3d89be7447b5d330367417aa6f7.tar.bz2 xmpp-site-lite-c5c60729062cc3d89be7447b5d330367417aa6f7.zip |
Update
Diffstat (limited to 'assets/node_modules/bootstrap/scss/utilities/_position.scss')
-rw-r--r-- | assets/node_modules/bootstrap/scss/utilities/_position.scss | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/assets/node_modules/bootstrap/scss/utilities/_position.scss b/assets/node_modules/bootstrap/scss/utilities/_position.scss new file mode 100644 index 0000000..ef962ed --- /dev/null +++ b/assets/node_modules/bootstrap/scss/utilities/_position.scss @@ -0,0 +1,36 @@ +// stylelint-disable declaration-no-important + +// Common values + +// Sass list not in variables since it's not intended for customization. +$positions: static, relative, absolute, fixed, sticky; + +@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; + } +} |