Bug 1765423 - Use Window/WindowText for tooltips in the default Windows theme. r=dao

Differential Revision: https://phabricator.services.mozilla.com/D145323
This commit is contained in:
Emilio Cobos Álvarez 2022-05-03 17:30:44 +00:00
Родитель 04d1c8fd1e
Коммит ae63baa75c
1 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -10,7 +10,7 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
tooltip {
border: 1px solid InfoText;
border: 1px solid;
padding: 2px 3px;
max-width: 40em;
background-color: InfoBackground;
@ -18,6 +18,15 @@ tooltip {
font: message-box;
}
@media (-moz-windows-default-theme) {
/* We use Window / WindowText instead on the default theme because the
default yellowish styles are somewhat ugly */
tooltip {
background-color: Window;
color: WindowText;
}
}
tooltip:not([position]) {
margin-top: 21px;
}