RTL: Made a range of fixes & improvments for RTL text
- Updated HTML exports to have auto direction to properly react to RTL text when in the content. - Fixed RTL spacing issues in new editor design changes. - Fixed pointer arrow being angled wrong on RTL languages. Related to #4645
This commit is contained in:
parent
11853361b0
commit
0254527bd9
|
@ -115,7 +115,7 @@ body.tox-fullscreen, body.markdown-fullscreen {
|
||||||
width: 52px;
|
width: 52px;
|
||||||
height: 52px;
|
height: 52px;
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
right: $-xs;
|
inset-inline-end: $-xs;
|
||||||
bottom: $-s;
|
bottom: $-s;
|
||||||
box-shadow: $bs-hover;
|
box-shadow: $bs-hover;
|
||||||
background-color: currentColor;
|
background-color: currentColor;
|
||||||
|
@ -170,8 +170,8 @@ body.tox-fullscreen, body.markdown-fullscreen {
|
||||||
display: block;
|
display: block;
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
transform-origin: 50% 50%;
|
transform-origin: 50% 50%;
|
||||||
border-block-end: 1px solid #CCC;
|
border-right: 1px solid #CCC;
|
||||||
border-inline-end: 1px solid #CCC;
|
border-bottom: 1px solid #CCC;
|
||||||
z-index: 56;
|
z-index: 56;
|
||||||
@include lightDark(background-color, #fff, #333);
|
@include lightDark(background-color, #fff, #333);
|
||||||
@include lightDark(border-color, #ccc, #000);
|
@include lightDark(border-color, #ccc, #000);
|
||||||
|
@ -224,7 +224,7 @@ body.tox-fullscreen, body.markdown-fullscreen {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: $bs-card;
|
box-shadow: $bs-card;
|
||||||
margin-bottom: auto;
|
margin-bottom: auto;
|
||||||
margin-left: $-l;
|
margin-inline-start: $-l;
|
||||||
position: relative;
|
position: relative;
|
||||||
&.open {
|
&.open {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -252,11 +252,11 @@ body.tox-fullscreen, body.markdown-fullscreen {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.tabs {
|
.tabs {
|
||||||
border-right: 1px solid #DDD;
|
border-inline-end: 1px solid #DDD;
|
||||||
@include lightDark(border-right-color, #DDD, #000);
|
@include lightDark(border-inline-end-color, #DDD, #000);
|
||||||
width: 40px;
|
width: 40px;
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
margin-right: -1px;
|
margin-inline-end: -1px;
|
||||||
}
|
}
|
||||||
.tabs-inner {
|
.tabs-inner {
|
||||||
@include lightDark(background-color, #FFFFFF, #222);
|
@include lightDark(background-color, #FFFFFF, #222);
|
||||||
|
@ -325,7 +325,7 @@ body.tox-fullscreen, body.markdown-fullscreen {
|
||||||
|
|
||||||
@include smaller-than($xxl) {
|
@include smaller-than($xxl) {
|
||||||
.floating-toolbox {
|
.floating-toolbox {
|
||||||
margin-left: $-s;
|
margin-inline-start: $-s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -334,7 +334,7 @@ body.tox-fullscreen, body.markdown-fullscreen {
|
||||||
margin: 4px !important;
|
margin: 4px !important;
|
||||||
}
|
}
|
||||||
.floating-toolbox {
|
.floating-toolbox {
|
||||||
margin-left: 4px;
|
margin-inline-start: 4px;
|
||||||
}
|
}
|
||||||
.floating-toolbox .tabs {
|
.floating-toolbox .tabs {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="export export-format-{{ $format }} export-engine-{{ $engine ?? 'none' }}">
|
<body class="export export-format-{{ $format }} export-engine-{{ $engine ?? 'none' }}">
|
||||||
@include('layouts.parts.export-body-start')
|
@include('layouts.parts.export-body-start')
|
||||||
<div class="page-content">
|
<div class="page-content" dir="auto">
|
||||||
@yield('content')
|
@yield('content')
|
||||||
</div>
|
</div>
|
||||||
@include('layouts.parts.export-body-end')
|
@include('layouts.parts.export-body-end')
|
||||||
|
|
Loading…
Reference in New Issue