source:
Application/ocrent/wwwroot/lib/bootstrap/scss/mixins/_backdrop.scss
Last change on this file was f5f7c24, checked in by , 15 months ago | |
---|---|
|
|
File size: 328 bytes |
Rev | Line | |
---|---|---|
[f5f7c24] | 1 | // Shared between modals and offcanvases |
2 | @mixin overlay-backdrop($zindex, $backdrop-bg, $backdrop-opacity) { | |
3 | position: fixed; | |
4 | top: 0; | |
5 | left: 0; | |
6 | z-index: $zindex; | |
7 | width: 100vw; | |
8 | height: 100vh; | |
9 | background-color: $backdrop-bg; | |
10 | ||
11 | // Fade for backdrop | |
12 | &.fade { opacity: 0; } | |
13 | &.show { opacity: $backdrop-opacity; } | |
14 | } |
Note:
See TracBrowser
for help on using the repository browser.