Merge branch 'master-gitlab-HC-tooltip' into 'master'

Set HighContrast tooltip back to black text over white background

See merge request GNOME/gtk!1242
This commit is contained in:
Matthias Clasen 2019-12-12 19:18:06 +00:00
commit 0eb2b382a2
3 changed files with 7 additions and 7 deletions

View File

@ -3175,9 +3175,9 @@ tooltip {
&.background {
// 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.
background-color: transparentize(black, 0.1);
background-color: $bg_color;
background-clip: padding-box;
border: 1px solid $borders_color;
border: 2px solid $fg_color;
}
padding: 4px; /* not working */
@ -3190,7 +3190,7 @@ tooltip {
* { // Yeah this is ugly
padding: 4px;
background-color: transparent;
color: white;
color: $fg_color;
}
}

View File

@ -1417,11 +1417,11 @@ infobar { border-width: 0; border-style: none; }
/************ Tooltips * */
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 * { padding: 4px; background-color: transparent; color: white; }
tooltip * { padding: 4px; background-color: transparent; color: #fff; }
/***************** Color Chooser * */
colorswatch { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #000; }

View File

@ -1423,11 +1423,11 @@ infobar { border-width: 0; border-style: none; }
/************ Tooltips * */
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 * { padding: 4px; background-color: transparent; color: white; }
tooltip * { padding: 4px; background-color: transparent; color: #000; }
/***************** Color Chooser * */
colorswatch { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }