✨ feat(controlcenter): replace SVG icons with symbolic icons for Bluetooth and Wi-Fi, improving theming and state indication
This commit is contained in:
1 parent
d7287e50d4
commit
2cf16c98c5
3 files changed
+95
-41
No files matched your search
@@ -19,10 +19,26 @@
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
#focus-widget {
|
||||
padding: 10px;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#bluetooth-icon,
|
||||
#wifi-icon {
|
||||
background-color: #666666;
|
||||
padding: 8px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
border-radius: 50%;
|
||||
color: #ffffff;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
#bluetooth-icon.connected,
|
||||
#wifi-icon.connected {
|
||||
background-color: #2369ff;
|
||||
font-size: 15px;
|
||||
padding: 20px 20px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#bluetooth-widget-label,
|
||||
@@ -65,6 +81,28 @@
|
||||
background-color: #2369ff;
|
||||
}
|
||||
|
||||
#device-icon.connecting {
|
||||
background-color: #ff9500;
|
||||
animation: pulse 1s infinite;
|
||||
}
|
||||
|
||||
#device-icon.disconnecting {
|
||||
background-color: #ff3b30;
|
||||
animation: pulse 1s infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.6;
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
#toggle-button {
|
||||
min-width: 40px;
|
||||
min-height: 20px;
|
||||
|
||||
Reference in new issue
Block a user