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