mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
UX: Update mobile site setting slide-out nav for RTL
This commit is contained in:
parent
adbff5835d
commit
d73e94bbeb
1 changed files with 30 additions and 0 deletions
|
@ -90,3 +90,33 @@
|
||||||
border-right: 1px solid #cfcfcf;
|
border-right: 1px solid #cfcfcf;
|
||||||
border-left: none !important;
|
border-left: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl {
|
||||||
|
$mobile-breakpoint: 700px;
|
||||||
|
|
||||||
|
.admin-detail.mobile-open {
|
||||||
|
@media (max-width: $mobile-breakpoint) {
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
@include transform(translateX(-250px));
|
||||||
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
@include transform(translateX(-50%));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-detail.mobile-closed {
|
||||||
|
@media (max-width: $mobile-breakpoint) {
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
@include transform(translateX(0));
|
||||||
|
margin-left: -10px !important;
|
||||||
|
padding-left: 10px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-nav {
|
||||||
|
.nav-stacked {
|
||||||
|
margin: 0 -10px 0 10px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue