forked from Cylo-Traders/Agrocylo-PIP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathErrorBoundary.css
More file actions
100 lines (88 loc) · 1.83 KB
/
Copy pathErrorBoundary.css
File metadata and controls
100 lines (88 loc) · 1.83 KB
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
99
100
.ui-error-boundary {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem 1rem;
background: #faf6f0;
}
.ui-error-boundary__card {
width: min(36rem, 100%);
border: 1px solid #e0cfb0;
border-radius: 0.75rem;
background: #ffffff;
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06);
padding: 2rem 1.5rem;
}
.ui-error-boundary__eyebrow {
margin: 0;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: #2f5f26;
}
.ui-error-boundary__title {
margin: 0.75rem 0 0;
font-size: 1.5rem;
line-height: 1.3;
font-weight: 600;
color: #2a1c12;
}
.ui-error-boundary__body {
margin: 0.75rem 0 0;
font-size: 0.9375rem;
line-height: 1.55;
color: #7d5e34;
}
.ui-error-boundary__detail {
margin: 1rem 0 0;
padding: 0.75rem 1rem;
border-radius: 0.5rem;
background: #f0e8d8;
color: #4a3525;
font-size: 0.75rem;
line-height: 1.45;
white-space: pre-wrap;
word-break: break-word;
overflow: auto;
max-height: 10rem;
}
.ui-error-boundary__actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 1.5rem;
}
.ui-error-boundary__primary,
.ui-error-boundary__secondary {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.5rem;
padding: 0.625rem 1.25rem;
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
}
.ui-error-boundary__primary {
border: none;
background: #2f5f26;
color: #ffffff;
}
.ui-error-boundary__primary:hover {
background: #274c21;
}
.ui-error-boundary__secondary {
border: 1px solid #c8a97a;
background: #ffffff;
color: #65492c;
}
.ui-error-boundary__secondary:hover {
background: #f0e8d8;
}
.ui-error-boundary__primary:focus-visible,
.ui-error-boundary__secondary:focus-visible {
outline: 2px solid #4d933e;
outline-offset: 2px;
}