From 69cb9a489f4dd9ced13d21dee57f1cc13618412f Mon Sep 17 00:00:00 2001 From: cajus Date: Sun, 28 Feb 2010 19:07:42 +0000 Subject: [PATCH] Updated icon view git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15770 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/themes/modern/style.css | 26 ++++++++++++++++++++++---- gosa-core/include/class_pluglist.inc | 16 ++++++++++------ 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/gosa-core/html/themes/modern/style.css b/gosa-core/html/themes/modern/style.css index ecdaf4a9d..980a22d55 100644 --- a/gosa-core/html/themes/modern/style.css +++ b/gosa-core/html/themes/modern/style.css @@ -504,21 +504,39 @@ fieldset textarea:hover{ } -/* Icon menu */ +/* Images */ +div.img{ + /*background:transparent url(img-modern.png) no-repeat;*/ + position:relative +} -.icon-menu-container { - padding:0; +div.img div { + /*background:transparent url(img-modern.png) no-repeat;*/ + bottom:0; + right:0; + position:absolute; } + +/* Icon menu */ + .icon-menu-item{ float:left; - background-repeat:no-repeat; padding:0 10px 10px 56px; min-height:70px; min-width:150px; cursor:pointer; } +.icon-menu-item div.img{ + float:left; + position:relative; +} + +.icon-menu-item div.dsc{ + margin-left:65px +} + .icon-menu-item:hover{ background-color: #E0E0E0; } diff --git a/gosa-core/include/class_pluglist.inc b/gosa-core/include/class_pluglist.inc index 103969ac3..ccd1452e3 100644 --- a/gosa-core/include/class_pluglist.inc +++ b/gosa-core/include/class_pluglist.inc @@ -268,12 +268,16 @@ class pluglist $this->iconmenu .= "\n
\n"; } - $this->iconmenu.= "\n
"; - $this->iconmenu.= "\n
"; - $this->iconmenu.= "\n

{$title}

"; - $this->iconmenu.= "\n

{$desc}

"; - $this->iconmenu.= "\n
"; - $this->iconmenu.= "\n
\n"; + + $this->iconmenu.= "\n
+ ##### $this->iconmenu.= "\n ".image($icon); + $this->iconmenu.= "\n
"; + $this->iconmenu.= "\n
+ $this->iconmenu.= "\n

{$title}

+ $this->iconmenu.= "\n

{$desc}

+ $this->iconmenu.= "\n
+ $this->iconmenu.= "\n
+ $col++ ; } $add_hr = TRUE; -- 2.30.2