mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
refactor: rebrand WebHooker as Elysola
This commit is contained in:
24 files changed
+185
-96
No files matched your search
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div class="recloud-toasts" aria-live="polite" aria-atomic="true">
|
||||
<div class="elysola-toasts" aria-live="polite" aria-atomic="true">
|
||||
<TransitionGroup name="toast">
|
||||
<RcCard
|
||||
v-for="t in toasts"
|
||||
:key="t.id"
|
||||
:variant="t.kind === 'bad' ? 'soft' : 'outline'"
|
||||
padding="sm"
|
||||
class="recloud-toast"
|
||||
class="elysola-toast"
|
||||
:class="t.kind"
|
||||
role="status"
|
||||
@click="dismiss(t.id)"
|
||||
@@ -26,7 +26,7 @@ const { toasts, dismiss } = useToasts();
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.recloud-toasts {
|
||||
.elysola-toasts {
|
||||
position: fixed;
|
||||
z-index: 70;
|
||||
right: 1rem;
|
||||
@@ -35,33 +35,33 @@ const { toasts, dismiss } = useToasts();
|
||||
width: min(calc(100vw - 2rem), 390px);
|
||||
gap: 0.65rem;
|
||||
}
|
||||
.recloud-toast {
|
||||
.elysola-toast {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.7rem;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 16px 38px rgb(var(--wh-text) / 0.14);
|
||||
}
|
||||
.recloud-toast :deep(.rc-card-body) {
|
||||
.elysola-toast :deep(.rc-card-body) {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
gap: 0.7rem;
|
||||
padding: 0.1rem;
|
||||
}
|
||||
.recloud-toast :deep(svg) {
|
||||
.elysola-toast :deep(svg) {
|
||||
flex: none;
|
||||
color: rgb(var(--wh-ok));
|
||||
}
|
||||
.recloud-toast.bad :deep(svg) {
|
||||
.elysola-toast.bad :deep(svg) {
|
||||
color: rgb(var(--wh-bad));
|
||||
}
|
||||
.recloud-toast span {
|
||||
.elysola-toast span {
|
||||
flex: 1;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.recloud-toast .toast-close {
|
||||
.elysola-toast .toast-close {
|
||||
color: rgb(var(--wh-faint));
|
||||
}
|
||||
.toast-enter-active,
|
||||
|
||||
Reference in new issue
Block a user