Skip to content

Commit

Permalink
Merge pull request #1303 from ubuntu/GtkTheme_Sidebars
Browse files Browse the repository at this point in the history
Testing PR: reduce the orange in selected rows
  • Loading branch information
Feichtmeier committed Apr 29, 2019
2 parents 33911af + 2806a9a commit cf5d3b2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gtk/src/light/gtk-3.20/_common.scss
Expand Up @@ -3760,13 +3760,17 @@ list {
row {
outline-offset: -3px;
transition: all 150ms $ease-out-quad;
color: if($variant=='light', lighten($fg_color, 7%), darken($fg_color, 5%));

&:not(:selected) {
outline-color: gtkalpha(currentColor, 0.3);
&:not(:backdrop):hover { background-color: $base_hover_color; }
&:not(:backdrop):active { background-color: $base_active_color; }
}

&:hover { background-color: $base_hover_color; }
&:active { background-color: $base_active_color; }

&:backdrop { transition: $backdrop_transition; }

&.activatable:not(:backdrop) {
Expand All @@ -3782,7 +3786,10 @@ row {
}
}

&:selected { @extend %selected_items; }
&:selected {
color: if($variant=='light', darken($fg_color, 9%), white);
background-color: if($variant=='light', transparentize(black, 0.92), transparentize($silk, 0.8));
}
}


Expand Down

0 comments on commit cf5d3b2

Please sign in to comment.