[gnome-themes-standard] Use a style class for model buttons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Use a style class for model buttons
- Date: Tue, 22 Apr 2014 15:13:17 +0000 (UTC)
commit a845832b10076cee20e122d95ae6cc5d61271384
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 22 11:12:37 2014 -0400
Use a style class for model buttons
Using a style class instead of the class name will let us vary model
button theming in the future.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index cbe3469..e1ab26c 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -4137,15 +4137,15 @@ GtkPopover.osd > .toolbar .button {
background-color: transparent;
}
-GtkModelButton.button
+.modelbutton.button
{
color: @theme_fg_color;
}
-GtkModelButton.button:active,
-GtkModelButton.button:insensitive,
-GtkModelButton.button:active:insensitive,
-GtkModelButton.button {
+.modelbutton.button:active,
+.modelbutton.button:insensitive,
+.modelbutton.button:active:insensitive,
+.modelbutton.button {
background-color: transparent;
background-image: none;
border-color: transparent;
@@ -4154,13 +4154,13 @@ GtkModelButton.button {
box-shadow: none;
}
-GtkModelButton.button:backdrop,
-GtkModelButton.button:hover:backdrop,
-GtkModelButton.button:insensitive:backdrop,
-GtkModelButton.button:active:insensitive:backdrop,
-GtkModelButton.button:active:backdrop,
-GtkModelButton.button:active:hover:backdrop,
-GtkModelButton.button:active:selected:backdrop {
+.modelbutton.button:backdrop,
+.modelbutton.button:hover:backdrop,
+.modelbutton.button:insensitive:backdrop,
+.modelbutton.button:active:insensitive:backdrop,
+.modelbutton.button:active:backdrop,
+.modelbutton.button:active:hover:backdrop,
+.modelbutton.button:active:selected:backdrop {
text-shadow: none;
icon-shadow: none;
color: @theme_unfocused_fg_color;
@@ -4182,9 +4182,9 @@ GtkPopover .separator {
border: 0;
}
-GtkModelButton.button:active:hover,
-GtkModelButton.button:hover,
-GtkModelButton.button:selected {
+.modelbutton.button:active:hover,
+.modelbutton.button:hover,
+.modelbutton.button:selected {
background-image: none;
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]