fix(waybar): fix a bunch of style issues

This commit is contained in:
Andrea 2025-03-01 11:57:26 +01:00
parent d1cff305e6
commit b6a6b9389c
Signed by: nullndr
GPG Key ID: 8DA8996EF89F33BB

View File

@ -1,23 +1,15 @@
* { * {
all: initial;
border: none; border: none;
border-radius: 0; border-radius: 0;
min-height: 20px; min-height: 20px;
font-family: "Symbols Nerd Font", monospace; font-family: "Symbols Nerd Font", monospace;
} }
button { #waybar {
padding-top: 4px;
padding-bottom: 4px;
padding-left: 14px;
padding-right: 14px;
}
window#waybar {
background: transparent; background: transparent;
} }
window#waybar.hidden { #waybar.hidden {
opacity: 0.2; opacity: 0.2;
} }
@ -30,27 +22,6 @@ tooltip label {
color: white; color: white;
} }
#workspaces {
border-radius: 10px;
transition: none;
background: #383c4a;
}
#workspaces button {
color: #7c818c;
background: transparent;
font-size: 18px;
min-width: 0;
}
#workspaces button:hover {
box-shadow: inherit;
text-shadow: inherit;
border-radius: inherit;
color: #383c4a;
background: #7c818c;
}
#custom-pacman, #custom-pacman,
#custom-recorder, #custom-recorder,
#mode, #mode,
@ -65,14 +36,37 @@ tooltip label {
#bluetooth, #bluetooth,
#network, #network,
#backlight { #backlight {
padding-left: 8px; transition: none;
padding-right: 8px;
border-radius: 10px; border-radius: 10px;
background: #383c4a; background: #383c4a;
color: #ffffff;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 14px;
padding-right: 14px;
margin: 4px;
} }
#bluetooth { #workspaces {
margin-right: 8px; transition: none;
border-radius: 10px;
background: #383c4a;
margin: 4px;
color: #7c818c;
}
#workspaces button {
padding: 0;
}
#workspaces button:hover {
border-radius: inherit;
color: white;
background: #666768;
}
#workspaces button.focused {
color: white;
} }
#bluetooth.connected, #bluetooth.connected,
@ -85,30 +79,6 @@ tooltip label {
background-color: #f53c3c; background-color: #f53c3c;
} }
#mode {
transition: none;
color: #ffffff;
}
#custom-pacman,
#custom-recorder,
#clock,
#privacy,
#pulseaudio,
#backlight,
#disk,
#memory,
#battery {
margin-right: 8px;
transition: none;
color: #ffffff;
}
#idle_inhibitor {
transition: none;
color: #ffffff;
}
#idle_inhibitor.activated { #idle_inhibitor.activated {
background-color: #26a65b; background-color: #26a65b;
} }
@ -139,12 +109,6 @@ tooltip label {
animation-direction: alternate; animation-direction: alternate;
} }
#network {
transition: none;
color: #ffffff;
background: #383c4a;
}
#network.wifi, #network.wifi,
#network.ethener { #network.ethener {
background-color: #26a65b; background-color: #26a65b;
@ -161,6 +125,3 @@ tooltip label {
color: #000000; color: #000000;
} }
} }
/* #privacy-item {
} */