aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy
diff options
context:
space:
mode:
Diffstat (limited to 'themes/baggy')
-rwxr-xr-xthemes/baggy/css/main.css21
-rwxr-xr-xthemes/baggy/home.twig4
2 files changed, 23 insertions, 2 deletions
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css
index 52d8ecaa..6d3a56e1 100755
--- a/themes/baggy/css/main.css
+++ b/themes/baggy/css/main.css
@@ -537,7 +537,7 @@ footer a {
537} 537}
538 538
539/* ========================================================================== 539/* ==========================================================================
540 2.1 = "save a link" popup div related styles 540 2.1 = "save a link" related styles
541 ========================================================================== */ 541 ========================================================================== */
542 542
543#bagit-form, #search-form { 543#bagit-form, #search-form {
@@ -609,6 +609,25 @@ a#bagit-form-close:hover, a#search-form-close:hover {
609 padding: 0 3px 2px 3px; 609 padding: 0 3px 2px 3px;
610} 610}
611 611
612a.add-to-wallabag-link-after {
613 visibility: hidden;
614 position: absolute;
615 opacity: 0;
616 transition-duration: 2s;
617 transition-timing-function: ease-out;
618}
619
620#article article a:hover + a.add-to-wallabag-link-after, a.add-to-wallabag-link-after:hover {
621 opacity: 1;
622 visibility: visible;
623 transition-duration: .3s;
624 transition-timing-function: ease-in;
625}
626
627a.add-to-wallabag-link-after:after {
628 content: "w";
629}
630
612#add-link-result { 631#add-link-result {
613 font-weight: bold; 632 font-weight: bold;
614 margin-top: 10px; 633 margin-top: 10px;
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig
index ef2e097c..3942d3bf 100755
--- a/themes/baggy/home.twig
+++ b/themes/baggy/home.twig
@@ -25,7 +25,7 @@
25 {% block pager %} 25 {% block pager %}
26 {% if nb_results > 1 %} 26 {% if nb_results > 1 %}
27 <div class="results"> 27 <div class="results">
28 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if search_term is defined %}{% trans " found for « " %} {{ search_term }} »{% endif %}</div> 28 <div class="nb-results">{{ nb_results }} {% trans "results" %}{% if search_term is defined %} {% trans %}found for « {{ search_term }} »{% endtrans %}{% endif %}</div>
29 {{ page_links | raw }} 29 {{ page_links | raw }}
30 </div> 30 </div>
31 {% elseif nb_results == 1 %} 31 {% elseif nb_results == 1 %}
@@ -58,6 +58,8 @@
58 </div> 58 </div>
59 {{ block('pager') }} 59 {{ block('pager') }}
60 {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{{ "Mark all the entries as read" }}</a>{% endif %}{% endif %} 60 {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "Mark all the entries as read" %}" href="./?action=archive_all">{{ "Mark all the entries as read" }}</a>{% endif %}{% endif %}
61
62 {% if search_term is defined %}<a title="{% trans %} Apply the tag {{ search_term }} to this search {% endtrans %}" href="./?action=add_tag&search={{ search_term }}">{% trans %} Apply the tag {{ search_term }} to this search {% endtrans %}</a>{% endif %}
61 63
62 {% if tag %}<a title="{% trans "Download the articles from this tag in an epub" %}" href="./?epub&amp;method=tag&amp;tag={{ tag.value }}">{% trans "Download the articles from this tag in an epub" %}</a> 64 {% if tag %}<a title="{% trans "Download the articles from this tag in an epub" %}" href="./?epub&amp;method=tag&amp;tag={{ tag.value }}">{% trans "Download the articles from this tag in an epub" %}</a>
63 {% elseif search_term is defined %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&amp;method=search&amp;search={{ search_term }}">{% trans "Download the articles from this search in an epub" %}</a> 65 {% elseif search_term is defined %}<a title="{% trans "Download the articles from this search in an epub" %}" href="./?epub&amp;method=search&amp;search={{ search_term }}">{% trans "Download the articles from this search in an epub" %}</a>