mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 20:01:49 +08:00
19ca081f0d
1. formatted with jq 2. update colors and margins 3. remove useless code and sort entries
89 lines
1.2 KiB
CSS
89 lines
1.2 KiB
CSS
* {
|
|
border: none;
|
|
border-radius: 0;
|
|
font-size: 13px;
|
|
min-height: 0;
|
|
}
|
|
|
|
@import "serenade.css";
|
|
|
|
window#waybar {
|
|
background: @background;
|
|
border-bottom: 2px solid @aqua;
|
|
color: @white_b;
|
|
}
|
|
|
|
#workspaces {
|
|
margin: 5px 10px;
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 0 5px;
|
|
background: transparent;
|
|
color: @foreground;
|
|
border-bottom: 2px solid transparent;
|
|
}
|
|
|
|
#workspaces button.focused {
|
|
background: @foreground;
|
|
color: @selection_background;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: @magenta;
|
|
}
|
|
|
|
#mode,
|
|
#clock,
|
|
#battery {
|
|
padding: 0 10px;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
|
|
#clock {
|
|
background-color: @blue;
|
|
color: @background;
|
|
}
|
|
|
|
#battery {
|
|
background-color: @aqua;
|
|
color: @background;
|
|
}
|
|
|
|
#battery.charging {
|
|
color: @background;
|
|
background-color: @green;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
background-color: @white_b;
|
|
color: @background;
|
|
}
|
|
}
|
|
|
|
#battery.warning:not(.charging) {
|
|
background: @red;
|
|
color: @white_b;
|
|
animation-name: blink;
|
|
animation-duration: 0.5s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
#clock,
|
|
#battery,
|
|
#network,
|
|
#custom-notification,
|
|
#tray,
|
|
#custom-player {
|
|
padding: 0px 10px;
|
|
margin: 0px 5px;
|
|
}
|
|
|
|
#clock {
|
|
margin-right: 10px;
|
|
}
|