Added base code for RTL support #1056

This commit is contained in:
the-djmaze 2023-04-11 12:55:59 +02:00
parent dfc415e3a8
commit 20a2f5f185
46 changed files with 69 additions and 20 deletions

View file

@ -42,7 +42,7 @@
}
span {
margin-left: 0.5em;
margin: 0 0.5em;
white-space: normal;
}
@ -57,13 +57,6 @@
margin-bottom: 6px;
padding: 2px 0;
input {
opacity:0;
position:absolute;
top:0;
left:0;
}
&:focus-within {
outline: 1px dotted;
}
@ -77,17 +70,23 @@
.e-checkbox.material-design {
line-height: 20px;
padding-left: 18px;
position: relative;
width: auto !important;
> div {
position: relative;
width: 18px;
}
> div > div {
position: absolute;
margin-top: 1px;
.checkbox-box-sizes();
animation: checkmark-to-box 200ms ease-out forwards;
}
input {
opacity:0;
}
input:checked + div {
.checkbox-mark-sizes();
animation: box-to-checkmark 200ms ease-out forwards;