From f9fe504969356c6c1d4d5d60f8a4882368b85e52 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 7 Dec 2023 17:20:27 -0300 Subject: [PATCH] Apply dark/light colors to cards secondary button --- src/css/app.scss | 4 ++++ src/pages/Claim/ClaimList.vue | 4 ++-- src/pages/Customer/CustomerList.vue | 2 +- src/pages/InvoiceOut/InvoiceOutList.vue | 6 +++--- src/pages/Shelving/ShelvingList.vue | 18 +++++++++--------- src/pages/Travel/TravelList.vue | 4 ++-- src/pages/Wagon/Type/WagonTypeList.vue | 2 +- src/pages/Wagon/WagonList.vue | 2 +- src/pages/Worker/WorkerList.vue | 2 +- 9 files changed, 24 insertions(+), 20 deletions(-) diff --git a/src/css/app.scss b/src/css/app.scss index 99170202d..2b2abec86 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -51,3 +51,7 @@ body.body--dark { color: var(--vn-text); border-radius: 8px; } + +.vn-secondary-button { + background-color: var(--vn-dark); +} diff --git a/src/pages/Claim/ClaimList.vue b/src/pages/Claim/ClaimList.vue index b3dd64e8e..82f11316c 100644 --- a/src/pages/Claim/ClaimList.vue +++ b/src/pages/Claim/ClaimList.vue @@ -110,13 +110,13 @@ function viewSummary(id) { diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index 6d450ad12..b3ec9d1c9 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -83,7 +83,7 @@ function viewSummary(id) { { :label="t('globals.download')" v-else > - + @@ -175,7 +175,7 @@ const downloadCsv = (rows) => { - + { diff --git a/src/pages/Shelving/ShelvingList.vue b/src/pages/Shelving/ShelvingList.vue index 8b31e90cd..eb1ffab19 100644 --- a/src/pages/Shelving/ShelvingList.vue +++ b/src/pages/Shelving/ShelvingList.vue @@ -36,14 +36,14 @@ function viewSummary(id) { } function exprBuilder(param, value) { - switch (param) { - case 'search': - return {code: {like: `%${value}%`}}; - case 'parkingFk': - case 'userFk': - case 'isRecyclable': - return {[param]: value}; - } + switch (param) { + case 'search': + return { code: { like: `%${value}%` } }; + case 'parkingFk': + case 'userFk': + case 'isRecyclable': + return { [param]: value }; + } } @@ -105,7 +105,7 @@ function exprBuilder(param, value) { { diff --git a/src/pages/Wagon/Type/WagonTypeList.vue b/src/pages/Wagon/Type/WagonTypeList.vue index 504b40353..58014ca92 100644 --- a/src/pages/Wagon/Type/WagonTypeList.vue +++ b/src/pages/Wagon/Type/WagonTypeList.vue @@ -64,7 +64,7 @@ async function remove(row) {