% 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 @media (-moz-menubar-drag) { xul|toolbar[type="menubar"] { -moz-window-dragging: drag; } } :root { /* ::::: Variables ::::: */ --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); --arrowpanel-padding: 10px; --panel-disabled-color: GrayText; --panel-description-color: GrayText; /* ::::: Styles ::::: */ appearance: auto; -moz-default-appearance: dialog; background-color: -moz-Dialog; color: -moz-DialogText; font: message-box; } /* ::::: Alert icons :::::*/ .message-icon { list-style-image: url("moz-icon://stock/gtk-dialog-info?size=dialog"); } .alert-dialog #infoIcon, .alert-icon { list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog"); } .error-icon { list-style-image: url("moz-icon://stock/gtk-dialog-error?size=dialog"); } .question-icon { list-style-image: url("moz-icon://stock/gtk-dialog-question?size=dialog"); } .authentication-icon { list-style-image: url("chrome://global/skin/icons/Authentication.png"); } /* ::::: 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,