From 85629f6cf5bdf93d0155d1f893ad1cbbe8f30202 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 12 Sep 2010 20:13:20 +0400 Subject: [PATCH] digest: layout tweaks --- digest.css | 3 +++ digest.js | 12 +++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/digest.css b/digest.css index cfee28bcf..4d50b4c45 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 4183d70c5..2bf7779c8 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 + + "" + "
    " + "" +