mirror of
https://git.disroot.org/eudaimon/Simplewaita.git
synced 2026-03-12 05:15:18 +00:00
attempted to make all controls a bit smaller. GTK4 seems reluctant, though, and I don't know why.
This commit is contained in:
parent
146c882b45
commit
bf3b706b8a
9 changed files with 106 additions and 101 deletions
|
|
@ -18,14 +18,17 @@
|
|||
|
||||
@if $t==normal {
|
||||
background-clip: if($checked, border-box, padding-box);
|
||||
background-image: linear-gradient(to bottom, lighten($c, 5%) 20%, $c 90%);
|
||||
border-color: $_border_color;
|
||||
box-shadow: 0 1px transparentize(black, 0.95);
|
||||
background-image: image($c); //linear-gradient(to bottom, lighten($c, 5%) 20%, $c 90%);
|
||||
//border-color: $_border_color;
|
||||
border-width: $border_width;
|
||||
@include relief($_border_color);
|
||||
background-color: $c;
|
||||
//box-shadow: 0 1px transparentize(black, 0.95);
|
||||
color: $tc;
|
||||
}
|
||||
|
||||
@if $t==hover {
|
||||
background-image: if($c == white, image(darken($c, 5%)), linear-gradient(to bottom, lighten($c, 9%) 10%, lighten($c, 4%) 90%));
|
||||
background-image: if($c == white, image(darken($c, 5%)), image(lighten($c, 7%)));
|
||||
}
|
||||
|
||||
@if $t==active {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue