From 0876539e6d7ca25f42108f7a4f3545bd66d94c72 Mon Sep 17 00:00:00 2001 From: Claas Kazzer <kazzer@uni-leipzig.de> Date: Thu, 25 Feb 2021 17:27:04 +0100 Subject: [PATCH] refs #18316 [finc] sets visited links color * introduces scss variable for visited links, use steel (gray) as default * intoduces a:visited definition using that variable co-authored by: Alexander Purr <purr@ub.uni-leipzig.de> * add description --- themes/finc/scss/_customVariables.scss | 2 ++ themes/finc/scss/compiled.scss | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/themes/finc/scss/_customVariables.scss b/themes/finc/scss/_customVariables.scss index b744684a339..22f4fbe355a 100644 --- a/themes/finc/scss/_customVariables.scss +++ b/themes/finc/scss/_customVariables.scss @@ -59,6 +59,8 @@ $modal-close-color-hover: $brand-danger !default; //// Anchor/Link text decoration $textdecoration-anchor: none !default; +// needs to be overriden in catalogues if visited color does not fit - AP +$a-visited-color: $steel !default; //// FORM FEEDBACK states colors and, by default, alerts colors (i.e. alerts are //// defined like so '$alert-success-bg: $state-success-bg;') diff --git a/themes/finc/scss/compiled.scss b/themes/finc/scss/compiled.scss index 8a5183ea841..a59ea2fa489 100644 --- a/themes/finc/scss/compiled.scss +++ b/themes/finc/scss/compiled.scss @@ -566,6 +566,11 @@ select { // LINKS // ANCHORS a { text-decoration: $textdecoration-anchor; + + // set different color for links already visited + &:visited { + color: $a-visited-color; + } } // LINKS - END -- GitLab