diff --git a/src/components/v-button/v-button.vue b/src/components/v-button/v-button.vue index f5898dcff7..e1830616e7 100644 --- a/src/components/v-button/v-button.vue +++ b/src/components/v-button/v-button.vue @@ -253,8 +253,8 @@ export default defineComponent({ --v-button-height: 28px; --v-button-font-size: 12px; --v-button-font-weight: 600; + --v-button-min-width: 60px; - min-width: 60px; padding: 0 12px; border-radius: 4px; } @@ -262,23 +262,23 @@ export default defineComponent({ &.small { --v-button-height: 36px; --v-button-font-size: 14px; + --v-button-min-width: 120px; - min-width: 120px; padding: 0 12px; } &.large { --v-button-height: 52px; + --v-button-min-width: 154px; - min-width: 154px; padding: 0 12px; } &.x-large { --v-button-height: 64px; --v-button-font-size: 18px; + --v-button-min-width: 180px; - min-width: 180px; padding: 0 12px; } diff --git a/src/components/v-card/v-card-actions.vue b/src/components/v-card/v-card-actions.vue index 5dfb61bcc6..c17a11bc55 100644 --- a/src/components/v-card/v-card-actions.vue +++ b/src/components/v-card/v-card-actions.vue @@ -9,7 +9,7 @@ padding: var(--v-card-padding); & ::v-deep > .v-button + .v-button { - margin-left: 8px; + margin-left: 12px; } } diff --git a/src/components/v-card/v-card-text.vue b/src/components/v-card/v-card-text.vue index fbbc250450..448ac10f37 100644 --- a/src/components/v-card/v-card-text.vue +++ b/src/components/v-card/v-card-text.vue @@ -6,5 +6,6 @@ .v-card-text { padding: var(--v-card-padding); padding-top: 0; + padding-bottom: 12px; } diff --git a/src/components/v-dialog/v-dialog.vue b/src/components/v-dialog/v-dialog.vue index 6da40c2fca..36f7179f41 100644 --- a/src/components/v-dialog/v-dialog.vue +++ b/src/components/v-dialog/v-dialog.vue @@ -79,6 +79,7 @@ export default defineComponent({ ::v-deep .v-card { --v-card-min-width: 540px; --v-card-padding: 20px; + --v-card-background-color: var(--background-page); } ::v-deep .v-sheet { diff --git a/src/components/v-list/v-list-group.vue b/src/components/v-list/v-list-group.vue index fd30a3c7b5..4f5f5400c1 100644 --- a/src/components/v-list/v-list-group.vue +++ b/src/components/v-list/v-list-group.vue @@ -4,7 +4,7 @@ - + @@ -64,7 +64,7 @@ export default defineComponent({ transition: transform var(--medium) var(--transition); &.active { - transform: rotate(-90deg); + transform: rotate(90deg); } } diff --git a/src/components/v-pagination/v-pagination.vue b/src/components/v-pagination/v-pagination.vue index 609a4b4b7f..62dd2a4777 100644 --- a/src/components/v-pagination/v-pagination.vue +++ b/src/components/v-pagination/v-pagination.vue @@ -1,58 +1,49 @@ + + + + - - + 1 - - - + ... {{ page }} - - - + + ... + - + {{ length }} + + + @@ -136,41 +127,38 @@ export default defineComponent({ .v-pagination { --v-pagination-active-color: var(--primary); + .gap { + margin: 0 4px; + color: var(--foreground-subdued); + } + .v-button { + --v-button-background-color-hover: var(--background-subdued); + --v-button-background-color: var(--background-subdued); + --v-button-color: var(--foreground-subdued); + + margin: 0 2px; vertical-align: middle; - &:not(:first-child):not(:last-child) { - margin: 0 2px; - } - - &.double { - position: relative; - - & ::v-deep { - .content { - display: grid; - grid-template-rows: 1fr; - grid-template-columns: 1fr; - } - - .v-icon { - grid-row: 1; - grid-column: 1; - - &:first-child { - left: -4px; - } - - &:last-child { - right: -4px; - } - } + & ::v-deep { + .small { + --v-button-min-width: 32px; } } + &:first-child { + margin-left: 0; + } + + &:last-child { + margin-right: 0; + } + &.active { - --v-button-background-color: var(--v-pagination-active-color); - --v-button-color: var(--foreground-inverted); + --v-button-background-color-hover: var(--primary-25); + --v-button-color-hover: var(--primary); + --v-button-background-color: var(--primary-25); + --v-button-color: var(--primary); } } } diff --git a/src/components/v-radio/v-radio.vue b/src/components/v-radio/v-radio.vue index 74b2ddb154..7709646c96 100644 --- a/src/components/v-radio/v-radio.vue +++ b/src/components/v-radio/v-radio.vue @@ -8,7 +8,7 @@ @click="emitValue" > - + {{ label }} diff --git a/src/lang/en-US/index.json b/src/lang/en-US/index.json index 092fe052c0..79934e44b4 100644 --- a/src/lang/en-US/index.json +++ b/src/lang/en-US/index.json @@ -240,7 +240,7 @@ "upload_file_indeterminate": "Uploading File | Uploading files {done}/{total}", "upload_file_success": "File Uploaded | {count} Files Uploaded", "upload_file_failed": "Couldn't Upload File | Couldn't Upload Files", - "view_type": "View As...", + "layout_type": "Layout Type", "setup": "Setup", "none": "None", diff --git a/src/layouts/cards/cards.vue b/src/layouts/cards/cards.vue index ec939cd30e..cdacb76142 100644 --- a/src/layouts/cards/cards.vue +++ b/src/layouts/cards/cards.vue @@ -1,17 +1,6 @@ - - - - - - {{ $t('layouts.cards.image_source') }} @@ -61,7 +50,12 @@ - + @@ -89,14 +83,26 @@ - - + diff --git a/src/layouts/cards/components/card.vue b/src/layouts/cards/components/card.vue index b301f1fd9e..5fa4c479f1 100644 --- a/src/layouts/cards/components/card.vue +++ b/src/layouts/cards/components/card.vue @@ -2,7 +2,7 @@ - + @@ -151,94 +151,119 @@ export default defineComponent({ diff --git a/src/modules/files/routes/browse/browse.vue b/src/modules/files/routes/browse/browse.vue index 35de939015..1d72ef9d29 100644 --- a/src/modules/files/routes/browse/browse.vue +++ b/src/modules/files/routes/browse/browse.vue @@ -1,7 +1,7 @@ - + @@ -226,13 +226,21 @@ export default defineComponent({ diff --git a/src/modules/settings/routes/data-model/fields/fields.vue b/src/modules/settings/routes/data-model/fields/fields.vue index e80979f874..5e957e443a 100644 --- a/src/modules/settings/routes/data-model/fields/fields.vue +++ b/src/modules/settings/routes/data-model/fields/fields.vue @@ -179,11 +179,13 @@ export default defineComponent({ .header-icon { --v-button-color-disabled: var(--warning); - --v-button-background-color-disabled: var(--warning-alt); + --v-button-background-color-disabled: var(--warning-25); } .action-delete { - --v-button-background-color: var(--danger); - --v-button-background-color-hover: var(--danger-dark); + --v-button-background-color: var(--danger-25); + --v-button-color: var(--danger); + --v-button-background-color-hover: var(--danger-50); + --v-button-color-hover: var(--danger); } diff --git a/src/modules/settings/routes/global/global.vue b/src/modules/settings/routes/global/global.vue index 17b5eb186c..af99480357 100644 --- a/src/modules/settings/routes/global/global.vue +++ b/src/modules/settings/routes/global/global.vue @@ -65,6 +65,6 @@ export default defineComponent({ .header-icon { --v-button-color-disabled: var(--warning); - --v-button-background-color-disabled: var(--warning-alt); + --v-button-background-color-disabled: var(--warning-25); } diff --git a/src/modules/settings/routes/roles/browse/browse.vue b/src/modules/settings/routes/roles/browse/browse.vue index 4673ac175a..f8c61ee721 100644 --- a/src/modules/settings/routes/roles/browse/browse.vue +++ b/src/modules/settings/routes/roles/browse/browse.vue @@ -163,13 +163,17 @@ export default defineComponent({ diff --git a/src/modules/settings/routes/roles/detail/detail.vue b/src/modules/settings/routes/roles/detail/detail.vue index 49f60b9249..ff97538314 100644 --- a/src/modules/settings/routes/roles/detail/detail.vue +++ b/src/modules/settings/routes/roles/detail/detail.vue @@ -1,7 +1,7 @@ - + @@ -197,8 +197,10 @@ export default defineComponent({ diff --git a/src/modules/settings/routes/webhooks/detail/detail.vue b/src/modules/settings/routes/webhooks/detail/detail.vue index 6207c6ceff..aa29bb8d0d 100644 --- a/src/modules/settings/routes/webhooks/detail/detail.vue +++ b/src/modules/settings/routes/webhooks/detail/detail.vue @@ -1,7 +1,7 @@ - + @@ -187,8 +187,10 @@ export default defineComponent({ diff --git a/src/modules/users/routes/browse/browse.vue b/src/modules/users/routes/browse/browse.vue index b18a5f2686..41f64ff38b 100644 --- a/src/modules/users/routes/browse/browse.vue +++ b/src/modules/users/routes/browse/browse.vue @@ -1,7 +1,7 @@ - + @@ -223,13 +223,21 @@ export default defineComponent({