From bd15bab85dde4018155a631d9cf6ecdfe98ebe9a Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Tue, 14 Jun 2022 17:00:13 +0300 Subject: [PATCH] [common-assets & openaire-theme & Library | new-theme]: Updated class for graph color and moved to openaire.css | z-index fixes in dropdown and in landing pages. 1. dropdown.css: [Bug fix] Added z-index: 1 in uk-dropdown to prevent dropdown from being on top of menu. 2. text.css: Removed classes "text-orcid" and "text-argos" (moved to openaire-theme/css/openaire.css. 3. openaire.css: Removed class "graph" and added "text-graph", "text-orcid", "text-argos". 4. dataProvider.component.html & organization.component.html & project.component.html & resultLanding.component.html & newSearchPage.component.html: Use class "text-graph" instead of "graph" for graph color. 5. landing-utils.css: [Bug fix] Updated z-index of #graph_and_feedback to 980 (previous 979) to be on top of tabs in landing pages | background of #main-tabs-div was set twice. --- css/openaire.css | 12 ++++++++---- css/structure/dropdown.css | 3 +++ css/structure/text.css | 8 -------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/css/openaire.css b/css/openaire.css index 709be9c..1b1d20a 100644 --- a/css/openaire.css +++ b/css/openaire.css @@ -1,8 +1,12 @@ /* Overrides common to all dashboards*/ -.graph { - --text-primary-color: var(--graph-color); +.text-graph { + color: var(--graph-color) !important; } -.graph a, a.graph { - color: var(--graph-color); +.text-orcid { + color: var(--orcid-color) !important; } + +.text-argos { + color: var(--argos-color) !important; +} \ No newline at end of file diff --git a/css/structure/dropdown.css b/css/structure/dropdown.css index e69de29..331d8e1 100644 --- a/css/structure/dropdown.css +++ b/css/structure/dropdown.css @@ -0,0 +1,3 @@ +.uk-dropdown { + z-index: 1; +} \ No newline at end of file diff --git a/css/structure/text.css b/css/structure/text.css index a6d350e..1e3f0eb 100644 --- a/css/structure/text.css +++ b/css/structure/text.css @@ -25,11 +25,3 @@ .uk-text-xsmall { font-size: 12px; } - -.text-orcid { - color: var(--orcid-color); -} - -.text-argos { - color: var(--argos-color); -}