diff options
author | raveit65 <[email protected]> | 2016-05-04 14:38:02 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-05-04 14:38:42 +0200 |
commit | 29561957f3f4111543590d80cd18c802c53fb125 (patch) | |
tree | 106b7bb92b0c68a8b43a415faf5aee96b6f64dac /desktop-themes/Green-Submarine/gtk-3.0 | |
parent | 5dd6318e229ad8d8cc65952ab068bbb0eea0570d (diff) | |
download | mate-themes-29561957f3f4111543590d80cd18c802c53fb125.tar.bz2 mate-themes-29561957f3f4111543590d80cd18c802c53fb125.tar.xz |
GTK+-3.20 submarine themes: re-work tooltip settings, fixes firefox tooltips
Diffstat (limited to 'desktop-themes/Green-Submarine/gtk-3.0')
-rw-r--r-- | desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css | 82 |
1 files changed, 54 insertions, 28 deletions
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css index d60bb492..ef79b375 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css @@ -124,28 +124,6 @@ label:disabled { background-color: transparent;
}
-tooltip,
-tooltip.background {
- padding: 4px 4px;
- color: shade(@theme_tooltip_fg_color, 0.90);
- border-width: 1px;
- border-style: solid;
- border-radius: 3px;
-/* border-color: @theme_fg_color; */
- background-color: alpha(@theme_tooltip_bg_color, 0.90);
- background-clip: padding-box;
- box-shadow: 0 1px 5px shade (@theme_selected_bg_color, 1.3);
-}
-
-tooltip decoration {
- background-color: transparent;
-}
-
-tooltip * {
- background-color: transparent;
- padding: 4px 4px;
-}
-
.grip {
background-color: transparent;
background-image: url("assets/resize-grip.svg");
@@ -163,6 +141,60 @@ rubberband, border-radius: 2px;
}
+/************
+ * Tooltips *
+ ************/
+
+tooltip,
+.tooltip {
+ border-width: 0px;
+ border-style: none;
+ border-radius: 2px;
+ border-color: transparent;
+}
+
+tooltip.background,
+.tooltip.background {
+ background-color: alpha(@theme_tooltip_bg_color, 1.00);
+ background-clip: padding-box;
+ border-width: 1px;
+ border-style: solid;
+ border-radius: 2px;
+ border-color: @theme_fg_color;
+}
+
+tooltip label,
+.tooltip label {
+ color: shade(@theme_tooltip_fg_color, 0.90);
+ text-shadow: none;
+/* this controls the tooltip size */
+ padding: 6px;
+}
+
+/* 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(shade(@theme_selected_bg_color, 1.3), 0.6);
+ border-width: 1px;
+ border-style: solid;
+ border-radius: 2px;
+ border-color: @theme_fg_color;
+ box-shadow: 0 1px 5px shade (@theme_selected_bg_color, 1.3);
+ padding: 1px;
+}
+
/*************
* separator *
*************/
@@ -6006,12 +6038,6 @@ decoration:backdrop { box-shadow: none;
}
-tooltip.csd decoration {
- border-radius: 3px;
- box-shadow: 0 1px 5px shade (@theme_selected_bg_color, 1.3);
- padding: 4px 4px;
-}
-
messagedialog.csd decoration {
border-radius: 7px;
box-shadow: 0 1px 5px shade (@theme_selected_bg_color, 1.3);
|