Merge pull request #2622 from brkcvn/rtl-print

RTL controlled for toggle component & print template
This commit is contained in:
Burak Civan
2022-09-12 11:05:32 +03:00
committed by GitHub
6 changed files with 73 additions and 11 deletions

42
public/css/app.css vendored
View File

@ -47211,6 +47211,16 @@ html[dir='rtl'] .el-scrollbar__wrap {
opacity: 0.5;
}
/* template table border radius control */
html[dir="rtl"] .lines-radius-border thead td:first-child {
border-radius: 0px 10px 10px 0px;
}
html[dir="rtl"] .lines-radius-border thead td:last-child {
border-radius: 10px 0px 0px 10px;
}
/* template table border radius control */
[dir="ltr"] .ltr\:-right-57 {
right: -14.5rem;
}
@ -47934,6 +47944,22 @@ body{
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
[dir="ltr"] .ltr\:rounded-tl-lg{
border-top-left-radius: 0.5rem;
}
[dir="ltr"] .ltr\:rounded-bl-lg{
border-bottom-left-radius: 0.5rem;
}
[dir="ltr"] .ltr\:rounded-tr-lg{
border-top-right-radius: 0.5rem;
}
[dir="ltr"] .ltr\:rounded-br-lg{
border-bottom-right-radius: 0.5rem;
}
[dir="ltr"] .ltr\:pr-6{
padding-right: 1.5rem;
}
@ -48109,6 +48135,22 @@ body{
--tw-space-x-reverse: 1;
}
[dir="rtl"] .rtl\:rounded-tr-lg{
border-top-right-radius: 0.5rem;
}
[dir="rtl"] .rtl\:rounded-br-lg{
border-bottom-right-radius: 0.5rem;
}
[dir="rtl"] .rtl\:rounded-tl-lg{
border-top-left-radius: 0.5rem;
}
[dir="rtl"] .rtl\:rounded-bl-lg{
border-bottom-left-radius: 0.5rem;
}
[dir="rtl"] .rtl\:pl-6{
padding-left: 1.5rem;
}

12
public/css/print.css vendored
View File

@ -242,7 +242,7 @@ html[dir='rtl'] .print-template .ml-2
border-radius: 0.25rem
}
html[dir='ltr'] .border-radius-first {
/* html[dir='ltr'] .border-radius-first {
border-radius: 10px 0px 0px 10px;
}
@ -256,8 +256,18 @@ html[dir='ltr'] .border-radius-last {
html[dir='rtl'] .border-radius-last {
border-radius: 10px 0px 0px 10px;
} */
/* template table border radius control */
html[dir="ltr"] .lines-radius-border thead td:first-child {
border-radius: 10px 0px 0px 10px;
}
html[dir="ltr"] .lines-radius-border thead td:last-child {
border-radius: 0px 10px 10px 0px;
}
/* template table border radius control */
html[dir='ltr'] .float-left
{
float: left !important;