Differential Revision: https://phabricator.services.mozilla.com/D266422
27 lines
574 B
CSS
27 lines
574 B
CSS
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
@import url("chrome://global/skin/error-pages.css");
|
|
|
|
body {
|
|
--warning-color: #ffa436;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
--warning-color: #ffbd4f;
|
|
}
|
|
}
|
|
|
|
@media (prefers-contrast) {
|
|
body {
|
|
--warning-color: var(--text-color);
|
|
}
|
|
}
|
|
|
|
.title {
|
|
background-image: url("chrome://global/skin/icons/warning.svg");
|
|
fill: var(--warning-color);
|
|
}
|