summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/javascript/main.phtml17
-rw-r--r--public/theme/freshrss.css13
2 files changed, 13 insertions, 17 deletions
diff --git a/app/views/javascript/main.phtml b/app/views/javascript/main.phtml
index 9596b1647..28bb0dfd9 100644
--- a/app/views/javascript/main.phtml
+++ b/app/views/javascript/main.phtml
@@ -42,19 +42,14 @@ function toggleContent (new_active, old_active) {
<?php } ?>
}
-var load = false;
function mark_read (active, only_not_read) {
if (active[0] === undefined || (
- only_not_read === true && !active.hasClass("not_read")) ||
- load === true) {
+ only_not_read === true && !active.hasClass("not_read"))) {
return false;
}
- load = true;
-
url = active.find ("a.read").attr ("href");
if (url === undefined) {
- load = false;
return false;
}
@@ -71,22 +66,16 @@ function mark_read (active, only_not_read) {
} else {
active.addClass ("not_read");
}
-
- load = false;
});
}
function mark_favorite (active) {
- if (active[0] === undefined ||
- load === true) {
+ if (active[0] === undefined) {
return false;
}
- load = true;
-
url = active.find ("a.bookmark").attr ("href");
if (url === undefined) {
- load = false;
return false;
}
@@ -103,8 +92,6 @@ function mark_favorite (active) {
} else {
active.addClass ("favorite");
}
-
- load = false;
});
}
diff --git a/public/theme/freshrss.css b/public/theme/freshrss.css
index 4919639af..636f9e09d 100644
--- a/public/theme/freshrss.css
+++ b/public/theme/freshrss.css
@@ -77,6 +77,7 @@
}
.favicon {
+ height: 16px;
width: 16px;
}
@@ -243,9 +244,12 @@
text-overflow: ellipsis;
line-height: 40px;
}
+ .flux_header .item.website .favicon {
+ padding: 12px;
+ }
.flux_header .item.website a {
display: block;
- padding: 0 5px;
+ padding: 0;
height: 40px;
}
.flux_header .item.title {
@@ -473,9 +477,14 @@
display: none;
}
.flux_header .item.website {
- width: 30px;
+ width: 40px;
text-align: center;
}
+
+ .content {
+ font-size: 120%;
+ }
+
.pagination .pager-previous, .pagination .pager-next {
width: 100px;
}