Update content.css

Adding RTL styles to content.css
This commit is contained in:
fim100 2024-08-02 18:43:00 +03:30
parent 48a99aaa15
commit 649f0e8f7b

View file

@ -52,6 +52,10 @@ body.login header {
width: 92px; width: 92px;
margin-right: 10px; margin-right: 10px;
} }
html[dir="rtl"] .login-grid a {
margin-right: auto;
margin-left: 10px;
}
.login-grid .login-github { .login-grid .login-github {
background-image: url("./github.png"); background-image: url("./github.png");
} }
@ -109,6 +113,10 @@ body.login header {
color: #323E56; color: #323E56;
padding-right: 5px; padding-right: 5px;
} }
html[dir="rtl"] .umap-features-list li:before {
padding-left: 5px;
padding-right: 0;
}
.summary { .summary {
background-color: #eee; background-color: #eee;
} }
@ -138,6 +146,9 @@ h2.tabs {
text-align: left; text-align: left;
padding-top: 28px; padding-top: 28px;
} }
html[dir="rtl"] h2.tabs {
text-align: right;
}
h2.tabs a { h2.tabs a {
color: var(--color-darkBlue); color: var(--color-darkBlue);
text-decoration: underline; text-decoration: underline;
@ -146,12 +157,20 @@ h2.tabs a {
text-underline-offset: 7px; text-underline-offset: 7px;
margin-right: 2rem; margin-right: 2rem;
} }
html[dir="rtl"] h2.tabs a {
margin-right: auto;
margin-left: 2rem;
}
h2.tabs a:not(.selected) { h2.tabs a:not(.selected) {
font-weight: normal; font-weight: normal;
color: var(--color-darkBlue); color: var(--color-darkBlue);
text-decoration: none; text-decoration: none;
margin-right: 0; margin-right: 0;
} }
html[dir="rtl"] h2.tabs a:not(.selected) {
margin-right: auto;
margin-left: 0;
}
h2.tabs a:hover { h2.tabs a:hover {
text-decoration: underline; text-decoration: underline;
} }
@ -281,6 +300,10 @@ ul.umap-autocomplete {
float: right; float: right;
cursor: pointer; cursor: pointer;
} }
html[dir="rtl"] .umap-singleresult div .close,
html[dir="rtl"] .umap-multiresult li .close {
float: left;
}
/* **************************** */ /* **************************** */
/* Messages */ /* Messages */
@ -430,6 +453,13 @@ ul.umap-autocomplete {
text-align: left; text-align: left;
padding-left: 2px; padding-left: 2px;
} }
html[dir="rtl"] .table-wrapper table a,
html[dir="rtl"] .table-wrapper table thead tr th,
html[dir="rtl"] .table-wrapper table th[scope="row"] {
text-align: right;
padding-left: 0;
padding-right: 2px;
}
.table-wrapper table thead tr th { .table-wrapper table thead tr th {
line-height: 1.2; line-height: 1.2;
padding: 10px 5px; padding: 10px 5px;
@ -545,6 +575,10 @@ dialog::backdrop {
padding-left: 0!important; padding-left: 0!important;
width: 100%; width: 100%;
} }
html[dir="rtl"] .mwide {
padding-left: initial!important;
padding-right: 0!important;
}
.mwide + .mwide { .mwide + .mwide {
margin-top: 20px; margin-top: 20px;
} }