-
Notifications
You must be signed in to change notification settings - Fork 0
/
popbox.css
71 lines (67 loc) · 1.17 KB
/
popbox.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* <body> overlays to disable the content scrolling */
.popbox-no-overflow {
overflow: hidden !important;
outline: none;
}
.popbox-no-overflow.popbox-fixed {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-y: scroll!important;
}
.popbox {
display: none;
}
.popbox .dimmer {
position: fixed;
z-index: 999;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 0;
margin: 0;
background:rgba(37,37,37,.5); /*#252525*/
}
.popbox .modal {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
padding: 0;
overflow-y: auto;
z-index: 999;
}
.popbox .outgap {
margin: 5% auto 0 auto;
max-width: 550px;
min-height: 110px;
padding: 1em;
outline: 0;
}
.popbox .workarea {
position: relative;
padding: 1em;
background-color: #fafafa;
border-radius: 12px;
box-shadow: 0px 10px 30px rgba(0,0,0,.3);
}
.popbox .close-x {
background-color: rgba(255,255,255,.8);
border: 3px solid #999;
border-radius: 50px;
cursor: pointer;
display: inline-block;
font-family: arial;
font-weight: bold;
position: absolute;
top: -15px;
right: -15px;
font-size: 25px;
width: 30px;
height: 30px;
text-align: center;
}