From 0d2ed5586ef67faf9fcdbe0164becaa49cde2603 Mon Sep 17 00:00:00 2001 From: xhdix Date: Mon, 21 Jun 2021 21:18:14 +0300 Subject: Change collapsed icon in menu for RTL pages (#354) --- assets/_main.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/assets/_main.scss b/assets/_main.scss index 09c4f91..4e96316 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -135,6 +135,17 @@ ul.pagination { } } +// for RTL support +body[dir="rtl"] .book-menu { + input.toggle + label::after { + content: "◂"; + } + + input.toggle:checked + label::after { + content: "▾"; + } +} + .book-section-flat { margin-bottom: $padding-16 * 2; @@ -381,7 +392,7 @@ ul.pagination { } } - //for RTL support + // for RTL support body[dir="rtl"] #menu-control:checked ~ main { .book-menu .book-menu-content { transform: translateX(-$menu-width); -- cgit v1.2.3