[gnome-shell-sass] theme: Normalize entry focus style
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] theme: Normalize entry focus style
- Date: Thu, 6 Feb 2020 20:50:47 +0000 (UTC)
commit 85c1c514da581ca0ebb18e3348b679e71550e4e4
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
_drawing.scss | 1 +
widgets/_entries.scss | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/_drawing.scss b/_drawing.scss
index 03ce043..3afacea 100644
--- a/_drawing.scss
+++ b/_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/widgets/_entries.scss b/widgets/_entries.scss
index 43abdc2..aa437aa 100644
--- a/widgets/_entries.scss
+++ b/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]