From d4ba97d00df7e1d97c0fa63419ab74dc4ee10f00 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Wed, 11 Feb 2015 22:00:13 +0100 Subject: [PATCH] Engine table in preference page in Courgette text-aligned to the right in RTL --- searx/static/themes/courgette/css/style-rtl.css | 2 +- searx/static/themes/courgette/less/style-rtl.less | 4 ++++ searx/templates/courgette/preferences.html | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/searx/static/themes/courgette/css/style-rtl.css b/searx/static/themes/courgette/css/style-rtl.css index 38c4153a6..a725ac1e8 100644 --- a/searx/static/themes/courgette/css/style-rtl.css +++ b/searx/static/themes/courgette/css/style-rtl.css @@ -1 +1 @@ -.q{padding:.5em 1em .5em 3em}#search_submit{left:0;right:auto}.result .favicon{float:right;margin-left:.5em;margin-right:0}#sidebar{right:auto;left:0}#results{padding:0 32px 0 272px}.search.center{padding-right:0;padding-left:17em}.right{right:auto;left:0}#pagination form+form{float:left;margin-top:-2em} \ No newline at end of file +.q{padding:.5em 1em .5em 3em}#search_submit{left:0;right:auto}.result .favicon{float:right;margin-left:.5em;margin-right:0}#sidebar{right:auto;left:0}#results{padding:0 32px 0 272px}.search.center{padding-right:0;padding-left:17em}.right{right:auto;left:0}#pagination form+form{float:left;margin-top:-2em}.engine-table{text-align:right} \ No newline at end of file diff --git a/searx/static/themes/courgette/less/style-rtl.less b/searx/static/themes/courgette/less/style-rtl.less index 13a34f124..3e357d3d8 100644 --- a/searx/static/themes/courgette/less/style-rtl.less +++ b/searx/static/themes/courgette/less/style-rtl.less @@ -35,4 +35,8 @@ #pagination form + form { float: left; margin-top: -2em; +} + +.engine-table { + text-align:right; } \ No newline at end of file diff --git a/searx/templates/courgette/preferences.html b/searx/templates/courgette/preferences.html index 379d68601..efa0f65fa 100644 --- a/searx/templates/courgette/preferences.html +++ b/searx/templates/courgette/preferences.html @@ -95,7 +95,7 @@
{{ _('Currently used search engines') }} - +
{{ _('Engine name') }} {{ _('Category') }}