From 70e2a1bb220dad4b820f45f92f3736299db5bcf5 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Thu, 28 Aug 2014 18:38:46 +0200 Subject: [PATCH] Adwaita: nicer transition for flat buttons. --- gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index f1e29bee72..8b937c0eb8 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -48,7 +48,6 @@ outline-offset: -3px; outline-width: 1px; outline-radius: 2px; - } @@ -646,7 +645,8 @@ $_dot_color: if($variant=='light', $selected_bg_color, border-color: transparent; background-color: transparent; background-image: none; - box-shadow: inset 0 1px transparentize(white,1); + box-shadow: inset 0 1px transparentize(white,1), + 0 1px transparentize(white, 1); text-shadow: none; icon-shadow: none; } diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index 8fb6de45b9..78415f6cd7 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -767,7 +767,7 @@ GtkTextView { border-color: transparent; background-color: transparent; background-image: none; - box-shadow: inset 0 1px rgba(255, 255, 255, 0); + box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); text-shadow: none; icon-shadow: none; } diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index 84e0a52da2..bde0cb4180 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -759,7 +759,7 @@ GtkTextView { border-color: transparent; background-color: transparent; background-image: none; - box-shadow: inset 0 1px rgba(255, 255, 255, 0); + box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); text-shadow: none; icon-shadow: none; }