From d150cc8f8853ab63bf80ec6e4525b1109f668906 Mon Sep 17 00:00:00 2001 From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> Date: Fri, 10 Dec 2021 16:44:16 +0100 Subject: [PATCH] use scoped CSS for toc lables, fixes #473 --- resources/assets/stylesheets/scss/contentbar.scss | 4 ---- .../assets/stylesheets/scss/table_of_contents.scss | 11 ++--------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/resources/assets/stylesheets/scss/contentbar.scss b/resources/assets/stylesheets/scss/contentbar.scss index 4604008acf0..baf7515ba04 100644 --- a/resources/assets/stylesheets/scss/contentbar.scss +++ b/resources/assets/stylesheets/scss/contentbar.scss @@ -56,10 +56,6 @@ .contentbar-icons { display: flex; - label, .consuming_mode_trigger, nav { - align-self: center; - } - .consuming_mode_trigger { @media (max-width: 767px) { display: none !important; diff --git a/resources/assets/stylesheets/scss/table_of_contents.scss b/resources/assets/stylesheets/scss/table_of_contents.scss index 6b78c374828..811ca9aca39 100644 --- a/resources/assets/stylesheets/scss/table_of_contents.scss +++ b/resources/assets/stylesheets/scss/table_of_contents.scss @@ -10,15 +10,6 @@ ul.numberedchapters { } } -label { - cursor: pointer; - margin-top: 7px; -} - -label[for=cb-toc], label[for=cb-fullscreen] { -} - - #cb-toc, #cb-toc-close { visibility: hidden; display: none; @@ -76,6 +67,8 @@ label[for=cb-toc], label[for=cb-fullscreen] { align-items: center; label { + cursor: pointer; + margin-top: 7px; margin-right: 15px; } } -- GitLab