mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 19:10:40 +00:00
- dark mode
- fixes
This commit is contained in:
@@ -827,4 +827,21 @@
|
||||
gap: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.summary-list {
|
||||
background: $dark_mode_foreground;
|
||||
|
||||
.is-offset {
|
||||
border-top: 1px solid lighten($dark_mode_foreground, 5%);
|
||||
}
|
||||
|
||||
.row {
|
||||
|
||||
&.row-summary {
|
||||
border-top: 1px solid lighten($dark_mode_foreground, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -215,7 +215,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ButtonBase :disabled="isLoading" @click.native="deleteInvoice" button-style="secondary" class="next-submit">
|
||||
<ButtonBase :disabled="isLoading" @click.native="deleteInvoice" button-style="secondary" class="next-submit delete-dark">
|
||||
{{ $t('in.form.delete_invoice') }}
|
||||
</ButtonBase>
|
||||
|
||||
@@ -684,4 +684,25 @@
|
||||
gap: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.summary-list {
|
||||
background: $dark_mode_foreground;
|
||||
|
||||
.delete-dark {
|
||||
background: lighten($dark_mode_foreground, 5%);
|
||||
}
|
||||
|
||||
.is-offset {
|
||||
border-top: 1px solid lighten($dark_mode_foreground, 5%);
|
||||
}
|
||||
|
||||
.row {
|
||||
|
||||
&.row-summary {
|
||||
border-top: 1px solid lighten($dark_mode_foreground, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -132,12 +132,12 @@
|
||||
},
|
||||
deleteItem() {
|
||||
|
||||
if (this.$isThisLocation(['regular-invoice', 'advance-invoice']) && this.clipboard.length > 0) {
|
||||
this.deleteInvoice(this.clipboard[0])
|
||||
if (this.$isThisLocation(['regular-invoice', 'advance-invoice'])) {
|
||||
this.$deleteInvoice(this.clipboard[0])
|
||||
}
|
||||
|
||||
if (this.$isThisLocation('clients') && this.clipboard.length > 0) {
|
||||
this.deleteClient(this.clipboard[0])
|
||||
if (this.$isThisLocation('clients')) {
|
||||
this.$deleteClient(this.clipboard[0])
|
||||
}
|
||||
},
|
||||
editItem() {
|
||||
|
||||
Reference in New Issue
Block a user