make identity box work correctly
[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
5@import url("chrome://global/skin/in-content/common.css");
6
7body {
8 display: flex;
2e389898 9 box-sizing: border-box;
9168a62c
RK
10 min-height: 100vh;
11 padding: 0 48px;
12 align-items: center;
13 justify-content: center;
14}
15
16ul, ol {
17 margin: 0;
18 padding: 0;
19 -moz-margin-start: 1em;
20}
21
22ul > li, ol > li {
23 margin-bottom: .5em;
24}
25
26ul {
27 list-style: disc;
28}
29
30#errorPageContainer {
20752032 31 position: relative;
9168a62c
RK
32 min-width: 320px;
33 max-width: 512px;
34}
35
2e389898 36#errorTitle {
9168a62c 37 background: url("aboutNetError_info.svg") left 0 no-repeat;
2e389898
RK
38 background-size: 3em;
39 -moz-margin-start: -5em;
40 -moz-padding-start: 5em;
41}
42
43#errorTitleText {
44 border-bottom: 1px solid #A09090;
45 padding-bottom: 0.4em;
9168a62c
RK
46}
47
48#errorTitleText:-moz-dir(rtl) {
49 background-position: right 0;
50}
51
13875a54
RK
52#errorTitle[sslv3=true],
53#errorTitle[weakCrypto=true] {
54 background-image: url("cert-error.svg");
55}
56
9168a62c
RK
57#errorTryAgain {
58 margin-top: 1.2em;
59 min-width: 150px
60}
61
62#errorContainer {
63 display: none;
64}
65
66@media (max-width: 675px) {
13875a54
RK
67 #errorTitle,
68 #errorTitle[sslv3=true],
69 #errorTitle[weakCrypto=true] {
9168a62c
RK
70 padding-top: 0;
71 background-image: none;
72 -moz-padding-start: 0;
73 -moz-margin-start: 0;
74 }
75}
76
77/* Pressing the retry button will cause the cursor to flicker from a pointer to
78 * not-allowed. Override the disabled cursor behaviour since we will never show
79 * the button disabled as the initial state. */
80button:disabled {
81 cursor: pointer;
82}
8c5bee4f 83
13875a54
RK
84#learnMoreContainer {
85 display: none;
86}
87
88#buttonContainer {
89 display: none;
90 flex-flow: row wrap;
91}
92
93#buttonSpacer {
94 flex: 1;
95}
96
97#returnButton {
98 background-color: var(--in-content-primary-button-background);
99 border: none;
100 color: var(--in-content-selected-text);
101 min-width: 250px;
102 margin-inline-start: 0;
103}
104
105#returnButton:hover {
106 background-color: var(--in-content-primary-button-background-hover) !important;
107}
108
109#returnButton:hover:active {
110 background-color: var(--in-content-primary-button-background-active) !important;
111}
112
113#advancedButton {
114 display: none;
115 min-width: 150px;
116}
117
118#certificateErrorReporting,
119#reportCertificateError,
120#reportSentMessage {
121 display: none;
122}
123
124div#weakCryptoAdvanced,
8c5bee4f
RK
125div#certificateErrorReporting {
126 display: none;
20752032 127 float: right;
8c5bee4f 128 /* Align with the "Try Again" button */
3981a41b 129 margin-top: 19px;
20752032 130 -moz-margin-end: 0;
8c5bee4f
RK
131}
132
133div#certificateErrorReporting a,
134div#certificateErrorReportingPanel a {
135 background-color: #C09070;
136 color: #000000;
137 border-radius: 300px;
3981a41b 138 padding: 1px 6px;
8c5bee4f
RK
139}
140
141div#certificateErrorReporting a {
8c5bee4f
RK
142}
143
144div#certificateErrorReporting a:hover {
3981a41b 145 text-decoration: none;
8c5bee4f
RK
146 background-color: #FFCF00;
147}
148
149span.downArrow {
20752032
RK
150 display: inline-block;
151 vertical-align: middle;
152 font-size: 0.6em;
153 -moz-margin-start: 0.5em;
154 transform: scaleY(0.7);
8c5bee4f
RK
155}
156
13875a54 157div#weakCryptoAdvancedPanel,
8c5bee4f
RK
158div#certificateErrorReportingPanel {
159 /* Hidden until the link is clicked */
160 display: none;
161 background-color: #000000;
162 border: 1px #A09090 solid;
163 /* Don't use top padding because the default p style has top padding, and it
164 * makes the overall div look uneven */
165 padding: 0 12px 12px 12px;
20752032
RK
166 font-size: 0.9em;
167 position: absolute;
8c5bee4f 168 width: 75%;
20752032
RK
169 margin-top: 10px;
170}
171
172div#certificateErrorReportingPanel:-moz-dir(ltr) {
8c5bee4f 173 left: 34%;
20752032
RK
174}
175
176div#certificateErrorReportingPanel:-moz-dir(rtl) {
177 right: 0;
8c5bee4f
RK
178}
179
13875a54 180#overrideWeakCryptoPanel,
cb8b9460
RK
181#errorStatePanel {
182 display: flex;
183 flex-direction: row;
184 flex-wrap: wrap;
185 justify-content: space-between;
186 align-content: space-between;
187 align-items: flex-start;
188}
189
8c5bee4f
RK
190span#hostname {
191 font-weight: bold;
192}
193
194#automaticallyReportInFuture {
195 cursor: pointer;
196}
197
13875a54
RK
198#errorCode {
199 color: var(--in-content-page-color);
200 cursor: text;
201 text-decoration: none;
202}
203
8c5bee4f 204#reportSendingMessage {
cb8b9460
RK
205 /* adjust the line-height to match the link */
206 line-height: 22px;
8c5bee4f
RK
207}
208
209#reportSentMessage {
cb8b9460
RK
210 /* adjust the line-height to match the link */
211 line-height: 22px;
8c5bee4f 212}