summaryrefslogtreecommitdiffstats
path: root/b2g/chrome/content/netError.css
blob: 59d06a00c579da914adafa7df2ca5f46b5b4420d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* 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/. */

/*
 *  This defines the look-and-feel styling of the error pages.
 *  (see: netError.xhtml)
 *
 *  Original styling by William Price <bugzilla@mob.rice.edu>
 *  Updated for mobile by: Wes Johnston <wjohnston@mozilla.com>
 */

body {
  margin: 0;
  padding: 0 8px 8px;
  font-family: "Nokia Sans", Tahoma, sans-serif !important;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 16px;
}

ul {
  margin: 0px;
  padding: 0px 0px 0px 1em;
}

li {
  margin: 0px;
  padding: 8px 0px;
}

#errorPage {
  background-color: #CEE6F4;
}

#errorPage.certerror {
  background-color: #EFD400;
}

#errorPage.blockedsite {
  background-color: #BF0000;
}

#errorTitle {
  background: url("chrome://b2g/content/images/errorpage-warning.png") left center no-repeat;
  /* Scaled by .666 of their actual size */
  background-size: 40px 40px;
  background-origin: content-box;
  min-height: 60px;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

#errorPage.certerror #errorTitle {
  background-image: url("chrome://b2g/content/images/errorpage-larry-black.png");
}

#errorPage.blockedsite #errorTitle {
  background-image: url("chrome://b2g/content/images/errorpage-larry-white.png");
  color: white;
}

.errorTitleText {
  padding: 0px 0px 0px 50px;
  display: inline-block;
  vertical-align: middle
}

#errorPageContainer {
  background-color: white;
  border: 1px solid #999999;
  border-radius: 6px;
  padding: 6px 20px 20px;
  font-size: 14px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

#errorShortDesc > p:empty {
  display: none;
}

#errorShortDesc > p {
  overflow: auto;
  border-bottom: 1px solid #999999;
  padding-bottom: 1em;
}

#errorPage.blockedsite #errorShortDesc > p {
  font-weight: bold;
  border-bottom: none;
  padding-bottom: 0px;
}

#securityOverrideDiv {
  padding-top: 10px;
}

div[collapsed] {
  padding-left: 15px;
  background-image: url("chrome://b2g/content/images/arrowright-16.png");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: left 0.3em;
}

div[collapsed="true"] {
  background-image: url("chrome://b2g/content/images/arrowright-16.png");
}

div[collapsed="false"] {
  background-image: url("chrome://b2g/content/images/arrowdown-16.png");
}

div[collapsed="true"] > p,
div[collapsed="true"] > div {
  display: none;
}

button {
  padding: 0.3em !important;
}