Commit | Line | Data |
---|---|---|
9168a62c 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 | ||
b4888bae | 5 | @import url("chrome://browser/skin/error-pages.css"); |
9168a62c | 6 | |
1b1f3d09 RK |
7 | :root { |
8 | --exception-button-container-background: #A09090; | |
9168a62c RK |
9 | } |
10 | ||
b1d1a8bb RK |
11 | body.captiveportal .title { |
12 | background-image: url("wifi.svg"); | |
13 | } | |
14 | ||
b4888bae | 15 | body.certerror .title { |
13875a54 RK |
16 | background-image: url("cert-error.svg"); |
17 | } | |
18 | ||
9168a62c RK |
19 | #errorContainer { |
20 | display: none; | |
21 | } | |
22 | ||
9168a62c RK |
23 | /* Pressing the retry button will cause the cursor to flicker from a pointer to |
24 | * not-allowed. Override the disabled cursor behaviour since we will never show | |
25 | * the button disabled as the initial state. */ | |
26 | button:disabled { | |
27 | cursor: pointer; | |
28 | } | |
8c5bee4f | 29 | |
b4888bae | 30 | #prefChangeContainer { |
13875a54 RK |
31 | display: none; |
32 | } | |
33 | ||
b4888bae | 34 | #learnMoreContainer { |
13875a54 | 35 | display: none; |
13875a54 RK |
36 | } |
37 | ||
b1d1a8bb | 38 | #certErrorAndCaptivePortalButtonContainer { |
b4888bae | 39 | display: none; |
13875a54 RK |
40 | } |
41 | ||
b1d1a8bb | 42 | body:not(.neterror) #certErrorAndCaptivePortalButtonContainer { |
b4888bae | 43 | display: flex; |
13875a54 RK |
44 | } |
45 | ||
b1d1a8bb | 46 | body:not(.neterror) #netErrorAndCaptivePortalButtonContainer { |
b4888bae | 47 | display: none; |
13875a54 RK |
48 | } |
49 | ||
b4888bae RK |
50 | #errorTryAgain { |
51 | margin-top: 1.2em; | |
13875a54 RK |
52 | } |
53 | ||
b4888bae | 54 | #advancedButton { |
8c5bee4f | 55 | display: none; |
8c5bee4f RK |
56 | } |
57 | ||
b1d1a8bb RK |
58 | body.captiveportal #returnButton { |
59 | display: none; | |
60 | } | |
61 | ||
62 | body:not(.captiveportal) #openPortalLoginPageButton { | |
63 | display: none; | |
64 | } | |
65 | ||
66 | #openPortalLoginPageButton { | |
67 | margin-inline-start: 0; | |
68 | } | |
69 | ||
70 | body:not(.neterror) #advancedButton { | |
b4888bae | 71 | display: block; |
8c5bee4f RK |
72 | } |
73 | ||
b4888bae RK |
74 | #certificateErrorReporting { |
75 | display: none; | |
8c5bee4f RK |
76 | } |
77 | ||
b4888bae RK |
78 | #advancedPanelContainer { |
79 | position: absolute; | |
db1c5db1 | 80 | width: 100%; |
1b1f3d09 | 81 | left: 0; |
8c5bee4f RK |
82 | } |
83 | ||
b4888bae | 84 | .advanced-panel { |
8c5bee4f RK |
85 | /* Hidden until the link is clicked */ |
86 | display: none; | |
b4888bae RK |
87 | background-color: var(--in-content-box-background); |
88 | border: 1px var(--in-content-box-border-color) solid; | |
1b1f3d09 RK |
89 | margin: 48px auto; |
90 | min-width: var(--in-content-container-min-width); | |
91 | max-width: var(--in-content-container-max-width); | |
8c5bee4f RK |
92 | } |
93 | ||
b4888bae RK |
94 | #overrideWeakCryptoPanel { |
95 | display: none; | |
cb8b9460 RK |
96 | flex-direction: row; |
97 | flex-wrap: wrap; | |
98 | justify-content: space-between; | |
99 | align-content: space-between; | |
100 | align-items: flex-start; | |
b4888bae | 101 | margin-top: 1em; |
cb8b9460 RK |
102 | } |
103 | ||
8c5bee4f RK |
104 | span#hostname { |
105 | font-weight: bold; | |
106 | } | |
107 | ||
108 | #automaticallyReportInFuture { | |
109 | cursor: pointer; | |
110 | } | |
111 | ||
b4888bae | 112 | #errorCode:not([href]) { |
13875a54 RK |
113 | color: var(--in-content-page-color); |
114 | cursor: text; | |
115 | text-decoration: none; | |
116 | } | |
117 | ||
b4888bae RK |
118 | #errorCode[href] { |
119 | white-space: nowrap; | |
120 | } | |
121 | ||
122 | #badCertTechnicalInfo { | |
1b1f3d09 | 123 | margin: 3em; |
b4888bae RK |
124 | overflow: auto; |
125 | white-space: pre-wrap; | |
126 | } | |
127 | ||
128 | #certificateErrorReporting { | |
129 | display: none; | |
130 | } | |
131 | ||
132 | #certificateErrorDebugInformation { | |
133 | display: none; | |
134 | background-color: var(--in-content-box-background) !important; | |
135 | border-top: 1px solid var(--in-content-border-color); | |
136 | position: absolute; | |
1b1f3d09 | 137 | width: 100%; |
b4888bae | 138 | padding: 1em 17.5%; |
1b1f3d09 RK |
139 | box-sizing: border-box; |
140 | ||
8c5bee4f RK |
141 | } |
142 | ||
b4888bae RK |
143 | #certificateErrorText { |
144 | font-family: monospace; | |
145 | white-space: pre-wrap; | |
146 | padding: 1em 0; | |
8c5bee4f | 147 | } |
66b04a00 RK |
148 | |
149 | #cert_domain_link:not([href]) { | |
150 | color: var(--in-content-page-color); | |
151 | text-decoration: none; | |
152 | } | |
1b1f3d09 RK |
153 | |
154 | .exceptionDialogButtonContainer { | |
155 | background-color: var(--exception-button-container-background); | |
156 | display: flex; | |
157 | justify-content: end; | |
158 | padding: 10px; | |
159 | } |