From d89d19202bd25926cebb1ac2543245146cfff8f7 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Sat, 2 Mar 2024 20:21:46 -0800 Subject: [PATCH] Link to become an editor on published pages --- common/common.scss | 18 ++++++++++++++++++ common/footer.html | 6 ++++++ common/head_tag.html | 0 3 files changed, 24 insertions(+) delete mode 100644 common/head_tag.html diff --git a/common/common.scss b/common/common.scss index 6979d53..1e137f3 100644 --- a/common/common.scss +++ b/common/common.scss @@ -662,6 +662,24 @@ html body #main-outlet { } } +.become-editor-link { + display: none; + + a { + color: var(--primary-high); + } + + a:visited { + color: var(--primary-high); + } +} + +.published-page { + .become-editor-link { + display: block; + } +} + // published page additions .published-page-header { background-color: unset; diff --git a/common/footer.html b/common/footer.html index aa9022f..f350151 100644 --- a/common/footer.html +++ b/common/footer.html @@ -1,3 +1,9 @@ + +