1.5 KB82 lines
Blame
1/**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8.error-notice {
9 --errpadding: 20px;
10
11 margin: var(--errpadding);
12 padding: var(--errpadding);
13 border-radius: var(--pad);
14 background-color: var(--error-bg-color);
15 color: var(--error-fg-color);
16 display: flex;
17 flex-direction: row;
18 gap: var(--pad);
19 cursor: pointer;
20 flex-wrap: wrap;
21 max-width: 100%;
22}
23
24.error-notice-arrow {
25 margin-top: calc(var(--errpadding) / 2);
26}
27
28.error-notice-row {
29 display: flex;
30 flex-direction: row;
31}
32.error-notice-content {
33 display: flex;
34 flex-direction: column;
35 max-width: calc(100% - var(--errpadding));
36}
37
38.error-notice-title {
39 font-weight: bold;
40}
41.error-notice-stack-trace {
42 white-space: pre-wrap;
43 font-family: monospace;
44 cursor: text;
45}
46.error-notice-byline {
47 overflow: hidden;
48 white-space: nowrap;
49 text-overflow: ellipsis;
50}
51.error-notice-details {
52 padding: var(--pad);
53 white-space: pre-wrap;
54 word-break: break-word;
55 width: 100%;
56}
57
58.error-notice-left {
59 display: flex;
60 flex-direction: row;
61 flex-grow: 1;
62 overflow: hidden;
63 gap: var(--pad);
64}
65
66.inline-error-badge > * {
67 display: flex;
68 flex-direction: row;
69 gap: var(--pad);
70 align-items: center;
71
72 background-color: var(--error-bg-color);
73 color: var(--error-fg-color);
74 font-weight: 600;
75 border-radius: var(--halfpad);
76 padding: var(--halfpad) var(--pad);
77}
78
79.inline-error-tooltip {
80 max-width: 500px;
81}
82