mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-76457 tool_usertours: Fix tour popovers in RTL
This commit is contained in:
parent
76b05082d6
commit
ce1eefb979
@ -103,6 +103,26 @@ span[data-flexitour="container"] {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// RTL specific styles.
|
||||
.dir-rtl & {
|
||||
&[x-placement^="right"] {
|
||||
margin-left: $popover-arrow-width;
|
||||
div[data-role="arrow"] {
|
||||
transform: rotate(180deg);
|
||||
left: -$popover-arrow-width;
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
&[x-placement^="left"] {
|
||||
margin-right: $popover-arrow-width;
|
||||
div[data-role="arrow"] {
|
||||
transform: rotate(180deg);
|
||||
left: auto;
|
||||
right: -$popover-arrow-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hack the bone! Hack the bone!
|
||||
|
@ -36842,6 +36842,22 @@ span[data-flexitour=container][x-placement=right] div[data-role=arrow]:after, sp
|
||||
border-left-width: 0;
|
||||
border-right-color: #fff;
|
||||
}
|
||||
.dir-rtl span[data-flexitour=container][x-placement^=right] {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.dir-rtl span[data-flexitour=container][x-placement^=right] div[data-role=arrow] {
|
||||
transform: rotate(180deg);
|
||||
left: -1rem;
|
||||
right: auto;
|
||||
}
|
||||
.dir-rtl span[data-flexitour=container][x-placement^=left] {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
.dir-rtl span[data-flexitour=container][x-placement^=left] div[data-role=arrow] {
|
||||
transform: rotate(180deg);
|
||||
left: auto;
|
||||
right: -1rem;
|
||||
}
|
||||
|
||||
[data-region=drawer] [data-flexitour=container] {
|
||||
/*rtl:ignore*/
|
||||
|
@ -36776,6 +36776,22 @@ span[data-flexitour=container][x-placement=right] div[data-role=arrow]:after, sp
|
||||
border-left-width: 0;
|
||||
border-right-color: #fff;
|
||||
}
|
||||
.dir-rtl span[data-flexitour=container][x-placement^=right] {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
.dir-rtl span[data-flexitour=container][x-placement^=right] div[data-role=arrow] {
|
||||
transform: rotate(180deg);
|
||||
left: -1rem;
|
||||
right: auto;
|
||||
}
|
||||
.dir-rtl span[data-flexitour=container][x-placement^=left] {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
.dir-rtl span[data-flexitour=container][x-placement^=left] div[data-role=arrow] {
|
||||
transform: rotate(180deg);
|
||||
left: auto;
|
||||
right: -1rem;
|
||||
}
|
||||
|
||||
[data-region=drawer] [data-flexitour=container] {
|
||||
/*rtl:ignore*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user