swaync: fix styling of toggle buttons

This commit is contained in:
Colin 2024-03-13 08:16:47 +00:00
parent 5e1a6062af
commit 849ca59f68

View File

@ -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);
}