diff options
Diffstat (limited to 'common/gtk-3.0/3.18/sass/_drawing.scss')
-rw-r--r-- | common/gtk-3.0/3.18/sass/_drawing.scss | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/common/gtk-3.0/3.18/sass/_drawing.scss b/common/gtk-3.0/3.18/sass/_drawing.scss index 1e54c38..2b24642 100644 --- a/common/gtk-3.0/3.18/sass/_drawing.scss +++ b/common/gtk-3.0/3.18/sass/_drawing.scss @@ -37,9 +37,14 @@ // focused entry // color: $text_color; - border-color: $selected_bg_color; + border-color: if($variant=='light', $selected_bg_color, $button_border); background-color: $entry_bg; 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; + } } @if $t==insensitive { @@ -148,7 +153,7 @@ color: $selected_fg_color; outline-color: transparentize($selected_fg_color, 0.7); - border-color: if($darker=='false' and $variant=='light', $selected_bg_color, transparent); + border-color: if($variant=='light', $selected_bg_color, $button_border); background-color: $selected_bg_color; } |