← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12336: (GIS) Plugin update.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 12336 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-09-30 16:24:45 +0200
message:
  (GIS) Plugin update.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/plugin.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/plugin.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/plugin.js	2013-09-30 13:40:30 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/plugin.js	2013-09-30 14:23:38 +0000
@@ -26,28 +26,50 @@
 	*/
 	
 	// css	
-	var css = 'body { \n font-family: arial, sans-serif, liberation sans, consolas !important; \n font-size: 11px; \n } \n';
-	css += '.x-panel-body { \n font-size: 11px; \n } \n';
-	css += '.x-panel-header { \n height: 30px; \n padding: 7px 4px 4px 7px; \n border: 0 none; \n } \n';
-	css += '.olControlPanel { \n position: absolute; \n top: 0; \n right: 0; \n border: 0 none; \n } \n';
-	css += '.olControlButtonItemActive { \n background: #556; \n color: #fff; \n width: 24px; \n height: 24px; \n opacity: 0.75; \n filter: alpha(opacity=75); \n -ms-filter: "alpha(opacity=75)"; \n cursor: pointer; \n cursor: hand; \n text-align: center; \n font-size: 21px !important; \n text-shadow: 0 0 1px #ddd; \n } \n';
-	css += '.olControlPanel.zoomIn { \n right: 72px; \n } \n';
-	css += '.olControlPanel.zoomIn .olControlButtonItemActive { \n border-bottom-left-radius: 2px; \n } \n';
-	css += '.olControlPanel.zoomOut { \n right: 48px; \n } \n';
-	css += '.olControlPanel.zoomVisible { \n right: 24px; \n } \n';
-	css += '.olControlPermalink { \n display: none !important; \n } \n';
-	css += '.olControlMousePosition { \n background: #fff !important; \n opacity: 0.8 !important; \n filter: alpha(opacity=80) !important; \n -ms-filter: "alpha(opacity=80)" !important; \n right: 0 !important; \n bottom: 0 !important; \n border-top-left-radius: 2px !important; \n padding: 2px 2px 2px 5px !important; \n color: #000 !important; \n -webkit-text-stroke-width: 0.2px; \n -webkit-text-stroke-color: #555; \n } \n';
-	css += '.olControlMousePosition * { \n font-size: 10px !important; \n } \n';
-	css += '.text-mouseposition-lonlat { \n color: #555; \n } \n';
-	css += '.olLayerGoogleCopyright, .olLayerGoogleV3.olLayerGooglePoweredBy { \n display: none; \n } \n';
-	css += '#google-logo { \n background: url("../images/google-logo.png") no-repeat; \n width: 40px; \n height: 13px; \n margin-left: 6px; \n display: inline-block; \n vertical-align: bottom; \n cursor: pointer; \n cursor: hand; \n } \n';
-	css += '.olControlScaleLine { \n left: 5px !important; \n bottom: 5px !important; \n } \n';
-	css += '.olControlScaleLineBottom { \n display: none; \n } \n';
-	css += '.olControlScaleLineTop { \n font-weight: bold; \n } \n';
-	css += '.x-mask-msg { \n padding: 0; \n border: 0 none; \n background-image: none; \n background-color: transparent; \n } \n';
-	css += '.x-mask-msg div { \n background-position: 11px center; \n } \n';
-	css += '.x-mask-msg .x-mask-loading { \n border: 0 none; \n background-color: #000; \n color: #fff; \n border-radius: 2px; \n padding: 12px 14px 12px 30px; \n opacity: 0.65; \n } \n';
-
+	var css = 'body { font-family: arial, sans-serif, liberation sans, consolas !important; font-size: 11px; } \n';
+	css += '.x-panel-body { font-size: 11px; } \n';
+	css += '.x-panel-header { height: 30px; padding: 7px 4px 4px 7px; border: 0 none; } \n';
+	css += '.olControlPanel { position: absolute; top: 0; right: 0; border: 0 none; } \n';
+	css += '.olControlButtonItemActive { background: #556; color: #fff; width: 24px; height: 24px; opacity: 0.75; filter: alpha(opacity=75); -ms-filter: "alpha(opacity=75)"; cursor: pointer; cursor: hand; text-align: center; font-size: 21px !important; text-shadow: 0 0 1px #ddd; } \n';
+	css += '.olControlPanel.zoomIn { right: 72px; } \n';
+	css += '.olControlPanel.zoomIn .olControlButtonItemActive { border-bottom-left-radius: 2px; } \n';
+	css += '.olControlPanel.zoomOut { right: 48px; } \n';
+	css += '.olControlPanel.zoomVisible { right: 24px; } \n';
+	css += '.olControlPermalink { display: none !important; } \n';
+	css += '.olControlMousePosition { background: #fff !important; opacity: 0.8 !important; filter: alpha(opacity=80) !important; -ms-filter: "alpha(opacity=80)" !important; right: 0 !important; bottom: 0 !important; border-top-left-radius: 2px !important; padding: 2px 2px 2px 5px !important; color: #000 !important; -webkit-text-stroke-width: 0.2px; -webkit-text-stroke-color: #555; } \n';
+	css += '.olControlMousePosition * { font-size: 10px !important; } \n';
+	css += '.text-mouseposition-lonlat { color: #555; } \n';
+	css += '.olLayerGoogleCopyright, .olLayerGoogleV3.olLayerGooglePoweredBy { display: none; } \n';
+	css += '#google-logo { background: url("images/google-logo.png") no-repeat; width: 40px; height: 13px; margin-left: 6px; display: inline-block; vertical-align: bottom; cursor: pointer; cursor: hand; } \n';
+	css += '.olControlScaleLine { left: 5px !important; bottom: 5px !important; } \n';
+	css += '.olControlScaleLineBottom { display: none; } \n';
+	css += '.olControlScaleLineTop { font-weight: bold; } \n';
+	css += '.x-mask-msg { padding: 0; border: 0 none; background-image: none; background-color: transparent; } \n';
+	css += '.x-mask-msg div { background-position: 11px center; } \n';
+	css += '.x-mask-msg .x-mask-loading { border: 0 none; background-color: #000; color: #fff; border-radius: 2px; padding: 12px 14px 12px 30px; opacity: 0.65; } \n';
+	css += '.gis-window-widget-feature { padding: 0; border: 0 none; border-radius: 0; background: transparent; box-shadow: none; } \n';
+	css += '.gis-window-widget-feature .x-window-body-default { border: 0 none; background: transparent; } \n';
+	css += '.gis-window-widget-feature .x-window-body-default .x-panel-body-default { border: 0 none; background: #556; opacity: 0.92; filter: alpha(opacity=92); -ms-filter: "alpha(opacity=92)"; padding: 5px 8px 5px 8px; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; color: #fff; font-weight: bold; letter-spacing: 1px; } \n';
+	css += '.x-menu-body { border-color: #bbb; border-radius: 2px; padding: 0; background-color: #fff !important; } \n';
+	css += '.x-menu-item-active .x-menu-item-link {	border-radius: 0; border-color: #e1e1e1; background-color: #e1e1e1; background-image: none; } \n';
+	css += '.x-menu-item-link { padding: 4px 5px 4px 26px; } \n';
+	css += '.x-menu-item-text { color: #111; } \n';
+	css += '.disabled { opacity: 0.4; cursor: default !important; } \n';
+	css += '.el-opacity-1 { opacity: 1 !important; } \n';
+	css += '.el-border-0, .el-border-0 .x-panel-body { border: 0 none !important; } \n';
+	css += '.el-fontsize-10 { font-size: 10px !important; } \n';
+	css += '.gis-grid-row-icon-disabled * { cursor: default !important; } \n';
+	css += '.gis-toolbar-btn-menu { margin-top: 4px; } \n';
+	css += '.gis-toolbar-btn-menu .x-panel-body-default { border-radius: 2px; border-color: #999; } \n';
+	css += '.gis-grid .link, .gis-grid .link * { cursor: pointer; cursor: hand; color: blue; text-decoration: underline; } \n';
+	css += '.gis-menu-item-icon-drill, .gis-menu-item-icon-float { left: 6px; } \n';
+	css += '.gis-menu-item-first.x-menu-item-active .x-menu-item-link {	border-radius: 0; border-top-left-radius: 2px; border-top-right-radius: 2px; } \n';
+	css += '.gis-menu-item-last.x-menu-item-active .x-menu-item-link { border-radius: 0; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } \n';
+	css += '.gis-menu-item-icon-drill { \n background: url("images/drill_16.png") no-repeat; } \n';
+	css += '.gis-menu-item-icon-float { background: url("images/float_16.png") no-repeat; } \n';
+	css += '.x-color-picker a { padding: 0; } \n';
+	css += '.x-color-picker em span { width: 14px; height: 14px; } \n';
+	
 	Ext.util.CSS.createStyleSheet(css);
 
 	GIS.plugin = {};