Skip to content

Commit 1535380

Browse files
authored
Add files via upload
1 parent 9c114a5 commit 1535380

File tree

5 files changed

+531
-263
lines changed

5 files changed

+531
-263
lines changed

css/lightweightpopup.css

Lines changed: 74 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,90 +1,93 @@
1-
*{
2-
box-sizing:border-box;
1+
* {
2+
box-sizing: border-box;
33
}
4-
.lwp-overlay{
5-
background:rgba(0,0,0,0.9);
6-
padding:5px;
7-
margin:0px auto;
8-
position:fixed;
9-
top:0;
10-
width:100%;
11-
height:100%;
12-
z-index:1070;
13-
overflow-x:hidden;
14-
overflow-y:auto;
15-
}
16-
.lwp{
17-
z-index:1072;
18-
position:absolute;
19-
left:0px;
20-
right:0;
21-
top:0;
22-
bottom:0px;
23-
margin:0px auto;
24-
height:100vh;
4+
5+
.lwp-overlay {
6+
background: rgba(0, 0, 0, 0.9);
7+
padding: 5px;
8+
margin: 0px auto;
9+
position: fixed;
10+
top: 0;
11+
width: 100%;
12+
height: 100%;
13+
z-index: 1070;
14+
overflow-x: hidden;
15+
overflow-y: auto;
2516
}
26-
.lwp .loading{
27-
text-align:center;
28-
color:#FFF;
17+
18+
.lwp {
19+
z-index: 1072;
20+
position: absolute;
21+
left: 0px;
22+
right: 0;
23+
top: 0;
24+
bottom: 0px;
25+
margin: 0px auto;
26+
height: fit-content;
2927
}
30-
.lwp .loading .text{
31-
color:#444;
28+
29+
.lwp .loading {
30+
text-align: center;
31+
color: #FFF;
3232
}
33-
.lwp #lwp{
34-
margin:0px auto;
35-
background:#FFF;
36-
border:5px solid #000;
37-
overflow-x:hidden;
38-
overflow-y:hidden;
39-
border-radius:5px;
40-
position:relative;
33+
34+
.lwp .loading .text {
35+
color: #444;
4136
}
42-
.lwp .lwpIframe{
43-
width: 100%;
44-
height: 100%;
45-
min-height: 100%;
46-
display: block;
47-
border: 0;
48-
padding: 0;
49-
margin: 0;
37+
38+
.lwp #lwp {
39+
margin: 0px auto;
40+
background: #FFF;
41+
border: 5px solid #000;
42+
overflow-x: hidden;
43+
overflow-y: hidden;
44+
border-radius: 5px;
45+
position: relative;
5046
}
51-
.lwp #lwpHead{
52-
display:grid;
53-
align-items:center;
47+
48+
.lwp #lwpHead {
49+
display: grid;
50+
align-items: center;
5451
grid-template-columns: 1fr 50px;
55-
border-bottom: 1px solid #ddd;
52+
border-bottom: 1px solid #ddd;
5653
}
5754

58-
.lwp #lwpHead .title{
59-
font-weight: bold;
60-
padding:10px;
55+
.lwp #lwpHead .title {
56+
font-weight: bold;
57+
padding: 10px;
6158
}
6259

63-
.lwp #lwpHead .close{
60+
.lwp #lwpHead .close {
6461
color: #fff;
65-
font-size: 25px;
66-
text-align:right;
67-
cursor: pointer;
68-
background: #000;
69-
padding:10px;
62+
font-size: 25px;
63+
text-align: right;
64+
cursor: pointer;
65+
background: #000;
66+
padding: 10px;
7067
}
71-
.lwp #lwpHead .close span{
68+
69+
.lwp #lwpHead .close span {
7270
position: relative;
73-
left: -4px;
74-
top: -5px;
75-
}
76-
.lwp #lwpBody{
77-
overflow:auto;
71+
left: -4px;
72+
top: -5px;
7873
}
79-
.lwp #lwpClose{
80-
float:right;
74+
75+
.lwp #lwpBody {
76+
overflow: auto;
8177
}
82-
.lwp .clear{
83-
clear:both;
78+
79+
.lwp #lwpClose {
80+
float: right;
8481
}
85-
.lwp-inline{
86-
display:none;
82+
83+
.lwp .clear {
84+
clear: both;
8785
}
88-
.lwp-hidden{
89-
overflow:hidden;
86+
87+
.lwp-inline {
88+
display: none;
9089
}
90+
91+
.lwp-hidden {
92+
overflow: hidden;
93+
}

css/lightweightpopup.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)