-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
87 lines (78 loc) · 1.26 KB
/
popup.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
[data-key="backgroundCover"] {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.popup-top {
border: 1px solid darkgrey;
padding: 0;
width: 100%;
height: 0;
top: 0px;
left: 0px;
transition: 0.3s;
z-index: 2;
}
.popup-bottom {
border: 1px solid darkgrey;
padding: 0;
width: 100%;
height: 0;
bottom: 0px;
left: 0px;
transition: 0.3s;
z-index: 2;
}
.popup-right {
border: 1px solid darkgrey;
padding: 0;
width: 0;
height: 100%;
right: 0px;
transition: 0.3s;
z-index: 2;
}
.popup-left {
border: 1px solid darkgrey;
padding: 0;
width: 0;
height: 100%;
left: 0px;
transition: 0.3s;
z-index: 2;
}
.popup-center {
border: 1px solid darkgrey;
padding: 0;
width: 0;
height: 0;
left: 50%;
transform: translateX(-50%);
transition: 0.3s;
z-index: 2;
}
[data-key="popupContent"] {
width: 100%;
height: 100%;
}
[data-key="popupTopBar"] {
display: flex;
justify-content: flex-end;
padding: 5px;
}
[data-key="popupTopBar"] > svg {
cursor: pointer;
}
[data-key="popupBody"] {
width: calc(100% - 10px);
height: calc(100% - 40px);
margin: 0 5px 0 5px;
display: flex;
flex-direction: column;
justify-content: flex-start;
overflow-x: hidden;
overflow-y: auto;
}