[gnome-themes-standard] Widget theme: Fix insensitive active switch borders.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget theme: Fix insensitive active switch borders.
- Date: Wed, 19 Sep 2012 13:45:24 +0000 (UTC)
commit 7c0e9f04cb8455fb028c78aef80e1eb6896ebeda
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Sep 19 15:45:06 2012 +0200
Widget theme: Fix insensitive active switch borders.
.../Adwaita/gtk-3.0/gtk-widgets-borders-dark.css | 4 +++-
themes/Adwaita/gtk-3.0/gtk-widgets-borders.css | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
index f1f0dd7..6ea39a4 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
@@ -11,7 +11,8 @@ GtkComboBox.combobox-entry .button,
.spinbutton.vertical .button:insensitive,
.trough,
.trough.highlight,
-GtkSwitch.trough {
+GtkSwitch.trough,
+GtkSwitch.trough:active:insensitive {
border-image: url("borders/generic-border-dark.svg") 3 3 4 3 / 3px 3px 4px 3px stretch;
border-radius: 3px;
border-width: 1px 1px 2px 1px;
@@ -93,6 +94,7 @@ GtkSwitch.trough:active {
.inline-toolbar.toolbar GtkToolButton .button:insensitive,
.primary-toolbar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough:insensitive,
+.primary-toolbar GtkSwitch.trough:active:insensitive,
.primary-toolbar GtkComboBox .button:active,
.primary-toolbar GtkComboBox .button:insensitive {
border-image: url("borders/primary-toolbar-generic-border-dark.svg") 4 / 4px stretch;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index c6ddda7..5262c15 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -11,7 +11,8 @@ GtkComboBox.combobox-entry .button,
.spinbutton.vertical .button:insensitive,
.trough,
.trough.highlight,
-GtkSwitch.trough {
+GtkSwitch.trough,
+GtkSwitch.trough:active:insensitive {
border-image: url("borders/generic-border.svg") 3 3 4 3 / 3px 3px 4px 3px stretch;
border-radius: 3px;
border-width: 1px 1px 2px 1px;
@@ -93,6 +94,7 @@ GtkSwitch.trough:active {
.inline-toolbar.toolbar GtkToolButton .button:insensitive,
.primary-toolbar GtkSwitch.trough,
.primary-toolbar GtkSwitch.trough:insensitive,
+.primary-toolbar GtkSwitch.trough:active:insensitive,
.primary-toolbar GtkComboBox .button:active,
.primary-toolbar GtkComboBox .button:insensitive {
border-image: url("borders/primary-toolbar-generic-border.svg") 4 / 4px stretch;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]