c1c37d6af87e4c1acdbb9840d0be96fba4adbe5d
[themes.git] / LCARStrek / browser / aboutNetError.css
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
7 body {
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
16 ul, ol {
17   margin: 0;
18   padding: 0;
19   -moz-margin-start: 1em;
20 }
21
22 ul > li, ol > li {
23   margin-bottom: .5em;
24 }
25
26 ul {
27   list-style: disc;
28 }
29
30 #errorPageContainer {
31   min-width: 320px;
32   max-width: 512px;
33 }
34
35 #errorTitleText {
36   background: url("aboutNetError_info.svg") left 0 no-repeat;
37   background-size: 1.2em;
38   -moz-margin-start: -2em;
39   -moz-padding-start: 2em;
40 }
41
42 #errorTitleText[sslv3] {
43   background-image: url("aboutNetError_alert.svg");
44 }
45
46 #errorTitleText:-moz-dir(rtl) {
47   background-position: right 0;
48 }
49
50 #errorTryAgain {
51   margin-top: 1.2em;
52   min-width: 150px
53 }
54
55 #errorContainer {
56   display: none;
57 }
58
59 @media (max-width: 675px) {
60   #errorTitleText {
61     padding-top: 0;
62     background-image: none;
63     -moz-padding-start: 0;
64     -moz-margin-start: 0;
65   }
66 }
67
68 /* Pressing the retry button will cause the cursor to flicker from a pointer to
69  * not-allowed. Override the disabled cursor behaviour since we will never show
70  * the button disabled as the initial state. */
71 button:disabled {
72   cursor: pointer;
73 }