@import "_colors.css"; * { color: @text; border-radius: 14px; transition: 120ms ease-in; } window { font-family: "Cantarell", "Font Awesome", sans-serif; font-size: 12px; color: @text; border-radius: 16px; } window > * { padding: 2px; } window#waybar { background: @bar; } window#waybar.hidden { opacity: 0; } button { border: none; background: @background; transition: 120ms ease-in; } button:hover { background-color: @hover; } #workspaces { border-radius: 16px; padding-left: 2px; padding-right: 2px; } #workspaces button { color: @text; background: transparent; font-size: 19px; border-radius: 16px; } #workspaces button label { margin-top: .2px; margin-left: .1px; } #workspaces button:hover { background: @hover; } #workspaces button.active { background: @active; } #workspaces button.active label { margin-right: 1px; } #workspaces button.urgent { background-color: alpha(shade(@orange, 0.6), .3); } widget > * { padding-top: 1px; padding-bottom: 1px; } widget > *:hover:not(#window):not(#workspaces):not(#tray):not(#custom-media) { background: @hover; } #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #wireplumber, #custom-media, #tray, #mode, #idle_inhibitor, #scratchpad, #window, #power-profiles-daemon, #custom-notifications, #custom-logo, #mpd { padding: 0 10px; font-weight: 500; } /* #window, #workspaces {} */ @keyframes blink { to { background-color: alpha(@crust, .3); color: @orange; } } #custom-logo { padding-left: 12px; padding-right: 18px; font-size: 15.2px; transition: 110ms ease-in; margin-right: 6px; } #custom-notifications { font-size: 16px; padding-left: 10px; padding-right: 12px; } #battery.charging, #battery.plugged { color: @text; background-color: alpha(@base, .3); } #battery:not(.plugged):not(.charging) { background-color: alpha(@blue, .35); } /* Using steps() instead of linear as a timing function to limit cpu usage */ #battery.critical:not(.charging) { background-color: alpha(shade(@orange, 0.5), .3); color: @text; animation-name: blink; animation-duration: 0.5s; animation-timing-function: steps(12); animation-iteration-count: infinite; animation-direction: alternate; } #custom-media { border: 2px solid @highlight; font-weight: 500; transition: 200ms ease-in; } #custom-media:hover { border: 2px solid transparent; background: @hover; } #temperature.critical { background-color: alpha(@red, .3); } #tray > .passive { -gtk-icon-effect: dim; } #tray > .needs-attention { -gtk-icon-effect: highlight; background: alpha(@orange, .3); } #scratchpad.empty { background-color: transparent; }