forked from toshinari123/NestDoorbell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.css
133 lines (116 loc) · 2.57 KB
/
css.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
/*
Inspired by:
https://codepen.io/ayush602/pen/mdQJreW?editors=1100
https://codepen.io/fghty/pen/PojKNEG
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
letter-spacing: 0.8px;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(#b8bcff, #f7f7f7);
/* background-image: url('logowhite.png');
background-position: top left;
background-repeat: no-repeat; */
}
section {
position: absolute;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
gap: 2px;
flex-wrap: wrap;
overflow: hidden;
}
section .login {
position: absolute;
width: 400px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(100px);
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
padding: 40px;
border-radius: 4px;
box-shadow: 0 15px 35px rgb(113, 123, 197, 0.3);
}
section .login .content {
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 40px;
}
section .login .content h2 {
font-size: 2em;
color: #7c87d9;
text-transform: uppercase;
}
section .login .content .form {
width: 100%;
display: flex;
flex-direction: column;
gap: 25px;
}
section .login .content .form .inputBox {
position: relative;
width: 100%;
}
section .login .content .form .inputBox input {
position: relative;
width: 100%;
background: rgba(255, 255, 255, 0.35);
border: none;
outline: none;
padding: 25px 12px 12.5px;
border-radius: 4px;
color: rgb(124, 135, 217, 0.7);
font-weight: 500;
font-size: 1em;
}
section .login .content .form .inputBox i {
position: absolute;
left: 0;
font-size: 0.8em;
padding: 5px 10px;
font-style: normal;
color: rgb(124, 135, 217, 0.7);
pointer-events: none;
}
.login .content .form .links {
position: relative;
width: 100%;
display: flex;
justify-content: space-between;
}
.login .content .form .links a {
color: rgb(124, 135, 217, 0.7);
text-decoration: none;
width: 100%;
display: flex;
justify-content: right;
}
.login .content .form .inputBox input[type="submit"] {
padding: 10px;
background: rgb(124, 135, 217, 0.8);
color: #f7f7f7;
font-weight: 600;
font-size: 1.35em;
letter-spacing: 0.05em;
cursor: pointer;
}
input[type="submit"]:active {
opacity: 0.6;
}