codedash-app 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/frontend/styles.css +55 -5
package/package.json
CHANGED
package/src/frontend/styles.css
CHANGED
|
@@ -1437,15 +1437,65 @@ body {
|
|
|
1437
1437
|
50% { opacity: 0.3; transform: scale(0.6); }
|
|
1438
1438
|
}
|
|
1439
1439
|
|
|
1440
|
-
/*
|
|
1440
|
+
/* Animated border for live sessions */
|
|
1441
|
+
.card:has(.live-active),
|
|
1442
|
+
.card:has(.live-waiting) {
|
|
1443
|
+
border-color: transparent;
|
|
1444
|
+
position: relative;
|
|
1445
|
+
overflow: hidden;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.card:has(.live-active)::before,
|
|
1449
|
+
.card:has(.live-waiting)::before {
|
|
1450
|
+
content: '';
|
|
1451
|
+
position: absolute;
|
|
1452
|
+
inset: -2px;
|
|
1453
|
+
border-radius: 12px;
|
|
1454
|
+
z-index: -1;
|
|
1455
|
+
background: conic-gradient(
|
|
1456
|
+
from var(--border-angle, 0deg),
|
|
1457
|
+
transparent 40%,
|
|
1458
|
+
var(--live-color) 50%,
|
|
1459
|
+
transparent 60%
|
|
1460
|
+
);
|
|
1461
|
+
animation: border-spin 3s linear infinite;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
.card:has(.live-active)::after,
|
|
1465
|
+
.card:has(.live-waiting)::after {
|
|
1466
|
+
content: '';
|
|
1467
|
+
position: absolute;
|
|
1468
|
+
inset: 1px;
|
|
1469
|
+
border-radius: 9px;
|
|
1470
|
+
background: var(--bg-card);
|
|
1471
|
+
z-index: -1;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1441
1474
|
.card:has(.live-active) {
|
|
1442
|
-
|
|
1443
|
-
box-shadow: 0 0 20px rgba(74, 222, 128, 0.08);
|
|
1475
|
+
--live-color: rgba(74, 222, 128, 0.6);
|
|
1444
1476
|
}
|
|
1445
1477
|
|
|
1446
1478
|
.card:has(.live-waiting) {
|
|
1447
|
-
|
|
1448
|
-
|
|
1479
|
+
--live-color: rgba(251, 191, 36, 0.4);
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
.card:has(.live-waiting)::before {
|
|
1483
|
+
animation: none;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
@keyframes border-spin {
|
|
1487
|
+
to { --border-angle: 360deg; }
|
|
1488
|
+
}
|
|
1489
|
+
|
|
1490
|
+
@property --border-angle {
|
|
1491
|
+
syntax: '<angle>';
|
|
1492
|
+
initial-value: 0deg;
|
|
1493
|
+
inherits: false;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
[data-theme="light"] .card:has(.live-active)::after,
|
|
1497
|
+
[data-theme="light"] .card:has(.live-waiting)::after {
|
|
1498
|
+
background: #ffffff;
|
|
1449
1499
|
}
|
|
1450
1500
|
|
|
1451
1501
|
/* ── Card expand preview ────────────────────────────────────── */
|