Code

Updated icon view
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 28 Feb 2010 19:07:42 +0000 (19:07 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 28 Feb 2010 19:07:42 +0000 (19:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15770 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/themes/modern/style.css
gosa-core/include/class_pluglist.inc

index ecdaf4a9dd1295db4bf6c509caac227f25065d83..980a22d55c948d6a04055b4af879abe53209083c 100644 (file)
@@ -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;
 }
index 103969ac3169501eb44bb3dd33854dab8868a5e1..ccd1452e3dcd27a26f7acda127cbb464956a91df 100644 (file)
@@ -268,12 +268,16 @@ class pluglist
             $this->iconmenu .= "\n  <div class='clear'></div>\n";
           }
 
-          $this->iconmenu.= "\n  <div class='container-element' style='width: 25%;' onclick='openPlugin({$index})'> ";
-          $this->iconmenu.= "\n   <div class='icon-menu-item' style='background-image: url({$icon});'>";
-          $this->iconmenu.= "\n    <h1>{$title}</h1>";
-          $this->iconmenu.= "\n    <p>{$desc}</p>";
-          $this->iconmenu.= "\n   </div>";
-          $this->iconmenu.= "\n  </div>\n";
+
+          $this->iconmenu.= "\n  <div class="icon-menu-item" style='width: 25%;' onclick='openPlugin({$index})'>
+          ##### $this->iconmenu.= "\n   ".image($icon);
+          $this->iconmenu.= "\n   <div class='img' style='width:48px;height:48px;background-image: url({$icon});'>";
+          $this->iconmenu.= "\n   <div class="dsc">
+          $this->iconmenu.= "\n    <h1>{$title}</h1>
+          $this->iconmenu.= "\n    <p>{$desc}</p>
+          $this->iconmenu.= "\n   </div>
+          $this->iconmenu.= "\n  </div>
+
           $col++ ;
         }
         $add_hr = TRUE;