From d000288ad0c41d9d6f3fdc66b0dcbe3e5b0c9876 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Thu, 13 Jan 2022 21:36:08 +0100 Subject: [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 --- searx/static/themes/simple/src/less/autocomplete.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'searx/static/themes/simple/src/less/autocomplete.less') 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, -- cgit v1.2.3