[gnome-themes-standard: 2/3] osd: fix insensitive buttons
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard: 2/3] osd: fix insensitive buttons
- Date: Sun, 9 Feb 2014 17:08:39 +0000 (UTC)
commit 0562d04aeb6587afa166a132192a7ef78d5fab5e
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Feb 7 14:23:11 2014 +0100
osd: fix insensitive buttons
https://bugzilla.gnome.org/show_bug.cgi?id=723829
themes/Adwaita/gtk-3.0/gtk-main-common.css | 12 ++++++------
themes/Adwaita/gtk-3.0/gtk-widgets.css | 3 +++
2 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-common.css b/themes/Adwaita/gtk-3.0/gtk-main-common.css
index 3d74d01..fc448ef 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-common.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-common.css
@@ -31,8 +31,8 @@
@define-color osd_button_bg_b alpha(@osd_lowlight, 0.05);
@define-color osd_button_bg_c alpha(@osd_highlight, 0.12);
- define-color osd_button_bg_insensitive alpha(@osd_highlight, 0.25);
- define-color osd_button_bg_insensitive_active alpha(@osd_highlight, 0.16);
+ define-color osd_button_bg_insensitive alpha(@osd_bg, 0.25);
+ define-color osd_button_bg_insensitive_active alpha(@osd_bg, 0.16);
@define-color osd_button_bg_hover_a alpha(@osd_highlight, 0.28);
@define-color osd_button_bg_hover_b alpha(@osd_lowlight, 0.14);
@@ -42,10 +42,10 @@
@define-color osd_button_bg_active_b alpha(black, 0.4);
@define-color osd_button_bg_active_c alpha(black, 0);
- define-color osd_button_bg_backdrop alpha(@osd_highlight, 0.18);
- define-color osd_button_bg_backdrop_hover alpha(@osd_highlight, 0.25);
- define-color osd_button_bg_backdrop_active alpha(@osd_highlight, 0.35);
- define-color osd_button_bg_backdrop_insensitive alpha(@osd_highlight, 0.08);
+ define-color osd_button_bg_backdrop alpha(@osd_bg, 0.18);
+ define-color osd_button_bg_backdrop_hover alpha(@osd_bg, 0.25);
+ define-color osd_button_bg_backdrop_active alpha(@osd_bg, 0.35);
+ define-color osd_button_bg_backdrop_insensitive alpha(@osd_bg, 0.08);
@define-color osd_button_fg_backdrop shade(@osd_fg, 0.70);
@define-color osd_button_fg_backdrop_active shade(@osd_fg, 0.95);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 7985af7..f2e1288 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2944,6 +2944,9 @@ GtkOverlay.osd {
.osd .button {
border-color: @osd_button_border;
}
+.osd .button:insensitive {
+ border-color: alpha(@osd_button_border,0.5);
+}
.osd .button:active {
border-color: @osd_button_border_active;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]