[gnome-themes-standard] combobox-entry: match new combobox-entry style on primary-toolbars
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] combobox-entry: match new combobox-entry style on primary-toolbars
- Date: Tue, 16 Aug 2011 09:01:20 +0000 (UTC)
commit 5b24fbab471d5ea8613e721e8a455887652af025
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Aug 16 10:59:14 2011 +0200
combobox-entry: match new combobox-entry style on primary-toolbars
It needs an additional selector, as primary toolbar buttons already have
a different style.
themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css | 3 +++
themes/Adwaita/gtk-3.0/gtk-widgets-assets.css | 3 +++
themes/Adwaita/gtk-3.0/gtk-widgets.css | 9 ++++++++-
3 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css b/themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css
index 1a5e2ff..e508bae 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-assets-dark.css
@@ -72,6 +72,9 @@
border-image: url("assets/entry-border-focused-dark.svg") 2 / 2 stretch;
}
+.primary-toolbar GtkComboBox.combobox-entry .button:active,
+.primary-toolbar GtkComboBox.combobox-entry .button:hover:active,
+.primary-toolbar GtkComboBox.combobox-entry .button,
GtkComboBox.combobox-entry .button:active,
GtkComboBox.combobox-entry .button:hover:active,
GtkComboBox.combobox-entry .button {
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css b/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
index 0822d25..a28afaf 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-assets.css
@@ -72,10 +72,13 @@
border-image: url("assets/entry-border-focused.svg") 2 / 2 stretch;
}
+.primary-toolbar GtkComboBox.combobox-entry .button,
GtkComboBox.combobox-entry .button {
border-image: url("assets/entry-border-normal.svg") 2 / 2 2 2 0 stretch;
}
+.primary-toolbar GtkComboBox.combobox-entry .button:active,
+.primary-toolbar GtkComboBox.combobox-entry .button:hover:active,
GtkComboBox.combobox-entry .button:active,
GtkComboBox.combobox-entry .button:hover:active {
border-image: url("assets/combobox-entry-border-active.svg") 2 / 2 2 2 0 stretch;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 2aca634..f73c715 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -140,7 +140,9 @@ GtkStatusbar {
.entry,
GtkComboBox.combobox-entry .button,
-GtkComboBox.combobox-entry .button:prelight {
+GtkComboBox.combobox-entry .button:prelight,
+.primary-toolbar GtkComboBox.combobox-entry .button,
+.primary-toolbar GtkComboBox.combobox-entry .button:prelight {
background-image: -gtk-gradient(linear,
left top, left bottom,
from(@entry_background_a),
@@ -505,6 +507,7 @@ GtkComboBox .button *:prelight {
color: @theme_text_color;
}
+.primary-toolbar GtkComboBox.combobox-entry .button,
GtkComboBox.combobox-entry .button {
border-width: 1 1 1 0;
border-radius: 0 3 3 0;
@@ -513,11 +516,15 @@ GtkComboBox.combobox-entry .button {
-adwaita-focus-fill-color: alpha (@theme_base_color, 0.0);
}
+.primary-toolbar GtkComboBox.combobox-entry .button *:active,
+.primary-toolbar GtkComboBox.combobox-entry .button *:prelight,
GtkComboBox.combobox-entry .button *:active,
GtkComboBox.combobox-entry .button *:prelight {
color: @internal_element_prelight;
}
+.primary-toolbar GtkComboBox.combobox-entry .button:active,
+.primary-toolbar GtkComboBox.combobox-entry .button:hover:active,
GtkComboBox.combobox-entry .button:active,
GtkComboBox.combobox-entry .button:hover:active {
background-image: -gtk-gradient(linear,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]