nix-config/rsc/config/waybar/rounded/style.css

148 lines
2.5 KiB
CSS

@import "mocha.css";
* {
/* `otf-font-awesome` is required to be installed for icons */
font-family: FontAwesome, Inter, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px;
min-height: 1rem;
}
window#waybar {
background-color: shade(@base, 0.9);
/* border: 2px solid alpha(@crust, 0.3); */
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.2;
}
/*
window#waybar.empty {
background-color: transparent;
}
window#waybar.solo {
background-color: #FFFFFF;
}
*/
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
}
button {
/* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent;
/* Avoid rounded borders under each button name */
border: none;
border-radius: 0;
}
#workspaces button:hover,
#workspaces button.active {
border-radius: 3rem;
background: shade(@surface2, 0.9);
}
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#tray,
#mode,
#idle_inhibitor,
#scratchpad,
#mpd {
padding: 0 0.6rem;
color: #ffffff;
}
#window,
#workspaces {
margin: 0 4px;
}
/* If workspaces is the leftmost module, omit left margin */
.modules-left > widget:first-child > #workspaces {
margin-left: 0;
}
/* If workspaces is the rightmost module, omit right margin */
.modules-right > widget:last-child > #workspaces {
margin-right: 0;
}
#clock {
color: shade(@teal, 0.9);
}
#battery {
background-color: #ffffff;
color: #000000;
}
#battery.charging, #battery.plugged {
color: #ffffff;
background-color: #26A65B;
}
@keyframes blink {
to {
background-color: #ffffff;
color: #000000;
}
}
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#workspaces,
.modules-right{
padding: 0.15rem;
margin: 0.5rem;
border-radius: 3rem;
background: shade(@surface0, 0.9);
}
.modules-left{
margin-left: 0.5rem;
}
#cpu {
color: shade(@mauve, 0.9);
}
#memory {
color: shade(@maroon, 0.9);
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}