Skip to content

Commit

Permalink
Hdy tabbar tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
lassekongo83 committed Sep 4, 2022
1 parent 97ecc40 commit d3a7b8b
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions gtk/src/adw-gtk3/gtk-3.0/_libhandy.scss
Original file line number Diff line number Diff line change
Expand Up @@ -596,11 +596,11 @@ tabbar {
.box {
min-height: 30px;
background: $tab_color;
border-bottom: 1px solid $borders_color;
border-bottom: 1px solid $border_color;

&:backdrop {
color: gtkmix($backdrop_fg_color, $backdrop_bg_color, 60%);
background-color: $tab_color_backdrop;
border-color: $backdrop_borders_color;
}
}

Expand All @@ -624,20 +624,12 @@ tabbar {
tabbox {
&:dir(ltr) {
padding-right: 1px;
box-shadow: inset -1px 0 $alt_borders_color;

&:backdrop {
box-shadow: inset -1px 0 $backdrop_borders_color;
}
box-shadow: inset -1px 0 $border_color;
}

&:dir(rtl) {
padding-left: 1px;
box-shadow: inset 1px 0 $alt_borders_color;

&:backdrop {
box-shadow: inset 1px 0 $backdrop_borders_color;
}
box-shadow: inset 1px 0 $border_color;
}
}
}
Expand All @@ -664,10 +656,11 @@ tabbar {

tab {
border-style: solid;
border-color: $borders_color;
border-color: $border_color;
border-width: 0 1px 0 1px;
transition: background 150ms ease-in-out;
background-color: $tab_color;
color: $fg_color;

&:checked {
background-color: $tab_color_active;
Expand All @@ -678,7 +671,7 @@ tabbar {
&:hover { background-color: $tab_color_hover; }

&:backdrop {
border-color: $backdrop_borders_color;
color: gtkmix($backdrop_fg_color, $backdrop_bg_color, 60%);
background-color: $tab_color_backdrop;

&:hover { background-color: $tab_color_backdrop_hover; }
Expand Down

0 comments on commit d3a7b8b

Please sign in to comment.