style(src/styles): rename application switcher identifiers to app-switcher

Rename CSS IDs from #application-switcher-* to #app-switcher-* for consistency.
Update padding, margin, and hover states to match new design.
Add new classes for hovered and selected states with appropriate styling.
This commit is contained in:
sankalp committed 2026-07-09 22:33:54 +05:45
1 parent 0fbccca46e
commit f0aed5a410
1 file changed
+26 -44
+26 -44
View File
@@ -1,68 +1,50 @@
#application-switcher-container { #app-switcher-container {
background-color: @bg-a50; background-color: @bg-a50;
border-radius: apply(radius-xl); border-radius: apply(radius-xl);
padding: 24px; padding: 16px 24px;
} }
#application-switcher-view { #app-switcher-view {
padding: 0px; padding: 0px;
margin-bottom: 12px;
} }
#switcher-button { #app-switcher-button {
padding: 12px;
min-width: 100px;
transition: all apply(transition-medium) ease;
}
#window-button {
background-color: transparent; background-color: transparent;
border-radius: apply(radius-md); border-radius: apply(radius-lg);
padding: 8px 10px;
transition: all apply(transition-fast) ease-out;
} }
#window-button.active { #app-switcher-button.hovered {
background-color: @primary;
}
#window-button:hover {
background-color: @fg-a10; background-color: @fg-a10;
} }
#window-button.active:hover { #app-switcher-button.selected {
background-color: @primary; background-color: @primary-a30;
} }
.switcher-selection-label { #app-switcher-icon-box {
color: @foreground;
font-size: apply(font-lg);
font-weight: 600;
margin-top: 8px;
}
.switcher-workspace-label {
color: @foreground;
opacity: 0.6;
font-size: apply(font-sm);
margin-top: 4px;
}
#switcher-icon-box {
border-radius: apply(radius-md); border-radius: apply(radius-md);
padding: 4px; padding: 4px;
} }
#window-row { #app-switcher-item-label {
padding: 0px; color: @foreground;
font-size: 15px;
font-weight: 600;
margin-top: -2px;
} }
#window-button.active .switcher-selection-label, #app-switcher-workspace-badge {
#window-button.active .switcher-workspace-label, background-color: rgba(0, 0, 0, 0.7);
#window-button.active:hover .switcher-selection-label, border-radius: 4px;
#window-button.active:hover .switcher-workspace-label { padding: 0px 4px;
color: @on-primary; margin-bottom: 2px;
margin-right: 2px;
} }
#window-button:hover .switcher-selection-label, #app-switcher-workspace-badge-text {
#window-button:hover .switcher-workspace-label { color: white;
color: @fg-a90; font-size: 11px;
font-weight: 700;
} }