-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodebit-modal.css
More file actions
61 lines (53 loc) · 1020 Bytes
/
codebit-modal.css
File metadata and controls
61 lines (53 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.has-modal-showing {
overflow-y: hidden;
overflow-x: hidden;
}
.cb-modal-backdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: auto;
opacity: 0;
transition: all 200ms ease-in-out;
}
.cb-modal-backdrop > div {
display: table;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.cb-modal-backdrop > div > div {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.cb-modal {
@padding: 12 px;
color: black;
display: inline-block;
padding: 12px;
background-color: white;
width: 296px;
transition: all 200ms ease-in-out;
opacity: 0;
transform: scale(0.6);
box-shadow: 0 0 38px 0px rgba(0, 0, 0, 0.3);
}
.cb-modal-body {
padding: 8px;
}
.cb-modal-backdrop.show {
background-color: rgba(0, 0, 0, 0.2);
opacity: 1;
}
.cb-modal-backdrop.show .cb-modal {
opacity: 1;
transform: scale(1);
}
.cb-modal-blur {
filter: blur(4px);
}