mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
UX: Update mobile site setting slide-out nav for RTL
This commit is contained in:
parent
adbff5835d
commit
d73e94bbeb
@ -90,3 +90,33 @@
|
||||
border-right: 1px solid #cfcfcf;
|
||||
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…
Reference in New Issue
Block a user