2015-04-15 10:19:11 +08:00
|
|
|
// Right to left styles.
|
2014-07-11 00:36:19 +08:00
|
|
|
|
2023-05-31 06:27:38 +08:00
|
|
|
.rtl {
|
|
|
|
.d-icon-align-right,
|
|
|
|
.d-icon-angle-double-right,
|
|
|
|
.d-icon-angle-right,
|
|
|
|
.d-icon-arrow-right,
|
|
|
|
.d-icon-caret-right,
|
|
|
|
.d-icon-chevron-right,
|
|
|
|
.d-icon-hand-point-right,
|
|
|
|
.d-icon-quote-right {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
2014-07-11 00:36:19 +08:00
|
|
|
|
2023-05-31 06:27:38 +08:00
|
|
|
.d-icon-align-left,
|
|
|
|
.d-icon-angle-double-left,
|
|
|
|
.d-icon-angle-left,
|
|
|
|
.d-icon-arrow-left,
|
|
|
|
.d-icon-caret-left,
|
|
|
|
.d-icon-chevron-left,
|
|
|
|
.d-icon-hand-point-left,
|
|
|
|
.d-icon-quote-left {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
2015-07-15 18:48:20 +08:00
|
|
|
}
|
|
|
|
|
2017-10-31 02:13:49 +08:00
|
|
|
.rtl .admin-customize .current-style .toggle-mobile {
|
2018-06-08 17:49:31 +08:00
|
|
|
position: static !important;
|
|
|
|
float: left !important;
|
2015-07-15 18:48:20 +08:00
|
|
|
}
|
2017-10-31 02:13:49 +08:00
|
|
|
.rtl .admin-customize .current-style .toggle-maximize {
|
2018-06-08 17:49:31 +08:00
|
|
|
position: static !important;
|
|
|
|
float: left !important;
|
2015-07-15 18:48:20 +08:00
|
|
|
}
|
2018-07-19 17:32:36 +08:00
|
|
|
|
2021-11-27 01:32:45 +08:00
|
|
|
// For the support_mixed_text_direction setting
|
|
|
|
html:not(.rtl) .cooked ul[dir="rtl"],
|
|
|
|
html:not(.rtl) .d-editor-preview ul[dir="rtl"],
|
2021-03-04 00:09:48 +08:00
|
|
|
.rtl .cooked ul[dir="ltr"],
|
|
|
|
.rtl .d-editor-preview ul[dir="ltr"] {
|
|
|
|
padding-left: 0;
|
2021-11-27 01:32:45 +08:00
|
|
|
padding-right: 1.25em;
|
|
|
|
margin-right: 1.25em;
|
2018-07-19 17:32:36 +08:00
|
|
|
}
|
2019-10-29 02:09:42 +08:00
|
|
|
|
2020-02-12 04:23:12 +08:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-22 23:03:43 +08:00
|
|
|
|
|
|
|
.rtl .ace_placeholder {
|
|
|
|
direction: rtl !important;
|
|
|
|
text-align: right !important;
|
|
|
|
|
|
|
|
[dir="ltr"] {
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
|
|
|
}
|