From c30ebde9221e5e468c2ae5fb5e192506c6538ff9 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 15 Sep 2015 16:49:38 +0200 Subject: [PATCH] fix entry drawing --- common/gtk-3.0/3.14/gtk-contained-dark.css | 2 +- common/gtk-3.0/3.14/gtk-contained-solid-dark.css | 2 +- common/gtk-3.0/3.14/sass/_drawing.scss | 6 ++++-- common/gtk-3.0/3.16/gtk-contained-dark.css | 2 +- common/gtk-3.0/3.16/gtk-contained-solid-dark.css | 2 +- common/gtk-3.0/3.16/sass/_drawing.scss | 6 ++++-- common/gtk-3.0/3.18/gtk-contained-dark.css | 2 +- common/gtk-3.0/3.18/gtk-contained-solid-dark.css | 2 +- common/gtk-3.0/3.18/sass/_drawing.scss | 6 ++++-- 9 files changed, 18 insertions(+), 12 deletions(-) diff --git a/common/gtk-3.0/3.14/gtk-contained-dark.css b/common/gtk-3.0/3.14/gtk-contained-dark.css index 9b150e1..68ee9d6 100644 --- a/common/gtk-3.0/3.14/gtk-contained-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-dark.css @@ -166,7 +166,7 @@ GtkFlowBox .grid-child { border-color: #2b2e39; background-color: #404552; background-image: linear-gradient(to bottom, #404552); - box-shadow: inset 1px 1px #5294E2, inset -1px -1px #5294E2; } + box-shadow: inset 1px 0 #5294E2, inset -1px 0 #5294E2, inset 0 1px #5294E2, inset 0 -1px #5294E2; } .entry:insensitive { color: rgba(211, 218, 227, 0.45); border-color: rgba(43, 46, 57, 0.55); diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css index f0970de..61b1a23 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css @@ -166,7 +166,7 @@ GtkFlowBox .grid-child { border-color: #2b2e39; background-color: #404552; background-image: linear-gradient(to bottom, #404552); - box-shadow: inset 1px 1px #5294E2, inset -1px -1px #5294E2; } + box-shadow: inset 1px 0 #5294E2, inset -1px 0 #5294E2, inset 0 1px #5294E2, inset 0 -1px #5294E2; } .entry:insensitive { color: rgba(211, 218, 227, 0.45); border-color: rgba(43, 46, 57, 0.55); diff --git a/common/gtk-3.0/3.14/sass/_drawing.scss b/common/gtk-3.0/3.14/sass/_drawing.scss index 2b24642..6e5e43a 100644 --- a/common/gtk-3.0/3.14/sass/_drawing.scss +++ b/common/gtk-3.0/3.14/sass/_drawing.scss @@ -42,8 +42,10 @@ background-image: linear-gradient(to bottom, $entry_bg); @if $variant == 'dark' { - box-shadow: inset 1px 1px $selected_bg_color, - inset -1px -1px $selected_bg_color; + box-shadow: inset 1px 0 $selected_bg_color, + inset -1px 0 $selected_bg_color, + inset 0 1px $selected_bg_color, + inset 0 -1px $selected_bg_color; } } diff --git a/common/gtk-3.0/3.16/gtk-contained-dark.css b/common/gtk-3.0/3.16/gtk-contained-dark.css index 56056ca..97a18fa 100644 --- a/common/gtk-3.0/3.16/gtk-contained-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-dark.css @@ -166,7 +166,7 @@ GtkTextView { border-color: #2b2e39; background-color: #404552; background-image: linear-gradient(to bottom, #404552); - box-shadow: inset 1px 1px #5294E2, inset -1px -1px #5294E2; } + box-shadow: inset 1px 0 #5294E2, inset -1px 0 #5294E2, inset 0 1px #5294E2, inset 0 -1px #5294E2; } .entry:insensitive { color: rgba(211, 218, 227, 0.45); border-color: rgba(43, 46, 57, 0.55); diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css index 799f196..1284db6 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css @@ -166,7 +166,7 @@ GtkTextView { border-color: #2b2e39; background-color: #404552; background-image: linear-gradient(to bottom, #404552); - box-shadow: inset 1px 1px #5294E2, inset -1px -1px #5294E2; } + box-shadow: inset 1px 0 #5294E2, inset -1px 0 #5294E2, inset 0 1px #5294E2, inset 0 -1px #5294E2; } .entry:insensitive { color: rgba(211, 218, 227, 0.45); border-color: rgba(43, 46, 57, 0.55); diff --git a/common/gtk-3.0/3.16/sass/_drawing.scss b/common/gtk-3.0/3.16/sass/_drawing.scss index 2b24642..6e5e43a 100644 --- a/common/gtk-3.0/3.16/sass/_drawing.scss +++ b/common/gtk-3.0/3.16/sass/_drawing.scss @@ -42,8 +42,10 @@ background-image: linear-gradient(to bottom, $entry_bg); @if $variant == 'dark' { - box-shadow: inset 1px 1px $selected_bg_color, - inset -1px -1px $selected_bg_color; + box-shadow: inset 1px 0 $selected_bg_color, + inset -1px 0 $selected_bg_color, + inset 0 1px $selected_bg_color, + inset 0 -1px $selected_bg_color; } } diff --git a/common/gtk-3.0/3.18/gtk-contained-dark.css b/common/gtk-3.0/3.18/gtk-contained-dark.css index 7b8826d..c517ab8 100644 --- a/common/gtk-3.0/3.18/gtk-contained-dark.css +++ b/common/gtk-3.0/3.18/gtk-contained-dark.css @@ -165,7 +165,7 @@ GtkTextView { border-color: #2b2e39; background-color: #404552; background-image: linear-gradient(to bottom, #404552); - box-shadow: inset 1px 1px #5294E2, inset -1px -1px #5294E2; } + box-shadow: inset 1px 0 #5294E2, inset -1px 0 #5294E2, inset 0 1px #5294E2, inset 0 -1px #5294E2; } .entry:insensitive { color: rgba(211, 218, 227, 0.45); border-color: rgba(43, 46, 57, 0.55); diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css index 87d24cf..ed8de32 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css @@ -165,7 +165,7 @@ GtkTextView { border-color: #2b2e39; background-color: #404552; background-image: linear-gradient(to bottom, #404552); - box-shadow: inset 1px 1px #5294E2, inset -1px -1px #5294E2; } + box-shadow: inset 1px 0 #5294E2, inset -1px 0 #5294E2, inset 0 1px #5294E2, inset 0 -1px #5294E2; } .entry:insensitive { color: rgba(211, 218, 227, 0.45); border-color: rgba(43, 46, 57, 0.55); diff --git a/common/gtk-3.0/3.18/sass/_drawing.scss b/common/gtk-3.0/3.18/sass/_drawing.scss index 2b24642..6e5e43a 100644 --- a/common/gtk-3.0/3.18/sass/_drawing.scss +++ b/common/gtk-3.0/3.18/sass/_drawing.scss @@ -42,8 +42,10 @@ background-image: linear-gradient(to bottom, $entry_bg); @if $variant == 'dark' { - box-shadow: inset 1px 1px $selected_bg_color, - inset -1px -1px $selected_bg_color; + box-shadow: inset 1px 0 $selected_bg_color, + inset -1px 0 $selected_bg_color, + inset 0 1px $selected_bg_color, + inset 0 -1px $selected_bg_color; } }