source: extensions/piwigo-openstreetmap/leaflet/leaflet.css @ 24677

Last change on this file since 24677 was 24677, checked in by ddtddt, 11 years ago

[extensions] - piwigo-openstreetmap - add file for translate

File size: 10.0 KB
Line 
1/* required styles */
2
3.leaflet-map-pane,
4.leaflet-tile,
5.leaflet-marker-icon,
6.leaflet-marker-shadow,
7.leaflet-tile-pane,
8.leaflet-tile-container,
9.leaflet-overlay-pane,
10.leaflet-shadow-pane,
11.leaflet-marker-pane,
12.leaflet-popup-pane,
13.leaflet-overlay-pane svg,
14.leaflet-zoom-box,
15.leaflet-image-layer,
16.leaflet-layer {
17        position: absolute;
18        left: 0;
19        top: 0;
20        }
21.leaflet-container {
22        overflow: hidden;
23        -ms-touch-action: none;
24        }
25.leaflet-tile,
26.leaflet-marker-icon,
27.leaflet-marker-shadow {
28        -webkit-user-select: none;
29           -moz-user-select: none;
30                user-select: none;
31        -webkit-user-drag: none;
32        }
33.leaflet-marker-icon,
34.leaflet-marker-shadow {
35        display: block;
36        }
37/* map is broken in FF if you have max-width: 100% on tiles */
38.leaflet-container img {
39        max-width: none !important;
40        }
41/* stupid Android 2 doesn't understand "max-width: none" properly */
42.leaflet-container img.leaflet-image-layer {
43        max-width: 15000px !important;
44        }
45.leaflet-tile {
46        filter: inherit;
47        visibility: hidden;
48        }
49.leaflet-tile-loaded {
50        visibility: inherit;
51        }
52.leaflet-zoom-box {
53        width: 0;
54        height: 0;
55        }
56/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
57.leaflet-overlay-pane svg {
58        -moz-user-select: none;
59        }
60
61.leaflet-tile-pane    { z-index: 2; }
62.leaflet-objects-pane { z-index: 3; }
63.leaflet-overlay-pane { z-index: 4; }
64.leaflet-shadow-pane  { z-index: 5; }
65.leaflet-marker-pane  { z-index: 6; }
66.leaflet-popup-pane   { z-index: 7; }
67
68
69/* control positioning */
70
71.leaflet-control {
72        position: relative;
73        z-index: 7;
74        pointer-events: auto;
75        }
76.leaflet-top,
77.leaflet-bottom {
78        position: absolute;
79        z-index: 1000;
80        pointer-events: none;
81        }
82.leaflet-top {
83        top: 0;
84        }
85.leaflet-right {
86        right: 0;
87        }
88.leaflet-bottom {
89        bottom: 0;
90        }
91.leaflet-left {
92        left: 0;
93        }
94.leaflet-control {
95        float: left;
96        clear: both;
97        }
98.leaflet-right .leaflet-control {
99        float: right;
100        }
101.leaflet-top .leaflet-control {
102        margin-top: 10px;
103        }
104.leaflet-bottom .leaflet-control {
105        margin-bottom: 10px;
106        }
107.leaflet-left .leaflet-control {
108        margin-left: 10px;
109        }
110.leaflet-right .leaflet-control {
111        margin-right: 10px;
112        }
113
114
115/* zoom and fade animations */
116
117.leaflet-fade-anim .leaflet-tile,
118.leaflet-fade-anim .leaflet-popup {
119        opacity: 0;
120        -webkit-transition: opacity 0.2s linear;
121           -moz-transition: opacity 0.2s linear;
122             -o-transition: opacity 0.2s linear;
123                transition: opacity 0.2s linear;
124        }
125.leaflet-fade-anim .leaflet-tile-loaded,
126.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
127        opacity: 1;
128        }
129
130.leaflet-zoom-anim .leaflet-zoom-animated {
131        -webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
132           -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
133             -o-transition:      -o-transform 0.25s cubic-bezier(0,0,0.25,1);
134                transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
135        }
136.leaflet-zoom-anim .leaflet-tile,
137.leaflet-pan-anim .leaflet-tile,
138.leaflet-touching .leaflet-zoom-animated {
139        -webkit-transition: none;
140           -moz-transition: none;
141             -o-transition: none;
142                transition: none;
143        }
144
145.leaflet-zoom-anim .leaflet-zoom-hide {
146        visibility: hidden;
147        }
148
149
150/* cursors */
151
152.leaflet-clickable {
153        cursor: pointer;
154        }
155.leaflet-container {
156        cursor: -webkit-grab;
157        cursor:    -moz-grab;
158        }
159.leaflet-popup-pane,
160.leaflet-control {
161        cursor: auto;
162        }
163.leaflet-dragging,
164.leaflet-dragging .leaflet-clickable,
165.leaflet-dragging .leaflet-container {
166        cursor: move;
167        cursor: -webkit-grabbing;
168        cursor:    -moz-grabbing;
169        }
170
171
172/* visual tweaks */
173
174.leaflet-container {
175        background: #ddd;
176        outline: 0;
177        }
178.leaflet-container a {
179        color: #0078A8;
180        }
181.leaflet-container a.leaflet-active {
182        outline: 2px solid orange;
183        }
184.leaflet-zoom-box {
185        border: 2px dotted #05f;
186        background: white;
187        opacity: 0.5;
188        }
189
190
191/* general typography */
192.leaflet-container {
193        font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
194        }
195
196
197/* general toolbar styles */
198
199.leaflet-bar {
200        box-shadow: 0 1px 7px rgba(0,0,0,0.65);
201        -webkit-border-radius: 4px;
202                border-radius: 4px;
203        }
204.leaflet-bar a, .leaflet-bar a:hover {
205        background-color: #fff;
206        border-bottom: 1px solid #ccc;
207        width: 26px;
208        height: 26px;
209        line-height: 26px;
210        display: block;
211        text-align: center;
212        text-decoration: none;
213        color: black;
214        }
215.leaflet-bar a,
216.leaflet-control-layers-toggle {
217        background-position: 50% 50%;
218        background-repeat: no-repeat;
219        display: block;
220        }
221.leaflet-bar a:hover {
222        background-color: #f4f4f4;
223        }
224.leaflet-bar a:first-child {
225        -webkit-border-top-left-radius: 4px;
226                border-top-left-radius: 4px;
227        -webkit-border-top-right-radius: 4px;
228                border-top-right-radius: 4px;
229        }
230.leaflet-bar a:last-child {
231        -webkit-border-bottom-left-radius: 4px;
232                border-bottom-left-radius: 4px;
233        -webkit-border-bottom-right-radius: 4px;
234                border-bottom-right-radius: 4px;
235        border-bottom: none;
236        }
237.leaflet-bar a.leaflet-disabled {
238        cursor: default;
239        background-color: #f4f4f4;
240        color: #bbb;
241        }
242
243.leaflet-touch .leaflet-bar {
244        -webkit-border-radius: 10px;
245                border-radius: 10px;
246        }
247.leaflet-touch .leaflet-bar a {
248        width: 30px;
249        height: 30px;
250        }
251.leaflet-touch .leaflet-bar a:first-child {
252        -webkit-border-top-left-radius: 7px;
253                border-top-left-radius: 7px;
254        -webkit-border-top-right-radius: 7px;
255                border-top-right-radius: 7px;
256        }
257.leaflet-touch .leaflet-bar a:last-child {
258        -webkit-border-bottom-left-radius: 7px;
259                border-bottom-left-radius: 7px;
260        -webkit-border-bottom-right-radius: 7px;
261                border-bottom-right-radius: 7px;
262        border-bottom: none;
263        }
264
265
266/* zoom control */
267
268.leaflet-control-zoom-in {
269        font: bold 18px 'Lucida Console', Monaco, monospace;
270        }
271.leaflet-control-zoom-out {
272        font: bold 22px 'Lucida Console', Monaco, monospace;
273        }
274
275.leaflet-touch .leaflet-control-zoom-in {
276        font-size: 22px;
277        line-height: 30px;
278        }
279.leaflet-touch .leaflet-control-zoom-out {
280        font-size: 28px;
281        line-height: 30px;
282        }
283
284
285/* layers control */
286
287.leaflet-control-layers {
288        box-shadow: 0 1px 7px rgba(0,0,0,0.4);
289        background: #f8f8f9;
290        -webkit-border-radius: 5px;
291                border-radius: 5px;
292        }
293.leaflet-control-layers-toggle {
294        background-image: url(images/layers.png);
295        width: 36px;
296        height: 36px;
297        }
298.leaflet-retina .leaflet-control-layers-toggle {
299        background-image: url(images/layers-2x.png);
300        background-size: 26px 26px;
301        }
302.leaflet-touch .leaflet-control-layers-toggle {
303        width: 44px;
304        height: 44px;
305        }
306.leaflet-control-layers .leaflet-control-layers-list,
307.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
308        display: none;
309        }
310.leaflet-control-layers-expanded .leaflet-control-layers-list {
311        display: block;
312        position: relative;
313        }
314.leaflet-control-layers-expanded {
315        padding: 6px 10px 6px 6px;
316        color: #333;
317        background: #fff;
318        }
319.leaflet-control-layers-selector {
320        margin-top: 2px;
321        position: relative;
322        top: 1px;
323        }
324.leaflet-control-layers label {
325        display: block;
326        }
327.leaflet-control-layers-separator {
328        height: 0;
329        border-top: 1px solid #ddd;
330        margin: 5px -10px 5px -6px;
331        }
332
333
334/* attribution and scale controls */
335
336.leaflet-container .leaflet-control-attribution {
337        background-color: rgba(255, 255, 255, 0.7);
338        box-shadow: 0 0 5px #bbb;
339        margin: 0;
340        }
341.leaflet-control-attribution,
342.leaflet-control-scale-line {
343        padding: 0 5px;
344        color: #333;
345        }
346.leaflet-container .leaflet-control-attribution,
347.leaflet-container .leaflet-control-scale {
348        font-size: 11px;
349        }
350.leaflet-left .leaflet-control-scale {
351        margin-left: 5px;
352        }
353.leaflet-bottom .leaflet-control-scale {
354        margin-bottom: 5px;
355        }
356.leaflet-control-scale-line {
357        border: 2px solid #777;
358        border-top: none;
359        color: black;
360        line-height: 1.1;
361        padding: 2px 5px 1px;
362        font-size: 11px;
363        text-shadow: 1px 1px 1px #fff;
364        background-color: rgba(255, 255, 255, 0.5);
365        box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
366        white-space: nowrap;
367        overflow: hidden;
368        }
369.leaflet-control-scale-line:not(:first-child) {
370        border-top: 2px solid #777;
371        border-bottom: none;
372        margin-top: -2px;
373        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
374        }
375.leaflet-control-scale-line:not(:first-child):not(:last-child) {
376        border-bottom: 2px solid #777;
377        }
378
379.leaflet-touch .leaflet-control-attribution,
380.leaflet-touch .leaflet-control-layers,
381.leaflet-touch .leaflet-control-zoom {
382        box-shadow: none;
383        }
384.leaflet-touch .leaflet-control-layers,
385.leaflet-touch .leaflet-control-zoom {
386        border: 4px solid rgba(0,0,0,0.3);
387        }
388
389
390/* popup */
391
392.leaflet-popup {
393        position: absolute;
394        text-align: center;
395        }
396.leaflet-popup-content-wrapper {
397        padding: 1px;
398        text-align: left;
399        -webkit-border-radius: 12px;
400                border-radius: 12px;
401        }
402.leaflet-popup-content {
403        margin: 13px 19px;
404        line-height: 1.4;
405        }
406.leaflet-popup-content p {
407        margin: 18px 0;
408        }
409.leaflet-popup-tip-container {
410        margin: 0 auto;
411        width: 40px;
412        height: 20px;
413        position: relative;
414        overflow: hidden;
415        }
416.leaflet-popup-tip {
417        width: 17px;
418        height: 17px;
419        padding: 1px;
420
421        margin: -10px auto 0;
422
423        -webkit-transform: rotate(45deg);
424           -moz-transform: rotate(45deg);
425            -ms-transform: rotate(45deg);
426             -o-transform: rotate(45deg);
427                transform: rotate(45deg);
428        }
429.leaflet-popup-content-wrapper, .leaflet-popup-tip {
430        background: white;
431
432        box-shadow: 0 3px 14px rgba(0,0,0,0.4);
433        }
434.leaflet-container a.leaflet-popup-close-button {
435        position: absolute;
436        top: 0;
437        right: 0;
438        padding: 4px 4px 0 0;
439        text-align: center;
440        width: 18px;
441        height: 14px;
442        font: 16px/14px Tahoma, Verdana, sans-serif;
443        color: #c3c3c3;
444        text-decoration: none;
445        font-weight: bold;
446        background: transparent;
447        }
448.leaflet-container a.leaflet-popup-close-button:hover {
449        color: #999;
450        }
451.leaflet-popup-scrolled {
452        overflow: auto;
453        border-bottom: 1px solid #ddd;
454        border-top: 1px solid #ddd;
455        }
456
457
458/* div icon */
459
460.leaflet-div-icon {
461        background: #fff;
462        border: 1px solid #666;
463        }
464.leaflet-editing-icon {
465        -webkit-border-radius: 2px;
466                border-radius: 2px;
467        }
Note: See TracBrowser for help on using the repository browser.