Bug 1610002 - Make the status panel respect @media (prefers-color-scheme: dark). r=ntim

Differential Revision: https://phabricator.services.mozilla.com/D61554

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dão Gottwald 2020-02-11 10:47:21 +00:00
Родитель 2a7522866e
Коммит 6c9b595366
3 изменённых файлов: 24 добавлений и 0 удалений

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

@ -396,6 +396,14 @@ notification[value="translation"] menulist > .menulist-dropmarker {
text-shadow: none;
}
@media (prefers-color-scheme: dark) {
#statuspanel-label {
background-color: hsl(240, 1%, 20%);
border-color: hsl(240, 1%, 40%);
color: rgb(249, 249, 250);
}
}
#statuspanel:not([mirror]) > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(ltr),
#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(rtl) {
border-right-style: solid;

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

@ -745,6 +745,14 @@ menulist.translate-infobar-element > .menulist-dropmarker {
text-shadow: none;
}
@media (prefers-color-scheme: dark) {
#statuspanel-label {
background-color: hsl(240, 1%, 20%);
border-color: hsl(240, 1%, 40%);
color: rgb(249, 249, 250);
}
}
#statuspanel:not([mirror]) > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(ltr),
#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(rtl) {
border-right-style: solid;

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

@ -743,6 +743,14 @@ notification[value="translation"] {
}
}
@media (prefers-color-scheme: dark) {
#statuspanel-label {
background-color: hsl(240, 1%, 20%);
border-color: hsl(240, 1%, 40%);
color: rgb(249, 249, 250);
}
}
#statuspanel:not([mirror]) > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(ltr),
#statuspanel[mirror] > #statuspanel-inner > #statuspanel-label:-moz-locale-dir(rtl) {
border-right-style: solid;