From e2839340543687a1b1248c768347f20b0b473265 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 4 May 2016 16:39:13 +0200 Subject: GTK+-3.20 TOK themes: adjust tooltips --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 35 +++++++++++++++++----- .../TraditionalOk/gtk-3.0/gtk-widgets.css | 35 +++++++++++++++++----- 2 files changed, 54 insertions(+), 16 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 301d212d..0150c2ca 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -58,8 +58,11 @@ GtkGrid:disabled { /************ * Tooltips * ************/ + tooltip, -tooltip.background { +tooltip.background, +.tooltip, +.tooltip.background { padding: 4px; border-style: solid; border-width: 1px; @@ -67,10 +70,31 @@ tooltip.background { border-radius: 0px; background-color: @theme_tooltip_bg_color; color: @theme_tooltip_fg_color; + text-shadow: none; } -tooltip * { - background-color: transparent; +tooltip *, +.tooltip * { + 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 { + border-radius: 0px; + box-shadow: 0 1px 5px @wm_shadow; } /********************* @@ -3590,11 +3614,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; diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index db111329..6666707f 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -58,8 +58,11 @@ GtkGrid:disabled { /************ * Tooltips * ************/ + tooltip, -tooltip.background { +tooltip.background, +.tooltip, +.tooltip.background { padding: 4px; border-style: solid; border-width: 1px; @@ -67,10 +70,31 @@ tooltip.background { border-radius: 0px; background-color: @theme_tooltip_bg_color; color: @theme_tooltip_fg_color; + text-shadow: none; } -tooltip * { - background-color: transparent; +tooltip *, +.tooltip * { + 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 { + border-radius: 0px; + box-shadow: 0 1px 5px @wm_shadow; } /********************* @@ -3580,11 +3604,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; -- cgit v1.2.1