summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2014-07-08 16:42:10 +0200
committerLapo Calamandrei <calamandrei@gmail.com>2014-07-08 16:42:10 +0200
commit71f328e8c230c54cac8b450a05a302389461d1a5 (patch)
tree39b5de4390fd0133252aa2488960fd0cbd1a57ac
parente399e68392c96e77aa7092505d2f085565020f3e (diff)
downloadgtk+-71f328e8c230c54cac8b450a05a302389461d1a5.tar.gz
Adwaita: remove the image effect for buttons icons in backdrop
-rw-r--r--gtk/resources/theme/Adwaita/_common.scss1
-rw-r--r--gtk/resources/theme/Adwaita/gtk-contained-dark.css3
-rw-r--r--gtk/resources/theme/Adwaita/gtk-contained.css3
3 files changed, 5 insertions, 2 deletions
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 042967d020..a189ce2da3 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -254,6 +254,7 @@ GtkLabel {
}
&:backdrop, &.flat:backdrop {
@include button(backdrop);
+ -gtk-image-effect: none;
&:active {
@include button(backdrop-active);
}
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index bb18f04099..f66fb0ccfc 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -283,7 +283,8 @@
background-image: linear-gradient(to bottom, #393f3f);
text-shadow: none;
icon-shadow: none;
- box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
+ -gtk-image-effect: none; }
.button:backdrop:active, .button.flat:backdrop:active {
border-style: solid;
color: #c9cbc9;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 4647b927f2..0b8042c65e 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -275,7 +275,8 @@
background-image: linear-gradient(to bottom, #ededed);
text-shadow: none;
icon-shadow: none;
- box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); }
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
+ -gtk-image-effect: none; }
.button:backdrop:active, .button.flat:backdrop:active {
border-style: solid;
color: #54595a;