rbrito / mediterranean-gtk-themes

Maintenance fork of the Mediterranean theme for GTK2/3.
GNU General Public License v3.0
53 stars 12 forks source link

Unreadable interface names in Firefox >= 42 tooltips #43

Open rbrito opened 9 years ago

rbrito commented 9 years ago

Unfortunately, when Firefox is compiled with GTK3 support (as, say, Firefox 42), the tooltips that it creates are totally unreadable with the current version of the theme (I'm using Mediterranean Night).

I will try to provide a screenshot soon.

If anybody (@robertpainsi, @darvelo, @Dvad, anyone else?) has a fix for this issue, please send a pull request.

Thanks.

soltysh commented 9 years ago

I'm not an expert in css, but after following mods I'm getting nice black and most importantly readable tooltips: (although this is for MediterraneanWhiteNight, I'm pretty sure it can be applied to others as well)

$ git df
diff --git a/MediterraneanWhiteNight/gtk-3.0/gtk-widgets.css b/MediterraneanWhiteNight/gtk-3.0/gtk-widgets.css
index 317fe34..1af5218 100644
--- a/MediterraneanWhiteNight/gtk-3.0/gtk-widgets.css
+++ b/MediterraneanWhiteNight/gtk-3.0/gtk-widgets.css
@@ -157,12 +157,12 @@ GtkLabel:insensitive {
     border-style:              solid;
        border-radius: 4px;
        border-color:           alpha(@theme_tooltip_bg_color, 0.95);
-    background-color:  alpha(@theme_tooltip_bg_color, 0.85);
+    background-color:  @theme_tooltip_bg_color;
     color:                             shade(@theme_tooltip_fg_color, 0.90);
 }

 .tooltip * {
-    background-color: alpha(@theme_tooltip_bg_color, 0.0);
+    background-color: @theme_tooltip_bg_color;
 }