From c8b4ef7fed01c4d94ac9d2325bd2c6e97f831bad Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 19 Nov 2014 16:27:56 +0100 Subject: implementing carrot into wallabag --- themes/default/css/style-default.css | 4 ++++ themes/default/img/default/carrot.png | Bin 0 -> 718 bytes themes/default/view.twig | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 themes/default/img/default/carrot.png (limited to 'themes/default') diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css index 889a9f5c..d00647ab 100755 --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css @@ -38,6 +38,10 @@ a.flattr span { background-image: url('../img/default/flattr.png'); } +a.carrot span { + background-image: url('../img/default/carrot.png') +} + a.email span { background-image: url('../img/default/envelop.png'); } diff --git a/themes/default/img/default/carrot.png b/themes/default/img/default/carrot.png new file mode 100644 index 00000000..5fc17273 Binary files /dev/null and b/themes/default/img/default/carrot.png differ diff --git a/themes/default/view.twig b/themes/default/view.twig index dbbbde3c..b3f6d50e 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig @@ -15,6 +15,7 @@ {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numflattrs }}
  • {% endif %}{% endif %} + {% if constant('CARROT') == 1 %}
  • {% trans "carrot" %}
  • {% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %}
  • EPUB
  • {% trans "Does this article appear wrong?" %}
  • @@ -118,4 +119,3 @@ }); {% endblock %} - -- cgit v1.2.3 From fc01f94387c3c41ca0d7c6d4ad8ed1d6678abfdd Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Fri, 21 Nov 2014 15:30:59 -0500 Subject: Globalizing and creating two variants of Carrot.org icon; tidying up some CSS --- themes/default/css/style-default.css | 5 +++-- themes/default/img/default/carrot.png | Bin 718 -> 0 bytes 2 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 themes/default/img/default/carrot.png (limited to 'themes/default') diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css index d00647ab..6ff2aca6 100755 --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css @@ -39,7 +39,8 @@ a.flattr span { } a.carrot span { - background-image: url('../img/default/carrot.png') + background-image: url('../../_global/img/icons/carrot-icon--black.png'); + background-size: 16px 16px; } a.email span { @@ -60,4 +61,4 @@ a.bad-display span { a.print span { background-image: url('../img/default/print.png'); -} \ No newline at end of file +} diff --git a/themes/default/img/default/carrot.png b/themes/default/img/default/carrot.png deleted file mode 100644 index 5fc17273..00000000 Binary files a/themes/default/img/default/carrot.png and /dev/null differ -- cgit v1.2.3