From 366f80701b873b2193edb5e0fe54cb6b98b447d7 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Wed, 22 Nov 2017 11:17:16 +0100 Subject: [PATCH] Remove brackets around new toctoggle I82db33d656 in core changes the toggle button of the TOC. This change removes the brackets around the new toctoggle, too. Depends-On: I82db33d656b3795d7134a91d20ed9d93a3471086 Change-Id: I4ebe356e266a93b2391650ac915940432e02f0ef --- resources/screen-common.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/screen-common.less b/resources/screen-common.less index 62030a7..0e0a8e9 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -461,6 +461,16 @@ ul#filetoc { .toctoggle { color: @background3; } +// Remove brackets around the show/hide button of the TOC +body :not( :checked ) > .toctogglespan:before, +body :not( :checked ) > .toctogglespan:after { + content: ''; +} +.toctogglelabel { + padding-left: 0; // Overwrite label { padding-left: 0.5em; } from forms.less + margin-left: 0.5em; // Create new distance to the TOC title without increasing the focus ring +} + #toc li:last-child { margin-bottom: 0.5em; }