aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-11-28 19:16:20 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-11-28 19:16:20 +0100
commitf1e61e8721707147aeaac3f516d5a16e64946c40 (patch)
tree0b0f754322b618b543679a5fd816270aa801ef8d
parentDisplay the title of an article in the tab of the browser (for the /article p... (diff)
downloadnewspipe-f1e61e8721707147aeaac3f516d5a16e64946c40.tar.gz
newspipe-f1e61e8721707147aeaac3f516d5a16e64946c40.tar.bz2
newspipe-f1e61e8721707147aeaac3f516d5a16e64946c40.zip
Menu position is fixed.
-rwxr-xr-xsource/css/style.css32
-rw-r--r--source/templates/index.html2
2 files changed, 30 insertions, 4 deletions
diff --git a/source/css/style.css b/source/css/style.css
index 3a507f39..05fe43b8 100755
--- a/source/css/style.css
+++ b/source/css/style.css
@@ -58,10 +58,35 @@ hr {
margin: 1em 0em;
}
+/* Menu */
+.menu_container {
+ position:fixed;
+ margin:0px;
+ padding:0px;
+ z-index:4;
+}
+
/* Navigation bars */
-.nav_container { position:fixed; top:145px; right:5px; margin:0px; padding:0px; white-space:nowrap; z-index:11; clear:both;}
-.nav_container.horizontal { position:absolute; white-space:normal; z-index:25; width:*; }
-.nav_container.horizontal div { float:right; padding-right:10px; }
+.nav_container {
+ position:fixed;
+ top:112px;
+ right:5px;
+ margin:0px;
+ padding:0px;
+ white-space:nowrap;
+ z-index:3;
+ clear:both;
+}
+.nav_container.horizontal {
+ position:absolute;
+ white-space:normal;
+ z-index:4;
+ width:*;
+}
+.nav_container.horizontal div {
+ float:right;
+ padding-right:10px;
+}
#nav {
position: absolute;
@@ -147,7 +172,6 @@ blockquote.right {
.clear {
font-size: 1px;
-
height: 0px;
clear: both;
}
diff --git a/source/templates/index.html b/source/templates/index.html
index c17f0e2d..837b591d 100644
--- a/source/templates/index.html
+++ b/source/templates/index.html
@@ -29,6 +29,7 @@ import utils
</div>
<div class="left inner">
+ <div class="menu_container">
%if feeds:
<a href="/management/"><img src="/img/management.png" title="Management" /></a>
<a href="/history/"><img src="/img/history.png" title="History" /></a>
@@ -42,6 +43,7 @@ import utils
%endif
%endif
<a accesskey="F" href="/fetch/"><img src="/img/check-news.png" title="Check for news" /></a>
+ </div><br/>
<%
html = ""
%>
bgstack15