forked from AuroraMiddleware/gtk
Set HighContrast tooltip back to black text over white background
8abdbfee16
pulled Adwaita tooltip selectors,
but in the meantime the colors were also set to Adwaita's. Push back the same
behaviour as before because it's better for visually-impaired users.
This commit is contained in:
parent
88da95d921
commit
e6270ca43f
@ -3175,9 +3175,9 @@ tooltip {
|
|||||||
&.background {
|
&.background {
|
||||||
// background-color needs to be set this way otherwise it gets drawn twice
|
// background-color needs to be set this way otherwise it gets drawn twice
|
||||||
// see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
|
// see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
|
||||||
background-color: transparentize(black, 0.1);
|
background-color: $bg_color;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border: 1px solid $borders_color;
|
border: 2px solid $fg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
padding: 4px; /* not working */
|
padding: 4px; /* not working */
|
||||||
@ -3190,7 +3190,7 @@ tooltip {
|
|||||||
* { // Yeah this is ugly
|
* { // Yeah this is ugly
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: white;
|
color: $fg_color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1417,11 +1417,11 @@ infobar { border-width: 0; border-style: none; }
|
|||||||
/************ Tooltips * */
|
/************ Tooltips * */
|
||||||
tooltip { padding: 4px; /* not working */ border-radius: 5px; box-shadow: none; }
|
tooltip { padding: 4px; /* not working */ border-radius: 5px; box-shadow: none; }
|
||||||
|
|
||||||
tooltip.background { background-color: rgba(0, 0, 0, 0.9); background-clip: padding-box; border: 1px solid gray; }
|
tooltip.background { background-color: #000; background-clip: padding-box; border: 2px solid #fff; }
|
||||||
|
|
||||||
tooltip decoration { background-color: transparent; }
|
tooltip decoration { background-color: transparent; }
|
||||||
|
|
||||||
tooltip * { padding: 4px; background-color: transparent; color: white; }
|
tooltip * { padding: 4px; background-color: transparent; color: #fff; }
|
||||||
|
|
||||||
/***************** Color Chooser * */
|
/***************** Color Chooser * */
|
||||||
colorswatch { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #000; }
|
colorswatch { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #000; }
|
||||||
|
@ -1423,11 +1423,11 @@ infobar { border-width: 0; border-style: none; }
|
|||||||
/************ Tooltips * */
|
/************ Tooltips * */
|
||||||
tooltip { padding: 4px; /* not working */ border-radius: 5px; box-shadow: none; }
|
tooltip { padding: 4px; /* not working */ border-radius: 5px; box-shadow: none; }
|
||||||
|
|
||||||
tooltip.background { background-color: rgba(0, 0, 0, 0.9); background-clip: padding-box; border: 1px solid gray; }
|
tooltip.background { background-color: #fff; background-clip: padding-box; border: 2px solid #000; }
|
||||||
|
|
||||||
tooltip decoration { background-color: transparent; }
|
tooltip decoration { background-color: transparent; }
|
||||||
|
|
||||||
tooltip * { padding: 4px; background-color: transparent; color: white; }
|
tooltip * { padding: 4px; background-color: transparent; color: #000; }
|
||||||
|
|
||||||
/***************** Color Chooser * */
|
/***************** Color Chooser * */
|
||||||
colorswatch { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
|
colorswatch { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
|
||||||
|
Loading…
Reference in New Issue
Block a user