[gtk+] Adwaita: add inconsistent hover check/radios
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: add inconsistent hover check/radios
- Date: Tue, 24 Jun 2014 18:18:23 +0000 (UTC)
commit 2aed2cddd599f8d2f3e76d4362de4a8eb05ca80f
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Jun 24 20:17:38 2014 +0200
Adwaita: add inconsistent hover check/radios
gtk/resources/theme/Adwaita/_common.scss | 1 +
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++
gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++++
3 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 7138de6..c54144a 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1209,6 +1209,7 @@ $asset_suffix: if($variant=='dark', '-dark', '');
(':backdrop', '-unchecked-backdrop'),
(':backdrop:insensitive', '-unchecked-backdrop-insensitive'),
(':inconsistent', '-mixed'),
+ (':inconsistent:hover', '-mixed-hover'),
(':inconsistent:selected', '-mixed-active'),
(':inconsistent:backdrop', '-mixed-backdrop'),
(':inconsistent:insensitive', '-mixed-insensitive'),
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 62b5a3a..d217bb3 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1415,6 +1415,11 @@ GtkSwitch {
background-repeat: no-repeat;
background-position: center; }
+.check:inconsistent:hover {
+ background-image: -gtk-scaled(url("assets/checkbox-mixed-hover-dark.png"),
url("assets/checkbox-mixed-hover-dark 2 png"));
+ background-repeat: no-repeat;
+ background-position: center; }
+
.check:inconsistent:selected {
background-image: -gtk-scaled(url("assets/checkbox-mixed-active-dark.png"),
url("assets/checkbox-mixed-active-dark 2 png"));
background-repeat: no-repeat;
@@ -1562,6 +1567,11 @@ GtkSwitch {
background-repeat: no-repeat;
background-position: center; }
+.radio:inconsistent:hover {
+ background-image: -gtk-scaled(url("assets/radio-mixed-hover-dark.png"), url("assets/radio-mixed-hover-dark
2 png"));
+ background-repeat: no-repeat;
+ background-position: center; }
+
.radio:inconsistent:selected {
background-image: -gtk-scaled(url("assets/radio-mixed-active-dark.png"),
url("assets/radio-mixed-active-dark 2 png"));
background-repeat: no-repeat;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 6c3c1ce..3e9b16d 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1414,6 +1414,11 @@ GtkSwitch {
background-repeat: no-repeat;
background-position: center; }
+.check:inconsistent:hover {
+ background-image: -gtk-scaled(url("assets/checkbox-mixed-hover.png"), url("assets/checkbox-mixed-hover 2
png"));
+ background-repeat: no-repeat;
+ background-position: center; }
+
.check:inconsistent:selected {
background-image: -gtk-scaled(url("assets/checkbox-mixed-active.png"), url("assets/checkbox-mixed-active 2
png"));
background-repeat: no-repeat;
@@ -1561,6 +1566,11 @@ GtkSwitch {
background-repeat: no-repeat;
background-position: center; }
+.radio:inconsistent:hover {
+ background-image: -gtk-scaled(url("assets/radio-mixed-hover.png"), url("assets/radio-mixed-hover 2 png"));
+ background-repeat: no-repeat;
+ background-position: center; }
+
.radio:inconsistent:selected {
background-image: -gtk-scaled(url("assets/radio-mixed-active.png"), url("assets/radio-mixed-active 2
png"));
background-repeat: no-repeat;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]