[OpenLayers-Commits] r11299 -
sandbox/igorti/openlayers/theme/default
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed Feb 23 06:12:44 EST 2011
Author: igorti
Date: 2011-02-23 03:12:44 -0800 (Wed, 23 Feb 2011)
New Revision: 11299
Modified:
sandbox/igorti/openlayers/theme/default/style.css
Log:
Applied mobilelayerswitcher patch
Modified: sandbox/igorti/openlayers/theme/default/style.css
===================================================================
--- sandbox/igorti/openlayers/theme/default/style.css 2011-02-23 11:06:32 UTC (rev 11298)
+++ sandbox/igorti/openlayers/theme/default/style.css 2011-02-23 11:12:44 UTC (rev 11299)
@@ -413,3 +413,58 @@
.olBingAttribution.road {
color: #333;
}
+
+/**
+ * MobileLayer switcher
+ */
+.olControlMobileLayerSwitcher {
+ width: 90%;
+ height:90%;
+ border:2px solid #CED6D9;
+ background-color: #FFFFFF;
+ display:none;
+ padding-top:25px;
+ overflow-y:auto;
+ position:absolute;
+ margin-left:-50%;
+ left:55%;
+ top:1%;
+}
+
+.olControlMobileLayerSwitcher span{
+ padding-left:15px;
+ font-size:1.2em;
+ font-weight:bold;
+}
+
+.olControlMobileLayerSwitcher a.btnClose {
+ background-image: url("img/close.gif");
+ display: block;
+ height: 17px;
+ width: 17px;
+ position: absolute;
+ right: 5px;
+ text-indent: -9999px;
+ top: 5px;
+ z-index:2001;
+}
+
+.olControlMobileLayerSwitcher ul {
+ padding-left:0px;
+ list-style-type:none;
+ margin:2px;
+}
+
+.olControlMobileLayerSwitcher ul li{
+ padding:5px 20px;
+ border-bottom:1px solid #efefef;
+}
+
+.olControlMobileLayerSwitcherTrigger{
+ position:absolute;
+ top:5px;
+ right:5px;
+ padding:5px;
+ background-color:#000000;
+ color:#FFFFFF;
+}
More information about the Commits
mailing list