1
0

Making some nicer menu headers.

This commit is contained in:
Stefan Frech
2008-07-12 14:14:19 +00:00
committed by Jonas Kattendick
parent 6b4bacaddb
commit f08393d930
3 changed files with 14 additions and 3 deletions

View File

@@ -159,6 +159,10 @@ class folder {
); );
array_unshift ($this->tree, $root_folder); array_unshift ($this->tree, $root_folder);
# The top folder shows up too much on the top. Draw
# a little space there.
echo '<div class="foldertop"></div>' . "\n";
foreach ($this->tree as $key => $value) { foreach ($this->tree as $key => $value) {
# this is the begining of the line that shows a folder # this is the begining of the line that shows a folder
# with the symbol (plus, minus or neutral) # with the symbol (plus, minus or neutral)

BIN
images/grad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

View File

@@ -58,7 +58,8 @@ h2.nav {
font-size: 10pt; font-size: 10pt;
margin: 0; margin: 0;
padding: 3px; padding: 3px;
background-color:#bbb; /* background-color:#bbb; */
background: url(images/grad.png) repeat-x;
} }
ul.nav { ul.nav {
border: 1px solid #bbb; border: 1px solid #bbb;
@@ -83,7 +84,8 @@ ul.nav a:visited {
} }
ul.nav a:hover { ul.nav a:hover {
text-decoration: none; text-decoration: none;
color: #AE1A1A; /* color: #AE1A1A; */
color: #555555;
background-color: #ddd; background-color: #ddd;
} }
ul.nav a:active { ul.nav a:active {
@@ -120,6 +122,9 @@ span.active {
border:1px #316AC5 solid; border:1px #316AC5 solid;
padding:1px; padding:1px;
} }
div.foldertop {
height: 5px;
}
/* Bookmarks section */ /* Bookmarks section */
div.bookmarks { div.bookmarks {
@@ -134,7 +139,8 @@ div.bookmark {
} }
div.bookmarkcaption { div.bookmarkcaption {
padding: 2px 2px 2px 4px; padding: 2px 2px 2px 4px;
background-color: #bbb; /* background-color: #bbb; */
background: url(images/grad.png) repeat-x;
} }
div.bookmark:hover { div.bookmark:hover {
background-color: #eee; background-color: #eee;
@@ -189,4 +195,5 @@ p#footer {
padding: 2px; padding: 2px;
text-align: center; text-align: center;
border: 1px solid #bbb; border: 1px solid #bbb;
background-color:#bbb;
} }