summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Fleury <contact@jpfleury.net>2014-10-02 03:22:47 -0400
committerJean-Philippe Fleury <contact@jpfleury.net>2014-10-02 03:22:47 -0400
commit26a6a36501181ac0fe543643ff5f5224f1057ba1 (patch)
tree114dc453ac63c8b5649348dfab4f0d16ccddc06f
parentd51946594299dcc2a1b0e1df3c0452216e052d27 (diff)
Improving "GtkListBoxRow.button.list-row:hover" and "GtkTreeView:hover"
-rw-r--r--gtk-3.0/gtk-widgets.css58
1 files changed, 31 insertions, 27 deletions
diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css
index 8ae7e83..0a80df5 100644
--- a/gtk-3.0/gtk-widgets.css
+++ b/gtk-3.0/gtk-widgets.css
@@ -515,31 +515,6 @@ GtkMenuToolButton *,
background-color: transparent;
}
-GtkListBoxRow.button.list-row {
- color: @theme_text_color;
- background-color: @theme_base_color;
- border-radius: 0px;
- border: none;
-}
-
-GtkListBoxRow.button.list-row:hover {
- background-color: shade(@menubar_menuitem_hover_gradient_a, 1.25);
-}
-
-GtkListBoxRow.button.list-row:selected {
- color: @theme_selected_fg_color;
- border-style: solid;
- border-width: 1px;
- border-color: @menubar_menuitem_hover_border_color;
- background-image: -gtk-gradient (linear,
- left top,
- left bottom,
- from (@menubar_menuitem_hover_gradient_a),
- color-stop (0.50, @menubar_menuitem_hover_gradient_b),
- color-stop (0.50, @menubar_menuitem_hover_gradient_c),
- to (@menubar_menuitem_hover_gradient_d));
-}
-
.primary-toolbar .button {
border-image: none;
border-style: solid;
@@ -649,7 +624,8 @@ GtkColorChooserWidget #add-color-button {
.primary-toolbar .button:focus:active,
.primary-toolbar .button:focus:active:hover,
.inline-toolbar .button:active,
-.inline-toolbar .button:active:hover {
+.inline-toolbar .button:active:hover,
+GtkListBoxRow.button.list-row:hover {
background-image: linear-gradient(to bottom,
@button_active_gradient_a,
@button_active_gradient_b 3px,
@@ -660,6 +636,27 @@ GtkColorChooserWidget #add-color-button {
background-color: transparent;
}
+GtkListBoxRow.button.list-row {
+ color: @theme_text_color;
+ background-color: @theme_base_color;
+ border-radius: 0px;
+ border: none;
+}
+
+GtkListBoxRow.button.list-row:selected {
+ color: @theme_selected_fg_color;
+ border-style: solid;
+ border-width: 1px;
+ border-color: @menubar_menuitem_hover_border_color;
+ background-image: -gtk-gradient (linear,
+ left top,
+ left bottom,
+ from (@menubar_menuitem_hover_gradient_a),
+ color-stop (0.50, @menubar_menuitem_hover_gradient_b),
+ color-stop (0.50, @menubar_menuitem_hover_gradient_c),
+ to (@menubar_menuitem_hover_gradient_d));
+}
+
.trough,
.trough.highlight,
.trough row,
@@ -1572,7 +1569,14 @@ GtkTreeView:insensitive {
}
GtkTreeView:hover {
- background-color: shade(@menubar_menuitem_hover_gradient_a, 1.25);
+ background-image: linear-gradient(to bottom,
+ @button_active_gradient_a,
+ @button_active_gradient_b 3px,
+ @button_active_gradient_c 4px,
+ @button_active_gradient_d 50%,
+ @button_active_gradient_e 50%,
+ @button_active_gradient_f);
+ background-color: transparent;
}
column-header.button,