101 lines
2.3 KiB
CSS
101 lines
2.3 KiB
CSS
/* Palette */
|
|
@define-color glass rgba(12, 14, 20, 0.34);
|
|
@define-color glass_strong rgba(12, 14, 20, 0.46);
|
|
@define-color fg #DDE1EA;
|
|
@define-color fg_dim #B8BECC;
|
|
@define-color accent1 #7F5AF0;
|
|
@define-color accent2 #00D1FF;
|
|
@define-color occupied #a8557f;
|
|
|
|
/* Whole bar: more vertical padding, no border, stronger shadow */
|
|
window#waybar {
|
|
background: @glass;
|
|
color: @fg;
|
|
border-radius: 12px;
|
|
/* margin: 6px 8px; */
|
|
border: none; /* ← removed border */
|
|
box-shadow: 0 10px 34px rgba(0,0,0,0.34);
|
|
-gtk-outline-radius: 12px;
|
|
}
|
|
|
|
* {
|
|
border: none;
|
|
padding: 2px 6px;
|
|
margin-top: 0;
|
|
font-family: "RobotoMono Nerd Font", "Roboto Mono Nerd Font", "RobotoMono NF", monospace;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Keep groups transparent */
|
|
#modules-left, #modules-center, #modules-right { background: transparent; }
|
|
|
|
/* Common modules stay transparent; compact rounded hit area */
|
|
#tray, #window, #clock, #cpu, #memory, #disk, #network, #bluetooth, #pulseaudio {
|
|
background: transparent;
|
|
border-radius: 8px;
|
|
color: @fg;
|
|
}
|
|
|
|
/* Subtle separators */
|
|
#custom-separator {
|
|
color: rgba(200,200,200,0.20);
|
|
padding: 0 4px;
|
|
}
|
|
|
|
/* Tray tweaks */
|
|
#tray { margin-right: 0px; }
|
|
#tray * { padding-left: 0px; padding-right: 0px; }
|
|
|
|
/* Tray menu glass look (also lighter, no border) */
|
|
#tray menu {
|
|
padding: 6px 0;
|
|
margin: 0;
|
|
background: @glass_strong;
|
|
border-radius: 10px;
|
|
border: none;
|
|
box-shadow: 0 10px 34px rgba(0,0,0,0.38);
|
|
}
|
|
#tray menu menuitem { padding: 6px 12px; }
|
|
#tray menu menuitem:hover { background: alpha(@accent1, 0.16); }
|
|
|
|
#workspaces button {
|
|
padding: 0 2px;
|
|
background-color: transparent;
|
|
color: #6c7086;
|
|
border-radius: 3px;
|
|
margin: 2px;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
/* Hover effect */
|
|
#workspaces button:hover {
|
|
background-color: #74c7ec;
|
|
color: #1e1e2e;
|
|
}
|
|
|
|
#workspaces button:not(.active):not(.empty) {
|
|
color: #cdd6f4;
|
|
background-color: #585b70;
|
|
}
|
|
|
|
/* Active/focused workspace */
|
|
#workspaces button.active {
|
|
color: #1e1e2e;
|
|
background-color: @occupied;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#workspaces button.visible {
|
|
color: #f9e2af;
|
|
/* background-color: #45475a; */
|
|
border: 1px solid #f9e2af;
|
|
}
|
|
|
|
/* Default state for persistent workspaces */
|
|
#workspaces button {
|
|
color: #6c7086;
|
|
background-color: @glass;
|
|
}
|
|
|