[Commits] r1183 - in apps/opengeo/geoexplorer/trunk/src: script/app theme/app
commits at geoext.org
commits at geoext.org
Wed Jul 1 02:12:37 CEST 2009
Author: tschaub
Date: 2009-07-01 02:12:37 +0200 (Wed, 01 Jul 2009)
New Revision: 1183
Modified:
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
apps/opengeo/geoexplorer/trunk/src/theme/app/geoexplorer.css
Log:
Give legend items some breathing room.
Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-06-30 23:55:09 UTC (rev 1182)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-07-01 00:12:37 UTC (rev 1183)
@@ -507,7 +507,7 @@
autoScroll: true,
ascending: false,
map: this.map,
- childDefaults: {border: false, cls: 'legend-title'}
+ defaults: {cls: 'legend-item'}
});
var westPanel = new Ext.Panel({
Modified: apps/opengeo/geoexplorer/trunk/src/theme/app/geoexplorer.css
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/theme/app/geoexplorer.css 2009-06-30 23:55:09 UTC (rev 1182)
+++ apps/opengeo/geoexplorer/trunk/src/theme/app/geoexplorer.css 2009-07-01 00:12:37 UTC (rev 1183)
@@ -87,12 +87,8 @@
background-image: url(img/geosilk/pan.png);
}
-.legend-title label {
- font-family: tahoma,arial,verdana,sans-serif;
- font-size: 11px;
- margin-top: 1em;
- margin-left: 20px; /* Default GS legend swatch size */
- font-weight: bold;
+.legend-item {
+ margin: 0.5em 10px;
}
div.map-overlay {
More information about the Commits
mailing list