-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.css
124 lines (112 loc) · 2.18 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
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
117
118
119
120
121
122
123
124
* {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
.container {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
background: #3c5077;
position: relative;
}
.container form{
width: 90%;
max-width: 500px;
padding: 50px 30px 20px;
border-radius: 4px;
background: #232424;
box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1), 5px 5px 15px rgba(0, 0, 0, 0.2);
background: transparent;
top: 0;
left: 0;
position: relative;
}
.open-form {
display: none;
}
.input-group{
width: 100%;
display: flex;
align-items: center;
margin: 10px 0;
position: relative;
}
.input-group label{
flex-basis: 28%;
}
.input-group input, .input-group textarea{
flex-basis: 68%;
background: transparent;
border: 0;
outline: 0;
padding: 10px 0;
border-bottom: 1px solid #999;
color: #333;
font-size: 16px;
}
::placeholder{
font-size: 14px;
color: rgba(255, 255, 255, 0.7);
}
.btn {
background: #141a34;
color: #fff;
border-radius: 4px;
padding: 10px 40px;
outline: none;
border: 0;
cursor: pointer;
margin: 30px auto 10px;
display: block;
position: absolute;
top: 77%;
}
.btn:hover{
background: #0c1025;
}
.popup {
width: 400px;
background: white;
border-radius: 6px;
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -50%) scale(0.1);
text-align: center;
padding: 0 30px 30px;
color: #333;
visibility: hidden;
transition: transform 0.4s, top 0.4s;
}
.open-popup {
visibility: visible;
top: 50%;
transform: translate(-50%, -50%) scale(1);
}
.popup img {
width: 100px;
margin-top: -50px;
border-radius: 50%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.popup h2 {
font-size: 38px;
font-weight: 500;
margin: 30px 0 10px;
}
.popup button {
width: 100%;
margin-top: 50px;
padding: 10px 0;
background: #6fd649;
outline: none;
border: 0;
font-size: 18px;
border-radius: 4px;
cursor: pointer;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}