-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoverlay.css
54 lines (54 loc) · 1.15 KB
/
overlay.css
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
.overlay {
display: block !important;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
position: fixed;
padding: 20px;
left: 50%;
top: 60px;
transform: translate(-50%, 0);
width: 98%;
min-height: 100px;
max-height: calc(98% - 60px);
z-index: 999;
overflow: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
background-color: #ffffff;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 6px;
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
background-clip: padding-box;
}
.overlay-close {
cursor: pointer;
position: absolute;
top: 10px;
right: 10px;
min-width: 40px;
text-align: center;
border: 0;
background: rgba(255, 255, 255, 0.8);
color: black;
font-weight: 500;
font-size: 18px;
line-height: 12px;
padding: 12px 15px;
border: 1px solid #e5e5e5;
border-radius: 5px;
}
button.overlay-close:hover {
border: 1px solid #b2b2b2;
}
.overlay-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 900;
background-color: #000000;
opacity: 0.8;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}