remove unit if the value is 0. non functional change

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11743 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2011-03-29 09:50:33 +00:00
parent 46fc3182e4
commit 222162fa98
+29 -29
View File
@@ -1,7 +1,7 @@
div.olMap { div.olMap {
z-index: 0; z-index: 0;
padding: 0px!important; padding: 0 !important;
margin: 0px!important; margin: 0 !important;
cursor: default; cursor: default;
} }
@@ -80,8 +80,8 @@ div.olControlMousePosition {
.olControlOverviewMapContainer { .olControlOverviewMapContainer {
position: absolute; position: absolute;
bottom: 0px; bottom: 0;
right: 0px; right: 0;
} }
.olControlOverviewMapElement { .olControlOverviewMapElement {
@@ -91,13 +91,13 @@ div.olControlMousePosition {
} }
.olControlOverviewMapMinimizeButton { .olControlOverviewMapMinimizeButton {
right: 0px; right: 0;
bottom: 80px; bottom: 80px;
cursor: pointer; cursor: pointer;
} }
.olControlOverviewMapMaximizeButton { .olControlOverviewMapMaximizeButton {
right: 0px; right: 0;
bottom: 80px; bottom: 80px;
cursor: pointer; cursor: pointer;
} }
@@ -146,13 +146,13 @@ div.olControlMousePosition {
} }
.olControlNavigationHistoryPreviousItemActive { .olControlNavigationHistoryPreviousItemActive {
background-position: 0px 0px; background-position: 0 0;
} }
.olControlNavigationHistoryPreviousItemInactive { .olControlNavigationHistoryPreviousItemInactive {
background-position: 0px -24px; background-position: 0 -24px;
} }
.olControlNavigationHistoryNextItemActive { .olControlNavigationHistoryNextItemActive {
background-position: -24px 0px; background-position: -24px 0;
} }
.olControlNavigationHistoryNextItemInactive { .olControlNavigationHistoryNextItemInactive {
background-position: -24px -24px; background-position: -24px -24px;
@@ -161,12 +161,12 @@ div.olControlMousePosition {
div.olControlSaveFeaturesItemActive { div.olControlSaveFeaturesItemActive {
background-image: url(img/save_features_on.png); background-image: url(img/save_features_on.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0px 1px; background-position: 0 1px;
} }
div.olControlSaveFeaturesItemInactive { div.olControlSaveFeaturesItemInactive {
background-image: url(img/save_features_off.png); background-image: url(img/save_features_off.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 0px 1px; background-position: 0 1px;
} }
.olHandlerBoxZoomBox { .olHandlerBoxZoomBox {
@@ -200,20 +200,20 @@ div.olControlSaveFeaturesItemInactive {
} }
.olControlPanPanel .olControlPanNorthItemInactive { .olControlPanPanel .olControlPanNorthItemInactive {
top: 0px; top: 0;
left: 9px; left: 9px;
background-position: 0px 0px; background-position: 0 0;
} }
.olControlPanPanel .olControlPanSouthItemInactive { .olControlPanPanel .olControlPanSouthItemInactive {
top: 36px; top: 36px;
left: 9px; left: 9px;
background-position: 18px 0px; background-position: 18px 0;
} }
.olControlPanPanel .olControlPanWestItemInactive { .olControlPanPanel .olControlPanWestItemInactive {
position: absolute; position: absolute;
top: 18px; top: 18px;
left: 0px; left: 0;
background-position: 0px 18px; background-position: 0 18px;
} }
.olControlPanPanel .olControlPanEastItemInactive { .olControlPanPanel .olControlPanEastItemInactive {
top: 18px; top: 18px;
@@ -235,21 +235,21 @@ div.olControlSaveFeaturesItemInactive {
} }
.olControlZoomPanel .olControlZoomInItemInactive { .olControlZoomPanel .olControlZoomInItemInactive {
top: 0px; top: 0;
left: 0px; left: 0;
background-position: 0px 0px; background-position: 0 0;
} }
.olControlZoomPanel .olControlZoomToMaxExtentItemInactive { .olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
top: 18px; top: 18px;
left: 0px; left: 0;
background-position: 0px -18px; background-position: 0 -18px;
} }
.olControlZoomPanel .olControlZoomOutItemInactive { .olControlZoomPanel .olControlZoomOutItemInactive {
top: 36px; top: 36px;
left: 0px; left: 0;
background-position: 0px 18px; background-position: 0 18px;
} }
/* /*
@@ -307,7 +307,7 @@ div.olControlSaveFeaturesItemInactive {
.olControlLayerSwitcher { .olControlLayerSwitcher {
position: absolute; position: absolute;
top: 25px; top: 25px;
right: 0px; right: 0;
width: 20em; width: 20em;
font-family: sans-serif; font-family: sans-serif;
font-weight: bold; font-weight: bold;
@@ -344,7 +344,7 @@ div.olControlSaveFeaturesItemInactive {
.olControlLayerSwitcher .maximizeDiv, .olControlLayerSwitcher .maximizeDiv,
.olControlLayerSwitcher .minimizeDiv { .olControlLayerSwitcher .minimizeDiv {
top: 5px; top: 5px;
right: 0px; right: 0;
cursor: pointer; cursor: pointer;
} }
@@ -361,21 +361,21 @@ div.olControlSaveFeaturesItemInactive {
*/ */
.olControlNavToolbar , .olControlNavToolbar ,
.olControlEditingToolbar { .olControlEditingToolbar {
margin: 5px 5px 0px 0px; margin: 5px 5px 0 0;
} }
.olControlNavToolbar div, .olControlNavToolbar div,
.olControlEditingToolbar div { .olControlEditingToolbar div {
background-image: url("img/editing_tool_bar.png"); background-image: url("img/editing_tool_bar.png");
background-repeat: no-repeat; background-repeat: no-repeat;
margin: 0px 0px 5px 5px; margin: 0 0 5px 5px;
width: 24px; width: 24px;
height: 22px; height: 22px;
cursor: pointer cursor: pointer
} }
/* positions */ /* positions */
.olControlEditingToolbar { .olControlEditingToolbar {
right: 0px; right: 0;
top: 0px; top: 0;
width: 200px; /* Only for IE6 or IE without DOCTYPE */ width: 200px; /* Only for IE6 or IE without DOCTYPE */
} }
.olControlNavToolbar { .olControlNavToolbar {