sync LCARStrek theme with toolkit windows theme changes in Mozilla 40 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
5@import url("chrome://global/skin/in-content/common.css");
6
7body {
8 display: flex;
9 box-sizing: padding-box;
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
36#errorTitleText {
37 background: url("aboutNetError_info.svg") left 0 no-repeat;
38 background-size: 1.2em;
39 -moz-margin-start: -2em;
40 -moz-padding-start: 2em;
41}
42
e548e22e
RK
43#errorTitleText[sslv3] {
44 background-image: url("aboutNetError_alert.svg");
45}
46
9168a62c
RK
47#errorTitleText:-moz-dir(rtl) {
48 background-position: right 0;
49}
50
51#errorTryAgain {
52 margin-top: 1.2em;
53 min-width: 150px
54}
55
56#errorContainer {
57 display: none;
58}
59
60@media (max-width: 675px) {
61 #errorTitleText {
62 padding-top: 0;
63 background-image: none;
64 -moz-padding-start: 0;
65 -moz-margin-start: 0;
66 }
67}
68
69/* Pressing the retry button will cause the cursor to flicker from a pointer to
70 * not-allowed. Override the disabled cursor behaviour since we will never show
71 * the button disabled as the initial state. */
72button:disabled {
73 cursor: pointer;
74}
8c5bee4f
RK
75
76div#certificateErrorReporting {
77 display: none;
20752032 78 float: right;
8c5bee4f 79 /* Align with the "Try Again" button */
3981a41b 80 margin-top: 19px;
20752032 81 -moz-margin-end: 0;
8c5bee4f
RK
82}
83
84div#certificateErrorReporting a,
85div#certificateErrorReportingPanel a {
86 background-color: #C09070;
87 color: #000000;
88 border-radius: 300px;
3981a41b 89 padding: 1px 6px;
8c5bee4f
RK
90}
91
92div#certificateErrorReporting a {
8c5bee4f
RK
93}
94
95div#certificateErrorReporting a:hover {
3981a41b 96 text-decoration: none;
8c5bee4f
RK
97 background-color: #FFCF00;
98}
99
100span.downArrow {
20752032
RK
101 display: inline-block;
102 vertical-align: middle;
103 font-size: 0.6em;
104 -moz-margin-start: 0.5em;
105 transform: scaleY(0.7);
8c5bee4f
RK
106}
107
108div#certificateErrorReportingPanel {
109 /* Hidden until the link is clicked */
110 display: none;
111 background-color: #000000;
112 border: 1px #A09090 solid;
113 /* Don't use top padding because the default p style has top padding, and it
114 * makes the overall div look uneven */
115 padding: 0 12px 12px 12px;
20752032
RK
116 font-size: 0.9em;
117 position: absolute;
8c5bee4f 118 width: 75%;
20752032
RK
119 margin-top: 10px;
120}
121
122div#certificateErrorReportingPanel:-moz-dir(ltr) {
8c5bee4f 123 left: 34%;
20752032
RK
124}
125
126div#certificateErrorReportingPanel:-moz-dir(rtl) {
127 right: 0;
8c5bee4f
RK
128}
129
cb8b9460
RK
130#errorStatePanel {
131 display: flex;
132 flex-direction: row;
133 flex-wrap: wrap;
134 justify-content: space-between;
135 align-content: space-between;
136 align-items: flex-start;
137}
138
8c5bee4f
RK
139span#hostname {
140 font-weight: bold;
141}
142
143#automaticallyReportInFuture {
144 cursor: pointer;
145}
146
8c5bee4f 147#reportSendingMessage {
cb8b9460
RK
148 /* adjust the line-height to match the link */
149 line-height: 22px;
8c5bee4f
RK
150}
151
152#reportSentMessage {
cb8b9460
RK
153 /* adjust the line-height to match the link */
154 line-height: 22px;
8c5bee4f 155}