1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

fix invisible active headline in 3pane mode

This commit is contained in:
Andrew Dolgov 2013-03-29 23:04:27 +04:00
parent 9f8b2e6ea8
commit a7c0e150b6
3 changed files with 24 additions and 22 deletions

View File

@ -462,7 +462,7 @@ class Feeds extends Handler_Protected {
$reply['content'] .= "<div onclick='return hlClicked(event, $id)'
class=\"hlTitle\"><span class='hlContent$hlc_suffix'>";
$reply['content'] .= "<a id=\"RTITLE-$id\"
$reply['content'] .= "<a id=\"RTITLE-$id\" class=\"title\"
href=\"" . htmlspecialchars($line["link"]) . "\"
onclick=\"\">" .
truncate_string($line["title"], 200);

View File

@ -243,7 +243,6 @@ function render_article(article) {
function showArticleInHeadlines(id) {
try {
selectArticles("none");
var crow = $("RROW-" + id);
@ -253,6 +252,7 @@ function showArticleInHeadlines(id) {
var article_is_unread = crow.hasClassName("Unread");
crow.removeClassName("Unread");
crow.addClassName("active");
selectArticles('none');
@ -337,6 +337,9 @@ function article_callback2(transport, id) {
function view(id) {
try {
var oldrow = $("RROW-" + getActiveArticleId());
if (oldrow) oldrow.removeClassName("active");
var crow = $("RROW-" + id);
if (!crow) return;

View File

@ -193,33 +193,23 @@ a:hover {
color : #909090;
}
.hl.even {
border-width : 0px 0px 1px 0px;
.hl {
border-width : 0px 1px 1px 0px;
border-style : solid;
border-color : #c0c0c0;
}
.hl.active {
background : #ecf4ff ! important;
}
.hl.even {
background : #f0f0f0;
border-collapse : collapse;
}
.hl.odd {
border-width : 0px 0px 1px 0px;
border-style : solid;
border-color : #c0c0c0;
border-collapse : collapse;
}
.hl.even.Unread {
background : #f0f0f0;
border-width : 0px 0px 1px 0px;
border-style : solid;
border-color : #c0c0c0;
border-collapse : collapse;
}
.hl.odd.Unread {
border-width : 0px 0px 1px 0px;
border-style : solid;
border-color : #c0c0c0;
background : white;
}
div.filterTestHolder {
@ -1008,3 +998,12 @@ select.attachments {
max-width : 120px;
}
div.hl.active {
border-color : #88b0f0;
}
div.hl.active a.title {
color : #4684ff;
font-weight : bold;
}