[gtk+] Adwaita: Fix highlight on check buttons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Fix highlight on check buttons
- Date: Sat, 21 Jun 2014 03:20:51 +0000 (UTC)
commit 0ec00ffbb04796546785fcd4fa8df092b8564e43
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 20 23:17:53 2014 -0400
Adwaita: Fix highlight on check buttons
The .button style class does not apply to check and radio
buttons, and .check only applies to menuitems.
gtk/resources/theme/Adwaita/_common.scss | 2 ++
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++
gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++
3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 010a20c..3d619a9 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -358,6 +358,8 @@ GtkColorButton.button { padding: 4px; } // Uniform padding on the GtkColorButton
.inline-toolbar.toolbar GtkToolButton .button { @include button(normal); }
+GtkCheckButton:hover { -gtk-image-effect: highlight; }
+
/*********
* Links *
*********/
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 6a55e27..2bf41bd 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -477,6 +477,9 @@ GtkColorButton.button {
icon-shadow: 0 -1px rgba(0, 0, 0, 0.81176);
box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
+GtkCheckButton:hover {
+ -gtk-image-effect: highlight; }
+
/*********
* Links *
*********/
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index d79de76..8e819d6 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -477,6 +477,9 @@ GtkColorButton.button {
icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
box-shadow: inset 0 1px white, 0 1px white; }
+GtkCheckButton:hover {
+ -gtk-image-effect: highlight; }
+
/*********
* Links *
*********/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]