[fusion-commits] r1879 - trunk/widgets/Legend
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Jul 22 15:28:20 EDT 2009
Author: pagameba
Date: 2009-07-22 15:28:19 -0400 (Wed, 22 Jul 2009)
New Revision: 1879
Modified:
trunk/widgets/Legend/Legend.css
Log:
fixes #227, needed to restructure the html structure and CSS of the legend tree.
Modified: trunk/widgets/Legend/Legend.css
===================================================================
--- trunk/widgets/Legend/Legend.css 2009-07-22 16:57:23 UTC (rev 1878)
+++ trunk/widgets/Legend/Legend.css 2009-07-22 19:28:19 UTC (rev 1879)
@@ -1,36 +1,24 @@
-.fusionLegendFolder {
- margin-left:14px;
+.fusionLegendItemCheckbox span,
+.fusionLegendFolder span,
+.fusionLegendItemCheckbox input,
+.fusionLegendFolder input,
+.fusionLegendItemCheckbox .jxTreeIcon,
+.fusionLegendFolder .jxTreeIcon {
+ position: relative;
+ vertical-align: middle;
}
-.fusionLegendFolder input {
- position: absolute;
- top: 3px;
- left: 14px;
- height: 14px;
- width: 16px;
+.jxTree a.fusionLegendFolder,
+.jxTreeRoot a.fusionLegendFolder,
+.jxTree a.fusionLegendItemCheckbox,
+.jxTreeRoot a.fusionLegendItemCheckbox,
+.jxTree a.fusionLegendFolder:hover,
+.jxTreeRoot a.fusionLegendFolder:hover,
+.jxTree a.fusionLegendItemCheckbox:hover,
+.jxTreeRoot a.fusionLegendItemCheckbox:hover {
+ padding: 0px;
}
-.jxTree .fusionLegendFolder a,
-.jxTreeRoot .fusionLegendFolder a {
-}
-
-.fusionLegendItemCheckbox {
- margin-left: 14px;
-}
-
-.fusionLegendItemCheckbox input {
- position: absolute;
- top: 3px;
- left: 14px;
- height: 14px;
- width: 16px;
-}
-
-.jxTree .fusionLegendItemCheckbox a,
-.jxTreeRoot .fusionLegendItemCheckbox a {
-}
-
-
.jxTreeBranchOpen .fusionLegendItemCheckbox .jxTreeIcon,
.jxTreeBranchLastOpen .fusionLegendItemCheckbox .jxTreeIcon {
background-position: left top;
@@ -41,6 +29,16 @@
background-position: left top;
}
-.fusionLegendItem {
- /*margin-left: 14px;*/
+span.fusionLegendLabel {
+ padding-left: 4px;
+}
+
+.jxTree li,
+.jxTreeRoot li {
+ zoom: 1;
+}
+
+.jxTreeIcon {
+ top: auto !important;
+ left: auto !important;
}
\ No newline at end of file
More information about the fusion-commits
mailing list