HighContrast: Actually style tooltips...

We need to select on the widget itself too, not just other things with
the .tooltip class.

https://bugzilla.gnome.org/show_bug.cgi?id=769879
This commit is contained in:
Daniel Boles 2017-10-05 10:07:17 +01:00
parent fd7d0067c3
commit 3ad7a86961
3 changed files with 6 additions and 4 deletions

View File

@ -3085,6 +3085,7 @@ infobar {
* Tooltips *
************/
tooltip,
.tooltip {
color: white;
padding: 4px; /* not working */
@ -3094,6 +3095,7 @@ infobar {
// border: 2px solid $borders_color; gnome shell style?
}
tooltip *,
.tooltip * { //Yeah this is ugly
padding: 4px;
background-color: transparent;

View File

@ -1399,9 +1399,9 @@ 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 { 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; }
.tooltip * { padding: 4px; background-color: transparent; color: inherit; }
tooltip *, .tooltip * { padding: 4px; background-color: transparent; color: inherit; }
/***************** Color Chooser * */
colorswatch { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #000; }

View File

@ -1405,9 +1405,9 @@ 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 { 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; }
.tooltip * { padding: 4px; background-color: transparent; color: inherit; }
tooltip *, .tooltip * { padding: 4px; background-color: transparent; color: inherit; }
/***************** Color Chooser * */
colorswatch { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }