mirror of
https://git.disroot.org/eudaimon/Simplewaita.git
synced 2026-03-10 04:21:07 +00:00
Added an accent to active tab. Improved GTK4 so its css better overrides libadwaita's when linked or copied to ~/.config/gtk-4.0/gtk.css
This commit is contained in:
parent
3f5b9b74b8
commit
623f8caa89
14 changed files with 530 additions and 413 deletions
|
|
@ -81,3 +81,7 @@ $checkradio_bg_color: $selected_bg_color; //if($variant == 'light', $selected_bg
|
|||
$checkradio_fg_color: $selected_fg_color;
|
||||
$checkradio_borders_color: $selected_fg_color;//if($variant == 'light', darken($checkradio_bg_color,20%), darken($checkradio_bg_color,40%));
|
||||
$focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.5), transparentize($selected_bg_color, 0.3));
|
||||
|
||||
//cards
|
||||
$card_bg_color: mix($base_color, $bg_color, 20%);
|
||||
$card_fg_color: $fg_color;
|
||||
|
|
|
|||
|
|
@ -54,3 +54,6 @@ $popover_radius: $window_radius;
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
12
source/common/nautilus.scss
Normal file
12
source/common/nautilus.scss
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.nautilus-path-bar .path-buttons-box {
|
||||
//border-width: $border_width;
|
||||
//border-style: solid;
|
||||
//@include relief($button_bg);
|
||||
//color: $button_fg;
|
||||
//padding: 0;
|
||||
button {
|
||||
@extend %button_basic;
|
||||
@extend %button_basic_flat;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -34,6 +34,7 @@ notebook, notebook.frame {
|
|||
&:checked {
|
||||
//margin-top: 0px;
|
||||
margin-bottom: -$border_width;
|
||||
box-shadow: inset 0 $border_width 0 0 $selected_bg_color;
|
||||
//box-shadow: inset 0 1px 1px 0 gtkalpha($light_shadow, 0.3);
|
||||
}
|
||||
}
|
||||
|
|
@ -49,6 +50,7 @@ notebook, notebook.frame {
|
|||
margin-bottom: $border_width;
|
||||
&:checked {
|
||||
margin-top: -$border_width;
|
||||
box-shadow: inset 0 (-$border_width) 0 0 $selected_bg_color;
|
||||
//margin-bottom: 0px;
|
||||
|
||||
}
|
||||
|
|
@ -67,6 +69,7 @@ notebook, notebook.frame {
|
|||
margin-right: -($border_width);// + if( $gtk==4, 1px, 0));
|
||||
//@if $gtk==3 {
|
||||
padding-right: 10px + $border_width;
|
||||
box-shadow: inset $border_width 0 0 0 $selected_bg_color;
|
||||
//}
|
||||
//margin-left: 0px;
|
||||
|
||||
|
|
@ -85,7 +88,8 @@ notebook, notebook.frame {
|
|||
&:checked {
|
||||
margin-left: -($border_width);// + if( $gtk==4, 1px, 0));
|
||||
//@if $gtk==3 {
|
||||
padding-left: 10px + $border_width;
|
||||
padding-left: 10px + $border_width;
|
||||
box-shadow: inset (-$border_width) 0 0 0 $selected_bg_color;
|
||||
//}
|
||||
//margin-right: 0px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,10 +15,11 @@
|
|||
|
||||
// overshoot is very simplified in this theme
|
||||
|
||||
background-color: gtkalpha($c, 0.1);
|
||||
background-color: gtkalpha($c, 0.1);
|
||||
background-size: 100%;
|
||||
background-repeat: no-repeat;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background-image: none; //for libadwaita: we need to overwrite its defaults!
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue