diff options
author | Andrew Dolgov <[email protected]> | 2012-11-07 13:32:19 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-11-07 13:32:19 +0400 |
commit | c8b31978c95cb3e9f570523e9a267920159c0e52 (patch) | |
tree | 07371773107d4bb0b6db0b9aef2cdc24ad9e951d | |
parent | 17ea62ba798a38934938f67803341cb19c3c3648 (diff) |
digest: more logical position for close article prompt
-rw-r--r-- | digest.css | 6 | ||||
-rw-r--r-- | digest.php | 3 | ||||
-rw-r--r-- | js/digest.js | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/digest.css b/digest.css index d21dac7b0..54568e3bc 100644 --- a/digest.css +++ b/digest.css @@ -62,7 +62,7 @@ a:hover { #content { position : absolute; left : 0px; - top : 0px; + top : 30px; right : 0px; bottom : 0px; -webkit-transition: left 0.2s linear, right 0.2s linear; @@ -148,7 +148,7 @@ a:hover { position : absolute; left : 0px; width : 300px; - top : 0px; + top : -30px; bottom : 0px; font-size : 14px; overflow : auto; @@ -194,7 +194,7 @@ a:hover { font-size : 14px; position : absolute; left : 303px; - top : 30px; + top : 0px; bottom : 0px; right : 0px; overflow : auto; diff --git a/digest.php b/digest.php index d8c224582..ee26b2124 100644 --- a/digest.php +++ b/digest.php @@ -67,8 +67,11 @@ </div> <div id="header"> + <a style="float : left" href="#" onclick="close_article()"> + <?php echo __("Back to feeds") ?></a> <div class="links"> + <?php if (!SINGLE_USER_MODE) { ?> <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> | <?php } ?> diff --git a/js/digest.js b/js/digest.js index 73af66c08..81dee4bd0 100644 --- a/js/digest.js +++ b/js/digest.js @@ -270,8 +270,6 @@ function view(article_id) { article.title + "</a>" + "</h1>" + "<div id=\"tags\">" + tags_part + - "<div style=\"float : right\"><a href=\"#\" onclick=\"close_article()\">" + - __("close") + "</a></div>" + "</div>" + article.content + "</div>"; |