[portal-commits] JBoss Portal SVN: r12930 - in branches/JBoss_Portal_Branch_2_6/theme/src: main/org/jboss/portal/theme/impl/render/dynamic and 1 other directory.
portal-commits at lists.jboss.org
portal-commits at lists.jboss.org
Tue Mar 3 08:00:31 EST 2009
Author: chris.laprun at jboss.com
Date: 2009-03-03 08:00:30 -0500 (Tue, 03 Mar 2009)
New Revision: 12930
Modified:
branches/JBoss_Portal_Branch_2_6/theme/src/bin/portal-ajax-war/dyna/style.css
branches/JBoss_Portal_Branch_2_6/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java
Log:
- JBPORTAL-2226: hackish fix...
Modified: branches/JBoss_Portal_Branch_2_6/theme/src/bin/portal-ajax-war/dyna/style.css
===================================================================
--- branches/JBoss_Portal_Branch_2_6/theme/src/bin/portal-ajax-war/dyna/style.css 2009-03-03 12:48:16 UTC (rev 12929)
+++ branches/JBoss_Portal_Branch_2_6/theme/src/bin/portal-ajax-war/dyna/style.css 2009-03-03 13:00:30 UTC (rev 12930)
@@ -8,18 +8,24 @@
}
/*
-Add height to handle div so that we can drag from the whole bar instead of just the title. Should work in IE as well,
-though it hasn't been tested.
+Add height to handle div so that we can drag from the whole bar instead of just the title.
*/
.dnd-handle {
cursor: move;
- position: relative;
- min-height: 1.2em;
+ min-height: 21px;
+ position: absolute;
+ top: 10px;
+ width: 70%;
+ z-index: 1;
height: auto !important;
- height: 1.2em;
+ height: 21px;
}
+.dyna-decoration {
+ position: relative;
+}
+
.dnd-droppable {
- border: red 1px dashed;
+ border: green 1px dashed;
background-color: Transparent;
-}
+}
\ No newline at end of file
Modified: branches/JBoss_Portal_Branch_2_6/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java
===================================================================
--- branches/JBoss_Portal_Branch_2_6/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java 2009-03-03 12:48:16 UTC (rev 12929)
+++ branches/JBoss_Portal_Branch_2_6/theme/src/main/org/jboss/portal/theme/impl/render/dynamic/DynaDecorationRenderer.java 2009-03-03 13:00:30 UTC (rev 12930)
@@ -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