aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/aboutCertError.css
blob: e406eec1f3fa460496f3c96e04f38ed23dea99c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import url("chrome://global/skin/in-content/common.css");

body {
  display: flex;
  box-sizing: border-box;
  min-height: 100vh;
  padding: 0 48px;
  align-items: center;
  justify-content: center;
}

#errorPageContainer {
  position: relative;
  min-width: 320px;
  max-width: 512px;
}

#errorTitle {
  background: url("chrome://browser/skin/cert-error.svg") left 0 no-repeat;
  background-size: 3em;
  margin-inline-start: -5em;
  padding-inline-start: 5em;
}

#errorTitle:-moz-dir(rtl) {
  background-position: right 0;
}

#errorTitleText {
  border-bottom: 1px solid #C1C1C1;
  padding-bottom: 0.4em;
}

@media (max-width: 675px) {
  #errorTitle {
    padding-top: 0;
    background-image: none;
    margin-inline-start: 0;
    padding-inline-start: 0;
  }
}

#buttonContainer {
  display: flex;
  flex-flow: row wrap;
}

#buttonSpacer {
  flex: 1;
}

/* Pressing the retry button will cause the cursor to flicker from a pointer to
 * not-allowed. Override the disabled cursor behaviour since we will never show
 * the button disabled as the initial state. Remove this in Bug 1219861. */
button:disabled {
  cursor: pointer;
}

#returnButton {
  background-color: var(--in-content-primary-button-background);
  border: none;
  color: var(--in-content-selected-text);
  min-width: 250px;
  margin-inline-start: 0;
}

#returnButton:hover {
  background-color: var(--in-content-primary-button-background-hover) !important;
}

#returnButton:hover:active {
  background-color: var(--in-content-primary-button-background-active) !important;
}

#advancedButton {
  min-width: 150px;
}

/* Advanced section is hidden via inline styles until the link is clicked */
#advancedPanel {
  background-color: white;
  color: var(--in-content-text-color);
  border: 1px lightgray solid;
  /* Don't use top padding because the default p style has top padding, and it
   * makes the overall div look uneven */
  padding: 0 12px 10px;
  margin-top: 10px;
  box-shadow: 0 0 4px #ddd;
  font-size: 0.9em;
}

.hostname {
  font-weight: bold;
}