[gnome-themes-standard] HC: provide hover state for checkboxes
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] HC: provide hover state for checkboxes
- Date: Mon, 4 Aug 2014 13:05:22 +0000 (UTC)
commit b535c9d6e51b1f9b0b56b0f4f7ead9c97c71ee77
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Aug 4 15:03:40 2014 +0200
HC: provide hover state for checkboxes
- not very clear due to :active/:selected vs :checked
https://bugzilla.gnome.org/show_bug.cgi?id=732486
themes/HighContrast/gtk-3.0/_common.scss | 4 +++-
themes/HighContrast/gtk-3.0/gtk.css | 8 ++++++++
2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/themes/HighContrast/gtk-3.0/_common.scss b/themes/HighContrast/gtk-3.0/_common.scss
index 3d38e3d..a14efbe 100644
--- a/themes/HighContrast/gtk-3.0/_common.scss
+++ b/themes/HighContrast/gtk-3.0/_common.scss
@@ -1296,8 +1296,10 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
color: transparentize($fg_color,0.9);
background-image: none;
-gtk-icon-source: -gtk-icontheme('#{$a}-checked-symbolic');
+ &:hover { color: $borders_color; }
&:active {
- color: $fg_color;
+ color: $fg_color;
+ &:hover { color: $borders_color; }
&:insensitive {
color: $insensitive_fg_color;
&:backdrop { color: $backdrop_insensitive_color; }
diff --git a/themes/HighContrast/gtk-3.0/gtk.css b/themes/HighContrast/gtk-3.0/gtk.css
index 3ee1774..4aca6db 100644
--- a/themes/HighContrast/gtk-3.0/gtk.css
+++ b/themes/HighContrast/gtk-3.0/gtk.css
@@ -1411,8 +1411,12 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
color: rgba(0, 0, 0, 0.1);
background-image: none;
-gtk-icon-source: -gtk-icontheme("checkbox-checked-symbolic"); }
+ .check:hover {
+ color: #7f7f7f; }
.check:active {
color: black; }
+ .check:active:hover {
+ color: #7f7f7f; }
.check:active:insensitive {
color: #7f7f7f; }
.check:active:insensitive:backdrop {
@@ -1440,8 +1444,12 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
color: rgba(0, 0, 0, 0.1);
background-image: none;
-gtk-icon-source: -gtk-icontheme("radio-checked-symbolic"); }
+ .radio:hover {
+ color: #7f7f7f; }
.radio:active {
color: black; }
+ .radio:active:hover {
+ color: #7f7f7f; }
.radio:active:insensitive {
color: #7f7f7f; }
.radio:active:insensitive:backdrop {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]