From 849ca59f68464121178d2e6fed1a0222ad8c706f Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 13 Mar 2024 08:16:47 +0000 Subject: [PATCH] swaync: fix styling of toggle buttons --- hosts/common/programs/swaynotificationcenter.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/common/programs/swaynotificationcenter.nix b/hosts/common/programs/swaynotificationcenter.nix index 713321b2..64511799 100644 --- a/hosts/common/programs/swaynotificationcenter.nix +++ b/hosts/common/programs/swaynotificationcenter.nix @@ -188,14 +188,14 @@ in background: rgba(0, 0, 0, 0.5); } - .widget-buttons-grid>flowbox>flowboxchild>button.toggle { + .widget-buttons-grid button.toggle { /* text color for inactive buttons, and "Clear All" button.*/ color: rgb(172, 172, 172); /* padding defaults to 16px; tighten, so i can squish it all onto one row */ padding-left: 0px; padding-right: 0px; } - .widget-buttons-grid>flowbox>flowboxchild>button.toggle.active { + .widget-buttons-grid button.toggle:checked { color: rgb(255, 255, 255); background-color: rgb(0, 110, 190); }