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:
Eudaimon 2022-09-23 21:04:02 +02:00
parent 3f5b9b74b8
commit 623f8caa89
14 changed files with 530 additions and 413 deletions

View file

@ -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;
}