From: Andrew Dolgov Date: Sun, 12 Sep 2010 16:13:20 +0000 (+0400) Subject: digest: layout tweaks X-Git-Tag: 1.5.0~435^2~1^2~23 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=85629f6cf5bdf93d0155d1f893ad1cbbe8f30202;p=tt-rss.git digest: layout tweaks --- diff --git a/digest.css b/digest.css index cfee28bc..4d50b4c4 100644 --- a/digest.css +++ b/digest.css @@ -191,6 +191,7 @@ a:hover { height : 16px; vertical-align : middle; margin-right : 5px; + float : left; } #headlines ul#headlines-content { @@ -209,6 +210,8 @@ a:hover { #headlines ul#headlines-content a.title { font-weight : bold; font-size : 16px; + display : block; + padding-left : 21px; } #headlines ul#headlines-content div.excerpt { diff --git a/digest.js b/digest.js index 4183d70c..2bf7779c 100644 --- a/digest.js +++ b/digest.js @@ -118,6 +118,11 @@ function zoom(elem, article_id) { if (transport.responseXML) { var article = transport.responseXML.getElementsByTagName('article')[0]; elem.innerHTML = article.firstChild.nodeValue; + + new Effect.BlindDown(elem, {duration : 0.5}); + + elem.onclick = false; + elem.style.cursor = "auto"; } else { elem.innerHTML = __("Error: unable to load article."); } @@ -341,10 +346,11 @@ function add_headline_entry(article, feed, no_effects) { var tmp_html = "
  • " + icon_part + + "
    " + - mark_part + - publ_part + - "" + + mark_part + + publ_part + + "" + "
    " + "" +