mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
Compare commits
2 Commits
dark-base-
...
dark-base-
| Author | SHA1 | Date | |
|---|---|---|---|
| bd8dd3f7c4 | |||
| d221431bd7 |
@ -130,6 +130,7 @@
|
|||||||
mt-5
|
mt-5
|
||||||
list-none
|
list-none
|
||||||
border-b-2 border-gray-200 border-solid
|
border-b-2 border-gray-200 border-solid
|
||||||
|
dark:border-gray-600
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<!-- Tabs -->
|
<!-- Tabs -->
|
||||||
|
|||||||
@ -127,6 +127,7 @@
|
|||||||
mt-5
|
mt-5
|
||||||
list-none
|
list-none
|
||||||
border-b-2 border-gray-200 border-solid
|
border-b-2 border-gray-200 border-solid
|
||||||
|
dark:border-gray-600
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<!-- Tabs -->
|
<!-- Tabs -->
|
||||||
|
|||||||
@ -121,6 +121,7 @@
|
|||||||
mt-5
|
mt-5
|
||||||
list-none
|
list-none
|
||||||
border-b-2 border-gray-200 border-solid
|
border-b-2 border-gray-200 border-solid
|
||||||
|
dark:border-gray-600
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<!-- Tabs -->
|
<!-- Tabs -->
|
||||||
|
|||||||
@ -39,8 +39,6 @@ $base-content-placeholders-border-radius: 6px !default;
|
|||||||
$base-content-placeholders-line-height: 15px !default;
|
$base-content-placeholders-line-height: 15px !default;
|
||||||
$base-content-placeholders-spacing: 10px !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
|
// Animations
|
||||||
@keyframes vueContentPlaceholdersAnimation {
|
@keyframes vueContentPlaceholdersAnimation {
|
||||||
0% {
|
0% {
|
||||||
@ -59,10 +57,6 @@ $base-content-placeholders-secondary-color-dark: rgb(71, 85, 105) !default;
|
|||||||
min-height: $base-content-placeholders-line-height;
|
min-height: $base-content-placeholders-line-height;
|
||||||
background: $base-content-placeholders-secondary-color;
|
background: $base-content-placeholders-secondary-color;
|
||||||
|
|
||||||
.dark & {
|
|
||||||
background: $base-content-placeholders-secondary-color-dark;
|
|
||||||
}
|
|
||||||
|
|
||||||
.base-content-placeholders-is-rounded & {
|
.base-content-placeholders-is-rounded & {
|
||||||
border-radius: $base-content-placeholders-border-radius;
|
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-name: vueContentPlaceholdersAnimation;
|
||||||
animation-timing-function: linear;
|
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 {
|
@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;
|
min-height: $base-content-placeholders-line-height;
|
||||||
background: $base-content-placeholders-secondary-color;
|
background: $base-content-placeholders-secondary-color;
|
||||||
|
|
||||||
.dark & {
|
|
||||||
background: $base-content-placeholders-secondary-color-dark;
|
|
||||||
}
|
|
||||||
|
|
||||||
.base-content-placeholders-is-animated &::before {
|
.base-content-placeholders-is-animated &::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -196,14 +177,6 @@ $base-content-placeholders-secondary-color-dark: rgb(71, 85, 105) !default;
|
|||||||
animation-timing-function: linear;
|
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;
|
// @include base-content-placeholders-spacing;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
>
|
>
|
||||||
<TabList
|
<TabList
|
||||||
:class="[
|
:class="[
|
||||||
'flex border-b border-grey-light',
|
'flex border-b border-grey-light dark:border-gray-600',
|
||||||
'relative overflow-x-auto overflow-y-hidden',
|
'relative overflow-x-auto overflow-y-hidden',
|
||||||
'lg:pb-0 lg:ml-0',
|
'lg:pb-0 lg:ml-0',
|
||||||
]"
|
]"
|
||||||
@ -22,8 +22,8 @@
|
|||||||
:class="[
|
:class="[
|
||||||
'px-8 py-2 text-sm leading-5 font-medium flex items-center relative border-b-2 mt-4 focus:outline-none whitespace-nowrap',
|
'px-8 py-2 text-sm leading-5 font-medium flex items-center relative border-b-2 mt-4 focus:outline-none whitespace-nowrap',
|
||||||
selected
|
selected
|
||||||
? ' border-primary-400 text-black font-medium'
|
? 'border-primary-400 text-black font-medium dark:text-white'
|
||||||
: 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300',
|
: 'border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:border-gray-500',
|
||||||
]"
|
]"
|
||||||
>
|
>
|
||||||
{{ tab.title }}
|
{{ tab.title }}
|
||||||
|
|||||||
Reference in New Issue
Block a user