File size: 3,046 Bytes
bae9410
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
.error-item {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.error-item .icon {
    font-size: 24px;
}

.error-item .body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.error-item vscode-button {
    margin: 0;
}

.error-item h1,
.error-item p {
    margin: 0;
}

.error-item header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-right: 30px;
}

.error-item header h1 {
    text-transform: uppercase;
    font-size: 11px;
    margin: 0;
}

.error-item header p {
    max-width: 40em;
    opacity: 0.9;
}

.error-item .actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.error-item .retry-message {
    font-size: 11px;
    opacity: 0.7;
}

.error-item .banner-container {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    height: 100px;
}

@property --error-item-reflection-position {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

.error-item .banner {
    --error-item-reflection-position: -100%;

    padding: 6px 30px;
    transform: translateY(50%) translateX(25%) rotate(45deg);
    border: 1px solid rgba(0 0 0 / 16%);
    background: linear-gradient(
            45deg,
            rgb(255 220 220 / 0%) calc(var(--error-item-reflection-position) + 35%),
            rgb(255 220 220 / 50%) calc(var(--error-item-reflection-position) + 50%),
            rgb(255 220 220 / 0%) calc(var(--error-item-reflection-position) + 65%)
        ),
        linear-gradient(rgb(255 255 255 / 55%), rgb(255 255 255 / 55%)),
        repeating-conic-gradient(#4ac1e8, #7048e8, #ff5543, #7048e8, #4ac1e8);
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 15%);
    transition: box-shadow 650ms ease-in-out;
    color: #080808;
    text-shadow: 1px 1px 0 rgb(255 255 255 / 75%);
    font-size: 9px;
    line-height: 9px;
    font-weight: 900;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
}

.error-item .banner:hover {
    --error-item-reflection-position: 100%;

    transition:
        --error-item-reflection-position 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955),
        box-shadow 750ms ease-in-out;
    box-shadow:
        0 4px 8px 0 rgb(0 0 0 / 15%),
        0 0 10px 0 rgb(255 255 255 / 35%);
}

.error-item .banner::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 5px;
    transform: translateX(-22px) rotate(135deg);
    background: linear-gradient(rgb(255 255 255 / 0%), rgb(255 255 255 / 80%));
}

.error-item .banner::after {
    content: ' ';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 100px;
    height: 5px;
    transform: translateY(-27px) rotate(225deg);
    background: linear-gradient(rgb(255 255 255 / 0%), rgb(255 255 255 / 80%));
}

.request-error {
    background-color: #f7bcbc;
    color: #de3400;

    padding: 0.5rem;

    word-break: break-word;
    text-wrap: wrap;
    line-height: 150%;

    border-left: 0.5rem solid #d8000c;
}

.request-error-title {
    font-weight: bold;
}