% 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/. /* ===== global.css ===================================================== == Styles that apply everywhere. ======================================================================= */ %include ../../shared/global.inc.css :root { /* ::::: Variables ::::: */ --arrowpanel-padding: 10px; --default-arrowpanel-background: Field; --default-arrowpanel-color: FieldText; --default-arrowpanel-border-color: ThreeDShadow; --arrowpanel-background: var(--default-arrowpanel-background); --arrowpanel-color: var(--default-arrowpanel-color); --arrowpanel-border-color: var(--default-arrowpanel-border-color); --panel-disabled-color: GrayText; --panel-description-color: GrayText; /* ::::: Styles ::::: */ background-color: -moz-Dialog; color: -moz-DialogText; font: message-box; } @media (-moz-windows-default-theme) { :root { --arrowpanel-border-color: hsla(210,4%,10%,.2); } } /* ::::: Alert icons :::::*/ .message-icon, .alert-dialog #infoIcon, .alert-icon, .error-icon, .question-icon { width: 32px; height: 32px; } .message-icon { list-style-image: url("chrome://global/skin/icons/info.svg"); } .alert-dialog #infoIcon, .alert-icon { list-style-image: url("chrome://global/skin/icons/warning.svg"); } .error-icon { list-style-image: url("chrome://global/skin/icons/Error.png"); } .question-icon { list-style-image: url("chrome://global/skin/icons/help.svg"); -moz-context-properties: fill, fill-opacity; fill: currentColor; fill-opacity: 0.8; } /* ::::: iframe ::::: */ xul|iframe { border: none; width: 100px; height: 100px; min-width: 10px; min-height: 10px; } @supports -moz-bool-pref("layout.css.emulate-moz-box-with-flex") { /* In emulation,