Merge branch 'master' of linz:/srv/git/themes
[themes.git] / EarlyBlue / global / netError.css
CommitLineData
b70a3a73 1/*
2 * This defines the look-and-feel styling of the error pages.
3 * (see: netError.xhtml)
4 *
5 * Original styling by William Price <bugzilla@mob.rice.edu>
6 * Updated by: Steven Garrity <steven@silverorange.com>
7 * Henrik Skupin <mozilla@hskupin.info>
8 */
9
9545fc93
RK
10@import url("chrome://global/skin/button.css");
11
b70a3a73 12html {
13 background: #CCD0DD;
14}
15
16body {
17 margin: 0;
18 padding: 0 1em;
19 color: #000000;
4ed82c79 20 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
b70a3a73 21}
22
23h1 {
02920d2b 24 margin: 0 0 .6em;
b70a3a73 25 border-bottom: 1px solid #666699;
26 font-size: 160%;
27}
28
29ul, ol {
30 margin: 0;
31 -moz-margin-start: 1.5em;
32 padding: 0;
33}
34
35ul > li, ol > li {
36 margin-bottom: .5em;
37}
38
39ul {
40 list-style: square;
41}
42
43#errorPageContainer {
44 position: relative;
45 min-width: 13em;
46 max-width: 52em;
47 margin: 4em auto;
48 border: 1px solid #666699;
b70a3a73 49 padding: 3em;
50 -moz-padding-start: 30px;
51 background: url("chrome://global/skin/icons/alert-exclam.gif") left 0 no-repeat #9999CC;
d15f39a1 52 background-origin: content-box;
b70a3a73 53}
54
d0ff98fe
RK
55#errorPageContainer.certerror {
56 background-image: url("chrome://global/skin/icons/sslWarning.png");
57}
58
54628835 59#errorPageContainer:-moz-dir(rtl) {
b70a3a73 60 background-position: right 0;
61}
62
63#errorTitle {
64 -moz-margin-start: 64px;
65}
66
67#errorLongContent {
68 -moz-margin-start: 64px;
69}
70
71#errorShortDesc > p {
e68e2f2b 72 overflow: auto;
b70a3a73 73 border-bottom: 1px solid #666699;
74 padding-bottom: 1em;
75 font-size: 130%;
d0ff98fe 76 white-space: pre-wrap;
b70a3a73 77}
78
79#errorLongDesc {
80 -moz-padding-end: 3em;
81 font-size: 110%;
82}
83
84#errorLongDesc > p {
85}
86
87#errorTryAgain {
88 margin-top: 2em;
89 -moz-margin-start: 64px;
90}
91
92#brand {
93 position: absolute;
94 right: 0;
95 bottom: -1.5em;
96 -moz-margin-end: 10px;
97 opacity: .4;
98}
99
54628835 100#brand:-moz-dir(rtl) {
b70a3a73 101 right: auto;
102 left: 0;
103}
104
105#brand > p {
106 margin: 0;
107}
e68e2f2b 108
109#errorContainer {
110 display: none;
111}
56029caf 112
ecb2fda9
RK
113#securityOverrideDiv {
114 padding-top: 10px;
115}
116
117#securityOverrideContent {
d0ff98fe
RK
118 background-color: #FFFFCC;
119 color: #000000;
ecb2fda9 120 padding: 10px;
ecb2fda9
RK
121}
122
56029caf
RK
123/* Custom styling for 'blacklist' error class */
124
125:root.blacklist #errorTitle, :root.blacklist #errorLongContent,
126:root.blacklist #errorShortDesc, :root.blacklist #errorLongDesc,
127:root.blacklist a {
128 background-color: #FFC0C0; /* red */
129 color: #666699;
130}
131
132:root.blacklist #errorPageContainer {
133 background-image: url("chrome://global/skin/icons/blacklist_large.png");
134 background-color: #FFC0C0;
135}
136
137:root.blacklist {
138 background: #000000;
139}
140
141:root.blacklist #errorTryAgain {
142 display: none;
143}