mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 04:31:08 -04:00
Compare commits
1 Commits
dark-selec
...
dark-file-
| Author | SHA1 | Date | |
|---|---|---|---|
| 1875c319f9 |
@ -21,6 +21,7 @@
|
|||||||
group
|
group
|
||||||
min-h-[100px]
|
min-h-[100px]
|
||||||
bg-gray-50
|
bg-gray-50
|
||||||
|
dark:bg-gray-700 dark:border-gray-600
|
||||||
"
|
"
|
||||||
:class="avatar ? 'w-32 h-32' : 'w-full'"
|
:class="avatar ? 'w-32 h-32' : 'w-full'"
|
||||||
>
|
>
|
||||||
@ -49,7 +50,7 @@
|
|||||||
|
|
||||||
<a
|
<a
|
||||||
href="#"
|
href="#"
|
||||||
class="absolute z-30 bg-white rounded-full -bottom-3 -right-3 group"
|
class="absolute z-30 bg-white rounded-full -bottom-3 -right-3 group dark:bg-gray-900"
|
||||||
@click.prevent.stop="onBrowse"
|
@click.prevent.stop="onBrowse"
|
||||||
>
|
>
|
||||||
<BaseIcon
|
<BaseIcon
|
||||||
@ -95,7 +96,7 @@
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
v-else-if="localFiles.length && avatar && !multiple"
|
v-else-if="localFiles.length && avatar && !multiple"
|
||||||
class="flex w-full h-full border border-gray-200 rounded"
|
class="flex w-full h-full border border-gray-200 rounded dark:border-gray-600"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="localFiles[0].image"
|
v-if="localFiles[0].image"
|
||||||
@ -169,10 +170,11 @@
|
|||||||
-right-3
|
-right-3
|
||||||
group
|
group
|
||||||
hover:border-gray-300
|
hover:border-gray-300
|
||||||
|
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
|
||||||
"
|
"
|
||||||
@click.prevent.stop="onAvatarRemove(localFiles[0])"
|
@click.prevent.stop="onAvatarRemove(localFiles[0])"
|
||||||
>
|
>
|
||||||
<BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black" />
|
<BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black dark:text-white" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -195,6 +197,7 @@
|
|||||||
hover:border-gray-500
|
hover:border-gray-500
|
||||||
relative
|
relative
|
||||||
max-w-md
|
max-w-md
|
||||||
|
dark:border-gray-600 dark:bg-transparent dark:hover:border-gray-700
|
||||||
"
|
"
|
||||||
@click.prevent
|
@click.prevent
|
||||||
>
|
>
|
||||||
@ -270,6 +273,7 @@
|
|||||||
-right-3
|
-right-3
|
||||||
group
|
group
|
||||||
hover:border-gray-300
|
hover:border-gray-300
|
||||||
|
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
|
||||||
"
|
"
|
||||||
@click.prevent.stop="onFileRemove(index)"
|
@click.prevent.stop="onFileRemove(index)"
|
||||||
>
|
>
|
||||||
@ -293,6 +297,7 @@
|
|||||||
hover:border-gray-500
|
hover:border-gray-500
|
||||||
relative
|
relative
|
||||||
max-w-md
|
max-w-md
|
||||||
|
dark:border-gray-600 dark:bg-gray-800 dark:hover:border-gray-700
|
||||||
"
|
"
|
||||||
@click.prevent
|
@click.prevent
|
||||||
>
|
>
|
||||||
@ -368,10 +373,11 @@
|
|||||||
-right-3
|
-right-3
|
||||||
group
|
group
|
||||||
hover:border-gray-300
|
hover:border-gray-300
|
||||||
|
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
|
||||||
"
|
"
|
||||||
@click.prevent.stop="onFileRemove(index)"
|
@click.prevent.stop="onFileRemove(index)"
|
||||||
>
|
>
|
||||||
<BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black" />
|
<BaseIcon name="XIcon" class="h-4 text-xl leading-6 text-black dark:text-white" />
|
||||||
</a>
|
</a>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
>
|
>
|
||||||
<ListboxLabel
|
<ListboxLabel
|
||||||
v-if="label"
|
v-if="label"
|
||||||
class="block text-sm not-italic font-medium text-gray-800 mb-0.5 dark:text-white"
|
class="block text-sm not-italic font-medium text-gray-800 mb-0.5"
|
||||||
>
|
>
|
||||||
{{ label }}
|
{{ label }}
|
||||||
</ListboxLabel>
|
</ListboxLabel>
|
||||||
@ -28,7 +28,6 @@
|
|||||||
pr-10
|
pr-10
|
||||||
text-left
|
text-left
|
||||||
bg-white
|
bg-white
|
||||||
dark:bg-gray-700
|
|
||||||
border border-gray-200
|
border border-gray-200
|
||||||
rounded-md
|
rounded-md
|
||||||
shadow-sm
|
shadow-sm
|
||||||
@ -90,7 +89,6 @@
|
|||||||
ring-1 ring-black ring-opacity-5
|
ring-1 ring-black ring-opacity-5
|
||||||
focus:outline-none
|
focus:outline-none
|
||||||
sm:text-sm
|
sm:text-sm
|
||||||
dark:bg-gray-700
|
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<ListboxOption
|
<ListboxOption
|
||||||
@ -102,7 +100,7 @@
|
|||||||
>
|
>
|
||||||
<li
|
<li
|
||||||
:class="[
|
:class="[
|
||||||
active ? 'text-white bg-primary-600' : 'text-gray-900 dark:text-white',
|
active ? 'text-white bg-primary-600' : 'text-gray-900',
|
||||||
'cursor-default select-none relative py-2 pl-3 pr-9',
|
'cursor-default select-none relative py-2 pl-3 pr-9',
|
||||||
]"
|
]"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user