From 5b5f1daf5175c4dc251f40356575208bfb59def6 Mon Sep 17 00:00:00 2001 From: vzpgb <45467497+vzpgb@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:41:40 -0600 Subject: [PATCH] VADC-1486: Fix selected phenotypes/covariates colors according to 508 guidelines (#1648) * fix(vadc-1486): Fix selected phenotypes/covariates colors * fix(vadc-1486): Restore styles for gwas and teams modals --- .../AccessibilityStyles/Accessibility.less | 13 ++++++++++ .../AccessibilityGWAS.less | 24 +++++++++++++++++++ .../AccessibilityTeams.less | 14 +++++++++++ 3 files changed, 51 insertions(+) create mode 100644 src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/AccessibilityTeams.less diff --git a/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/Accessibility.less b/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/Accessibility.less index 07eb4300b..71b3dcd58 100644 --- a/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/Accessibility.less +++ b/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/Accessibility.less @@ -1,6 +1,7 @@ /* App-specific styles */ @import "AccessibilityGWAS.less"; +@import "AccessibilityTeams.less"; /* Global styles */ @@ -125,4 +126,16 @@ .ant-pagination-options:hover .ant-select:not([disabled]) .ant-select-selector { border-color: #2466AC; } + + .ant-card-meta-description { + color: #333333; + } + + .ant-card-actions .anticon { + color: #333333; + } + + .ant-card-actions .anticon:hover { + color: #2466AC; + } } diff --git a/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/AccessibilityGWAS.less b/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/AccessibilityGWAS.less index 2b4c720bf..5ad4889d7 100644 --- a/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/AccessibilityGWAS.less +++ b/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/AccessibilityGWAS.less @@ -1,5 +1,29 @@ /* GWAS App */ +.gwas-modal { + .ant-btn-primary:not([disabled]) { + background: #194C90; + border-color: #194C90; + } + + .ant-btn-primary:not([disabled]):hover, + .ant-btn-primary:not([disabled]):focus { + background: #2466AC; + border-color: #2466AC; + } + + .ant-btn-default { + color: #194C90; + border-color: #194C90; + } + + .ant-btn-default:hover, + .ant-btn-default:focus { + color: #2466AC; + border-color: #2466AC; + } +} + .GWASApp { .GWASUI-navBtn:not([disabled]) { background: #194C90; diff --git a/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/AccessibilityTeams.less b/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/AccessibilityTeams.less new file mode 100644 index 000000000..3444c04a0 --- /dev/null +++ b/src/Analysis/SharedUtils/AccessibilityUtils/AccessibilityStyles/AccessibilityTeams.less @@ -0,0 +1,14 @@ +/* Rules for Teams selection in VADC */ + +.team-project-modal { + .ant-btn-primary:not([disabled]) { + background: #194C90; + border-color: #194C90; + } + + .ant-btn-primary:not([disabled]):hover, + .ant-btn-primary:not([disabled]):focus { + background: #2466AC; + border-color: #2466AC; + } +}