[gnome-themes-standard] selection-mode: add theming support for a selection-menu button
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] selection-mode: add theming support for a selection-menu button
- Date: Thu, 30 Aug 2012 02:07:12 +0000 (UTC)
commit 10e49a59140cd7f559d32d5e658fd54e40f2320c
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Aug 27 22:12:40 2012 -0400
selection-mode: add theming support for a selection-menu button
As seen in recent Documents mockups.
themes/Adwaita/gtk-3.0/gtk-main-dark.css | 5 +++++
themes/Adwaita/gtk-3.0/gtk-main.css | 5 +++++
themes/Adwaita/gtk-3.0/gtk-widgets.css | 25 +++++++++++++++++++++++++
3 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-dark.css b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
index 09882b7..8354997 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
@@ -111,6 +111,11 @@
@define-color selection_toolbar_fg shade(@theme_text_color, 0.80);
@define-color selection_toolbar_border @internal_element_color;
+ define-color selection_menu_border @internal_element_color;
+ define-color selection_menu_strong @theme_text_color;
+ define-color selection_menu_fg shade(@theme_text_color, 0.80);
+ define-color selection_menu_dim shade(@theme_text_color, 0.70);
+
@define-color content_view_bg #242424;
@define-color app_notification_a #343a3b;
diff --git a/themes/Adwaita/gtk-3.0/gtk-main.css b/themes/Adwaita/gtk-3.0/gtk-main.css
index a83882c..961b6ab 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main.css
@@ -111,6 +111,11 @@
@define-color selection_toolbar_fg @internal_element_color;
@define-color selection_toolbar_border @borders;
+ define-color selection_menu_border #a9ada9;
+ define-color selection_menu_strong #555753;
+ define-color selection_menu_fg @internal_element_color;
+ define-color selection_menu_dim shade(@internal_element_color, 1.15);
+
@define-color content_view_bg #f1f2f1;
@define-color app_notification_a #aeaea4;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index d35e942..4f252ba 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2457,6 +2457,31 @@ GtkOverlay.osd {
padding-top: 2px;
}
+.selection-mode.toolbar .selection-menu.button {
+ background-image: none;
+ border-image: none;
+ color: @selection_menu_fg;
+}
+
+.selection-mode.toolbar .selection-menu.button:backdrop {
+ background-color: @selection_toolbar_bg;
+}
+
+.selection-mode.toolbar .selection-menu.button .dim-label {
+ color: @selection_menu_dim;
+}
+
+.selection-mode.toolbar .selection-menu.button:hover,
+.selection-mode.toolbar .selection-menu.button:active {
+ color: @selection_menu_strong;
+}
+
+.selection-mode.toolbar .selection-menu.button:active {
+ border-color: @selection_menu_border;
+ border-radius: 3px;
+ border-width: 1px;
+}
+
.selection-mode.toolbar .suggested-action.button,
.selection-mode.toolbar GtkToolButton.suggested-action .button {
background-image: linear-gradient(to bottom,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]