blob: 4ff5964f6ad3b9231a8e3390cf650091a606db18 (
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
|
/* 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/. */
/* Base styles (common to most error boundaries) */
/* Container */
.app-error-panel {
color: var(--theme-text-color-strong);
display: flex;
flex-direction: column;
font-family: inherit;
margin: 0 0 2rem;
overflow-y: scroll;
padding: 1rem 3rem;
width: 100%;
height: 100%;
}
/* "Has crashed" header */
.app-error-panel .error-panel-header {
align-self: center;
font-size: 22px;
font-weight: 300;
}
/* "File a Bug" button */
.app-error-panel .error-panel-file-button {
align-self: center;
background-color: var(--blue-60);
outline: none;
color: white;
font-size: 15px;
font-weight: 400;
margin-bottom: 14.74px;
padding: 0.75rem;
text-align: center;
inline-size: 200px;
text-decoration: none;
}
.app-error-panel .error-panel-file-button:hover {
background-color: var(--blue-70);
}
.app-error-panel .error-panel-file-button:hover:active {
background-color: var(--blue-80);
}
/* Text of the error itself, not the stack trace */
.app-error-panel .error-panel-error {
background-color: var(--theme-body-emphasized-background);
border: 1px solid var(--theme-toolbar-separator);
border-block-end: 0;
font-size: 17px;
font-weight: 500;
margin: 0;
padding: 2rem;
}
/* Stack trace; composed of <p> elements */
.app-error-panel .stack-trace-section {
background-color: var(--theme-body-emphasized-background);
border: 1px solid var(--theme-toolbar-separator);
padding: 2rem;
margin-bottom: 1rem;
}
.app-error-panel .stack-trace-section p {
color: var(--theme-stack-trace-text);
margin: 0;
margin-inline-start: 1rem;
}
.app-error-panel .stack-trace-section p:first-child {
margin: 0;
}
/* Instructions to reopen the toolbox */
.app-error-panel .error-panel-reload-info {
font-size: 15px;
font-weight: 400;
margin: 2rem 0 1rem;
}
|