Dotfiles/desktopenvs/hyprlua/mnotifd-theme/style.css

141 lines
3.2 KiB
CSS

/* mnotifd — plain CyberQueer theme (hyprlua's standard look, no hologram/glow
* treatment). Hand-maintained here, not generated: regen-beacon.sh copies this
* file into desktopenvs/hyprlua/mnotifd/style/ as-is, replacing whatever
* style.css hyprdrive's beacon shipped. Mirrors astal-menu's own plainness
* relative to astro-menu: flat @violet/@bg fills instead of alpha glass, no
* box-shadow glow, no hover transitions, no @text colour override, no
* hardcoded "glow_violet" hex — just the shared palette variables.
*
* Targets the SAME class names the (renamed) Python source emits — beacon's
* `.beacon-*` classes become `.mnotifd-*` after regen-beacon.sh's rename
* pass, so this file has to speak that post-rename vocabulary already. */
* {
font-family: "Agave Nerd Font Mono", monospace;
font-size: 12pt;
}
/* The CyberQueer GTK theme paints `* { background-color:#1a1a1a }` on every node,
* which would fill the surface and the gaps between cards with an opaque slab.
* Blank the structural nodes; the card asserts its own fill below. */
window,
window.background,
.mnotifd-window,
.mnotifd-stack,
.mnotifd-content,
box,
overlay,
label,
image,
drawingarea {
background: transparent;
background-color: transparent;
}
/* the card */
.mnotifd-card {
background-color: @bg;
border: 2px solid @violet;
border-radius: 12px;
padding: 12px 14px;
}
.mnotifd-card.critical {
border-color: @accent;
}
.mnotifd-summary {
color: @text;
font-weight: bold;
font-size: 12pt;
}
.mnotifd-card.critical .mnotifd-summary { color: @accent; }
/* divider — kept minimal even when re-enabled locally (squiggle defaults off
* for this variant); the wave colour itself is Cairo-drawn in notification.py. */
.mnotifd-squiggle {
margin: 2px 0;
background: none;
background-color: transparent;
border: none;
box-shadow: none;
}
.mnotifd-body {
color: @text;
font-size: 11pt;
opacity: 0.95;
}
.mnotifd-icon { margin-right: 2px; }
/* action pills */
.mnotifd-action {
color: @text;
background-color: @bg;
border: 2px solid @violet;
border-radius: 20px;
padding: 2px 12px;
min-height: 22px;
}
.mnotifd-action:hover {
border-color: @accent;
color: @accent;
}
/* embedded controls (x-mnotifd-controls hint after renaming) */
.mnotifd-control-row { background: transparent; }
.mnotifd-control-label {
color: @text;
font-size: 11pt;
opacity: 0.95;
}
.mnotifd-toggle {
background-color: @bg;
border: 2px solid @violet;
border-radius: 20px;
min-width: 40px;
min-height: 22px;
}
.mnotifd-toggle:checked {
background-color: @accent;
border-color: @accent;
}
.mnotifd-toggle slider {
background-color: @text;
border-radius: 50%;
}
.mnotifd-slider trough {
background-color: @bg;
border: 2px solid @violet;
border-radius: 20px;
min-height: 8px;
}
.mnotifd-slider highlight {
background-color: @accent;
border-radius: 20px;
}
.mnotifd-slider slider {
background-color: @text;
border: 2px solid @violet;
border-radius: 50%;
min-width: 14px;
min-height: 14px;
}
.mnotifd-entry {
color: @text;
background-color: @bg;
border: 2px solid @violet;
border-radius: 12px;
padding: 2px 10px;
min-height: 22px;
}
.mnotifd-entry:focus-within {
border-color: @accent;
}
.mnotifd-hologram { background: transparent; }