@import url("./colors.css");
* {
    border: none;
    border-radius: 0;
    font-family: InputSans Nerd Font;
    font-size: 12px;
    min-height: 0;
}
window#waybar {
    opacity: 0.9;
    background: transparent;
    color: @foreground;
    border-bottom: 2px solid @background;
}
#workspaces {
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0;
    border-radius: 26px;
    background: @background;
    transition: none;
}
#workspaces button {
    padding: 0 10px;
    background: transparent;
    color: @foreground;
}
#workspaces button:hover {
    box-shadow: inherit;
    text-shadow: inherit;
}
#workspaces button.active {
    /*background-image: linear-gradient(0deg, @purple, @selection);*/
    background-image: -gtk-gradient (linear,
                                   0.5 0, 0.5 1,
                                   color-stop(0.2, #313c54),
                   color-stop(1, #556892)
                   );
}
#workspaces button.urgent {
    background-image: linear-gradient(0deg, @red, @background-darker);
}
#taskbar button.active {
    background-image: linear-gradient(0deg, @selection, @background-darker);
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#network,
#pulseaudio,
#wireplumber,
#bluetooth,
#tray,
#idle_inhibitor,
#mpris,
#keyboard-state,
#battery,
#custom-swaync,
#custom-storage,
#custom-power
{
    padding: 0 7px;
    opacity: 0.75;
    background: @background;
}

#temperature.critical {
    color: @red;
}

#tray > .passive {
    -gtk-icon-effect: dim;
}

#tray > .needs-attention {
    -gtk-icon-effect: highlight;
    background-color: @red;
}
