source: sipes/libraries/openlayers/examples/mobile-wmts-vienna.css @ 92f109b

stableversion-3.0
Last change on this file since 92f109b was 307d09d, checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago

se agregaron las librerias

  • Propiedad mode establecida a 100644
File size: 5.1 KB
Línea 
1html, body, #map {
2    margin: 0;
3    height: 100%;
4    width: 100%;
5}
6#map {
7    cursor: move;
8    background-color: #CCCCCC;
9    /* no highlighting of the map area when tapping the map on touch devices */
10    -webkit-tap-highlight-color: transparent;
11}
12#title, #tags, #shortdesc {
13    display: none;
14}
15div.olMapViewport {
16    -ms-touch-action: none;
17}
18
19/* Turn on GPU support where available */
20.olTileImage {
21    -webkit-transform: translateZ(0);
22    -moz-transform: translateZ(0);
23    -o-transform: translateZ(0);
24    -ms-transform: translateZ(0);
25    transform: translateZ(0);
26    -webkit-backface-visibility: hidden;
27    -moz-backface-visibility: hidden;
28    -ms-backface-visibility: hidden;
29    backface-visibility: hidden;
30    -webkit-perspective: 1000;
31    -moz-perspective: 1000;
32    -ms-perspective: 1000;
33    perspective: 1000;
34}
35
36/* Tile fade animation */
37.olLayerGrid .olTileImage {
38    -webkit-transition: opacity 0.2s linear;
39    -moz-transition: opacity 0.2s linear;
40    -o-transition: opacity 0.2s linear;
41    transition: opacity 0.2s linear;
42}
43
44/* Zoom Box */
45.olHandlerBoxZoomBox {
46    border: 2px solid red;
47    position: absolute;
48    background-color: white;
49    opacity: 0.50;
50    font-size: 1px;
51    filter: alpha(opacity=50);
52}
53.olDrawBox {
54    cursor: crosshair;
55}
56
57div.olControlAttribution {
58    position: absolute;
59    font-size: 10px;
60    text-align: right;
61    color: #BFEFFF;
62    bottom: 0;
63    right: 0;
64    background: rgba(0,0,100,0.2);
65    font-family: Arial, Helvetica, sans-serif;
66    font-weight: bold;
67    padding: 2px 4px;
68    border-radius: 5px 0 0 0;
69}
70.olControlAttribution a {
71    font-weight: bold;
72    color: #BFEFFF;
73    text-decoration: none;
74}
75div.olControlZoomPanel {
76    height: 108px;
77    width: 36px;
78    position: absolute;
79    top: 20px;
80    left: inherit;
81    right: 20px;
82}
83div.olControlZoomPanel div {
84    cursor: pointer;
85    width: 36px;
86    height: 36px;
87    left: 0;
88    background-color: #ccc;
89    background-image: none;
90}
91div.olControlZoomPanel .olControlZoomInItemInactive,
92div.olControlZoomPanel .olControlZoomOutItemInactive {
93    top: 0;
94    background: rgba(0,0,100,0.4);
95    position: absolute;
96}
97div.olControlZoomPanel .olControlZoomInItemInactive {
98    border-radius: 5px 5px 0 0;
99}
100div.olControlZoomPanel .olControlZoomOutItemInactive {
101    border-radius: 0 0 5px 5px;
102    top: 37px;
103}
104div.olControlZoomPanel .olControlZoomOutItemInactive:after,
105div.olControlZoomPanel .olControlZoomInItemInactive:after {
106    font-weight: bold;
107    content: '+';
108    font-size: 36px;
109    padding:  7px;
110    z-index: 2000;
111    color: #BFEFFF;
112    line-height: 1em;
113}
114div.olControlZoomPanel .olControlZoomOutItemInactive:after {
115    content: '–';
116    line-height: 0.9em;
117    padding: 0 8px;
118}
119div.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
120    display: none;
121}
122div.olControlZoomPanel div.olControlGeolocateItemInactive,
123div.olControlZoomPanel div.olControlGeolocateItemActive {
124    position: absolute;
125    right: 20px;
126    top: 98px;
127    border-radius: 5px 5px 5px 5px;
128    background: #ccc url(img/locate.png) center no-repeat;
129    background-color: rgba(0,0,100,0.4);
130}
131div.olControlZoomPanel div.olControlGeolocateItemActive {
132    background-color: rgba(0,0,100,0.2);
133}
134div.olControlGeolocateItemInactive:after {
135    font-weight: bold;
136    font-size: 36px;
137    padding:  7px;
138    z-index: 2000;
139    color: #BFEFFF;
140    line-height: 1em;
141    background: none;
142}
143.layerPanel {
144    position: absolute;
145    top: 20px;
146    right: 82px;
147}
148div.layerPanel div {
149    display: inline;
150    margin-left: 5px;
151    cursor: pointer;
152}
153div.layerPanel div:after {
154    font-weight: bold;
155    font-size: 18px;
156    font-family: arial;
157    padding: 8px;
158    color: #BFEFFF;
159    line-height: 36px;
160    border-radius: 5px 5px 5px 5px;
161    background-color: #ccc;
162    background: rgba(0,0,100,0.4);
163}
164div.layerPanel div.labelButtonItemInactive:after,
165div.layerPanel div.labelButtonItemActive:after {
166    content: 'Labels';
167}
168:lang(de) div.layerPanel div.labelButtonItemInactive:after,
169:lang(de) div.layerPanel div.labelButtonItemActive:after {
170    content: 'Text';
171}
172div.layerPanel div.labelButtonItemActive:after {
173    text-decoration: underline;
174    background: rgba(0,0,100,0.2);
175}
176div.layerPanel div.aerialButtonItemInactive:after,
177div.layerPanel div.aerialButtonItemActive:after {
178    content: 'Aerial';
179    border-radius: 5px 0 0 5px;
180}
181:lang(de) div.layerPanel div.aerialButtonItemInactive:after,
182:lang(de) div.layerPanel div.aerialButtonItemActive:after {
183    content: 'Luftbild';
184}
185div.layerPanel div.aerialButtonItemActive:after {
186    text-decoration: underline;
187    background: rgba(0,0,100,0.2);
188}
189div.layerPanel div.mapButtonItemInactive:after,
190div.layerPanel div.mapButtonItemActive:after {
191    content: 'Map';
192    border-radius: 0 5px 5px 0;
193}
194:lang(de) div.layerPanel div.mapButtonItemInactive:after,
195:lang(de) div.layerPanel div.mapButtonItemActive:after {
196    content: 'Karte';
197}
198div.layerPanel div.mapButtonItemActive:after {
199    text-decoration: underline;
200    background: rgba(0,0,100,0.2);
201}
202div.layerPanel div.mapButtonItemInactive,
203div.layerPanel div.mapButtonItemActive {
204    margin-left: 1px;
205}
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.