[gnome-shell] theme: Normalize entry focus style



commit 9726aba2572a7123f2d5325aa30d1164511ef5cc
Author: nana-4 <hnmaigo gmail com>
Date:   Fri Jan 17 20:17:59 2020 +0900

    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 03ce04353e..3afacea67a 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 43abdc2142..aa437aac93 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]