aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-03-18 22:42:26 +0100
committerThomas Citharel <tcit@tcit.fr>2015-03-18 22:42:26 +0100
commit47424de64ed1fcb7bd5d848314581bccb11a15bb (patch)
treeec1823b05c96918ac817359418de1ef41cb703d9
parent3ff449c13a2576d6f20750d80bc180498cae19be (diff)
downloadwallabag-47424de64ed1fcb7bd5d848314581bccb11a15bb.tar.gz
wallabag-47424de64ed1fcb7bd5d848314581bccb11a15bb.tar.zst
wallabag-47424de64ed1fcb7bd5d848314581bccb11a15bb.zip
git fix #1159 and bring icons to all themes (dirty icons)
-rw-r--r--themes/dark/css/style-dark.css21
-rwxr-xr-xthemes/default/view.twig2
-rw-r--r--themes/dmagenta/css/style-dmagenta.css21
-rw-r--r--themes/solarized-dark/css/style-solarized-dark.css20
-rw-r--r--themes/solarized/css/style-solarized.css21
5 files changed, 84 insertions, 1 deletions
diff --git a/themes/dark/css/style-dark.css b/themes/dark/css/style-dark.css
index 41782c48..d0491bcc 100644
--- a/themes/dark/css/style-dark.css
+++ b/themes/dark/css/style-dark.css
@@ -65,6 +65,27 @@ a.bad-display span {
65 background-image: url('../img/dark/bad-display.png'); 65 background-image: url('../img/dark/bad-display.png');
66} 66}
67 67
68a.reload span {
69 background-image: url('../../default/img/default/reload.png');
70}
71a.print span {
72 background-image: url('../../default/img/default/print.png');
73}
74a.carrot span {
75 background-image: url('../../_global/img/icons/carrot-icon--black.png');
76 background-size: 16px 16px;
77}
78
79a.evernote span {
80 background-image: url('../../_global/img/icons/evernote-icon--black.svg');
81 background-size: 16px 16px;
82}
83
84a.diaspora span {
85 background-image: url('../../_global/img/icons/diaspora-icon--black.png');
86 background-size: 16px 16px;
87}
88
68.pagination a { 89.pagination a {
69 color: #aaa; 90 color: #aaa;
70} 91}
diff --git a/themes/default/view.twig b/themes/default/view.twig
index 57d25965..0010d18f 100755
--- a/themes/default/view.twig
+++ b/themes/default/view.twig
@@ -21,7 +21,7 @@
21 {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numFlattrs }}</a></li>{% endif %}{% endif %} 21 {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numFlattrs }}</a></li>{% endif %}{% endif %}
22 {% if constant('CARROT') == 1 %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon" target="_blank" title="{% trans "carrot" %}"><span>{% trans "carrot" %}</span></a></li>{% endif %} 22 {% if constant('CARROT') == 1 %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon" target="_blank" title="{% trans "carrot" %}"><span>{% trans "carrot" %}</span></a></li>{% endif %}
23 {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %} 23 {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %}
24 {% if constant('RELOAD_ARTICLE') == 1 %}<li><a class="tool reload" href="./?action=reload_article&amp;id={{ entry.id|e }}" title="{% trans "Reload article" %}"><span>{% trans "Reload article" %}</span></a></li>{% endif %}} 24 {% if constant('RELOAD_ARTICLE') == 1 %}<li><a class="tool reload" href="./?action=reload_article&amp;id={{ entry.id|e }}" title="{% trans "Reload article" %}"><span>{% trans "Reload article" %}</span></a></li>{% endif %}
25 {% if constant('EPUB') == 1 %}<li><a href="./?epub&amp;method=id&amp;value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %} 25 {% if constant('EPUB') == 1 %}<li><a href="./?epub&amp;method=id&amp;value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %}
26 {% if constant('MOBI') == 1 %}<li><a href="./?mobi&amp;method=id&amp;value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %} 26 {% if constant('MOBI') == 1 %}<li><a href="./?mobi&amp;method=id&amp;value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %}
27 {% if constant('PDF') == 1 %}<li><a href="./?pdf&amp;method=id&amp;value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %} 27 {% if constant('PDF') == 1 %}<li><a href="./?pdf&amp;method=id&amp;value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %}
diff --git a/themes/dmagenta/css/style-dmagenta.css b/themes/dmagenta/css/style-dmagenta.css
index 4dc592d2..4b31ec9a 100644
--- a/themes/dmagenta/css/style-dmagenta.css
+++ b/themes/dmagenta/css/style-dmagenta.css
@@ -65,6 +65,27 @@ a.bad-display span {
65 background-image: url('../img/dmagenta/bad-display.png'); 65 background-image: url('../img/dmagenta/bad-display.png');
66} 66}
67 67
68a.reload span {
69 background-image: url('../../default/img/default/reload.png');
70}
71a.print span {
72 background-image: url('../../default/img/default/print.png');
73}
74a.carrot span {
75 background-image: url('../../_global/img/icons/carrot-icon--black.png');
76 background-size: 16px 16px;
77}
78
79a.evernote span {
80 background-image: url('../../_global/img/icons/evernote-icon--black.svg');
81 background-size: 16px 16px;
82}
83
84a.diaspora span {
85 background-image: url('../../_global/img/icons/diaspora-icon--black.png');
86 background-size: 16px 16px;
87}
88
68.pagination a { 89.pagination a {
69 color: #aaa; 90 color: #aaa;
70} 91}
diff --git a/themes/solarized-dark/css/style-solarized-dark.css b/themes/solarized-dark/css/style-solarized-dark.css
index 77a97d38..e9f25821 100644
--- a/themes/solarized-dark/css/style-solarized-dark.css
+++ b/themes/solarized-dark/css/style-solarized-dark.css
@@ -218,6 +218,26 @@ a.link span {
218a.bad-display span { 218a.bad-display span {
219 background-image: url('../img/solarized-dark/bad-display.png'); 219 background-image: url('../img/solarized-dark/bad-display.png');
220} 220}
221a.reload span {
222 background-image: url('../../default/img/default/reload.png');
223}
224a.print span {
225 background-image: url('../../default/img/default/print.png');
226}
227a.carrot span {
228 background-image: url('../../_global/img/icons/carrot-icon--black.png');
229 background-size: 16px 16px;
230}
231
232a.evernote span {
233 background-image: url('../../_global/img/icons/evernote-icon--black.svg');
234 background-size: 16px 16px;
235}
236
237a.diaspora span {
238 background-image: url('../../_global/img/icons/diaspora-icon--black.png');
239 background-size: 16px 16px;
240}
221 241
222.arrow-down { 242.arrow-down {
223 width: 0px; 243 width: 0px;
diff --git a/themes/solarized/css/style-solarized.css b/themes/solarized/css/style-solarized.css
index cf16338f..b8e89238 100644
--- a/themes/solarized/css/style-solarized.css
+++ b/themes/solarized/css/style-solarized.css
@@ -219,6 +219,27 @@ a.bad-display span {
219 background-image: url('../img/solarized/bad-display.png'); 219 background-image: url('../img/solarized/bad-display.png');
220} 220}
221 221
222a.reload span {
223 background-image: url('../../default/img/default/reload.png');
224}
225a.print span {
226 background-image: url('../../default/img/default/print.png');
227}
228a.carrot span {
229 background-image: url('../../_global/img/icons/carrot-icon--black.png');
230 background-size: 16px 16px;
231}
232
233a.evernote span {
234 background-image: url('../../_global/img/icons/evernote-icon--black.svg');
235 background-size: 16px 16px;
236}
237
238a.diaspora span {
239 background-image: url('../../_global/img/icons/diaspora-icon--black.png');
240 background-size: 16px 16px;
241}
242
222.arrow-down { 243.arrow-down {
223 width: 0px; 244 width: 0px;
224 height: 0px; 245 height: 0px;