summaryrefslogtreecommitdiff
path: root/src/chrome/browser/aboutCertError.css
diff options
context:
space:
mode:
authorLootyhoof <lootyhoofer@gmail.com>2015-11-19 23:02:12 +0000
committerLootyhoof <lootyhoofer@gmail.com>2015-11-19 23:02:12 +0000
commit274b11748f015db0f7c6276959602f6e8b30bb95 (patch)
treef1a9d61c609438d4e6116c3bbd4831e15538e1c5 /src/chrome/browser/aboutCertError.css
Initial commit
Diffstat (limited to 'src/chrome/browser/aboutCertError.css')
-rw-r--r--src/chrome/browser/aboutCertError.css72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/chrome/browser/aboutCertError.css b/src/chrome/browser/aboutCertError.css
new file mode 100644
index 0000000..c7caf53
--- /dev/null
+++ b/src/chrome/browser/aboutCertError.css
@@ -0,0 +1,72 @@
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
6html {
7 background: -moz-Dialog;
8}
9
10body {
11 margin: 0;
12 padding: 0 1em;
13 color: -moz-FieldText;
14 font: message-box;
15}
16
17h1 {
18 margin: 0 0 .6em 0;
19 border-bottom: 1px solid ThreeDLightShadow;
20 font-size: 160%;
21}
22
23h2 {
24 font-size: 130%;
25}
26
27#errorPageContainer {
28 position: relative;
29 min-width: 13em;
30 max-width: 52em;
31 margin: 4em auto;
32 border: 1px solid #FFBD09; /* pale yellow extracted from yellow passport icon */
33 border-radius: 10px;
34 padding: 3em;
35 -moz-padding-start: 30px;
36 background: url("chrome://global/skin/icons/sslWarning.png") left 0 no-repeat -moz-Field;
37 background-origin: content-box;
38}
39
40#errorPageContainer:-moz-dir(rtl) {
41 background-position: right 0;
42}
43
44#errorTitle {
45 -moz-margin-start: 80px;
46}
47
48#errorLongContent {
49 -moz-margin-start: 80px;
50}
51
52.expander > button {
53 -moz-padding-start: 20px;
54 -moz-margin-start: -20px;
55 background: url("chrome://browser/skin/aboutCertError_sectionExpanded.png") left center no-repeat;
56 border: none;
57 font: inherit;
58 color: inherit;
59 cursor: pointer;
60}
61
62.expander > button:-moz-dir(rtl) {
63 background-position: right center;
64}
65
66.expander[collapsed] > button {
67 background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed.png");
68}
69
70.expander[collapsed] > button:-moz-dir(rtl) {
71 background-image: url("chrome://browser/skin/aboutCertError_sectionCollapsed-rtl.png");
72}