Isarra has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/392822 )

Change subject: Remove brackets around new toctoggle
......................................................................


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
---
M resources/screen-common.less
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Isarra: Looks good to me, approved



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 @@
 .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;
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/392822
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4ebe356e266a93b2391650ac915940432e02f0ef
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Timeless
Gerrit-Branch: master
Gerrit-Owner: Fomafix <foma...@googlemail.com>
Gerrit-Reviewer: Fomafix <foma...@googlemail.com>
Gerrit-Reviewer: Isarra <zhoris...@gmail.com>
Gerrit-Reviewer: SamanthaNguyen <samanthanguyen1...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to