aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-03-14 00:22:11 +0100
committerThomas Citharel <tcit@tcit.fr>2015-03-14 00:22:11 +0100
commit7f8f8271e49a2834a87012ea838099c8b46cf63f (patch)
tree2c5394e49370d8e6890019de3889ab193b827aa8 /themes
parentf5618feb73343f0a120a809116c443630d70a87c (diff)
downloadwallabag-7f8f8271e49a2834a87012ea838099c8b46cf63f.tar.gz
wallabag-7f8f8271e49a2834a87012ea838099c8b46cf63f.tar.zst
wallabag-7f8f8271e49a2834a87012ea838099c8b46cf63f.zip
redo the whole lot of commits I've deleted while trying Gitlab/Framasoft mirroring
Diffstat (limited to 'themes')
-rw-r--r--themes/_global/img/icons/shaarli.png (renamed from themes/default/img/default/shaarli.png)bin729 -> 729 bytes
-rwxr-xr-xthemes/baggy/css/main.css8
-rwxr-xr-xthemes/baggy/view.twig2
-rwxr-xr-xthemes/default/css/style-default.css3
4 files changed, 7 insertions, 6 deletions
diff --git a/themes/default/img/default/shaarli.png b/themes/_global/img/icons/shaarli.png
index 1eb30f60..1eb30f60 100644
--- a/themes/default/img/default/shaarli.png
+++ b/themes/_global/img/icons/shaarli.png
Binary files differ
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css
index 91c1ab9f..e3d98586 100755
--- a/themes/baggy/css/main.css
+++ b/themes/baggy/css/main.css
@@ -775,6 +775,10 @@ a.add-to-wallabag-link-after:after {
775 background-image: url('../../_global/img/icons/carrot-icon--white.png'); 775 background-image: url('../../_global/img/icons/carrot-icon--white.png');
776} 776}
777 777
778.icon-image--shaarli {
779 background-image: url('../../_global/img/icons/shaarli.png');
780}
781
778/* Diaspora */ 782/* Diaspora */
779.icon-image--diaspora { 783.icon-image--diaspora {
780 background-image: url('../../_global/img/icons/diaspora-icon--black.png'); 784 background-image: url('../../_global/img/icons/diaspora-icon--black.png');
@@ -906,10 +910,6 @@ blockquote {
906 background-color: #999; 910 background-color: #999;
907 } 911 }
908 912
909.shaarli:before {
910 content: "*";
911}
912
913.return { 913.return {
914 text-decoration: none; 914 text-decoration: none;
915 margin-top: 1em; 915 margin-top: 1em;
diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig
index a57d1771..ebc30b69 100755
--- a/themes/baggy/view.twig
+++ b/themes/baggy/view.twig
@@ -17,7 +17,7 @@
17 <li><a title="{% trans "Delete" %}" class="tool delete icon icon-trash" href="./?action=delete&amp;id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li> 17 <li><a title="{% trans "Delete" %}" class="tool delete icon icon-trash" href="./?action=delete&amp;id={{ entry.id|e }}"><span>{% trans "Delete" %}</span></a></li>
18 {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@wallabagapp" target="_blank" class="tool twitter icon icon-twitter" title="{% trans "Tweet" %}"><span>{% trans "Tweet" %}</span></a></li>{% endif %} 18 {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@wallabagapp" target="_blank" class="tool twitter icon icon-twitter" title="{% trans "Tweet" %}"><span>{% trans "Tweet" %}</span></a></li>{% endif %}
19 {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title }}&amp;body={{ content|striptags|slice(0, 700) }}%2E%2E%2E%0A%0A{% trans "Read the rest at" %} {{ entry.url|url_encode }}%20via%20@wallabagapp" class="tool email icon icon-mail" title="{% trans "Email" %}"><span>{% trans "Email" %}</span></a></li>{% endif %} 19 {% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title }}&amp;body={{ content|striptags|slice(0, 700) }}%2E%2E%2E%0A%0A{% trans "Read the rest at" %} {{ entry.url|url_encode }}%20via%20@wallabagapp" class="tool email icon icon-mail" title="{% trans "Email" %}"><span>{% trans "Email" %}</span></a></li>{% endif %}
20 {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&amp;title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} 20 {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&amp;title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli icon-image icon-image--shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %}
21 {% if constant('SHARE_EVERNOTE') == 1 %}<li><a href="https://www.evernote.com/clip.action?url={{ entry.url|url_encode }}&amp;title={{ entry.title|url_encode }}" target="_blank" class="tool evernote icon icon-evernote" title="{% trans "evernote" %}"><span>{% trans "evernote" %}</span></a></li>{% endif %} 21 {% if constant('SHARE_EVERNOTE') == 1 %}<li><a href="https://www.evernote.com/clip.action?url={{ entry.url|url_encode }}&amp;title={{ entry.title|url_encode }}" target="_blank" class="tool evernote icon icon-evernote" title="{% trans "evernote" %}"><span>{% trans "evernote" %}</span></a></li>{% endif %}
22 {% if constant('SHARE_DIASPORA') == 1 %}<li><a href="{{ constant('DIASPORA_URL') }}/bookmarklet?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}&notes=&v=1&noui=1&jump=doclose" target="_blank" class="tool diaspora icon-image icon-image--diaspora" title="{% trans "diaspora" %}"><span>{% trans "diaspora" %}</span></a></li>{% endif %} 22 {% if constant('SHARE_DIASPORA') == 1 %}<li><a href="{{ constant('DIASPORA_URL') }}/bookmarklet?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}&notes=&v=1&noui=1&jump=doclose" target="_blank" class="tool diaspora icon-image icon-image--diaspora" title="{% trans "diaspora" %}"><span>{% trans "diaspora" %}</span></a></li>{% endif %}
23 {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr icon icon-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 icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span> ({{ flattr.numFlattrs }})</a></li>{% endif %}{% endif %} 23 {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr icon icon-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 icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span> ({{ flattr.numFlattrs }})</a></li>{% endif %}{% endif %}
diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css
index 8b18320d..7530efbb 100755
--- a/themes/default/css/style-default.css
+++ b/themes/default/css/style-default.css
@@ -43,7 +43,8 @@ a.twitter span {
43} 43}
44 44
45a.shaarli span { 45a.shaarli span {
46 background-image: url('../img/default/shaarli.png'); 46 background-image: url('../../_global/img/icons/shaarli.png');
47 background-size: 16px 16px;
47} 48}
48 49
49a.flattr span { 50a.flattr span {