зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
04d1c8fd1e
Коммит
ae63baa75c
|
@ -10,7 +10,7 @@
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
|
|
||||||
tooltip {
|
tooltip {
|
||||||
border: 1px solid InfoText;
|
border: 1px solid;
|
||||||
padding: 2px 3px;
|
padding: 2px 3px;
|
||||||
max-width: 40em;
|
max-width: 40em;
|
||||||
background-color: InfoBackground;
|
background-color: InfoBackground;
|
||||||
|
@ -18,6 +18,15 @@ tooltip {
|
||||||
font: message-box;
|
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]) {
|
tooltip:not([position]) {
|
||||||
margin-top: 21px;
|
margin-top: 21px;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче