[gtk+] HC: Give tooltips a border for contrast on Inverse



commit 6b2c8bfcf16f3a0f1c018c18466e705373c22263
Author: Daniel Boles <dboles src gnome org>
Date:   Thu Oct 5 10:23:59 2017 +0100

    HC: Give tooltips a border for contrast on Inverse
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769879

 gtk/theme/HighContrast/_common.scss              |    2 +-
 gtk/theme/HighContrast/gtk-contained-inverse.css |    2 +-
 gtk/theme/HighContrast/gtk-contained.css         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 6154416..d03f320 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -3092,7 +3092,7 @@ tooltip,
   border-radius: 5px;
   background-color: transparentize(black,0.2);  //FIXME proper color
   text-shadow: 0 1px black;
-//  border: 2px solid $borders_color; gnome shell style?
+  border: 1px solid $borders_color;
 }
 
 tooltip *,
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css 
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index 10ba7ab..3f8b6f2 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -1399,7 +1399,7 @@ infobar { border-width: 0; border-style: none; }
 .info label:selected, .info label:selected:focus, .info label:selected:hover, .question label:selected, 
.question label:selected:focus, .question label:selected:hover, .warning label:selected, .warning 
label:selected:focus, .warning label:selected:hover, .error label:selected, .error label:selected:focus, 
.error label:selected:hover { background-color: white; }
 
 /************ Tooltips * */
-tooltip, .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: 
rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; }
+tooltip, .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: 
rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; border: 1px solid gray; }
 
 tooltip *, .tooltip * { padding: 4px; background-color: transparent; color: inherit; }
 
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index 365d7b1..483026e 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -1405,7 +1405,7 @@ infobar { border-width: 0; border-style: none; }
 .info label:selected, .info label:selected:focus, .info label:selected:hover, .question label:selected, 
.question label:selected:focus, .question label:selected:hover, .warning label:selected, .warning 
label:selected:focus, .warning label:selected:hover, .error label:selected, .error label:selected:focus, 
.error label:selected:hover { background-color: #333333; }
 
 /************ Tooltips * */
-tooltip, .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: 
rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; }
+tooltip, .tooltip { color: white; padding: 4px; /* not working */ border-radius: 5px; background-color: 
rgba(0, 0, 0, 0.8); text-shadow: 0 1px black; border: 1px solid gray; }
 
 tooltip *, .tooltip * { padding: 4px; background-color: transparent; color: inherit; }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]