UNPKG

539 BSCSSView Raw
1@import "mixins/settings.global";
2
3.c-overlay {
4 display: block;
5 position: fixed;
6 top: 0;
7 right: 0;
8 bottom: 0;
9 left: 0;
10 width: 100%;
11 height: 100%;
12 background-color: transparentize($overlay-background-color, .6);
13 opacity: 0;
14 visibility: hidden;
15 z-index: $overlay-z-index;
16}
17
18.c-overlay--visible {
19 opacity: 1;
20 visibility: visible;
21}
22
23.c-overlay--fullpage {
24 position: fixed;
25}
26
27.c-overlay--transparent {
28 background-color: $overlay-transparent-background-color;
29}
30
31.c-overlay--dismissable {
32 cursor: pointer;
33}