From 2f503946138b7e287d1a7cef73057adf0bd204a8 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 21 May 2007 08:08:34 +0000 Subject: [PATCH] Temporary style patchworks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6410 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/themes/default/style.css | 35 ++++++++---------- ihtml/themes/default/framework.tpl | 59 ++++++++++++------------------ include/class_pluglist.inc | 9 ++++- 3 files changed, 47 insertions(+), 56 deletions(-) diff --git a/html/themes/default/style.css b/html/themes/default/style.css index f3659248c..1eeff8115 100644 --- a/html/themes/default/style.css +++ b/html/themes/default/style.css @@ -23,6 +23,10 @@ td.listheader { height:22px; } +td#menucell { + border:1px solid #AAA; +} + td.scrollhead { vertical-align:top; padding:0px; @@ -211,8 +215,6 @@ body { margin-top:0px; margin-bottom:0px; background-color:white; - background-image:url("images/border.png"); - background-repeat:repeat-y; color:#00008F; font-family:arial,helvetica,sans-serif; font-size:12px; @@ -249,21 +251,22 @@ a.maintitlebar:hover { p.menuheader { font-family:arial,helvetica,sans-serif; - color:#00378a; + color:#00008F; text-decoration:none; - background-color:#CDF6BD; + border-bottom:1px dashed #AAA; font-weight:bold; font-size:12px; text-align:center; width:100%; vertical-align:middle; - padding:3px; - margin-top:20px; + padding:5px; + margin-top:0px; + margin-bottom:3px; } p.menuitem { font-family:arial,helvetica,sans-serif; - color:#00378a; + color:#00008F; text-decoration:none; font-weight:normal; font-size:12px; @@ -273,12 +276,12 @@ p.menuitem { padding-bottom:2px; vertical-align:middle; margin:2px; - background-color:#dfffdf; + background-color:#F8F8F8; padding-right:5px; } p.menuitem:hover { - background-color:#d2f6c2; + background-color:#F0F0F0; } table.menuitem { @@ -389,20 +392,14 @@ h1.plugtop{ } div.plugtop { - border-style:solid; - border-color:#b0b0b0; width:100%; - border-top-color:#e0e0f0; - border-top-width:6px; - border-bottom-width:1px; - border-left-width:0px; - border-right-width:0px; + border-bottom:1px dashed #B0B0B0; padding-top:0px; padding-bottom:6px; margin-bottom: 0px; text-align:left; vertical-align:middle; - background-color:#e0e0f0; + background-color:white; font-family:arial,helvetica,sans-serif; font-weight:bold; font-size:24px; @@ -670,7 +667,7 @@ table.framework { border-spacing:0px; padding:0px; margin:0px; - background-color:#cdf6bd; + background-color: #A9FBA6; vertical-align:top; } @@ -681,7 +678,7 @@ table.maintab { border-spacing:0px; padding:0px; margin:0px; - background-color:#cdf6bd; + background-color: #A9FBA6; vertical-align:top; } diff --git a/ihtml/themes/default/framework.tpl b/ihtml/themes/default/framework.tpl index f51784b56..03d9f0da2 100644 --- a/ihtml/themes/default/framework.tpl +++ b/ihtml/themes/default/framework.tpl @@ -2,50 +2,37 @@ {$php_errors}
- - - - - - + + +
- GOSA2 - - - - - - - -
- - Main {t}Main{/t} - - - - Help {t}Help{/t} - - - - Sign out {t}Sign out{/t} - -
-
- -
- -
- +
+
{$contents} diff --git a/include/class_pluglist.inc b/include/class_pluglist.inc index 8a354af6a..384817bd3 100644 --- a/include/class_pluglist.inc +++ b/include/class_pluglist.inc @@ -117,11 +117,18 @@ class pluglist { function gen_menu() { if ($this->menu == ""){ + $first= TRUE; $cfg= $this->config->data['MENU']; /* Parse headlines */ foreach ($cfg as $headline => $plug){ - $menu= "

"._($headline)."

\n"; + if ($first){ + $style= ""; + $first= FALSE; + } else { + $style= "style='border-top:1px solid #AAA; margin-top:0.8em;'"; + } + $menu= "

"._($headline)."

\n"; $entries= ""; $this->menuparts[_($headline)]= array(); -- 2.30.2