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 | ||
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:-moz-dir(rtl) { | |
43 | background-position: right 0; | |
44 | } | |
45 | ||
46 | #errorTryAgain { | |
47 | margin-top: 1.2em; | |
48 | min-width: 150px | |
49 | } | |
50 | ||
51 | #errorContainer { | |
52 | display: none; | |
53 | } | |
54 | ||
55 | @media (max-width: 675px) { | |
56 | #errorTitleText { | |
57 | padding-top: 0; | |
58 | background-image: none; | |
59 | -moz-padding-start: 0; | |
60 | -moz-margin-start: 0; | |
61 | } | |
62 | } | |
63 | ||
64 | /* Pressing the retry button will cause the cursor to flicker from a pointer to | |
65 | * not-allowed. Override the disabled cursor behaviour since we will never show | |
66 | * the button disabled as the initial state. */ | |
67 | button:disabled { | |
68 | cursor: pointer; | |
69 | } |