digest: more logical position for close article prompt

This commit is contained in:
Andrew Dolgov 2012-11-07 13:32:19 +04:00
parent 17ea62ba79
commit c8b31978c9
3 changed files with 6 additions and 5 deletions

View File

@ -62,7 +62,7 @@ a:hover {
#content { #content {
position : absolute; position : absolute;
left : 0px; left : 0px;
top : 0px; top : 30px;
right : 0px; right : 0px;
bottom : 0px; bottom : 0px;
-webkit-transition: left 0.2s linear, right 0.2s linear; -webkit-transition: left 0.2s linear, right 0.2s linear;
@ -148,7 +148,7 @@ a:hover {
position : absolute; position : absolute;
left : 0px; left : 0px;
width : 300px; width : 300px;
top : 0px; top : -30px;
bottom : 0px; bottom : 0px;
font-size : 14px; font-size : 14px;
overflow : auto; overflow : auto;
@ -194,7 +194,7 @@ a:hover {
font-size : 14px; font-size : 14px;
position : absolute; position : absolute;
left : 303px; left : 303px;
top : 30px; top : 0px;
bottom : 0px; bottom : 0px;
right : 0px; right : 0px;
overflow : auto; overflow : auto;

View File

@ -67,8 +67,11 @@
</div> </div>
<div id="header"> <div id="header">
<a style="float : left" href="#" onclick="close_article()">
<?php echo __("Back to feeds") ?></a>
<div class="links"> <div class="links">
<?php if (!SINGLE_USER_MODE) { ?> <?php if (!SINGLE_USER_MODE) { ?>
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> | <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
<?php } ?> <?php } ?>

View File

@ -270,8 +270,6 @@ function view(article_id) {
article.title + "</a>" + "</h1>" + article.title + "</a>" + "</h1>" +
"<div id=\"tags\">" + "<div id=\"tags\">" +
tags_part + tags_part +
"<div style=\"float : right\"><a href=\"#\" onclick=\"close_article()\">" +
__("close") + "</a></div>" +
"</div>" + "</div>" +
article.content + "</div>"; article.content + "</div>";