digest: layout tweaks

This commit is contained in:
Andrew Dolgov 2010-09-12 20:13:20 +04:00
parent d8ea9902b6
commit 85629f6cf5
2 changed files with 12 additions and 3 deletions

View File

@ -191,6 +191,7 @@ a:hover {
height : 16px; height : 16px;
vertical-align : middle; vertical-align : middle;
margin-right : 5px; margin-right : 5px;
float : left;
} }
#headlines ul#headlines-content { #headlines ul#headlines-content {
@ -209,6 +210,8 @@ a:hover {
#headlines ul#headlines-content a.title { #headlines ul#headlines-content a.title {
font-weight : bold; font-weight : bold;
font-size : 16px; font-size : 16px;
display : block;
padding-left : 21px;
} }
#headlines ul#headlines-content div.excerpt { #headlines ul#headlines-content div.excerpt {

View File

@ -118,6 +118,11 @@ function zoom(elem, article_id) {
if (transport.responseXML) { if (transport.responseXML) {
var article = transport.responseXML.getElementsByTagName('article')[0]; var article = transport.responseXML.getElementsByTagName('article')[0];
elem.innerHTML = article.firstChild.nodeValue; elem.innerHTML = article.firstChild.nodeValue;
new Effect.BlindDown(elem, {duration : 0.5});
elem.onclick = false;
elem.style.cursor = "auto";
} else { } else {
elem.innerHTML = __("Error: unable to load article."); elem.innerHTML = __("Error: unable to load article.");
} }
@ -341,10 +346,11 @@ function add_headline_entry(article, feed, no_effects) {
var tmp_html = "<li id=\"A-"+article.id+"\" "+style+">" + var tmp_html = "<li id=\"A-"+article.id+"\" "+style+">" +
icon_part + icon_part +
"<div class='digest-check'>" + "<div class='digest-check'>" +
mark_part + mark_part +
publ_part + publ_part +
"<img title='" + __("Mark as read") + "' onclick=\"view("+article.id+", true)\" src='images/digest_checkbox.png'>" + "<img title='" + __("Mark as read") + "' onclick=\"view("+article.id+", true)\" src='images/digest_checkbox.png'>" +
"</div>" + "</div>" +
"<a target=\"_blank\" href=\""+article.link+"\""+ "<a target=\"_blank\" href=\""+article.link+"\""+
"onclick=\"return view("+article.id+")\" class='title'>" + "onclick=\"return view("+article.id+")\" class='title'>" +