diff options
author | xhdix <xhdix@yahoo.com> | 2021-06-21 21:18:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 20:18:14 +0200 |
commit | 0d2ed5586ef67faf9fcdbe0164becaa49cde2603 (patch) | |
tree | 62f3df9655c205f36c5b72436e6b502ee9007f7e /assets | |
parent | 379e311d7e38b7cb5b39acc53c87aa65ff92d471 (diff) |
Change collapsed icon in menu for RTL pages (#354)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_main.scss | 13 |
1 files changed, 12 insertions, 1 deletions
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); |