From 52aedca543e179683dcc6622eaa6735668e6d393 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Sat, 21 Jul 2018 23:32:34 +0200 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: I7a9fa9f3a630901d736331ecef2c43e3ab918d03 --- resources/screen-common.less | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/screen-common.less b/resources/screen-common.less index 2721257..d9f7d28 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -485,6 +485,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; }