style: format frontend code and improve component structure

This commit is contained in:
Jason
2025-09-05 21:26:01 +08:00
parent da4f7b5fe4
commit 37d4c9b48d
4 changed files with 39 additions and 21 deletions
+11 -4
View File
@@ -34,7 +34,7 @@
.switcher-pill.active {
background: rgba(255, 255, 255, 0.15);
color: white;
box-shadow:
box-shadow:
inset 0 1px 3px rgba(0, 0, 0, 0.1),
0 1px 0 rgba(255, 255, 255, 0.1);
}
@@ -61,6 +61,13 @@
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.2); opacity: 0.8; }
}
0%,
100% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.2);
opacity: 0.8;
}
}