124 lines
3 KiB
CSS
124 lines
3 KiB
CSS
/* -------- Catppuccin Mocha Palette -------- */
|
|
@define-color mocha-base #1E1E2E;
|
|
@define-color mocha-mantle #181825;
|
|
@define-color mocha-crust #11111B;
|
|
@define-color mocha-text #CDD6F4;
|
|
@define-color mocha-subtext0 #A6ADC8;
|
|
|
|
@define-color mocha-green #A6E3A1;
|
|
@define-color mocha-yellow #F9E2AF;
|
|
@define-color mocha-sky #89DCEB;
|
|
@define-color mocha-rose #F38BA8;
|
|
@define-color mocha-blue #89B4FA;
|
|
@define-color mocha-surface2 #585B70;
|
|
@define-color mocha-peach #fab387;
|
|
|
|
/* -------- Base Styles -------- */
|
|
* {
|
|
font-family: "FiraCode Nerd Font Bold", "Font Awesome 7 Free Regular", sans-serif;
|
|
font-size: 15px;
|
|
}
|
|
|
|
window#waybar {
|
|
background: @mocha-base;
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
|
|
transition: background-color .35s ease, color .35s ease;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
window#waybar.hidden { opacity: 0.2; }
|
|
|
|
window#waybar.termite { background: @mocha-mantle; }
|
|
window#waybar.chromium { background: @mocha-base; border: none; }
|
|
|
|
/* -------- Module “pill” look -------- */
|
|
#workspaces, #clock, #mpris {
|
|
background: @mocha-mantle;
|
|
border: 1px solid @mocha-surface2;
|
|
border-radius: 10px;
|
|
padding: 3px 8px;
|
|
}
|
|
|
|
/* consistent gaps between modules */
|
|
.modules-left > widget, .modules-right > widget {
|
|
margin: 0 6px;
|
|
}
|
|
.modules-left > widget:first-child { margin-left: 0; }
|
|
.modules-right > widget:last-child { margin-right: 0; }
|
|
|
|
/* -------- Buttons (generic) -------- */
|
|
/* Buttons */
|
|
button {
|
|
border: none;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: @mocha-text;
|
|
transition: background-color .2s ease, box-shadow .2s ease;
|
|
box-shadow: inset 0 -3px transparent;
|
|
}
|
|
|
|
/* hover */
|
|
button:hover {
|
|
background: rgba(255,255,255,0.08);
|
|
box-shadow: inset 0 -3px @mocha-peach;
|
|
}
|
|
|
|
/* active (no CSS transform in GTK; simulate press with padding + shadow) */
|
|
button:active {
|
|
padding-top: 1px; /* nudge down visually */
|
|
padding-bottom: 1px; /* keep height stable */
|
|
box-shadow: inset 0 -2px @mocha-peach;
|
|
color: @mocha-base;
|
|
}
|
|
|
|
/* -------- Workspaces -------- */
|
|
#workspaces {
|
|
padding: 4px 6px;
|
|
background: @mocha-mantle;
|
|
}
|
|
|
|
#workspaces button {
|
|
padding: 2px 8px;
|
|
margin: 0 2px;
|
|
border-radius: 8px;
|
|
transition: background-color .2s ease, box-shadow .2s ease;
|
|
}
|
|
|
|
#workspaces button:hover {
|
|
background: rgba(255,255,255,0.08);
|
|
}
|
|
|
|
#workspaces button.active, #workspaces button.focused {
|
|
background: @mocha-peach;
|
|
color: @mocha-base;
|
|
box-shadow: inset 0 -3px @mocha-peach;
|
|
}
|
|
|
|
#workspaces button.urgent {
|
|
background: @mocha-rose;
|
|
color: @mocha-base;
|
|
box-shadow: inset 0 -3px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
/* -------- Clock -------- */
|
|
#clock {
|
|
background: @mocha-peach;
|
|
color: @mocha-base;
|
|
font-weight: 600;
|
|
letter-spacing: 0.2px;
|
|
padding: 4px 10px;
|
|
}
|
|
|
|
/* -------- Clock -------- */
|
|
#mpris {
|
|
background: @mocha-peach;
|
|
color: @mocha-base;
|
|
font-weight: 600;
|
|
letter-spacing: 0.2px;
|
|
padding: 4px 10px;
|
|
}
|
|
|
|
/* -------- Helpers -------- */
|
|
@keyframes blink {
|
|
to { background-color: @mocha-peach; color: @mocha-base; }
|
|
}
|