浏览代码

Merge pull request #799 from kvch/modal-arrows

[fix] change modal glyphicon arrows to image icons
Adam Tauber 8 年前
父节点
当前提交
79ceb13577

+ 1
- 1
searx/static/themes/oscar/css/logicodev.min.css
文件差异内容过多而无法显示
查看文件


+ 1
- 1
searx/static/themes/oscar/css/pointhi.min.css
文件差异内容过多而无法显示
查看文件


+ 20
- 4
searx/static/themes/oscar/less/logicodev/modal-pic.less 查看文件

@@ -32,13 +32,29 @@
32 32
     }
33 33
 
34 34
     .image-paging-left {
35
-        font-size: 2.2rem;
36
-        padding-right: 1.0rem;
35
+        margin-right: 1.0rem;
36
+        margin-top: 0.5rem;
37
+        width:15px;
38
+        height:15px;
39
+        background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
40
+WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AweDQoOuikqUQAAAB1pVFh0Q29tbWVudAAAAAAAQ3Jl
41
+YXRlZCB3aXRoIEdJTVBkLmUHAAAAiElEQVQoz6XTrQ0CQRCG4SesQHI5g6EAqIEewNLSVUACzfAT
42
+BApDDSgSBAaJORKyauf2czOZdybzl5SpxR5j3H/OUQHYoMMMNwE1fcUT5hFwUgPuenAxBDxHwRZb
43
+HKMgbPDCuiQ4ZfYDU6xwxTNafXDP1dOu3nP1heUJDnmCVAB/cMES7/+v+gIq0Bs3k6NL9AAAAABJ
44
+RU5ErkJggg==) 96% no-repeat;
37 45
     }
38 46
 
39 47
     .image-paging-right {
40
-        font-size: 2.2rem;
41
-        padding-left: 1.2rem;
48
+        margin-left: 1.2rem;
49
+        margin-top: 0.5rem;
50
+        width:15px;
51
+        height:15px;
52
+        background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
53
+        WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AweDQon+JuyPQAAAB1pVFh0Q29tbWVudAAAAAAAQ3Jl
54
+        YXRlZCB3aXRoIEdJTVBkLmUHAAAAaklEQVQoz73TsQ2DUAxF0SMWAFEzwGcaWhgpEyAlbQYJMACj
55
+        sAINTaiIf8Tt3FzL9jPfDHijdoHiVK9o8EAlQMKM1z8EZUTQHoJnjmDJFUwYr17hTIcN/W2dwzOH
56
+        tx2+czhhCZ9oNH/6qh1F2RaYgWxrQwAAAABJRU5ErkJggg==);
57
+
42 58
     }
43 59
 
44 60
     .image-container::before {

+ 2
- 2
searx/templates/oscar/result_templates/images.html 查看文件

@@ -13,10 +13,10 @@
13 13
         <div class="row">
14 14
             <div class="col-md-12 col-sm-12 col-xs-12 modal-header">
15 15
                 <a {% if index != 1 %}href="#open-modal-{{ index-1 }}-{{ pageno }}"{% endif %}>
16
-                    <span class="pull-left glyphicon glyphicon-chevron-left image-paging-left"></span>
16
+                    <span class="pull-left image-paging-left"></span>
17 17
                  </a>
18 18
                 <a href="#open-modal-{{ index+1 }}-{{ pageno }}">
19
-                    <span class="image-paging-right pull-right glyphicon glyphicon-chevron-right"></span>
19
+                    <span class="pull-right image-paging-right"></span>
20 20
                 </a>
21 21
                 <h4 class="modal-title image-title">{{ result.title|striptags }}</h4>
22 22
             </div>