discourse/app/assets/stylesheets/common/base/rtl.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
910 B
SCSS
Raw Normal View History

// Right to left styles.
2014-07-11 00:36:19 +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
.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);
}
}
// For the support_mixed_text_direction setting
html:not(.rtl) .cooked ul[dir="rtl"],
html:not(.rtl) .d-editor-preview ul[dir="rtl"],
.rtl .cooked ul[dir="ltr"],
.rtl .d-editor-preview ul[dir="ltr"] {
padding-left: 0;
padding-right: 1.25em;
margin-right: 1.25em;
}
.rtl .ace_placeholder {
direction: rtl !important;
text-align: right !important;
[dir="ltr"] {
text-align: left !important;
}
}