Commit | Line | Data |
---|---|---|
e6488357 RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 | ||
5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
6 | ||
bfb8ca2c RK |
7 | #warningScreen { |
8 | background-color: #CCD0DD; | |
9 | } | |
10 | ||
11 | #warningBox { | |
12 | background-color: #CCD0DD; | |
13 | color: #000000; | |
14 | border: 1px solid #666699; | |
15 | border-radius: 10px; | |
16 | padding: 3em; | |
17 | -moz-padding-start: 30px; | |
18 | margin-left: 1em; | |
19 | margin-right: 1em; | |
20 | } | |
e6488357 | 21 | |
bfb8ca2c RK |
22 | #warningInnerBox { |
23 | max-width: 50em; | |
e6488357 RK |
24 | } |
25 | ||
bfb8ca2c RK |
26 | #warningTitle { |
27 | margin: 0 0 .6em 0; | |
28 | font-size: 160%; | |
29 | border-bottom: 1px solid #9999CC; | |
30 | } | |
31 | ||
32 | #warningText { | |
33 | font-size: 110%; | |
34 | margin-left: 0; | |
7f8406cd RK |
35 | } |
36 | ||
e6488357 RK |
37 | /* Pick the desired icons depending on the window's context */ |
38 | ||
bfb8ca2c | 39 | #warningBox.private > #warningBoxIcon { |
7f8406cd | 40 | background-image: url("chrome://global/skin/icons/information-48.png"); |
bfb8ca2c RK |
41 | width: 48px; |
42 | height: 48px; | |
43 | -moz-margin-end: 3em; | |
e6488357 RK |
44 | } |
45 | ||
bfb8ca2c | 46 | #warningBox.normal > #warningBoxIcon { |
7f8406cd | 47 | background-image: url("chrome://global/skin/icons/question-48.png"); |
bfb8ca2c RK |
48 | width: 48px; |
49 | height: 48px; | |
50 | -moz-margin-end: 3em; | |
e6488357 RK |
51 | } |
52 | ||
53 | #trackWarnBox { | |
54 | margin-top: 0.6em; | |
55 | -moz-margin-end: 7em; | |
56 | -moz-box-align: center; | |
57 | } | |
58 | ||
59 | #trackWarnIcon { | |
60 | list-style-image: url("chrome://global/skin/icons/warning-24.png"); | |
61 | width: 24px; | |
62 | height: 24px; | |
63 | } | |
64 | ||
65 | /* Define additional styles to look similar to the netError/certError pages */ | |
66 | ||
bfb8ca2c RK |
67 | #warningTitle { |
68 | font-weight: bold; | |
69 | } | |
70 | ||
e6488357 RK |
71 | #warningStatus { |
72 | margin: 0.4em 0 1.2em 0; | |
bfb8ca2c RK |
73 | padding-bottom: 1.2em; |
74 | border-bottom: 1px solid #9999CC; | |
e6488357 RK |
75 | font-size: 135%; |
76 | } | |
77 | ||
78 | #warningInnerBox > button { | |
79 | margin: 0.8em 0 1em 0; | |
80 | } | |
81 | ||
bfb8ca2c RK |
82 | #warningOuterBox > vbox > label, |
83 | #warningInnerBox > description { | |
e6488357 RK |
84 | -moz-margin-start: 0; |
85 | } |