Spaces:
Running
Running
Update static/style.css
Browse files- static/style.css +22 -22
static/style.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
:root {
|
| 2 |
--bg-base: #0a0a0a;
|
| 3 |
--card-bg: rgba(20, 20, 20, 0.65);
|
| 4 |
-
--card-border: rgba(
|
| 5 |
-
--card-border-hover: rgba(
|
| 6 |
|
| 7 |
--text-main: #ffffff;
|
| 8 |
--text-muted: #a1a1aa;
|
| 9 |
|
| 10 |
-
--primary: #
|
| 11 |
-
--primary-grad: linear-gradient(135deg, #
|
| 12 |
-
--primary-grad-hover: linear-gradient(135deg, #
|
| 13 |
|
| 14 |
--error-color: #f87171;
|
| 15 |
--error-bg: rgba(239, 68, 68, 0.15);
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
--fail-color: #f87171;
|
| 18 |
|
| 19 |
--glass-blur: 20px;
|
| 20 |
-
--shadow-glow: 0 0 40px rgba(
|
| 21 |
}
|
| 22 |
|
| 23 |
* {
|
|
@@ -55,21 +55,21 @@ body {
|
|
| 55 |
.shape-1 {
|
| 56 |
top: -10%; left: -10%;
|
| 57 |
width: 50vw; height: 50vw;
|
| 58 |
-
background: rgba(
|
| 59 |
animation-delay: 0s;
|
| 60 |
}
|
| 61 |
|
| 62 |
.shape-2 {
|
| 63 |
bottom: -20%; right: -10%;
|
| 64 |
width: 60vw; height: 60vw;
|
| 65 |
-
background: rgba(
|
| 66 |
animation-delay: -5s;
|
| 67 |
}
|
| 68 |
|
| 69 |
.shape-3 {
|
| 70 |
top: 40%; left: 50%;
|
| 71 |
width: 40vw; height: 40vw;
|
| 72 |
-
background: rgba(
|
| 73 |
animation-delay: -10s;
|
| 74 |
transform: translate(-50%, -50%);
|
| 75 |
}
|
|
@@ -198,15 +198,15 @@ body {
|
|
| 198 |
.input-group input:focus,
|
| 199 |
.input-group input:not(:placeholder-shown) {
|
| 200 |
padding: 22px 16px 10px;
|
| 201 |
-
border-color: rgba(
|
| 202 |
-
background: rgba(
|
| 203 |
}
|
| 204 |
|
| 205 |
.input-group input:focus + label,
|
| 206 |
.input-group input:not(:placeholder-shown) + label {
|
| 207 |
top: 14px;
|
| 208 |
font-size: 11px;
|
| 209 |
-
color: #
|
| 210 |
font-weight: 500;
|
| 211 |
letter-spacing: 0.05em;
|
| 212 |
text-transform: uppercase;
|
|
@@ -218,7 +218,7 @@ body {
|
|
| 218 |
background: var(--primary-grad);
|
| 219 |
opacity: 0;
|
| 220 |
transition: opacity 0.3s ease;
|
| 221 |
-
box-shadow: 0 -2px 10px rgba(
|
| 222 |
}
|
| 223 |
|
| 224 |
.input-group input:focus ~ .input-highlight {
|
|
@@ -242,7 +242,7 @@ body {
|
|
| 242 |
display: flex;
|
| 243 |
justify-content: center;
|
| 244 |
align-items: center;
|
| 245 |
-
box-shadow: 0 4px 15px rgba(
|
| 246 |
}
|
| 247 |
|
| 248 |
.btn-glow::before {
|
|
@@ -262,7 +262,7 @@ body {
|
|
| 262 |
|
| 263 |
.btn-glow:hover {
|
| 264 |
transform: translateY(-2px);
|
| 265 |
-
box-shadow: 0 8px 25px rgba(
|
| 266 |
}
|
| 267 |
|
| 268 |
.btn-glow:hover::before {
|
|
@@ -437,7 +437,7 @@ body {
|
|
| 437 |
|
| 438 |
.progress-ring__circle {
|
| 439 |
transition: stroke-dashoffset 0.3s ease-out;
|
| 440 |
-
filter: drop-shadow(0 0 8px rgba(
|
| 441 |
}
|
| 442 |
|
| 443 |
.percentage-container {
|
|
@@ -499,8 +499,8 @@ body {
|
|
| 499 |
|
| 500 |
.course-card:hover {
|
| 501 |
transform: translateY(-8px) scale(1.02);
|
| 502 |
-
border-color: rgba(
|
| 503 |
-
box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(
|
| 504 |
}
|
| 505 |
|
| 506 |
.card-header {
|
|
@@ -516,16 +516,16 @@ body {
|
|
| 516 |
content: '';
|
| 517 |
position: absolute;
|
| 518 |
top: 0; left: 0; right: 0; bottom: 0;
|
| 519 |
-
background: radial-gradient(circle at top right, rgba(
|
| 520 |
pointer-events: none;
|
| 521 |
}
|
| 522 |
|
| 523 |
.course-code {
|
| 524 |
display: inline-block;
|
| 525 |
padding: 6px 10px;
|
| 526 |
-
background: rgba(
|
| 527 |
-
color: #
|
| 528 |
-
border: 1px solid rgba(
|
| 529 |
border-radius: 8px;
|
| 530 |
font-size: 12px;
|
| 531 |
font-weight: 600;
|
|
|
|
| 1 |
:root {
|
| 2 |
--bg-base: #0a0a0a;
|
| 3 |
--card-bg: rgba(20, 20, 20, 0.65);
|
| 4 |
+
--card-border: rgba(255, 255, 255, 0.2);
|
| 5 |
+
--card-border-hover: rgba(255, 255, 255, 0.5);
|
| 6 |
|
| 7 |
--text-main: #ffffff;
|
| 8 |
--text-muted: #a1a1aa;
|
| 9 |
|
| 10 |
+
--primary: #ffffff;
|
| 11 |
+
--primary-grad: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
|
| 12 |
+
--primary-grad-hover: linear-gradient(135deg, #f9fafb 0%, #d1d5db 100%);
|
| 13 |
|
| 14 |
--error-color: #f87171;
|
| 15 |
--error-bg: rgba(239, 68, 68, 0.15);
|
|
|
|
| 17 |
--fail-color: #f87171;
|
| 18 |
|
| 19 |
--glass-blur: 20px;
|
| 20 |
+
--shadow-glow: 0 0 40px rgba(255, 255, 255, 0.2);
|
| 21 |
}
|
| 22 |
|
| 23 |
* {
|
|
|
|
| 55 |
.shape-1 {
|
| 56 |
top: -10%; left: -10%;
|
| 57 |
width: 50vw; height: 50vw;
|
| 58 |
+
background: rgba(255, 255, 255, 0.4);
|
| 59 |
animation-delay: 0s;
|
| 60 |
}
|
| 61 |
|
| 62 |
.shape-2 {
|
| 63 |
bottom: -20%; right: -10%;
|
| 64 |
width: 60vw; height: 60vw;
|
| 65 |
+
background: rgba(209, 213, 219, 0.1);
|
| 66 |
animation-delay: -5s;
|
| 67 |
}
|
| 68 |
|
| 69 |
.shape-3 {
|
| 70 |
top: 40%; left: 50%;
|
| 71 |
width: 40vw; height: 40vw;
|
| 72 |
+
background: rgba(156, 163, 175, 0.1);
|
| 73 |
animation-delay: -10s;
|
| 74 |
transform: translate(-50%, -50%);
|
| 75 |
}
|
|
|
|
| 198 |
.input-group input:focus,
|
| 199 |
.input-group input:not(:placeholder-shown) {
|
| 200 |
padding: 22px 16px 10px;
|
| 201 |
+
border-color: rgba(255, 255, 255, 0.5);
|
| 202 |
+
background: rgba(255, 255, 255, 0.05);
|
| 203 |
}
|
| 204 |
|
| 205 |
.input-group input:focus + label,
|
| 206 |
.input-group input:not(:placeholder-shown) + label {
|
| 207 |
top: 14px;
|
| 208 |
font-size: 11px;
|
| 209 |
+
color: #ffffff;
|
| 210 |
font-weight: 500;
|
| 211 |
letter-spacing: 0.05em;
|
| 212 |
text-transform: uppercase;
|
|
|
|
| 218 |
background: var(--primary-grad);
|
| 219 |
opacity: 0;
|
| 220 |
transition: opacity 0.3s ease;
|
| 221 |
+
box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.8);
|
| 222 |
}
|
| 223 |
|
| 224 |
.input-group input:focus ~ .input-highlight {
|
|
|
|
| 242 |
display: flex;
|
| 243 |
justify-content: center;
|
| 244 |
align-items: center;
|
| 245 |
+
box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
|
| 246 |
}
|
| 247 |
|
| 248 |
.btn-glow::before {
|
|
|
|
| 262 |
|
| 263 |
.btn-glow:hover {
|
| 264 |
transform: translateY(-2px);
|
| 265 |
+
box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
|
| 266 |
}
|
| 267 |
|
| 268 |
.btn-glow:hover::before {
|
|
|
|
| 437 |
|
| 438 |
.progress-ring__circle {
|
| 439 |
transition: stroke-dashoffset 0.3s ease-out;
|
| 440 |
+
filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
|
| 441 |
}
|
| 442 |
|
| 443 |
.percentage-container {
|
|
|
|
| 499 |
|
| 500 |
.course-card:hover {
|
| 501 |
transform: translateY(-8px) scale(1.02);
|
| 502 |
+
border-color: rgba(255, 255, 255, 0.4);
|
| 503 |
+
box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255, 255, 255, 0.15);
|
| 504 |
}
|
| 505 |
|
| 506 |
.card-header {
|
|
|
|
| 516 |
content: '';
|
| 517 |
position: absolute;
|
| 518 |
top: 0; left: 0; right: 0; bottom: 0;
|
| 519 |
+
background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 70%);
|
| 520 |
pointer-events: none;
|
| 521 |
}
|
| 522 |
|
| 523 |
.course-code {
|
| 524 |
display: inline-block;
|
| 525 |
padding: 6px 10px;
|
| 526 |
+
background: rgba(255, 255, 255, 0.15);
|
| 527 |
+
color: #ffffff;
|
| 528 |
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
| 529 |
border-radius: 8px;
|
| 530 |
font-size: 12px;
|
| 531 |
font-weight: 600;
|