2015-04-14 21:19:11 -05:00
|
|
|
// Right to left styles.
|
|
|
|
// *** These styles are all going to be flipped by the r2 gem ***
|
2015-07-16 20:03:48 -05:00
|
|
|
// Adding the !important declaration to a rule prevents it from being flipped.
|
2014-07-10 11:36:19 -05:00
|
|
|
|
2015-04-14 21:19:11 -05:00
|
|
|
// Keep the topic admin menu on the page
|
2015-09-15 12:28:50 -05:00
|
|
|
.rtl .popup-menu {
|
2015-04-14 21:19:11 -05:00
|
|
|
right: 0 !important;
|
|
|
|
}
|
2014-07-10 11:36:19 -05:00
|
|
|
|
2017-08-30 10:01:01 -05:00
|
|
|
// This is used to flip the .d-icon-caret-right
|
2015-04-14 21:19:11 -05:00
|
|
|
@mixin rotate( $degrees ) {
|
|
|
|
-webkit-transform: rotate(#{$degrees}deg);
|
|
|
|
-moz-transform: rotate(#{$degrees}deg);
|
|
|
|
-ms-transform: rotate(#{$degrees}deg);
|
|
|
|
-o-transform: rotate(#{$degrees}deg);
|
|
|
|
transform: rotate(#{$degrees}deg);
|
|
|
|
|
2017-02-17 15:16:06 -06:00
|
|
|
filter: "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=#{cos($degrees)}, M12=-#{sin($degrees)}, M21=#{sin($degrees)}, M22=#{cos($degrees)})";
|
2015-04-14 21:19:11 -05:00
|
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=#{cos($degrees)}, M12=-#{sin($degrees)}, M21=#{sin($degrees)}, M22=#{cos($degrees)})";
|
|
|
|
zoom: 1;
|
|
|
|
}
|
2014-07-10 11:36:19 -05:00
|
|
|
|
2015-04-14 21:19:11 -05:00
|
|
|
// Get the right caret to point left
|
2017-07-27 14:03:41 -05:00
|
|
|
.rtl .d-icon-caret-right {
|
2015-04-14 21:19:11 -05:00
|
|
|
@include rotate(180);
|
|
|
|
}
|
2014-07-10 11:36:19 -05:00
|
|
|
|
2015-04-14 21:19:11 -05:00
|
|
|
// Changes the triangle arrow direction in .nav-stacked .active
|
|
|
|
// The 'left' and 'right' in these selectors is not being flipped by r2.
|
2017-08-30 10:01:01 -05:00
|
|
|
.rtl .nav-stacked a.active::after {
|
2015-04-14 21:19:11 -05:00
|
|
|
border-left-color: transparent !important;
|
|
|
|
border-right-color: $secondary !important;
|
2014-07-10 11:36:19 -05:00
|
|
|
}
|
2015-05-11 02:52:30 -05:00
|
|
|
.rtl code {
|
2015-05-09 08:56:00 -05:00
|
|
|
direction: ltr !important;
|
2015-07-16 20:03:48 -05:00
|
|
|
text-align: left !important;
|
2015-05-09 08:56:00 -05:00
|
|
|
}
|
2015-05-11 02:52:30 -05:00
|
|
|
.rtl .pull-left {
|
2015-07-16 20:03:48 -05:00
|
|
|
float: right !important;
|
2015-05-09 08:56:00 -05:00
|
|
|
}
|
2017-08-30 10:01:01 -05:00
|
|
|
.rtl .autocomplete {
|
|
|
|
left: 27px;
|
2015-07-15 05:48:20 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.rtl .customize .current-style .toggle-mobile {
|
|
|
|
position: static !important;
|
|
|
|
float: left !important;
|
|
|
|
}
|
|
|
|
.rtl .customize .current-style .toggle-maximize {
|
|
|
|
position: static !important;
|
|
|
|
float: left !important;
|
|
|
|
}
|
|
|
|
.rtl .dashboard-left {
|
|
|
|
float: right !important;
|
|
|
|
}
|
|
|
|
.rtl .dashboard-right {
|
|
|
|
float: left !important;
|
2015-05-15 05:03:00 -05:00
|
|
|
}
|