mirror of
https://git.disroot.org/eudaimon/Simplewaita.git
synced 2026-03-10 04:21:07 +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
|
|
@ -22,7 +22,7 @@ $successc: #33d17a;
|
|||
|
||||
|
||||
$titlebar_active_fg: #d1ff96;
|
||||
$titlebar_active_bg: #669900;
|
||||
$titlebar_active_bg: #507800;
|
||||
|
||||
$titlebar_backdrop_fg: #EDF0F5;
|
||||
$titlebar_backdrop_bg: #3f3e3e;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
// Optional compact sizes for buttons, headerbar and headerbar widgets
|
||||
$_sizevariant: 'compact'; //either 'default', or compact otherwise
|
||||
$_headerbar_height: if($_sizevariant=='default', 46px, 40px);
|
||||
$_entry_height: if($_sizevariant=='default', 32px, 28px);
|
||||
$_headerbar_height: if($_sizevariant=='default', 3em, 2.5em);
|
||||
$_entry_height: if($_sizevariant=='default', 1.9em, 1.6em);
|
||||
$_btn_pad: if($_sizevariant=='default', 4px 9px, 2px 4px);
|
||||
$_hb_btn_pad: if($_sizevariant=='default', 6px, 5px);
|
||||
$_img_btn_pad: if($_sizevariant=='default', 5px, 2px);
|
||||
|
|
@ -24,8 +24,8 @@ $button_transition: none; //all 200ms $ease-out-quad;
|
|||
|
||||
//added by me:
|
||||
$border_width: 2px;
|
||||
$button_min_height: 24px;
|
||||
$button_min_width: 16px;
|
||||
$button_min_height: 1.6em;
|
||||
$button_min_width: 1.6em;
|
||||
$button_padding: $_btn_pad;
|
||||
$button_border: $border_width solid;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue