RTL #348
hadasbar
started this conversation in
Show and tell
RTL
#348
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I look for an RTL solution for hebrew but couldn't find it so I add some css rules
`#c-bns button+button,
#s-c-bn,
#s-cnt button+button {
float: left;
margin-left: unset;
margin-right: 1em;
}
.cc_div *,
.cc_div :after,
.cc_div :before {
text-align: right;
}
.cc_div .b-tg {
right: unset;
left: 1.2em;
}
.cc_div .b-tg .c-tgl {
left: unset;
right: 0;
}
.cc_div .act .b-bn .exp::before,
.cc_div .b-bn .exp::before {
margin-left: 15px;
margin-right: unset;
right: 1.2em;
left: unset
}
#s-cnt .b-bn .b-tl {
padding: 1.3em 2.7em 1.3em 6.4em;
}
.cc_div .off-i {
left: 0;
right: unset;
}
.cc_div .on-i {
right: 0;
left: unset;
}
.cc_div .off-i::after,
.cc_div .off-i::before {
right: unset;
left: 0.8em;
}
.cc_div .on-i::before {
right: 0.75em;
left: unset;
}
.cc_div .b-tg .c-tg:after {
right: 0.125em;
left: unset;
}
.cc_div .b-tg .c-tgl:checked~.c-tg:after {
transform: translateX(-1.9em);
}
#s-bl table,
#s-bl td,
#s-bl th {
text-align: right;
}`
Beta Was this translation helpful? Give feedback.
All reactions