-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
207 lines (160 loc) · 3.51 KB
/
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
body {
font-family: Inter, sans-serif ;
background-color: #273549;
margin-top: 10%;
display: flex;
}
.container {
/* factored out the padding from the height/width to maintain size */
height: 320px;
width: 446px;
padding: 115px 52px;
/* used to center on page */
margin: auto;
background-color: #1F2937;
border-radius: 6px;
}
.title-white, .title-green {
font-family: Karla, sans-serif;
font-size: 40px;
font-weight: 800;
line-height: 40px;
letter-spacing: -1px;
margin: 0;
}
.title-white {
color: #FFF
}
.title-green {
color: #4ADF86;
}
.marketing-text {
color: #D5D4D8;
font-size: 20px;
line-height: 28px;
margin-top: 10px;
margin-bottom: 0;
}
#generate-pass-btn {
font-size: 16px;
font-weight: 500;
line-height: 24px;
color: #FFF;
background-color: #10B981;
border: none;
border-radius: 6px;
margin-top: 51px;
padding: 9px 17px 9px 15px;
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}
#generate-pass-btn:hover,
#generate-pass-btn:active {
background-color: #299654;
color: whitesmoke;
cursor: pointer;
}
hr {
border: none;
background-color: #2F3E53;
width: 446px;
height: 1px;
margin-top: 35px;
}
input {
background-color: #273549;
border: none;
border-radius: 6px;
width: 211px;
height: 39px;
margin-top: 35px;
color: #10B981;
font-size: 16px;
font-weight: 500;
line-height: 32px;
/* text-align: center; */
/* padding to account for addition of 'floating' Copy Btn */
padding-left: 12px;
}
.flex-container-util {
display: flex;
justify-content: space-between;
}
.copy-btn {
outline: none;
background-color: #1F2937;
border: 1.5px solid #273549;
border-radius: 0 6px 6px 0;
height: 39px;
transform: translateX(-35.5px) translateY(36px);
display: flex;
align-items: center;
}
.copy-btn:hover,
.copy-btn:active {
background-color: #2F3E53;
cursor: pointer;
}
.copy-btn:hover svg path,
.copy-btn:active svg path {
fill: #10B981;
}
/* Toast Notifications */
#toast-noti-container {
display: flex;
flex-direction: column;
/* justify-content: space-between; */
padding-right: 34px;
}
.copy-success-toast-noti {
color: #55F991;
font-size: 16px;
font-weight: 500;
margin-top: 15px;
background-color: #273549;
border-radius: 6px;
width: 190px;
height: 39px;
display: flex;
align-items: center;
justify-content: space-around;
/* Animation */
-webkit-animation: fall 4s 1;
animation: fall 4s 1;
}
.copy-success-toast-noti-pass-one{
align-self: flex-start;
}
.copy-success-toast-noti-pass-two{
align-self: flex-end;
}
.copy-success-toast-noti > img {
width: 24px;
height: 24px;
}
/* Experimenting w Keyframe Animations */
@-webkit-keyframes fall {
from {
-webkit-transform: rotate(0) translateX(0);
transform: rotate(0) translateX(0);
opacity: 1;
}
to {
-webkit-transform: rotate(90deg) translateX(200px);
transform: rotate(90deg) translateX(200px);
opacity: 0;
display: none;
}
}
@keyframes fall {
from {
-webkit-transform: rotate(0) translateX(0);
transform: rotate(0) translateX(0);
opacity: 1;
}
to {
-webkit-transform: rotate(90deg) translateX(200px);
transform: rotate(90deg) translateX(200px);
opacity: 0;
display: none;
}
}