187 lines
3.3 KiB
CSS
187 lines
3.3 KiB
CSS
|
* {
|
||
|
border: none;
|
||
|
border-radius: 0;
|
||
|
/* `otf-font-awesome` is required to be installed for icons */
|
||
|
font-family: Liberation Mono;
|
||
|
min-height: 20px;
|
||
|
padding-top: 1px;
|
||
|
}
|
||
|
|
||
|
window#waybar {
|
||
|
background: transparent;
|
||
|
}
|
||
|
|
||
|
window#waybar.hidden {
|
||
|
opacity: 0.2;
|
||
|
}
|
||
|
|
||
|
#workspaces {
|
||
|
margin-right: 8px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#workspaces button {
|
||
|
transition: none;
|
||
|
color: #7c818c;
|
||
|
background: transparent;
|
||
|
padding: 5px;
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
|
||
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||
|
#workspaces button:hover {
|
||
|
transition: none;
|
||
|
box-shadow: inherit;
|
||
|
text-shadow: inherit;
|
||
|
border-radius: inherit;
|
||
|
color: #3c384a;
|
||
|
background: #7c818c;
|
||
|
}
|
||
|
|
||
|
#workspaces button.persistent {
|
||
|
font-size: 12px;
|
||
|
}
|
||
|
|
||
|
#workspaces button.focused {
|
||
|
color: white;
|
||
|
font-size: 18px;
|
||
|
}
|
||
|
|
||
|
#window {
|
||
|
margin-right: 8px;
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
window#waybar.empty #window {
|
||
|
background: transparent;
|
||
|
}
|
||
|
|
||
|
#keyboard-state {
|
||
|
margin-right: 8px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 0px 10px 10px 0px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#mode {
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#clock {
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px 10px 10px 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#pulseaudio {
|
||
|
margin-right: 8px;
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#pulseaudio.muted {
|
||
|
background-color: #90b1b1;
|
||
|
color: #2a5c45;
|
||
|
}
|
||
|
|
||
|
#custom-mem {
|
||
|
margin-right: 8px;
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#temperature {
|
||
|
margin-right: 8px;
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#temperature.critical {
|
||
|
background-color: #eb4d4b;
|
||
|
}
|
||
|
|
||
|
#backlight {
|
||
|
margin-right: 8px;
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#battery {
|
||
|
margin-right: 8px;
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
#battery.charging {
|
||
|
color: #ffffff;
|
||
|
background-color: #26A65B;
|
||
|
}
|
||
|
|
||
|
#battery.warning:not(.charging) {
|
||
|
background-color: #ffbe61;
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
#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;
|
||
|
}
|
||
|
|
||
|
#tray {
|
||
|
padding-left: 16px;
|
||
|
padding-right: 16px;
|
||
|
border-radius: 10px;
|
||
|
transition: none;
|
||
|
color: #ffffff;
|
||
|
background: #3c384a;
|
||
|
}
|
||
|
|
||
|
@keyframes blink {
|
||
|
to {
|
||
|
background-color: #ffffff;
|
||
|
color: #000000;
|
||
|
}
|
||
|
}
|