-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.css
218 lines (193 loc) · 3.47 KB
/
login.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
206
207
208
209
210
211
212
213
214
215
216
217
218
label {
font-size: 12.5px;
color: #000;
opacity: .8;
font-weight: 400
}
form {
padding: 40px 30px;
background: #fefefe;
border: 1px solid rgba(206, 206, 206, 0.329);
display: flex;
flex-direction: column;
align-items: flex-start;
padding-bottom: 20px;
width: 400px;
border-radius: 10px
}
form h4 {
margin-bottom: 20px;
color: rgba(0, 0, 0, .5);
font-size: 2rem;
letter-spacing: -.4px
}
form h4 span {
color: rgba(0, 0, 0, 1);
font-weight: 700
}
form p {
line-height: 155%;
margin-bottom: 5px;
font-size: 16px;
color: #000;
opacity: .65;
font-weight: 400;
max-width: 320px;
margin-bottom: 40px
}
a.discrete {
color: #000;
opacity: .65;
font-size: 14px;
border-bottom: solid 1px rgba(0, 0, 0, .0);
padding-bottom: 4px;
margin-left: auto;
font-weight: 300;
transition: all .3s ease;
margin-top: 40px
}
a.discrete:hover {
border-bottom: solid 1px rgba(0, 0, 0, .2)
}
button {
-webkit-appearance: none;
width: auto;
min-width: 100px;
border-radius: 24px;
text-align: center;
padding: 15px 40px;
margin-top: 5px;
background-color: #57a4e2;
color: #fff;
font-size: 14px;
margin-left: auto;
font-weight: 500;
box-shadow: 0 2px 6px -1px rgba(0, 0, 0, .13);
border: 0;
transition: all .3s ease;
outline: 0
}
button:hover:active {
transform: scale(0.99)
}
input {
font-size: 16px;
padding: 20px 0;
height: 56px;
border: 0;
border-bottom: solid 1px rgba(0, 0, 0, .1);
background: #fff;
width: 280px;
box-sizing: border-box;
transition: all .3s linear;
color: #000;
font-weight: 400;
-webkit-appearance: none
}
input:focus {
border-bottom: solid 1px #3f42d383;
outline: 0;
box-shadow: 0 2px 6px -8px rgba(182, 157, 230, .45)
}
.floating-label {
position: relative;
margin-bottom: 10px;
width: 100%
}
.floating-label label {
position: absolute;
top: calc(50% - 7px);
left: 0;
opacity: 0;
transition: all .3s ease;
padding-left: 44px
}
.floating-label input {
width: calc(100% - 44px);
margin-left: auto;
display: flex
}
.floating-label .icon {
position: absolute;
top: 0;
left: 0;
height: 56px;
width: 44px;
display: flex
}
.floating-label .icon svg {
height: 30px;
width: 30px;
margin: auto;
opacity: .15;
transition: all .3s ease
}
.floating-label .icon svg path {
transition: all .3s ease
}
.floating-label input:not(:placeholder-shown) {
padding: 28px 0 12px 0
}
.floating-label input:not(:placeholder-shown)+label {
transform: translateY(-10px);
opacity: .7
}
.floating-label input:valid:not(:placeholder-shown)+label+.icon svg {
opacity: 1
}
.floating-label input:valid:not(:placeholder-shown)+label+.icon svg path {
fill: #b69de6
}
.floating-label input:not(:valid):not(:focus)+label+.icon {
animation-name: shake-shake;
animation-duration: .3s
}
@keyframes shake-shake {
0% {
transform: translateX(-3px)
}
20% {
transform: translateX(3px)
}
40% {
transform: translateX(-3px)
}
60% {
transform: translateX(3px)
}
80% {
transform: translateX(-3px)
}
100% {
transform: translateX(0px)
}
}
.session {
display: flex;
justify-content: center;
align-content: center;
flex-direction: row;
width: auto;
height: 500px;
margin: auto auto;
margin-top: 100px;
margin-bottom: 100px;
background: #fff;
border-radius: 4px;
font-family: Inter
}
.left {
width: 350px;
height: auto;
min-height: 100%;
position: relative;
background-image: url("../img/login.jpg");
background-size: cover;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px
}
.left svg {
height: 40px;
width: auto;
margin: 20px
}