[gnome-themes-standard] treeview: cleanup CSS a bit
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] treeview: cleanup CSS a bit
- Date: Mon, 5 Mar 2012 21:54:35 +0000 (UTC)
commit ff5428d61bd9aa63861befd4e85e0d8dd066e0a4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 5 16:54:08 2012 -0500
treeview: cleanup CSS a bit
Merge some selectors.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 46 ++++++++++++++-----------------
1 files changed, 21 insertions(+), 25 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 7d543d4..f4c02e1 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1992,6 +1992,24 @@ GtkSwitch.slider:insensitive:backdrop {
border-color: @unfocused_insensitive_borders;
}
+GtkTreeView {
+ -GtkTreeView-vertical-separator: 0;
+ -GtkTreeView-expander-size: 17;
+
+ -GtkWidget-focus-line-width: 1;
+ -GtkWidget-focus-padding: 1;
+ -adwaita-focus-border-radius: 2;
+ -adwaita-focus-border-dashes: 1;
+ -adwaita-focus-border-color: alpha(@theme_text_color, 0.6);
+}
+
+GtkTreeView.dnd {
+ border-color: @internal_element_color;
+ border-radius: 2px;
+ border-width: 1px;
+ border-style: solid;
+}
+
GtkViewport,
GtkIconView {
border-radius: 3px;
@@ -2018,7 +2036,9 @@ GtkIconView.view.cell:selected:focus {
-adwaita-focus-border-dashes: 0;
}
-.view {
+.view,
+GtkTreeView,
+GtkTreeView.view {
background-color: @theme_base_color;
color: @theme_text_color;
border-radius: 0;
@@ -2030,30 +2050,6 @@ GtkTreeView.view:selected {
color: @theme_selected_fg_color;
}
-GtkTreeView {
- -GtkTreeView-vertical-separator: 0;
- -GtkTreeView-expander-size: 17;
-
- -GtkWidget-focus-line-width: 1;
- -GtkWidget-focus-padding: 1;
- -adwaita-focus-border-radius: 2;
- -adwaita-focus-border-dashes: 1;
- -adwaita-focus-border-color: alpha(@theme_text_color, 0.6);
-
- background-color: @theme_base_color;
-}
-
-GtkTreeView.dnd {
- border-color: @internal_element_color;
- border-radius: 2px;
- border-width: 1px;
- border-style: solid;
-}
-
-GtkTreeView.view {
- background-color: @theme_base_color;
-}
-
.view:insensitive,
GtkTreeView:insensitive,
GtkTreeView.view:insensitive {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]