weekly release 4.0dev
[moodle.git] / theme / boost / scss / moodle / bootstrap-rtl.scss
CommitLineData
9727e142
DW
1/**
2 * Bootstrap overrides for RTL
3 *
4 * This file is only for overriding sass from upstream bootstrap, all general rtl fixes for
5 * moodle scss should be placed immediately after the definition of the ltr rule.
6 */
7
92e32fc4
FM
8.breadcrumb-item {
9 + .breadcrumb-item::before {
10 content: "#{$breadcrumb-divider-rtl}";
11 /*rtl:remove*/
46c1713c 12 content: "#{$breadcrumb-divider}"; /* stylelint-disable-line declaration-block-no-duplicate-properties */
92e32fc4 13 }
9727e142 14}
b6ebda70 15
22ae1807
NK
16.dir-rtl .custom-select {
17 background-position: 0.75rem center;
18}
19
b6ebda70
BB
20/*rtl:raw:
21.dropdown-menu {
22 right: auto;
23 left: 0;
24 text-align: right;
25}
fe60d580
MH
26*/
27
28.dir-rtl .custom-switch .custom-control-input:checked ~ .custom-control-label::after {
29 transform: translateX(-($custom-switch-width - $custom-control-indicator-size));
30}