Repository navigation
Expand file tree
/
Copy pathpopup.css
More file actions
116 lines (104 loc) · 2.2 KB
/
Copy pathpopup.css
File metadata and controls
116 lines (104 loc) · 2.2 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
#tbnp-popup {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
justify-content: center;
align-items: center;
z-index: 9999;
padding: 20px;
}
#tbnp-popup-content {
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
text-align: center;
max-width: 420px;
width: 100%;
box-sizing: border-box;
overflow: hidden;
padding: 0; /* <- IMPORTANT! Removes spacing that caused gaps */
animation: fadeInUp 0.3s ease-out;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
#tbnp-popup-content {
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
text-align: center;
max-width: 400px;
width: 100%;
box-sizing: border-box;
overflow: hidden;
padding: 0; /* <- IMPORTANT! Removes spacing that caused gaps */
font-size: 13px;
}
#tbnp-popup-content img#tbnp-image {
width: 100%;
display: block;
object-fit: cover;
max-height: 180px;
margin-top: 30px;
padding: 0;
}
.tbnp-inner {
padding: 25px;
box-sizing: border-box;
}
#tbnp-popup-content h5 {
margin-top: 10px;
margin-bottom: 20px;
font-size: 1.5rem;
font-weight: 700;
color: #333;
}
.tbnp-subline {
font-size: 14px;
color: #555;
margin-top: -10px;
margin-bottom: 30px;
line-height: 1.4;
}
#tbnp-popup-content input[type="email"] {
height: 58px;
text-align: center;
margin-bottom: 10px;
width: 100%;
border: 1.5px solid transparent;
font-weight: 400;
font-size: 1rem;
color: #353f4f;
background-color: #f3f4f5;
border-radius: 6px;
box-sizing: border-box;
}
#tbnp-popup-content button {
width: 100%;
height:58px;
font-size:0.975rem;
background: #308af0;
color: white;
border: 2px solid #308af0;
border-radius: 6px;
cursor: pointer;
margin-top: 10px;
transition: all 400ms ease-in-out;
}
#tbnp-popup-content small {
margin-top: 5px;
font-size: .8rem;
}
#tbnp-image {
width: 100%;
max-height: 180px;
object-fit: cover;
}