sidebar: configure: save settings

This commit is contained in:
end-4
2025-03-28 22:05:04 +01:00
parent 2cded1cd38
commit 1028a02b0e
7 changed files with 233 additions and 70 deletions
+43 -4
View File
@@ -306,14 +306,53 @@ widget {
.spinbutton {
@include small-rounding;
color: $onLayer2;
background-color: $layer2;
padding: 0.341rem;
min-width: 2.045rem;
min-height: 2.045rem;
caret-color: $onLayer2;
entry {
color: $onLayer2;
margin: 0.136rem 0.273rem;
margin: 0.477rem 0.614rem;
}
button {
margin-left: 0.205rem;
padding: 0.136rem;
@include unsharpen-rounding;
min-width: 2.045rem;
min-height: 2.045rem;
-gtk-outline-radius: $rounding_small;
}
button.up {
// Only apply rounding to (+) button
border-top-right-radius: $rounding_small;
border-bottom-right-radius: $rounding_small;
}
// button:focus, // Looks weird after clicking cuz it'll highlight both + and -
button:hover {
background-color: $layer2Hover;
}
button:active {
background-color: $layer2Active;
}
}
.spinbutton-reset {
@include small-rounding;
color: $onLayer2;
background-color: $layer2;
min-width: 2.045rem;
min-height: 2.045rem;
}
.spinbutton-reset:focus,
.spinbutton-reset:hover {
background-color: $layer2Hover;
}
.spinbutton-reset:active {
background-color: $layer2Active;
}