soapbox/app/styles/rtl.scss

152 wiersze
2.7 KiB
SCSS
Czysty Zwykły widok Historia

2020-03-27 20:59:38 +00:00
body.rtl {
direction: rtl;
.column-header > button {
text-align: right;
padding-left: 0;
padding-right: 15px;
}
.column-link__icon,
.column-header__icon {
margin-right: 0;
margin-left: 5px;
}
.search__icon .fa {
right: auto;
left: 10px;
}
.column-header__buttons {
left: 0;
right: auto;
margin-left: 0;
margin-right: -15px;
}
.column-inline-form .icon-button {
margin-left: 0;
margin-right: 5px;
}
.column-header__links .text-btn {
margin-left: 10px;
margin-right: 0;
}
.account__avatar-wrapper {
float: right;
}
.setting-toggle__label {
margin-left: 0;
margin-right: 8px;
}
2020-09-28 04:20:15 +00:00
.status {
2020-03-27 20:59:38 +00:00
padding-left: 10px;
padding-right: 68px;
}
.account__avatar-overlay-overlay {
right: auto;
left: 0;
}
.privacy-dropdown__dropdown {
margin-left: 0;
margin-right: 40px;
}
.privacy-dropdown__option__icon {
margin-left: 10px;
margin-right: 0;
}
.fa-ul {
margin-left: 0;
margin-left: 2.14285714em;
}
.fa-li {
left: auto;
right: -2.14285714em;
}
.simple_form .input.with_label.boolean label.checkbox {
padding-left: 25px;
padding-right: 0;
}
.simple_form .input.radio_buttons .radio {
left: auto;
right: 0;
}
.simple_form .input.radio_buttons .radio > label {
padding-right: 28px;
padding-left: 0;
}
.simple_form .input.boolean label.checkbox {
left: auto;
right: 0;
}
.simple_form .input.boolean .label_input,
.simple_form .input.boolean .hint {
padding-left: 0;
padding-right: 28px;
}
2022-03-21 18:09:01 +00:00
// .simple_form select {
// background: var(--background-color) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(var(--brand-color--med))}'/></svg>") no-repeat left 8px center / auto 16px;
// }
2020-03-27 20:59:38 +00:00
.table th,
.table td {
text-align: right;
}
@media screen and (min-width: 631px) {
.column {
2020-03-27 20:59:38 +00:00
padding-left: 5px;
padding-right: 5px;
&:first-child {
padding-left: 5px;
padding-right: 10px;
}
}
}
.public-layout {
.header {
.nav-button {
margin-left: 8px;
margin-right: 0;
}
}
}
.card__bar .display-name {
margin-left: 0;
margin-right: 15px;
text-align: right;
}
.fa-chevron-left::before {
content: "\F054";
}
.fa-chevron-right::before {
content: "\F053";
}
.simple_form .input.radio_buttons .radio > label input {
left: auto;
right: 0;
}
}