浏览代码

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

Cqoicebordel 10 年前
父节点
当前提交
d4ba97d00d

+ 1
- 1
searx/static/themes/courgette/css/style-rtl.css 查看文件

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}
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}.engine-table{text-align:right}

+ 4
- 0
searx/static/themes/courgette/less/style-rtl.less 查看文件

35
 #pagination form + form {
35
 #pagination form + form {
36
 	float: left;
36
 	float: left;
37
 	margin-top: -2em;
37
 	margin-top: -2em;
38
+}
39
+
40
+.engine-table {
41
+	text-align:right;
38
 }
42
 }

+ 1
- 1
searx/templates/courgette/preferences.html 查看文件

95
     <fieldset>
95
     <fieldset>
96
         <legend>{{ _('Currently used search engines') }}</legend>
96
         <legend>{{ _('Currently used search engines') }}</legend>
97
 
97
 
98
-        <table>
98
+        <table class="engine-table">
99
             <tr>
99
             <tr>
100
                 <th>{{ _('Engine name') }}</th>
100
                 <th>{{ _('Engine name') }}</th>
101
                 <th>{{ _('Category') }}</th>
101
                 <th>{{ _('Category') }}</th>