diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-01-16 20:29:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-16 20:29:34 +0100 |
| commit | 0c036ae2941bb203769d28fe2e26cc7f0488c910 (patch) | |
| tree | 9738561f9ac6526defc02bad8af971246014ccee /searx/static/themes/simple/src/less/toolkit.less | |
| parent | e07417848f70b865aa39f3e98f24fee03573c6c3 (diff) | |
| parent | 468619abcb677703d057506b00529aa94852a855 (diff) | |
Merge pull request #750 from dalf/simple-rtl
Simple theme: implement RTL
Diffstat (limited to 'searx/static/themes/simple/src/less/toolkit.less')
| -rw-r--r-- | searx/static/themes/simple/src/less/toolkit.less | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/searx/static/themes/simple/src/less/toolkit.less b/searx/static/themes/simple/src/less/toolkit.less index 76db36853..ed1e1affa 100644 --- a/searx/static/themes/simple/src/less/toolkit.less +++ b/searx/static/themes/simple/src/less/toolkit.less @@ -125,11 +125,11 @@ div.selectable_url { padding: 1rem; margin: 0 0 1em 0; border: 1px solid var(--color-toolkit-dialog-border); - text-align: left; + .ltr-text-align-left(); .rounded-corners; .close { - float: right; + .ltr-float-right(); position: relative; top: -3px; color: inherit; @@ -156,6 +156,10 @@ div.selectable_url { td { padding: 0 1em 0 0; + padding-top: 0; + .ltr-padding-right(1rem); + padding-bottom: 0; + .ltr-padding-left(0); } h4 { @@ -301,7 +305,10 @@ html body .tabs > input:checked { /* -- select -- */ select { height: 2.4rem; - margin: 0 1rem 0 0; + margin-top: 0; + .ltr-margin-right(1rem); + margin-bottom: 0; + .ltr-margin-left(0); padding: 0.2rem !important; color: var(--color-search-font); font-size: 0.9rem; |