|
@@ -0,0 +1,88 @@
|
|
|
+/* 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://icons/skin/icon-theme-default.css");
|
|
|
+
|
|
|
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
+
|
|
|
+#warningScreen {
|
|
|
+ background-color: -moz-Dialog;
|
|
|
+}
|
|
|
+
|
|
|
+#warningBox {
|
|
|
+ background-color: -moz-Field;
|
|
|
+ color: -moz-FieldText;
|
|
|
+ border: 1px solid ThreeDShadow;
|
|
|
+ border-radius: 10px;
|
|
|
+ padding: 3em;
|
|
|
+ -moz-padding-start: 30px;
|
|
|
+ margin-left: 1em;
|
|
|
+ margin-right: 1em;
|
|
|
+}
|
|
|
+
|
|
|
+#warningInnerBox {
|
|
|
+ max-width: 50em;
|
|
|
+}
|
|
|
+
|
|
|
+#warningTitle {
|
|
|
+ margin: 0 0 .6em 0;
|
|
|
+ font-size: 160%;
|
|
|
+ border-bottom: 1px solid ThreeDLightShadow
|
|
|
+}
|
|
|
+
|
|
|
+#warningText {
|
|
|
+ font-size: 110%;
|
|
|
+ margin-left: 0;
|
|
|
+}
|
|
|
+
|
|
|
+/* Pick the desired icons depending on the window's context */
|
|
|
+
|
|
|
+#warningBox.private > #warningBoxIcon {
|
|
|
+ list-style-image: var(--icon-dialog-information-48);
|
|
|
+
|
|
|
+ width: 48px;
|
|
|
+ height: 48px;
|
|
|
+ -moz-margin-end: 3em;
|
|
|
+}
|
|
|
+
|
|
|
+#warningBox.normal > #warningBoxIcon {
|
|
|
+ list-style-image: var(--icon-dialog-question-48);
|
|
|
+ width: 48px;
|
|
|
+ height: 48px;
|
|
|
+ -moz-margin-end: 3em;
|
|
|
+}
|
|
|
+
|
|
|
+#trackWarnBox {
|
|
|
+ margin-top: 0.6em;
|
|
|
+ -moz-margin-end: 7em;
|
|
|
+ -moz-box-align: center;
|
|
|
+}
|
|
|
+
|
|
|
+#trackWarnIcon {
|
|
|
+ list-style-image: var(--icon-dialog-warning-24);
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+}
|
|
|
+
|
|
|
+/* Define additional styles to look similar to the netError/certError pages */
|
|
|
+
|
|
|
+#warningTitle {
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+#warningStatus {
|
|
|
+ margin: 0.4em 0 1.2em 0;
|
|
|
+ padding-bottom: 1.2em;
|
|
|
+ border-bottom: 1px solid ThreeDLightShadow;
|
|
|
+ font-size: 135%;
|
|
|
+}
|
|
|
+
|
|
|
+#warningInnerBox > button {
|
|
|
+ margin: 0.8em 0 1em 0;
|
|
|
+}
|
|
|
+
|
|
|
+#warningOuterBox > vbox > label,
|
|
|
+#warningInnerBox > description {
|
|
|
+ -moz-margin-start: 0;
|
|
|
+}
|