From f08393d9303f8fc1384d029e5400e58c16276935 Mon Sep 17 00:00:00 2001 From: Stefan Frech Date: Sat, 12 Jul 2008 14:14:19 +0000 Subject: [PATCH] Making some nicer menu headers. --- folders.php | 4 ++++ images/grad.png | Bin 0 -> 345 bytes style.css | 13 ++++++++++--- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 images/grad.png diff --git a/folders.php b/folders.php index 6e87cc2..c12b880 100644 --- a/folders.php +++ b/folders.php @@ -159,6 +159,10 @@ class folder { ); array_unshift ($this->tree, $root_folder); + # The top folder shows up too much on the top. Draw + # a little space there. + echo '
' . "\n"; + foreach ($this->tree as $key => $value) { # this is the begining of the line that shows a folder # with the symbol (plus, minus or neutral) diff --git a/images/grad.png b/images/grad.png new file mode 100644 index 0000000000000000000000000000000000000000..36e45492c402be9030e973ed7a621285f41e48f4 GIT binary patch literal 345 zcmeAS@N?(olHy`uVBq!ia0vp^+(0bB!3HFC-mwbTsbq`R4v%n*= z7^o5`%Pq{vFl&wkP>{XE)7O>#20J&86zjaBGY$iVWJ_ElN}Tg^b5rw57@Uhz6H8K4 z6v{J8G895GQWe}ieFNU7sOA9`?)7wW45_%)JK2+|ML~dBd*c89N6gds7ASLQsaN?{ zUEcSev5|@6llWpSZb7Gwye$bV3W8a4X2-Y&>ReuOJ$#R8dXd|ec!|v--l2sj=dfN- z{d~m6MYMXi4>J+RFBgC2#Kv8o zZ<42cPIg0Sv;X=N^Zc@xY0kde|DJJK(Y5CLuJt!}`LBH~uKDMDVblWg6Uhm>1(DGn kC3oH=x!&H}U;TqQ-OZZo+M#J{fF5D+boFyt=akR{0J0W;iU0rr literal 0 HcmV?d00001 diff --git a/style.css b/style.css index ba463d5..f25237f 100644 --- a/style.css +++ b/style.css @@ -58,7 +58,8 @@ h2.nav { font-size: 10pt; margin: 0; padding: 3px; - background-color:#bbb; + /* background-color:#bbb; */ + background: url(images/grad.png) repeat-x; } ul.nav { border: 1px solid #bbb; @@ -83,7 +84,8 @@ ul.nav a:visited { } ul.nav a:hover { text-decoration: none; - color: #AE1A1A; + /* color: #AE1A1A; */ + color: #555555; background-color: #ddd; } ul.nav a:active { @@ -120,6 +122,9 @@ span.active { border:1px #316AC5 solid; padding:1px; } +div.foldertop { + height: 5px; +} /* Bookmarks section */ div.bookmarks { @@ -134,7 +139,8 @@ div.bookmark { } div.bookmarkcaption { padding: 2px 2px 2px 4px; - background-color: #bbb; + /* background-color: #bbb; */ + background: url(images/grad.png) repeat-x; } div.bookmark:hover { background-color: #eee; @@ -189,4 +195,5 @@ p#footer { padding: 2px; text-align: center; border: 1px solid #bbb; + background-color:#bbb; }