-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.css
More file actions
177 lines (157 loc) · 2.98 KB
/
log.css
File metadata and controls
177 lines (157 loc) · 2.98 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
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
/* General body styling */
body {
margin: 0;
padding: 0;
font-family: "Poppins", sans-serif;
background: linear-gradient(135deg, #000000, #2c3e50);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
color: #ffffff;
}
/* Login Section Alignment */
#align {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
/* Login Box Styling */
.login-box {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 15px;
box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
padding: 40px 30px;
width: 350px;
text-align: center;
animation: fadeIn 1.2s ease-in-out;
}
/* Login Heading */
.login-box h1 {
font-size: 2rem;
margin-bottom: 20px;
color: #4ca1af;
}
/* Input Box Styling */
.input-box {
position: relative;
margin-bottom: 20px;
}
.input-box input {
width: 100%;
padding: 10px 10px 10px 40px; /* Added left padding to make space for the icon */
font-size: 1rem;
background: none;
border: none;
border-bottom: 2px solid #ccc;
color: #ffffff;
outline: none;
transition: 0.3s;
}
.input-box input:focus,
.input-box input:valid {
border-bottom-color: #4ca1af;
}
.input-box label {
position: absolute;
left: 40px; /* Aligns with the input padding */
top: 50%;
transform: translateY(-50%);
font-size: 1rem;
color: #ccc;
pointer-events: none;
transition: 0.3s;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label {
top: -5px;
color: #4ca1af;
font-size: 0.9rem;
}
/* Input Icons */
.icon {
position: absolute;
top: 50%;
left: 10px; /* Positions icon correctly */
transform: translateY(-50%);
color: #ccc;
font-size: 1.2rem; /* Adjust size for better visibility */
transition: 0.3s;
}
.input-box input:focus ~ .icon,
.input-box input:valid ~ .icon {
color: #4ca1af;
}
/* Remember Me and Forgot Password */
.remember-forgot {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
font-size: 0.9rem;
}
.remember-forgot a {
color: #4ca1af;
text-decoration: none;
transition: 0.3s;
}
.remember-forgot a:hover {
text-decoration: underline;
}
/* Login Button */
button {
width: 100%;
padding: 10px;
font-size: 1rem;
font-weight: bold;
color: #ffffff;
background: #4ca1af;
border: none;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
button:hover {
background: #3b8d99;
transform: scale(1.05);
}
/* Register Link */
.register-link p {
font-size: 0.9rem;
margin-top: 15px;
}
.register-link a {
color: #4ca1af;
text-decoration: none;
font-weight: bold;
transition: 0.3s;
}
.register-link a:hover {
text-decoration: underline;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Design */
@media (max-width: 480px) {
.login-box {
width: 300px;
padding: 30px 20px;
}
}
label,
p {
color: #ccc;
}