summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-05-04 15:20:51 +0200
committerraveit65 <[email protected]>2016-05-04 15:21:17 +0200
commit02d9bec8f02a58eb07f1d8dc1c6ceca299427e9e (patch)
tree72c2f9ce63a93f1f3134a143585a4bb9cbd6b50f /desktop-themes
parent68b6898acae4843fc0a98f8cda040316e9b42d8d (diff)
downloadmate-themes-02d9bec8f02a58eb07f1d8dc1c6ceca299427e9e.tar.bz2
mate-themes-02d9bec8f02a58eb07f1d8dc1c6ceca299427e9e.tar.xz
GTK+-3.20 GreenLaguna: re-work tooltips
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css53
1 files changed, 35 insertions, 18 deletions
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
index 0f77e8a2..9295c8d6 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
@@ -100,7 +100,9 @@
************/
tooltip,
-tooltip.background {
+tooltip.background,
+.tooltip,
+.tooltip.background {
padding: 3px;
border-style: solid;
border-width: 1px;
@@ -109,18 +111,37 @@ tooltip.background {
background-image: linear-gradient(to left,
shade(@theme_selected_bg_color, 1.1),
shade(@theme_selected_bg_color, 0.65));
- color: @theme_selected_fg_color;
-}
-
-tooltip decoration {
+ text-shadow: none;
+}
+
+/* needed for override CSD setting */
+tooltip decoration,
+.tooltip decoration,
+tooltip.csd decoration,
+.tooltip.csd decoration,
+tooltip.ssd decoration,
+.tooltip.ssd decoration,
+tooltip.solid-csd decoration,
+.tooltip.solid-csd decoration,
+tooltip.background.csd decoration,
+.tooltip.background.csd decoration,
+tooltip.background.ssd decoration,
+.tooltip.background.ssd decoration,
+tooltip.background.solid-csd decoration,
+.tooltip.background.solid-csd decoration {
background-color: alpha(@theme_selected_bg_color, 0.55);
- border-style: none;
- border-width: 0px;
+ border-style: solid;
+ border-width: 1px;
border-color: alpha(@theme_fg_color, 0.85);
border-radius: 3px;
+ box-shadow: 0 1px 5px @wm_shadow;
+ padding: 1px;
}
-tooltip * {
+tooltip label,
+.tooltip label {
+ color: @theme_selected_fg_color;
+ text-shadow: none;
padding: 3px;
}
@@ -1353,7 +1374,7 @@ treeview header button {
border-style: solid;
border-color: @button_border;
min-height: 18px;
- padding: 0px;
+ padding: 0px 4px;
}
treeview header button:hover {
@@ -1367,10 +1388,11 @@ treeview header button label {
padding: 0px 4px 0px 4px;
}
-/* row as a separator, are there separators here with 3.20 ?*/
-treeview.view separator,
-treeview.view separator:hover {
- min-height: 1px;
+
+/*Keep treeviews from jumping, separators drawn at 0 by default until hovered*/
+treeview.view.separator,
+treeview.view.separator:hover {
+ min-height: 2px;
color: shade(@theme_bg_color, 0.87);
background-color: shade(@theme_bg_color, 0.87);
}
@@ -3353,11 +3375,6 @@ decoration:backdrop {
box-shadow: none;
}
-tooltip.csd decoration {
- border-radius: 5px;
- box-shadow: 0 1px 5px @wm_shadow;
-}
-
messagedialog.csd decoration {
border-radius: 7px;
box-shadow: 0 1px 5px @wm_shadow;