138 lines
2.5 KiB
CSS
138 lines
2.5 KiB
CSS
* {
|
|
border: none;
|
|
border-radius: 0;
|
|
font-family: monofur;
|
|
font-size: 13px;
|
|
min-height: 0;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: transparent;
|
|
color: #eeeeee;
|
|
}
|
|
|
|
#custom-left-arrow-inverse,
|
|
#custom-right-arrow-inverse {
|
|
background-color: rgba(255, 255, 255, .1);
|
|
color: rgba(0, 0, 0, .15);
|
|
}
|
|
|
|
#custom-left-arrow,
|
|
#custom-right-arrow {
|
|
border-top: 4px solid transparent;
|
|
border-bottom: 4px solid transparent;
|
|
color: rgba(255, 255, 255, .1);
|
|
}
|
|
#custom-left-arrow {
|
|
border-right: 4px solid rgba(255, 255, 255, .1);
|
|
}
|
|
#custom-right-arrow {
|
|
border-left: 4px solid rgba(255, 255, 255, .1);
|
|
}
|
|
|
|
|
|
/*
|
|
window#waybar.hidden { opacity: 0.2; }
|
|
window#waybar.empty { background-color: transparent; }
|
|
window#waybar.solo { background-color: #FFFFFF; }
|
|
|
|
window#waybar.chromium {
|
|
background-color: #000000;
|
|
border: none;
|
|
}
|
|
*/
|
|
|
|
#workspaces button {
|
|
padding: 0 5px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
#workspaces button:hover {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
box-shadow: none;
|
|
border-bottom: 3px solid #ffffff;
|
|
}
|
|
|
|
#workspaces button.focused {
|
|
background-color: #64727D;
|
|
border-bottom: 3px solid #ffffff;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: #eb4d4b;
|
|
}
|
|
|
|
#mode {
|
|
background-color: #64727D;
|
|
border-bottom: 3px solid #ffffff;
|
|
}
|
|
|
|
#workspaces button,
|
|
#clock,
|
|
#battery,
|
|
#cpu,
|
|
#memory,
|
|
#temperature,
|
|
#backlight,
|
|
#network,
|
|
#pulseaudio,
|
|
#custom-media,
|
|
#tray,
|
|
#mode,
|
|
#idle_inhibitor {
|
|
padding: 0 10px;
|
|
margin: 0 4px;
|
|
color: #ffffff;
|
|
background-color: rgba(255, 255, 255, .1);
|
|
border-bottom: 3px solid rgba(255, 255, 255, .2);
|
|
}
|
|
|
|
#workspaces button:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
#clock {
|
|
padding: 0 0;
|
|
margin: 0 0;
|
|
}
|
|
#clock:not(.2) {
|
|
border-bottom: none;
|
|
}
|
|
|
|
#tray {
|
|
margin-right: 0;
|
|
}
|
|
|
|
#battery:not(.charging) {
|
|
border-bottom: 3px solid green;
|
|
}
|
|
#battery.good:not(.charging) {
|
|
border-bottom: 3px solid #26A65B;
|
|
}
|
|
#battery.medium:not(.charging) {
|
|
border-bottom: 3px solid yellow;
|
|
}
|
|
#battery.warning:not(.charging) {
|
|
border-bottom: 3px solid orange;
|
|
}
|
|
#battery.charging {
|
|
border-bottom: 3px solid #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;
|
|
}
|