[portal-commits] JBoss Portal SVN: r12929 - in tags/JBoss_Portal_2_7_2: theme/src/bin/portal-ajax-war/dyna and 1 other directories.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Tue Mar 3 07:48:17 EST 2009


Author: chris.laprun at jboss.com
Date: 2009-03-03 07:48:16 -0500 (Tue, 03 Mar 2009)
New Revision: 12929

Modified:
   tags/JBoss_Portal_2_7_2/core/src/bin/portal-core-war/themes/renewal/portal_style.css
   tags/JBoss_Portal_2_7_2/theme/src/bin/portal-ajax-war/dyna/style.css
   tags/JBoss_Portal_2_7_2/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java
Log:
JBPORTAL-2226: hackish fix. Minor improvements to menus.

Modified: tags/JBoss_Portal_2_7_2/core/src/bin/portal-core-war/themes/renewal/portal_style.css
===================================================================
--- tags/JBoss_Portal_2_7_2/core/src/bin/portal-core-war/themes/renewal/portal_style.css	2009-03-03 11:03:52 UTC (rev 12928)
+++ tags/JBoss_Portal_2_7_2/core/src/bin/portal-core-war/themes/renewal/portal_style.css	2009-03-03 12:48:16 UTC (rev 12929)
@@ -237,7 +237,7 @@
    bottom: 0px;
    left: 0;
    min-width: 550px;
-   z-index: 1;
+   z-index: 10;
 }
 
 * html ul#tabsHeader {
@@ -271,7 +271,7 @@
 ul#tabsHeader li a {
    background-position: top left;
    background-repeat: no-repeat;
-   padding: 5px 15px 0 15px;
+   padding: 5px 10px 0 10px;
    display: block;
    height: 29px;
    font-weight: bold;
@@ -321,6 +321,7 @@
    margin: 0px;
    padding: 0px;
    margin-top: 28px;
+   z-index: 10;
 }
 
 ul#tabsHeader ul a {
@@ -356,8 +357,8 @@
 ul#tabsHeader ul li {
    background: #DFE8ED;
    color: #5078aa;
-   padding: 3px;
-   width: 160px;
+   padding: 2px;
+   width: 180px;
    list-style: none;
    border: 1px solid #98b7c6;
    border-width: 0px 1px 1px 1px;
@@ -481,6 +482,7 @@
 .portlet-mode-container {
    white-space: nowrap;
    float: right;
+   padding: 2px 0 0 0;
 }
 
 .mode-button {

Modified: tags/JBoss_Portal_2_7_2/theme/src/bin/portal-ajax-war/dyna/style.css
===================================================================
--- tags/JBoss_Portal_2_7_2/theme/src/bin/portal-ajax-war/dyna/style.css	2009-03-03 11:03:52 UTC (rev 12928)
+++ tags/JBoss_Portal_2_7_2/theme/src/bin/portal-ajax-war/dyna/style.css	2009-03-03 12:48:16 UTC (rev 12929)
@@ -13,12 +13,19 @@
 */
 .dnd-handle {
    cursor: move;
-   position: relative;
    min-height: 1.2em;
+   position: absolute;
+   top: 10px;
+   width: 70%;
+   z-index: 1;
    height: auto !important;
    height: 1.2em;
 }
 
+.dyna-decoration {
+   position: relative;
+}
+
 .dnd-droppable {
    border: red 1px dashed;
    background-color: Transparent;

Modified: tags/JBoss_Portal_2_7_2/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java
===================================================================
--- tags/JBoss_Portal_2_7_2/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java	2009-03-03 11:03:52 UTC (rev 12928)
+++ tags/JBoss_Portal_2_7_2/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java	2009-03-03 12:48:16 UTC (rev 12929)
@@ -66,15 +66,13 @@
             DynaWindowRenderer.handleProvided.set(Boolean.TRUE);
 
             //
-            markup.print("<div class=\"dnd-handle\">");
             markup.print("<div class=\"dyna-decoration\">\n");
+            markup.print("<div class=\"dnd-handle\"></div>");
 
             delegate.render(rendererContext, drc);
 
             // Close dnd-decoration
             markup.print("</div>");
-            // Close dnd-handle
-            markup.print("</div>");
 
          }
          else




More information about the portal-commits mailing list