-
Notifications
You must be signed in to change notification settings - Fork 0
/
lightweightpopup.css
90 lines (88 loc) · 1.34 KB
/
lightweightpopup.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
*{
box-sizing:border-box;
}
.lwp-overlay{
background:rgba(0,0,0,0.9);
padding:5px;
margin:0px auto;
position:fixed;
top:0;
width:100%;
height:100%;
z-index:1070;
overflow-x:hidden;
overflow-y:auto;
}
.lwp{
z-index:1072;
position:absolute;
left:0px;
right:0;
top:0;
bottom:0px;
margin:0px auto;
height:0px;
}
.lwp .loading{
text-align:center;
color:#FFF;
}
.lwp .loading .text{
color:#444;
}
.lwp #lwp{
margin:0px auto;
background:#FFF;
border:5px solid #000;
overflow-x:hidden;
overflow-y:hidden;
border-radius:5px;
position:relative;
}
.lwp .lwpIframe{
width: 100%;
height: 100%;
min-height: 100%;
display: block;
border: 0;
padding: 0;
margin: 0;
}
.lwp #lwpHead{
display:grid;
align-items:center;
grid-template-columns: 1fr 50px;
border-bottom: 1px solid #ddd;
}
.lwp #lwpHead .title{
font-weight: bold;
padding:10px;
}
.lwp #lwpHead .close{
color: #fff;
font-size: 25px;
text-align:right;
cursor: pointer;
background: #000;
padding:10px;
}
.lwp #lwpHead .close span{
position: relative;
left: -4px;
top: -5px;
}
.lwp #lwpBody{
overflow:auto;
}
.lwp #lwpClose{
float:right;
}
.lwp .clear{
clear:both;
}
.lwp-inline{
display:none;
}
.lwp-hidden{
overflow:hidden;
}