Enhancements - Added `:active` variants for panel-button, battery-button, network-button, bt-button, tray-button, and global-menu, mirroring existing hover styling. - Ensures consistent visual feedback when these components are active.
74 lines
1.1 KiB
CSS
74 lines
1.1 KiB
CSS
#panel {
|
|
background-color: @bg;
|
|
margin: -4px 0;
|
|
transition: all 120ms ease-in-out;
|
|
}
|
|
|
|
#modules-left,
|
|
#modules-right {
|
|
margin: 0 5px;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
#panel-button:hover,
|
|
#panel-button.active,
|
|
#battery-button:hover,
|
|
#battery-button.active,
|
|
#network-button:hover,
|
|
#network-button.active,
|
|
#bt-button:hover,
|
|
#bt-button.active,
|
|
#tray-button:hover,
|
|
#tray-button.active,
|
|
#global-menu:hover,
|
|
#global-menu.active,
|
|
#workspaces>button:hover {
|
|
background-color: @hover;
|
|
}
|
|
|
|
#panel-button,
|
|
#battery-button,
|
|
#network-button,
|
|
#bt-button,
|
|
#tray-button {
|
|
margin: 5px 0;
|
|
padding: 0 2px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
#menubar label,
|
|
#battery-label,
|
|
#date-time {
|
|
font-weight: 500;
|
|
}
|
|
|
|
#global-menu {
|
|
margin: 5px 2px;
|
|
padding: 0 5px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
#date-time {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
#workspaces>button {
|
|
margin: 6px 0;
|
|
padding: 0 16px;
|
|
border-radius: 8px;
|
|
min-width: 12px;
|
|
border: 1px solid @border;
|
|
}
|
|
|
|
#workspaces>button.active {
|
|
background-color: @active;
|
|
}
|
|
|
|
#workspaces>button.active label {
|
|
color: var(--shadow);
|
|
}
|
|
|
|
#workspaces>button.urgent {
|
|
background-color: @urgent;
|
|
}
|