-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (95 loc) · 2.39 KB
/
Copy pathstyle.css
File metadata and controls
106 lines (95 loc) · 2.39 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
.nav-link {
transition: all 0.3s ease;
}
.nav-link:hover {
transform: translateY(-2px);
}
.dashboard-card {
transition: all 0.3s ease;
}
.dashboard-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgb(238, 121, 121);
}
/* Full-page background */
#loginSection {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: url('your-background.jpg') no-repeat center center/cover;
position: relative;
}
/* Optional dark overlay for readability */
#loginSection::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.2);
}
/* Glassmorphism Card */
#loginSection .bg-white {
position: relative;
z-index: 1;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.25);
border-radius: 15px;
padding: 2rem;
width: 100%;
max-width: 350px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/* Title styling */
#loginSection h2 {
color: white;
font-weight: bold;
}
/* Inputs */
#loginSection input[type="text"],
#loginSection input[type="password"] {
width: 100%;
padding: 10px;
margin-top: 0.5rem;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.3);
background: rgba(255, 255, 255, 0.2);
color: white;
outline: none;
}
#loginSection input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
/* Eye icon for password */
#loginSection button[onclick*="togglePasswordVisibility"] {
background: none;
border: none;
cursor: pointer;
}
/* Login button */
#loginSection button[type="submit"] {
width: 100%;
padding: 10px;
margin-top: 1rem;
border: none;
border-radius: 8px;
background: linear-gradient(90deg, #3b82f6, #2563eb);
color: white;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
}
#loginSection button[type="submit"]:hover {
background: linear-gradient(90deg, #2563eb, #1d4ed8);
}
/* Small text */
#loginSection p {
color: rgba(255, 255, 255, 0.8);
}
#loginSection a {
color: #a3d8ff;
text-decoration: none;
}
#loginSection a:hover {
text-decoration: underline;
}