165 lines
3.6 KiB
CSS
165 lines
3.6 KiB
CSS
/* === Catppuccin Mocha Palette === */
|
|
|
|
/* Background / Base */
|
|
@define-color crust #11111b;
|
|
@define-color mantle #181825;
|
|
@define-color base #1e1e2e;
|
|
@define-color base-alpha rgba(30, 30, 46, 0.9);
|
|
|
|
/* Surface */
|
|
@define-color surface0 #313244;
|
|
@define-color surface1 #45475a;
|
|
@define-color surface2 #585b70;
|
|
|
|
/* Overlays */
|
|
@define-color overlay0 #6c7086;
|
|
@define-color overlay1 #7f849c;
|
|
@define-color overlay2 #9399b2;
|
|
|
|
/* Subtext & Text */
|
|
@define-color subtext0 #a6adc8;
|
|
@define-color subtext1 #bac2de;
|
|
@define-color text #cdd6f4;
|
|
|
|
/* Accents */
|
|
@define-color rosewater #f5e0dc;
|
|
@define-color flamingo #f2cdcd;
|
|
@define-color pink #f5c2e7;
|
|
@define-color mauve #cba6f7;
|
|
@define-color red #f38ba8;
|
|
@define-color maroon #eba0ac;
|
|
@define-color peach #fab387;
|
|
@define-color yellow #f9e2af;
|
|
@define-color green #a6e3a1;
|
|
@define-color teal #94e2d5;
|
|
@define-color sapphire #74c7ec;
|
|
@define-color blue #89b4fa;
|
|
@define-color lavender #b4befe;
|
|
|
|
/* --- Global --- */
|
|
* {
|
|
font-family:
|
|
Aporetic Sans Mono,
|
|
Iosevka Nerd Font,
|
|
Roboto,
|
|
Helvetica,
|
|
Arial,
|
|
sans-serif;
|
|
font-size: 13px;
|
|
}
|
|
|
|
window#waybar {
|
|
background-color: transparent;
|
|
color: @text;
|
|
}
|
|
|
|
.modules-center > widget {
|
|
min-width: 80px;
|
|
margin: 0px 200px;
|
|
color: @text;
|
|
font-weight: bold;
|
|
border: 2px solid transparent;
|
|
border-radius:30px;
|
|
background:
|
|
linear-gradient(@base-alpha, @base-alpha) padding-box,
|
|
linear-gradient(45deg, @blue, @green) border-box;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.modules-center > widget:not(#custom-spacer) label {
|
|
padding: 0 30px; /* controls pill width via label padding */
|
|
transition: padding 0.2s ease;
|
|
}
|
|
|
|
.modules-center > label {
|
|
padding: 0px 30px;
|
|
transition: padding 0.2s ease;
|
|
}
|
|
|
|
.modules-center:hover label {
|
|
padding: 0px 10px;
|
|
}
|
|
|
|
/* --- Group specifics --- */
|
|
|
|
#hardware:hover #custom-hardware-anchor {
|
|
opacity: 0; /* hide visually */
|
|
min-width: 0; /* override inherited min-width if any */
|
|
padding: 0; /* remove any padding */
|
|
margin: 0; /* remove any margin */
|
|
transition: opacity 0.2s ease, width 0.2s ease;
|
|
}
|
|
|
|
connections:hover #custom-connections-anchor {
|
|
opacity: 0; /* hide visually */
|
|
transition: opacity 0.2s ease, width 0.2s ease;
|
|
}
|
|
|
|
|
|
workspaces button {
|
|
padding: 0px 1px;
|
|
min-width: 80px;
|
|
background-color: transparent;
|
|
color: @text;
|
|
border: 2px solid @inactive;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
workspaces button:hover {
|
|
background-color: @surface1;
|
|
}
|
|
|
|
workspaces button.active {
|
|
font-weight: bold;
|
|
border: 1px solid transparent;
|
|
background:
|
|
linear-gradient(rgba(255, 255, 255, 0.15),
|
|
rgba(255, 255, 255, 0.15)) padding-box,
|
|
linear-gradient(45deg, @blue, @green) border-box;
|
|
}
|
|
|
|
#clock,
|
|
#idle_inhibitor,
|
|
#battery,
|
|
#cpu,
|
|
#memory,
|
|
#temperature,
|
|
#network,
|
|
#pulseaudio,
|
|
#tray {
|
|
margin: 0 5px;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
/* --------------------------------------------------------- */
|
|
/* STATES */
|
|
/* --------------------------------------------------------- */
|
|
|
|
#idle_inhibitor.activated {
|
|
background-color: @green;
|
|
}
|
|
|
|
#battery.charging {
|
|
color: @green;
|
|
}
|
|
|
|
#battery.warning:not(.charging) {
|
|
color: white;
|
|
animation: blink 0.5s linear infinite alternate;
|
|
}
|
|
|
|
@keyframes blink {
|
|
to {
|
|
background-color: #ffffff;
|
|
color: black;
|
|
}
|
|
}
|
|
|
|
#network.disconnected {
|
|
background-color: @red;
|
|
}
|
|
|
|
#temperature.critical {
|
|
background-color: @red;
|
|
}
|