Skip to content

Commit 0f062cf

Browse files
committed
refactor: rename flash-(client-error/server-error) to just client-error/server-error
1 parent 6ea4cfe commit 0f062cf

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

assets/components/core-components.css

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,15 @@ table.table.table-zebra td {
169169

170170
#flash-info,
171171
#flash-error,
172-
#flash-client-error,
173-
#flash-server-error {
172+
#client-error,
173+
#server-error {
174174
@apply fixed top-4 right-4 z-50 w-96;
175175
}
176176

177177
#flash-info .alert,
178178
#flash-error .alert,
179-
#flash-client-error .alert,
180-
#flash-server-error .alert {
179+
#client-error .alert,
180+
#server-error .alert {
181181
@apply bg-white rounded-lg shadow-lg border-l-4 p-4 w-full;
182182
@apply flex items-start justify-between gap-4;
183183
border: none;
@@ -189,30 +189,30 @@ table.table.table-zebra td {
189189
}
190190

191191
#flash-error .alert,
192-
#flash-client-error .alert,
193-
#flash-server-error .alert {
192+
#client-error .alert,
193+
#server-error .alert {
194194
@apply border-l-danger-300;
195195
}
196196

197197
#flash-error .alert svg,
198-
#flash-client-error .alert svg,
199-
#flash-server-error .alert svg {
198+
#client-error .alert svg,
199+
#server-error .alert svg {
200200
@apply text-danger-300;
201201
}
202202

203203
#flash-info .alert p:first-of-type,
204204
#flash-error .alert p:first-of-type,
205-
#flash-client-error .alert p:first-of-type,
206-
#flash-server-error .alert p:first-of-type {
205+
#client-error .alert p:first-of-type,
206+
#server-error .alert p:first-of-type {
207207
@apply font-bold text-neutrals-350 mb-1;
208208
word-wrap: break-word;
209209
overflow-wrap: break-word;
210210
word-break: break-word;
211211
}
212212
#flash-info .alert p:last-of-type,
213213
#flash-error .alert p:last-of-type,
214-
#flash-client-error .alert p:last-of-type,
215-
#flash-server-error .alert p:last-of-type {
214+
#client-error .alert p:last-of-type,
215+
#server-error .alert p:last-of-type {
216216
@apply text-sm text-neutrals-300;
217217
word-wrap: break-word;
218218
overflow-wrap: break-word;
@@ -221,28 +221,28 @@ table.table.table-zebra td {
221221

222222
#flash-info .alert svg,
223223
#flash-error .alert svg,
224-
#flash-client-error .alert svg,
225-
#flash-server-error .alert svg {
224+
#client-error .alert svg,
225+
#server-error .alert svg {
226226
@apply w-5 h-5 flex-shrink-0 mt-0.5;
227227
}
228228

229229
#flash-info .alert button,
230230
#flash-error .alert button,
231-
#flash-client-error .alert button,
232-
#flash-server-error .alert button {
231+
#client-error .alert button,
232+
#server-error .alert button {
233233
@apply text-gray-400 hover:text-gray-600 transition-colors duration-200 flex-shrink-0;
234234
}
235235

236236
#flash-info .alert button svg,
237237
#flash-error .alert button svg,
238-
#flash-client-error .alert button svg,
239-
#flash-server-error .alert button svg {
238+
#client-error .alert button svg,
239+
#server-error .alert button svg {
240240
@apply w-5 h-5;
241241
}
242242

243243
#flash-info .alert span.hero-information-circle,
244244
#flash-error .alert span.hero-exclamation-circle,
245-
#flash-client-error .alert span.hero-exclamation-circle,
246-
#flash-server-error .alert span.hero-exclamation-circle {
245+
#client-error .alert span.hero-exclamation-circle,
246+
#server-error .alert span.hero-exclamation-circle {
247247
display: none !important;
248248
}

0 commit comments

Comments
 (0)