mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
158 lines
2.6 KiB
CSS
158 lines
2.6 KiB
CSS
* {
|
|
/* `otf-font-awesome` is required to be installed for icons */
|
|
font-family:
|
|
JetBrains Mono NF,
|
|
FontAwesome,
|
|
Roboto,
|
|
Helvetica,
|
|
Arial,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
color: #c0caf5;
|
|
}
|
|
|
|
window#waybar {
|
|
border-top: 3px solid transparent;
|
|
color: #c0caf5;
|
|
transition-property: background-color;
|
|
transition-duration: 0.5s;
|
|
background-color: transparent;
|
|
}
|
|
|
|
#window {
|
|
border-radius: 20px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
window#waybar.hidden {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
window#waybar.chromium {
|
|
background-color: #000;
|
|
border: none;
|
|
}
|
|
|
|
button {
|
|
/* Use box-shadow instead of border so the text isn't offset */
|
|
box-shadow: inset 0 3px transparent;
|
|
/* Avoid rounded borders under each button name */
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
button:hover {
|
|
background: inherit;
|
|
box-shadow: inset 0 3px #c0caf5;
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 0 5px;
|
|
color: #c0caf5;
|
|
}
|
|
|
|
#workspaces button.active {
|
|
box-shadow: inset 0 3px #c0caf5;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background-color: #db4b4b;
|
|
}
|
|
|
|
#mode {
|
|
border-bottom: 3px solid #c0caf5;
|
|
}
|
|
|
|
#clock,
|
|
#battery,
|
|
#cpu,
|
|
#memory,
|
|
#disk,
|
|
#temperature,
|
|
#backlight,
|
|
#network,
|
|
#pulseaudio,
|
|
#custom-media,
|
|
#tray,
|
|
#mode,
|
|
#idle_inhibitor,
|
|
#scratchpad,
|
|
#mpd,
|
|
#custom-wireguard,
|
|
#custom-github,
|
|
#custom-dunst {
|
|
padding: 0 10px;
|
|
font-weight: bold;
|
|
background-color: transparent;
|
|
}
|
|
|
|
#custom-pipewire.muted {
|
|
color: #414868;
|
|
}
|
|
|
|
#window,
|
|
#workspaces {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
/* If workspaces is the leftmost module, omit left margin */
|
|
.modules-left>widget:first-child>#workspaces {
|
|
margin-left: 0;
|
|
}
|
|
|
|
/* If workspaces is the rightmost module, omit right margin */
|
|
.modules-right>widget:last-child>#workspaces {
|
|
margin-right: 0;
|
|
}
|
|
|
|
#battery.charging,
|
|
#battery.plugged {
|
|
color: #1abc9c;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
color: #c0caf5;
|
|
}
|
|
}
|
|
|
|
#battery.warning:not(.charging) {
|
|
color: #e0af68;
|
|
}
|
|
|
|
#battery.critical:not(.charging) {
|
|
color: #db4b4b;
|
|
animation-name: blink;
|
|
animation-duration: 0.5s;
|
|
animation-timing-function: linear;
|
|
animation-iteration-count: infinite;
|
|
animation-direction: alternate;
|
|
}
|
|
|
|
#pulseaudio.muted {
|
|
color: #414868;
|
|
}
|
|
|
|
#custom-media {
|
|
color: #41a6b5;
|
|
min-width: 100px;
|
|
}
|
|
|
|
#temperature.critical {
|
|
color: #db4b4b;
|
|
}
|
|
|
|
#tray>.passive {
|
|
-gtk-icon-effect: dim;
|
|
}
|
|
|
|
#tray>.needs-attention {
|
|
-gtk-icon-effect: highlight;
|
|
}
|
|
|
|
#network.disconnected {
|
|
color: #db4b4b;
|
|
}
|