mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
Compare commits
1 Commits
dark-base-
...
dark-file-
| Author | SHA1 | Date | |
|---|---|---|---|
| 1875c319f9 |
@ -39,8 +39,6 @@ $base-content-placeholders-border-radius: 6px !default;
|
||||
$base-content-placeholders-line-height: 15px !default;
|
||||
$base-content-placeholders-spacing: 10px !default;
|
||||
|
||||
$base-content-placeholders-primary-color-dark: rgb(71, 85, 105) !default;
|
||||
$base-content-placeholders-secondary-color-dark: rgb(71, 85, 105) !default;
|
||||
// Animations
|
||||
@keyframes vueContentPlaceholdersAnimation {
|
||||
0% {
|
||||
@ -59,10 +57,6 @@ $base-content-placeholders-secondary-color-dark: rgb(71, 85, 105) !default;
|
||||
min-height: $base-content-placeholders-line-height;
|
||||
background: $base-content-placeholders-secondary-color;
|
||||
|
||||
.dark & {
|
||||
background: $base-content-placeholders-secondary-color-dark;
|
||||
}
|
||||
|
||||
.base-content-placeholders-is-rounded & {
|
||||
border-radius: $base-content-placeholders-border-radius;
|
||||
}
|
||||
@ -92,15 +86,6 @@ $base-content-placeholders-secondary-color-dark: rgb(71, 85, 105) !default;
|
||||
animation-name: vueContentPlaceholdersAnimation;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
.dark .base-content-placeholders-is-animated &::before {
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
transparent 0%,
|
||||
darken($base-content-placeholders-secondary-color-dark, 5%) 15%,
|
||||
transparent 30%
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin base-content-placeholders-spacing {
|
||||
@ -171,10 +156,6 @@ $base-content-placeholders-secondary-color-dark: rgb(71, 85, 105) !default;
|
||||
min-height: $base-content-placeholders-line-height;
|
||||
background: $base-content-placeholders-secondary-color;
|
||||
|
||||
.dark & {
|
||||
background: $base-content-placeholders-secondary-color-dark;
|
||||
}
|
||||
|
||||
.base-content-placeholders-is-animated &::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
@ -196,14 +177,6 @@ $base-content-placeholders-secondary-color-dark: rgb(71, 85, 105) !default;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
.dark .base-content-placeholders-is-animated &::before {
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
transparent 0%,
|
||||
darken($base-content-placeholders-secondary-color-dark, 5%) 15%,
|
||||
transparent 30%
|
||||
);
|
||||
}
|
||||
// @include base-content-placeholders-spacing;
|
||||
}
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
group
|
||||
min-h-[100px]
|
||||
bg-gray-50
|
||||
dark:bg-gray-700 dark:border-gray-600
|
||||
"
|
||||
:class="avatar ? 'w-32 h-32' : 'w-full'"
|
||||
>
|
||||
@ -49,7 +50,7 @@
|
||||
|
||||
<a
|
||||
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"
|
||||
>
|
||||
<BaseIcon
|
||||
@ -95,7 +96,7 @@
|
||||
|
||||
<div
|
||||
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
|
||||
v-if="localFiles[0].image"
|
||||
@ -169,10 +170,11 @@
|
||||
-right-3
|
||||
group
|
||||
hover:border-gray-300
|
||||
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
|
||||
"
|
||||
@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>
|
||||
</div>
|
||||
|
||||
@ -195,6 +197,7 @@
|
||||
hover:border-gray-500
|
||||
relative
|
||||
max-w-md
|
||||
dark:border-gray-600 dark:bg-transparent dark:hover:border-gray-700
|
||||
"
|
||||
@click.prevent
|
||||
>
|
||||
@ -270,6 +273,7 @@
|
||||
-right-3
|
||||
group
|
||||
hover:border-gray-300
|
||||
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
|
||||
"
|
||||
@click.prevent.stop="onFileRemove(index)"
|
||||
>
|
||||
@ -293,6 +297,7 @@
|
||||
hover:border-gray-500
|
||||
relative
|
||||
max-w-md
|
||||
dark:border-gray-600 dark:bg-gray-800 dark:hover:border-gray-700
|
||||
"
|
||||
@click.prevent
|
||||
>
|
||||
@ -368,10 +373,11 @@
|
||||
-right-3
|
||||
group
|
||||
hover:border-gray-300
|
||||
dark:border-gray-600 dark:bg-gray-900 dark:hover:border-gray-700
|
||||
"
|
||||
@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>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user