1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

waybar: fixing styles

This commit is contained in:
Henrik Hautakoski 2024-07-29 23:19:39 +02:00
parent 6bb41f1c88
commit 9ea9115f61

View file

@ -1,40 +1,44 @@
* { * {
font-family: "JetBrainsMono Nerd Font"; font-family: "JetBrainsMono Nerd Font";
font-size: 18px; font-size: 18px;
} }
window#waybar { window#waybar {
background-color: #0e1019; background-color: #0e1019;
border-top: 1px solid #191B2B; border-top: 1px solid #191b2b;
color: #eceef4; color: #eceef4;
transition-property: background-color; transition-property: background-color;
transition-duration: 0.3s; transition-duration: 0.3s;
padding: 0 24px; padding: 0 24px;
opacity: 0.95;
} }
button { button {
/* Avoid rounded borders under each button name */ /* Avoid rounded borders under each button name */
border: none; border: none;
border-radius: 0; border-radius: 0;
} }
button:hover { button:hover {
border: none; border: none;
box-shadow: none; /* Remove predefined box-shadow */
text-shadow: none; /* Remove predefined text-shadow */
background: none; /* Remove predefined background color (white) */
transition: none; /* Disable predefined animations */
} }
#workspaces button { #workspaces button {
padding: 0 5px; color: #eceef4;
background-color: transparent; padding: 0 5px;
color: #eceef4;
} }
#workspaces button:hover { #workspaces button:hover {
border: none; border: none;
background: #0c0d14;
} }
#workspaces button.active { #workspaces button.active {
color: #89b4fa; color: #89b4fa;
background: #191b2b;
} }
#clock, #clock,
@ -54,6 +58,6 @@ button:hover {
#scratchpad, #scratchpad,
#power-profiles-daemon, #power-profiles-daemon,
#mpd { #mpd {
padding: 0 10px; padding: 0 10px;
color: #ffffff; color: #eceef4;
} }