-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (84 loc) · 1.6 KB
/
style.css
File metadata and controls
98 lines (84 loc) · 1.6 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #f2f2f2;
font-family: Arial, sans-serif;
}
.login-container {
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 300px;
}
.login-container h2 {
text-align: center;
margin-bottom: 1rem;
}
.login-container input {
width: 100%;
padding: 10px;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 5px;
}
.login-container button {
width: 100%;
padding: 10px;
background-color: #4caf50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.login-container button:hover {
background-color: #45a049;
transform: scale(1.03);
}
.password-wrapper {
position: relative;
}
.password-wrapper input {
padding-right: 50px;
}
.toggle-icon {
position: absolute;
/* Offset the icon 40% from the top of the parent */
top: 40%;
right: 10px;
/* Shift the icon up by 50% of its own height to perfectly center it */
transform: translateY(-50%);
cursor: pointer;
font-size: 1.2rem;
/* cannot drag */
user-select: none;
}
.remember-wrap {
display: flex;
/* align-items: center; */
gap: 0.4rem;
margin-top: 0.4rem;
font-size: 0.6rem;
height: 10px;
}
.remember-wrap input[type="checkbox"] {
width: 16px;
height: 13px;
}
.toggle-form {
text-align: center;
margin-top: 0.5rem;
}
.toggle-form span {
color: #4caf50;
cursor: pointer;
font-weight: bold;
}