This repository has been archived by the owner on Apr 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup-styles.css
101 lines (86 loc) · 1.42 KB
/
popup-styles.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
91
92
93
94
95
96
97
98
99
100
101
* {box-sizing: border-box;}
.popup-outer {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
background: rgba(0,0,0,0.5);
display: none;
}
.popup-outer.active {
display: block;
}
.popup-outer.active .popup-inner {
display: block !important;
}
.popup-inner {
background: #FFF;
width: 500px;
margin-left: -250px;
max-height: 80%;
min-height: 300px;
left: 50%;
top: 10%;
position: absolute;
padding: 20px;
}
.popup-inner .popup-close {
position: absolute;
right: 10px;
top: 10px;
background: #999;
border: none;
color: #FFF;
font-weight: bold;
cursor: pointer;
}
.popup-inner .popup-close:hover {
background: #333;
}
.animated {
-webkit-animation-duration: 300ms;
animation-duration: 300ms;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
@-webkit-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fadeIn {
-webkit-animation-name: fadeIn;
animation-name: fadeIn;
}
@-webkit-keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.fadeOut {
-webkit-animation-name: fadeOut;
animation-name: fadeOut;
}