From d133c7e8dc23a1666bd504cf108aec1df7e1a7f1 Mon Sep 17 00:00:00 2001 From: David Mendez <dmendez@ebi.ac.uk> Date: Fri, 29 Oct 2021 15:43:02 +0100 Subject: [PATCH] Datase Filters: improve coor contrast --- assets/variables.scss | 7 +++- components/Masthead/LinksMenu.vue | 2 +- components/Masthead/LinksMenuMobile.vue | 2 +- components/footer/LicenseAndPrivacy.vue | 2 +- pages/accessibility.vue | 51 ------------------------- web-components-submodule | 2 +- 6 files changed, 10 insertions(+), 56 deletions(-) delete mode 100644 pages/accessibility.vue diff --git a/assets/variables.scss b/assets/variables.scss index 4b12e5c..51780de 100644 --- a/assets/variables.scss +++ b/assets/variables.scss @@ -10,4 +10,9 @@ $eubopen-secondary-color: #9dbfdc; $chembl-delete: #B71C1C; //red darken-4 $chembl-add: #43A047; //red darken-4 -$chembl-filter-histogram-text: map-get($teal, darken-2); \ No newline at end of file +$chembl-filter-value-bar: #154584; +$chembl-filter-value-bar-hover: #154584; +$chembl-filter-background-bar-hover: #B1CDF1; +$chembl-filter-histogram-text: #084440; +$chembl-filter-histogram-count-text: #084440; +$chembl-filter-selected-cover-bar: #154584; \ No newline at end of file diff --git a/components/Masthead/LinksMenu.vue b/components/Masthead/LinksMenu.vue index 85b23f3..3057f0f 100644 --- a/components/Masthead/LinksMenu.vue +++ b/components/Masthead/LinksMenu.vue @@ -21,7 +21,7 @@ <v-list-item-title>Disclaimer</v-list-item-title> </v-list-item-content> </v-list-item> - <v-list-item nuxt to="/accessibility"> + <v-list-item href="https://www.eubopen.org/accessibility"> <v-list-item-content> <v-list-item-title>Accessibility</v-list-item-title> </v-list-item-content> diff --git a/components/Masthead/LinksMenuMobile.vue b/components/Masthead/LinksMenuMobile.vue index d252bed..2d01053 100644 --- a/components/Masthead/LinksMenuMobile.vue +++ b/components/Masthead/LinksMenuMobile.vue @@ -25,7 +25,7 @@ <v-list-item-title>Disclaimer</v-list-item-title> </v-list-item-content> </v-list-item> - <v-list-item nuxt to="/accessibility"> + <v-list-item href="https://www.eubopen.org/accessibility"> <v-list-item-content> <v-list-item-title>Accessibility</v-list-item-title> </v-list-item-content> diff --git a/components/footer/LicenseAndPrivacy.vue b/components/footer/LicenseAndPrivacy.vue index 727d280..c96acdf 100644 --- a/components/footer/LicenseAndPrivacy.vue +++ b/components/footer/LicenseAndPrivacy.vue @@ -13,7 +13,7 @@ | <nuxt-link to="/cookie_notice"> Cookie Notice </nuxt-link> | - <nuxt-link to="/accessibility"> Accessibility </nuxt-link> + <a href="https://www.eubopen.org/accessibility"> Accessibility </a> </span> </div> </div> diff --git a/pages/accessibility.vue b/pages/accessibility.vue deleted file mode 100644 index 6e085c9..0000000 --- a/pages/accessibility.vue +++ /dev/null @@ -1,51 +0,0 @@ -<template> - <div> - <h1 class="font-weight-light">Accessibility</h1> - <v-divider /> - <br /> - <p class="text-justify">Accessibility statement coming soon...</p> - </div> -</template> - -<script> -export default { - head() { - const titleText = `Accessibility` - const descriptionText = - 'Read the accessibility statement for the EUbOPEN Portal.' - - const canonicalURL = - `https://${process.env.canonicalDomain}` + this.$route.path - - const imgURL = `https://${ - process.env.canonicalDomain - }${require('~/static/img/logo.png')}` - return { - meta: [ - { - hid: 'description', - name: 'description', - content: descriptionText, - }, - { hid: 'og:title', name: 'og:title', content: titleText }, - { - hid: 'og:description', - name: 'og:description', - content: descriptionText, - }, - { hid: 'og:type', name: 'og:type', content: 'object' }, - { hid: 'og:url', name: 'og:url', content: canonicalURL }, - { hid: 'og:image', name: 'og:image', content: imgURL }, - ], - link: [ - { - rel: 'canonical', - href: canonicalURL, - }, - ], - } - }, -} -</script> - -<style></style> diff --git a/web-components-submodule b/web-components-submodule index 30ecc23..ad6fd7a 160000 --- a/web-components-submodule +++ b/web-components-submodule @@ -1 +1 @@ -Subproject commit 30ecc238ee90ae965c8c81dcaac2dd7065f9ca8f +Subproject commit ad6fd7a37dc4716ba43b2bfc7396ed07b32cf509 -- GitLab