mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-25 04:43:04 +00:00
Change collapsed icon in menu for RTL pages (#354)
This commit is contained in:
parent
379e311d7e
commit
0d2ed5586e
@ -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 New Issue
Block a user