diff --git a/quasar.config.js b/quasar.config.js index 755e96bd3..2d8289508 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -67,7 +67,7 @@ module.exports = configure(function (/* ctx */) { // analyze: true, // env: {}, rawDefine: { - 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV) + 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), }, // ignorePublicFolder: true, // minify: false, @@ -92,7 +92,7 @@ module.exports = configure(function (/* ctx */) { vitePlugins: [ [ VueI18nPlugin({ - runtimeOnly: false + runtimeOnly: false, }), { // if you want to use Vue I18n Legacy API, you need to set `compositionOnly: false` @@ -123,9 +123,6 @@ module.exports = configure(function (/* ctx */) { framework: { config: { config: { - brand: { - primary: 'orange', - }, dark: 'auto', }, }, diff --git a/src/css/app.scss b/src/css/app.scss index efd26edb2..224cd221c 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -7,12 +7,23 @@ a { } .link { - color: $primary; + color: $color-link; cursor: pointer; } +.header-link { + color: $color-link !important; + cursor: pointer; + border-bottom: solid $primary; + border-width: 2px; + width: 100%; + .q-icon { + float: right; + } +} + .link:hover { - color: $orange-4; + text-decoration: underline; } // Removes chrome autofill background diff --git a/src/css/quasar.variables.scss b/src/css/quasar.variables.scss index 7f5871ad2..fa9017c36 100644 --- a/src/css/quasar.variables.scss +++ b/src/css/quasar.variables.scss @@ -11,26 +11,31 @@ // It's highly recommended to change the default colors // to match your app's branding. // Tip: Use the "Theme Builder" on Quasar's documentation website. - +// Tip: to add new colors https://quasar.dev/style/color-palette/#adding-your-own-colors +$dark-theme: true !default; +$light-theme: true !default; $primary: #ec8916; $secondary: $primary; -$white: #fff; - $positive: #21ba45; $negative: #c10015; $info: #31ccec; $warning: #f2c037; - -$vnColor: #8ebb27; -$dark: #3c3b3b; - // Pendiente de cuadrar con la base de datos $success: $positive; $alert: $negative; +$white: #fff; +$dark: #3c3b3b; +// custom +$color-link: #66bfff; + +.tx-color-link { + color: $color-link !important; +} .bg-success { background-color: $positive; } + .bg-notice { background-color: $info; } @@ -42,25 +47,30 @@ $alert: $negative; } body.body--light { - background-color: white; + --fount-color: black; + --vn-sectionColor: #ffffff; + background-color: #e0e0e0; .q-header .q-toolbar { - color: black; + color: var(--fount-color); } - --vn-text: black; - --vn-gray: #eeeeee; + --vn-text: var(--fount-color); + --vn-gray: var(--vn-sectionColor); --vn-label: #5f5f5f; - --vn-dark: #eeeeee; + --vn-dark: var(--vn-sectionColor); --vn-light-gray: #e7e3e3; } body.body--dark { - background-color: #222; + --vn-pageColor: #222; + --vn-SectionColor: #3c3b3b; + background-color: var(--vn-pageColor); --vn-text: white; - --vn-gray: #3c3b3b; + --vn-gray: var(--vn-SectionColor); --vn-label: #a8a8a8; - --vn-dark: #3c3b3b; + --vn-dark: var(--vn-SectionColor); --vn-light-gray: #424242; } + $color-spacer-light: rgba(255, 255, 255, 0.12); $color-spacer: rgba(255, 255, 255, 0.3); $border-thin-light: 1px solid $color-spacer-light; diff --git a/src/css/test.scss b/src/css/test.scss deleted file mode 100644 index 45f1d6807..000000000 --- a/src/css/test.scss +++ /dev/null @@ -1,136 +0,0 @@ -$font-size: 11pt; -$menu-width: 256px; -$topbar-height: 56px; -$mobile-width: 800px; -$float-spacing: 20px; - -// Width - -$width-xs: 400px; -$width-sm: 544px; -$width-md: 800px; -$width-lg: 1280px; -$width-xl: 1600px; - -// Spacing - -$spacing-xs: 4px; -$spacing-sm: 8px; -$spacing-md: 16px; -$spacing-lg: 32px; -$spacing-xl: 70px; - -// Light theme - -/* $color-primary: #f7931e; -$color-secondary: $color-primary; - -$color-font: #222; -$color-font-light: #555; -$color-font-secondary: #9b9b9b; -$color-font-dark: white; -$color-font-link: #005a9a; -$color-font-bg: rgba(0, 0, 0, .7); -$color-font-bg-marginal: rgba(0, 0, 0, .4); -$color-font-bg-dark: rgba(255, 255, 255, .7); -$color-font-bg-dark-marginal: rgba(255, 255, 255, .4); - -$color-header: #3d3d3d; -$color-menu-header: #3d3d3d; -$color-bg: #e5e5e5; -$color-bg-dark: #3d3d3d; -$color-active: #3d3d3d; -$color-active-font: $color-font-dark; -$color-bg-panel: white; -$color-main: $color-primary; -$color-marginal: #ccc; -$color-success: #a3d131; -$color-notice: #32b1ce; -$color-alert: #f42121; -$color-button: $color-secondary; - -$color-spacer: rgba(0, 0, 0, .3); -$color-spacer-light: rgba(0, 0, 0, .12); -$color-input-underline: rgba(0, 0, 0, .12); -$color-input-underline-hover: rgba(0, 0, 0, .6); -$color-shadow: rgba(0, 0, 0, .2); -$color-hightlight: rgba(0, 0, 0, .05); -$color-hover-cd: rgba(0, 0, 0, .1); -$color-hover-dc: .7; -$color-disabled: .6; - -$color-primary-medium: lighten($color-primary, 20%); -$color-primary-light: lighten($color-primary, 35%); -$color-font-link-medium: lighten($color-font-link, 20%); -$color-font-link-light: lighten($color-font-link, 35%); -$color-main-medium: lighten($color-main, 20%); -$color-main-light: lighten($color-main, 35%); -$color-success-medium: lighten($color-success, 20%); -$color-success-light: lighten($color-success, 35%); -$color-notice-medium: lighten($color-notice, 20%); -$color-notice-light: lighten($color-notice, 35%); -$color-alert-medium: lighten($color-alert, 20%); -$color-alert-light: lighten($color-alert, 35%); */ -/**/ - -// Dark theme -$color-primary: #ec8916; -$color-secondary: $color-primary; - -$color-font: #eee; -$color-font-light: #aaa; -$color-font-secondary: #777; -$color-font-dark: white; -$color-font-link: #66bfff; -$color-font-bg: rgba(0, 0, 0, 0.8); -$color-font-bg-marginal: rgba(255, 255, 255, 0.4); -$color-font-bg-dark: rgba(255, 255, 255, 0.7); -$color-font-bg-dark-marginal: rgba(255, 255, 255, 0.4); - -$color-header: #3d3d3d; -$color-menu-header: #3d3d3d; -$color-bg: #222; -$color-bg-dark: #222; -$color-active: #666; -$color-active-font: white; -$color-bg-panel: #3c3b3b; -$color-main: $color-primary; -$color-marginal: #222; -$color-success: #a3d131; -$color-notice: #32b1ce; -$color-alert: #fa3939; -$color-pink: #ff99cc; -$color-yellow: #ffff00; -$color-button: $color-secondary; - -$color-spacer: rgba(255, 255, 255, 0.3); -$color-spacer-light: rgba(255, 255, 255, 0.12); -$color-input-underline: rgba(255, 255, 255, 0.12); -$color-input-underline-hover: rgba(255, 255, 255, 0.6); -$color-shadow: rgba(0, 0, 0, 0.2); -$color-border: rgba(0, 0, 0, 0.3); -$color-hightlight: rgba(255, 255, 255, 0.15); -$color-hover-cd: rgba(255, 255, 255, 0.1); -$color-hover-dc: 0.7; -$color-disabled: 0.6; - -$color-primary-medium: lighten($color-primary, 20%); -$color-primary-light: lighten($color-primary, 35%); -$color-font-link-medium: lighten($color-font-link, 20%); -$color-font-link-light: lighten($color-font-link, 35%); -$color-main-medium: lighten($color-main, 20%); -$color-main-light: lighten($color-main, 35%); -$color-success-medium: lighten($color-success, 20%); -$color-success-light: lighten($color-success, 35%); -$color-notice-medium: lighten($color-notice, 20%); -$color-notice-light: lighten($color-notice, 35%); -$color-alert-medium: lighten($color-alert, 20%); -$color-alert-light: lighten($color-alert, 35%); -/**/ - -// Border - -$border-thin: 1px solid $color-border; -$border-thin-light: 1px solid $color-spacer-light; -$border: 2px solid $color-border; -$shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3); diff --git a/src/pages/Claim/Card/ClaimSummary.vue b/src/pages/Claim/Card/ClaimSummary.vue index b93cbbd81..df1912473 100644 --- a/src/pages/Claim/Card/ClaimSummary.vue +++ b/src/pages/Claim/Card/ClaimSummary.vue @@ -179,9 +179,9 @@ function openDialog(dmsId) {