diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-01-13 21:36:08 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2022-01-16 18:51:11 +0100 |
| commit | d000288ad0c41d9d6f3fdc66b0dcbe3e5b0c9876 (patch) | |
| tree | b23be6f84aeece38da7ceabca663d0692f2fa8f6 /searx/static/themes/simple/src/less/autocomplete.less | |
| parent | 2084d7b1ed9704ca5de5e9491a1e84c11ad5d7ed (diff) | |
[enh] simple theme: RTL support
* mirror all inline SVGs so that direction SVGs display correctly on RTL
* set the bold list element in info box to RTL so the colon gets displayed on the right side
* set correct .ltr function for the left border on the search button in #q
* move text to the right in autocomplete
* move search form in lign with result article on RTL
* add the correct padding for img thumbnails in categories like music on RTL
* apply RTL to result table for map results
* align text in tables part of /preferences on RTL
* move burger menu on index page to the left on RTL
* fix positioning of drop down arrow on select boxes on RTL
* align result URL on the right (written LTR)
* align vim hotkeys help on the left since it is not translated
* image detail:
* labels (author, format, URL, etc...) are written on the right,
values are on the left.
* URL are written LTR and overflow on the right
Diffstat (limited to 'searx/static/themes/simple/src/less/autocomplete.less')
| -rw-r--r-- | searx/static/themes/simple/src/less/autocomplete.less | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/searx/static/themes/simple/src/less/autocomplete.less b/searx/static/themes/simple/src/less/autocomplete.less index 5f5745388..a1a74480b 100644 --- a/searx/static/themes/simple/src/less/autocomplete.less +++ b/searx/static/themes/simple/src/less/autocomplete.less @@ -4,7 +4,8 @@ position: absolute; max-height: 0; overflow-y: hidden; - text-align: left; + .ltr-text-align-left(); + .rounded-corners; &:active, @@ -24,7 +25,7 @@ > li { cursor: pointer; - padding: 8px 0 8px 8px; + padding: 0.5rem; &.active, &:active, |