blob: 4799949724126fed950cf5556c0939fb09d71a53 (
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
|
.error-display {
display: flex;
justify-content: center;
align-items: center;
padding: 2rem;
min-height: 200px;
}
.error-content {
text-align: center;
max-width: 400px;
}
.error-icon {
width: 48px;
height: 48px;
color: var(--error-icon-color);
margin: 0 auto 1rem;
display: block;
}
.error-title {
font-size: 1.5rem;
font-weight: 600;
color: var(--error-title-color);
margin: 0 0 0.5rem;
}
.error-message {
color: var(--error-message-color);
margin: 0 0 1.5rem;
line-height: 1.5;
}
.error-retry-button {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: var(--button-background-color);
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-size: 0.9rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease;
}
.error-retry-button:hover {
background: var(--button-hover-background-color);
}
.error-retry-button:active {
transform: translateY(1px);
}
.retry-icon {
width: 16px;
height: 16px;
}
/* Compact version for smaller spaces */
.error-display.compact {
min-height: 120px;
padding: 1rem;
}
.error-display.compact .error-icon {
width: 32px;
height: 32px;
margin-bottom: 0.75rem;
}
.error-display.compact .error-title {
font-size: 1.2rem;
}
.error-display.compact .error-message {
font-size: 0.9rem;
margin-bottom: 1rem;
}
|