Browse Source

Engine table in preference page in Courgette text-aligned to the right in RTL

Cqoicebordel 10 years ago
parent
commit
d4ba97d00d

+ 1 - 1
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}
+.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}

+ 4 - 0
searx/static/themes/courgette/less/style-rtl.less

@@ -35,4 +35,8 @@
 #pagination form + form {
 #pagination form + form {
 	float: left;
 	float: left;
 	margin-top: -2em;
 	margin-top: -2em;
+}
+
+.engine-table {
+	text-align:right;
 }
 }

+ 1 - 1
searx/templates/courgette/preferences.html

@@ -95,7 +95,7 @@
     <fieldset>
     <fieldset>
         <legend>{{ _('Currently used search engines') }}</legend>
         <legend>{{ _('Currently used search engines') }}</legend>
 
 
-        <table>
+        <table class="engine-table">
             <tr>
             <tr>
                 <th>{{ _('Engine name') }}</th>
                 <th>{{ _('Engine name') }}</th>
                 <th>{{ _('Category') }}</th>
                 <th>{{ _('Category') }}</th>