From c2cf7075c24c1539befd4ba09881eed761c9d769 Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Tue, 22 Apr 2014 10:45:09 +0300 Subject: print view fixed in baggy; print link added; read percent added in default theme; archive and favorite re-factored to be ajax action in article view --- themes/default/css/style-default.css | 4 +++ themes/default/css/style.css | 13 ++++++- themes/default/img/default/print.png | Bin 0 -> 321 bytes themes/default/view.twig | 64 +++++++++++++++++++++++++++++++++-- 4 files changed, 78 insertions(+), 3 deletions(-) mode change 100644 => 100755 themes/default/css/style-default.css create mode 100755 themes/default/img/default/print.png (limited to 'themes/default') diff --git a/themes/default/css/style-default.css b/themes/default/css/style-default.css old mode 100644 new mode 100755 index 9dc7c0b0..889a9f5c --- a/themes/default/css/style-default.css +++ b/themes/default/css/style-default.css @@ -52,4 +52,8 @@ a.link span { a.bad-display span { background-image: url('../img/default/bad-display.png'); +} + +a.print span { + background-image: url('../img/default/print.png'); } \ No newline at end of file diff --git a/themes/default/css/style.css b/themes/default/css/style.css index e536ac6b..11a8ea1c 100755 --- a/themes/default/css/style.css +++ b/themes/default/css/style.css @@ -331,7 +331,8 @@ a.email span, a.delete span, a.link span, a.bad-display span, -a.reading-time span { +a.reading-time span, +a.print span { background-repeat: no-repeat; } @@ -402,3 +403,13 @@ a#bagit-form-close { .opacity03 { /*opacity: 0.3;*/ } + +#readLeftPercent { + display: inline-block; + /* Show textual content */ + overflow: visible; + text-align: left; + text-indent: 0; + color: black; + width: 50px; +} \ No newline at end of file diff --git a/themes/default/img/default/print.png b/themes/default/img/default/print.png new file mode 100755 index 00000000..83d6445b Binary files /dev/null and b/themes/default/img/default/print.png differ diff --git a/themes/default/view.twig b/themes/default/view.twig index cc491c77..983cc1cd 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig @@ -7,14 +7,16 @@
  • {% trans "Return home" %}
  • {% trans "Back to top" %}
  • {{ entry.url | e | getDomain }}
  • -
  • {% trans "Toggle mark as read" %}
  • -
  • {% trans "Toggle favorite" %}
  • +
  • {% trans "Toggle mark as read" %}
  • +
  • {% trans "Toggle favorite" %}
  • {% trans "Delete" %}
  • {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} {% 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('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %}
  • {% trans "Does this article appear wrong?" %}
  • + {% if constant('SHOW_READPERCENT') == 1 %}
  • 0%
  • {% endif %}
    @@ -34,6 +36,60 @@ \ No newline at end of file -- cgit v1.2.3 From 009669360d46645d8f84f444fe0f6895811f51a3 Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Sat, 24 May 2014 11:21:43 +0300 Subject: fix of onmouseover displaying of wallbabag a link in wallabag form in default theme --- themes/default/css/style.css | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'themes/default') diff --git a/themes/default/css/style.css b/themes/default/css/style.css index 11a8ea1c..e58ef81a 100755 --- a/themes/default/css/style.css +++ b/themes/default/css/style.css @@ -384,8 +384,8 @@ a#bagit-form-close { background-color: #000; color: #fff; padding: 0 4px 1px 3px; - font-weight: bold; - font-size: 0.7em; + font-weight: bold; + font-size: 0.7em; border-radius: 4px; } .add-to-wallabag-link-after:hover, .add-to-wallabag-link-after:active { @@ -394,6 +394,23 @@ a#bagit-form-close { .add-to-wallabag-link-after:visited { color: #999; } +a.add-to-wallabag-link-after { + visibility: hidden; + position: absolute; + opacity: 0; + transition-duration: 2s; + transition-timing-function: ease-out; +} +#article article a:hover + a.add-to-wallabag-link-after, a.add-to-wallabag-link-after:hover { + opacity: 1; + visibility: visible; + transition-duration: .3s; + transition-timing-function: ease-in; +} +a.add-to-wallabag-link-after:after { + content: "w"; +} + #add-link-result { display: inline; -- cgit v1.2.3