diff --git a/src/components/desktop/BtnVerticalGroup.vue b/src/components/desktop/BtnVerticalGroup.vue new file mode 100644 index 00000000..33082f79 --- /dev/null +++ b/src/components/desktop/BtnVerticalGroup.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/desktop-main.js b/src/desktop-main.js index 1603ce34..83212db6 100644 --- a/src/desktop-main.js +++ b/src/desktop-main.js @@ -23,8 +23,11 @@ import { VIcon } from 'vuetify/components/VIcon'; import { VImg } from 'vuetify/components/VImg'; import { VInput } from 'vuetify/components/VInput'; import { VLabel } from 'vuetify/components/VLabel'; +import { VLayout } from 'vuetify/components/VLayout'; import { VList, VListGroup, VListImg, VListItem, VListItemAction, VListItemMedia, VListItemSubtitle, VListItemTitle, VListSubheader } from 'vuetify/components/VList'; +import { VMain } from 'vuetify/components/VMain'; import { VMenu } from 'vuetify/components/VMenu'; +import { VNavigationDrawer } from 'vuetify/components/VNavigationDrawer'; import { VOverlay } from 'vuetify/components/VOverlay'; import { VPagination } from 'vuetify/components/VPagination'; import { VProgressCircular } from 'vuetify/components/VProgressCircular'; @@ -77,6 +80,7 @@ import { import PinCodeInput from '@/components/common/PinCodeInput.vue'; import ItemIcon from '@/components/desktop/ItemIcon.vue'; +import BtnVerticalGroup from '@/components/desktop/BtnVerticalGroup.vue'; import AmountInput from '@/components/desktop/AmountInput.vue'; import StepsBar from '@/components/desktop/StepsBar.vue'; import ConfirmDialog from '@/components/desktop/ConfirmDialog.vue'; @@ -132,6 +136,7 @@ const vuetify = createVuetify({ VImg, VInput, VLabel, + VLayout, VList, VListGroup, VListImg, @@ -141,7 +146,9 @@ const vuetify = createVuetify({ VListItemSubtitle, VListItemTitle, VListSubheader, + VMain, VMenu, + VNavigationDrawer, VOverlay, VPagination, VProgressCircular, @@ -168,7 +175,6 @@ const vuetify = createVuetify({ mdi } }, - defaults: { VAlert: { VBtn: { @@ -384,6 +390,7 @@ app.component('DraggableList', draggable); app.component('PinCodeInput', PinCodeInput); app.component('ItemIcon', ItemIcon); +app.component('BtnVerticalGroup', BtnVerticalGroup); app.component('AmountInput', AmountInput); app.component('StepsBar', StepsBar); app.component('ConfirmDialog', ConfirmDialog); diff --git a/src/styles/desktop/global.scss b/src/styles/desktop/global.scss index 9ab17348..4882595f 100644 --- a/src/styles/desktop/global.scss +++ b/src/styles/desktop/global.scss @@ -100,8 +100,10 @@ input[type=number] { min-inline-size: 100%; } -.w-100-window-container.v-window > .v-window__container { - width: 100%; +.title-and-toolbar { + min-height: 38px; + flex-wrap: wrap; + row-gap: 1rem; } /** Common class for replacing the default style of vuetify **/ @@ -153,6 +155,18 @@ input[type=number] { height: 1rem; } +.w-100-window-container.v-window > .v-window__container { + width: 100%; +} + +.tab-text-truncate.v-tab > .v-btn__content { + overflow-x: hidden; +} + +.skeleton-no-margin .v-skeleton-loader__text { + margin: 0; +} + /** Common class for replacing the default style of Materio **/ .v-application, .text-body-1, @@ -195,6 +209,10 @@ input[type=number] { } } +.v-btn-group--density-comfortable.v-btn-group { + height: 38px; +} + /** Replacing the default style of @vuepic/vue-datepicker **/ .dp__theme_light { --dp-primary-color: #c67e48; diff --git a/src/views/desktop/ExchangeRatesPage.vue b/src/views/desktop/ExchangeRatesPage.vue index 76026021..32838530 100644 --- a/src/views/desktop/ExchangeRatesPage.vue +++ b/src/views/desktop/ExchangeRatesPage.vue @@ -2,8 +2,8 @@ -
-
+ +
{{ $t('Data source') }}

@@ -11,14 +11,14 @@ {{ exchangeRatesData.dataSource }} {{ $t('None') }} - +

- {{ $t('Last Updated') }} -

+ {{ $t('Last Updated') }} +

{{ exchangeRatesDataUpdateTime }} - +

@@ -35,82 +35,93 @@ - - {{ exchangeRate.currencyDisplayName }} - {{ exchangeRate.currencyCode }} +
+ {{ exchangeRate.currencyDisplayName }} + {{ exchangeRate.currencyCode }} +
{{ $t('None') }} - + + +
-
+ + + + + + - - - - + + + + +
+ {{ $t('Currency') }} + + {{ $t('Amount') }} +
+ + + - - - - -
- {{ $t('Currency') }} - - {{ $t('Amount') }} -
- - - + + + + + + - - - - - - + + {{ $t('No exchange rates data') }} + - - {{ $t('No exchange rates data') }} - - - - -
- {{ exchangeRate.currencyDisplayName }} - {{ exchangeRate.currencyCode }} - - - {{ $t('Set As Baseline') }} - - {{ getDisplayConvertedAmount(exchangeRate, isEnableThousandsSeparator) }} -
- - - -
-
-
-
-
+ + +
+ {{ exchangeRate.currencyDisplayName }} + {{ exchangeRate.currencyCode }} + + + {{ $t('Set As Baseline') }} + + {{ getDisplayConvertedAmount(exchangeRate, isEnableThousandsSeparator) }} +
+ + + + +
+ + + +
@@ -119,6 +130,8 @@ diff --git a/src/views/desktop/accounts/ListPage.vue b/src/views/desktop/accounts/ListPage.vue index 96929b3b..ba1f6c08 100644 --- a/src/views/desktop/accounts/ListPage.vue +++ b/src/views/desktop/accounts/ListPage.vue @@ -2,209 +2,214 @@ -
-
+ +
{{ $t('Net assets') }} -

+

{{ netAssets }} - +

{{ $t('Total liabilities') }} -

+

{{ totalLiabilities }} - +

{{ $t('Total assets') }}

{{ totalAssets }} - +

@@ -214,6 +219,8 @@ diff --git a/src/views/desktop/statistics/TransactionPage.vue b/src/views/desktop/statistics/TransactionPage.vue index 5d2fa059..fe10c41f 100644 --- a/src/views/desktop/statistics/TransactionPage.vue +++ b/src/views/desktop/statistics/TransactionPage.vue @@ -2,43 +2,36 @@ -
-
+ +
- - - {{ $t('Pie Chart') }} - - - {{ $t('Bar Chart') }} - - +
- - {{ $t(dataType.name) }} + {{ $t(dataType.name) }} + {{ $t(dataType.name) }} -
- - - - -
- -
+ + {{ totalAmountName }} + + {{ getDisplayAmount(statisticsData.totalAmount, defaultCurrency) }} + + - - {{ totalAmountName }} - - {{ getDisplayAmount(statisticsData.totalAmount, defaultCurrency) }} - - + + {{ $t('No transaction data') }} + - - {{ $t('No transaction data') }} - + + + - - - - - - - + + +
+
+
+ + @@ -218,6 +211,8 @@