mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 20:21:10 -04:00
Compare commits
1 Commits
dark-empty
...
dark-notif
| Author | SHA1 | Date | |
|---|---|---|---|
| feb8c1b5b4 |
@ -1,24 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col items-center justify-center mt-16">
|
<div class="flex flex-col items-center justify-center mt-16">
|
||||||
<div class="relative">
|
<div class="flex flex-col items-center justify-center">
|
||||||
<BaseDarkHighlight class="bg-highlight/[.07] top-2" />
|
<slot></slot>
|
||||||
|
</div>
|
||||||
<div class="relative z-5 flex flex-col items-center">
|
<div class="mt-2">
|
||||||
<div class="flex flex-col items-center justify-center">
|
<label class="font-medium">{{ title }}</label>
|
||||||
<slot />
|
</div>
|
||||||
</div>
|
<div class="mt-2">
|
||||||
<div class="mt-2">
|
<label class="text-gray-500">
|
||||||
<label class="font-medium">{{ title }}</label>
|
{{ description }}
|
||||||
</div>
|
</label>
|
||||||
<div class="mt-2 text-center md:text-left">
|
</div>
|
||||||
<label class="text-gray-500 dark:text-gray-400">
|
<div class="mt-6">
|
||||||
{{ description }}
|
<slot name="actions" />
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<div class="mt-6">
|
|
||||||
<slot name="actions" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
:class="success || info ? 'bg-white' : 'bg-red-50'"
|
:class="success || info
|
||||||
|
? 'bg-white dark:border dark:border-white/10 dark:text-white dark:bg-gray-800/[.80] dark:shadow-glass dark:backdrop-blur-sm'
|
||||||
|
: 'bg-red-50 dark:bg-red-400/[.70] dark:shadow-glass dark:backdrop-blur-sm'"
|
||||||
class="
|
class="
|
||||||
max-w-sm
|
max-w-sm
|
||||||
mb-3
|
mb-3
|
||||||
@ -48,7 +50,7 @@
|
|||||||
</svg>
|
</svg>
|
||||||
<svg
|
<svg
|
||||||
v-if="error"
|
v-if="error"
|
||||||
class="w-6 h-6 text-red-400"
|
class="w-6 h-6 text-red-400 dark:text-white"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
>
|
>
|
||||||
@ -62,7 +64,9 @@
|
|||||||
<div class="flex-1 w-0 ml-3 text-left">
|
<div class="flex-1 w-0 ml-3 text-left">
|
||||||
<p
|
<p
|
||||||
:class="`text-sm leading-5 font-medium ${
|
:class="`text-sm leading-5 font-medium ${
|
||||||
success || info ? 'text-gray-900' : 'text-red-800'
|
success || info
|
||||||
|
? 'text-gray-900 dark:text-white'
|
||||||
|
: 'text-red-800 dark:text-white'
|
||||||
}`"
|
}`"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
@ -75,7 +79,9 @@
|
|||||||
</p>
|
</p>
|
||||||
<p
|
<p
|
||||||
:class="`mt-1 text-sm leading-5 ${
|
:class="`mt-1 text-sm leading-5 ${
|
||||||
success || info ? 'text-gray-500' : 'text-red-700'
|
success || info
|
||||||
|
? 'text-gray-500 dark:text-gray-400'
|
||||||
|
: 'text-red-700 dark:text-red-200'
|
||||||
}`"
|
}`"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
@ -92,7 +98,7 @@
|
|||||||
:class="
|
:class="
|
||||||
success || info
|
success || info
|
||||||
? ' text-gray-400 focus:text-gray-500'
|
? ' text-gray-400 focus:text-gray-500'
|
||||||
: 'text-red-400 focus:text-red-500'
|
: 'text-red-400 focus:text-red-500 dark:text-red-100'
|
||||||
"
|
"
|
||||||
class="
|
class="
|
||||||
inline-flex
|
inline-flex
|
||||||
|
|||||||
Reference in New Issue
Block a user