Change collapsed icon in menu for RTL pages (#354)
This commit is contained in:
parent
379e311d7e
commit
0d2ed5586e
1 changed files with 12 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue