From 9726aba2572a7123f2d5325aa30d1164511ef5cc Mon Sep 17 00:00:00 2001 From: nana-4 Date: Fri, 17 Jan 2020 20:17:59 +0900 Subject: [PATCH] theme: Normalize entry focus style This fixes the focus style of the regular entry to match with the GTK one. This will allow removing a number of overrides of entries for normalization. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/931 --- data/theme/gnome-shell-sass/_drawing.scss | 1 + data/theme/gnome-shell-sass/widgets/_entries.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/theme/gnome-shell-sass/_drawing.scss b/data/theme/gnome-shell-sass/_drawing.scss index 03ce04353..3afacea67 100644 --- a/data/theme/gnome-shell-sass/_drawing.scss +++ b/data/theme/gnome-shell-sass/_drawing.scss @@ -46,6 +46,7 @@ border-color: if($fc==$selected_bg_color, $selected_borders_color, darken($fc,35%)); + box-shadow: inset 0 0 0 1px $fc; } @if $t==hover { } @if $t==insensitive { diff --git a/data/theme/gnome-shell-sass/widgets/_entries.scss b/data/theme/gnome-shell-sass/widgets/_entries.scss index 43abdc214..aa437aac9 100644 --- a/data/theme/gnome-shell-sass/widgets/_entries.scss +++ b/data/theme/gnome-shell-sass/widgets/_entries.scss @@ -7,7 +7,7 @@ StEntry { color: $fg_color; @include entry(normal); //&:hover { @include entry(hover);} - &:focus { @include entry(focus,$fc:transparentize($fg_color,0.5));} + &:focus { @include entry(focus);} &:insensitive { @include entry(insensitive);} selection-background-color: $selected_bg_color; selected-color: $selected_fg_color;