mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-25 04:11:49 +08:00
106 lines
1.4 KiB
CSS
106 lines
1.4 KiB
CSS
/*
|
|
* vim: ft=less
|
|
*/
|
|
|
|
* {
|
|
border: none;
|
|
border-radius: 1px;
|
|
font-family: "IBM Plex Sans", "Symbols Nerd Font" ,sans-serif;
|
|
font-size: 14px;
|
|
min-height: 0;
|
|
}
|
|
|
|
@import "dark.less";
|
|
|
|
window#waybar {
|
|
background: @background;
|
|
border-bottom: 1px solid @selection_background;
|
|
}
|
|
|
|
#workspaces {
|
|
margin: 5px 10px;
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 0 2px;
|
|
background: transparent;
|
|
color: @background_b;
|
|
}
|
|
|
|
#workspaces button.visible {
|
|
color: @foreground;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#workspaces button.active {
|
|
color: @foreground;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
color: @magenta;
|
|
}
|
|
|
|
#custom-player,
|
|
#custom-notification,
|
|
#memory,
|
|
#cpu,
|
|
#window {
|
|
color: @background_b;
|
|
}
|
|
|
|
#clock {
|
|
color: @cyan;
|
|
}
|
|
|
|
#battery {
|
|
color: @blue;
|
|
}
|
|
|
|
#battery.charging {
|
|
color: @green;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
color: @red;
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
#battery.warning:not(.charging) {
|
|
color: @background;
|
|
background-color: red;
|
|
animation-name: blink;
|
|
animation-duration: 0.5s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
#network.disconnected,
|
|
#network.disabled {
|
|
color: @red;
|
|
}
|
|
|
|
#network.wifi {
|
|
color: @green;
|
|
}
|
|
|
|
#clock,
|
|
#cpu,
|
|
#memory,
|
|
#battery,
|
|
#network,
|
|
#custom-notification,
|
|
#tray,
|
|
#custom-player {
|
|
padding: 0px 5px;
|
|
margin: 0px 5px;
|
|
}
|
|
|
|
#clock {
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
}
|