From 38d51e239125a1d2c77283ac9e1ce3849a32b15d Mon Sep 17 00:00:00 2001 From: Simon Reinisch Date: Sun, 28 Jan 2024 16:58:42 +0100 Subject: [PATCH] feat: minor ui modernization --- src/app/components/base/button/Button.vue | 2 +- src/app/components/base/form/Form.vue | 2 +- .../components/charts/line-chart/LineChart.vue | 1 + .../widgets/header-panels/SummaryPanel.vue | 1 - src/app/pages/dashboard/summary/Summary.vue | 2 +- .../widgets/tables/GroupsSummaryTable.vue | 2 +- .../summary/widgets/tables/SummaryTable.vue | 8 ++++---- .../widgets/tables/TotalsSummaryTable.vue | 6 +++--- .../summary/widgets/tables/_shared.scss | 16 ++++++++++++++-- src/app/pages/shared/BudgetGroup.vue | 10 +++++----- src/app/pages/shared/Pane.vue | 2 +- src/i18n/locales/de.json | 5 ++--- src/i18n/locales/en.json | 1 - src/styles/themes/dark.scss | 6 ++++-- src/styles/themes/light.scss | 6 ++++-- 15 files changed, 42 insertions(+), 28 deletions(-) diff --git a/src/app/components/base/button/Button.vue b/src/app/components/base/button/Button.vue index 67242243..90b16b20 100644 --- a/src/app/components/base/button/Button.vue +++ b/src/app/components/base/button/Button.vue @@ -75,7 +75,7 @@ const classes = computed(() => [ cursor: pointer; background: v-bind('theme.color.base'); color: v-bind('theme.text.base'); - border-radius: var(--border-radius-m); + border-radius: var(--border-radius-full); transition: all var(--transition-s); padding: 10px; diff --git a/src/app/components/base/form/Form.vue b/src/app/components/base/form/Form.vue index df76deba..a0b6b4c1 100644 --- a/src/app/components/base/form/Form.vue +++ b/src/app/components/base/form/Form.vue @@ -1,7 +1,7 @@ diff --git a/src/app/components/charts/line-chart/LineChart.vue b/src/app/components/charts/line-chart/LineChart.vue index 2ee9425d..99edb6a9 100644 --- a/src/app/components/charts/line-chart/LineChart.vue +++ b/src/app/components/charts/line-chart/LineChart.vue @@ -38,6 +38,7 @@ const options = computed( left: '3%', right: '4%', bottom: '3%', + top: '35px', containLabel: true }, xAxis: { diff --git a/src/app/pages/dashboard/overview/widgets/header-panels/SummaryPanel.vue b/src/app/pages/dashboard/overview/widgets/header-panels/SummaryPanel.vue index 94982dad..4eccc621 100644 --- a/src/app/pages/dashboard/overview/widgets/header-panels/SummaryPanel.vue +++ b/src/app/pages/dashboard/overview/widgets/header-panels/SummaryPanel.vue @@ -66,7 +66,6 @@ const element = computed(() => (props.to ? Link : 'div')); .summaryPanel { display: flex; justify-content: space-between; - gap: 2px; padding: 30px; width: 100%; height: 100%; diff --git a/src/app/pages/dashboard/summary/Summary.vue b/src/app/pages/dashboard/summary/Summary.vue index ff208eae..37456087 100644 --- a/src/app/pages/dashboard/summary/Summary.vue +++ b/src/app/pages/dashboard/summary/Summary.vue @@ -6,7 +6,7 @@ :import="() => import('./widgets/charts/DevelopmentChart.vue')" /> - + diff --git a/src/app/pages/dashboard/summary/widgets/tables/GroupsSummaryTable.vue b/src/app/pages/dashboard/summary/widgets/tables/GroupsSummaryTable.vue index 2553b252..de034649 100644 --- a/src/app/pages/dashboard/summary/widgets/tables/GroupsSummaryTable.vue +++ b/src/app/pages/dashboard/summary/widgets/tables/GroupsSummaryTable.vue @@ -8,7 +8,7 @@ :key="month" :class="[$style.bold, { [$style.currentMonth]: isCurrentMonth(index) }]" > - {{ month }} + {{ month }} {{ t('shared.total') }} {{ t('shared.average') }} diff --git a/src/app/pages/dashboard/summary/widgets/tables/SummaryTable.vue b/src/app/pages/dashboard/summary/widgets/tables/SummaryTable.vue index 1a07a8be..214aaa16 100644 --- a/src/app/pages/dashboard/summary/widgets/tables/SummaryTable.vue +++ b/src/app/pages/dashboard/summary/widgets/tables/SummaryTable.vue @@ -1,6 +1,6 @@