Improved a few things, such as comboboxes and separators

This commit is contained in:
eudaimon 2023-12-22 17:57:59 +01:00
parent 17b87b007f
commit 445594e1e9
7 changed files with 63 additions and 22 deletions

View file

@ -1283,6 +1283,11 @@ combobox {
&:dir(rtl) { @extend %linked_left; }
}
}
button {
min-height: $_entry_height;
min-width: $_entry_height;
padding: 2px;
}
&:drop(active) { // FIXME: untested
box-shadow: none;
@ -1681,7 +1686,7 @@ headerbar { // headerbar border rounding; could perfectly be removed, since all
box-shadow: none;
}
separator { background-color: $borders_color; } // FIXME: use darker border?
//separator { background-color: $borders_color; } // FIXME: use darker border?
@extend %titlebar;
}
@ -2571,7 +2576,7 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work
//margin: 1px;
&:disabled {
background-color: mix($insensitive_bg_color, $insensitive_fg_color, 80%);
background-color: mix($insensitive_bg_color, $insensitive_fg_color, 50%);
//border-color: transparent;
}
@ -3006,7 +3011,10 @@ separator {
min-width: 0px;
min-height: 0px;
statusbar &, .osd &, osd & {@include relief($hint_bg);}
headerbar:not(:backdrop) & {@include relief($titlebar_active_bg);}
.titlebar:not(:backdrop) & {@include relief($titlebar_active_bg);}
button & {@include relief($button_bg);}
:disabled & {@include relief($insensitive_bg_color);}
button:checked & {@include relief($button_checked_bg);}
}