1 /* http://meyerweb.com/eric/tools/css/reset/
3 License: none (public domain)
6 html, body, div, span, applet, object, iframe,
7 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8 a, abbr, acronym, address, big, cite, code,
9 del, dfn, em, img, ins, kbd, q, s, samp,
10 small, strike, strong, sub, sup, tt, var,
12 dl, dt, dd, ol, ul, li,
13 fieldset, form, label, legend,
14 table, caption, tbody, tfoot, thead, tr, th, td,
15 article, aside, canvas, details, embed,
16 figure, figcaption, footer, header, hgroup,
17 menu, nav, output, ruby, section, summary,
18 time, mark, audio, video {
24 vertical-align: baseline;
26 /* HTML5 display-role reset for older browsers */
27 article, aside, details, figcaption, figure,
28 footer, header, hgroup, menu, nav, section {
40 blockquote:before, blockquote:after,
46 border-collapse: collapse;
49 a { text-decoration: none;}
51 * 1. Corrects font family not being inherited in all browsers.
52 * 2. Corrects font size not being inherited in all browsers.
53 * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
60 font-family: inherit; /* 1 */
61 font-size: 100%; /* 2 */
67 * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
76 /* Hide default number spinner controls */
77 input[type="number"]::-webkit-inner-spin-button,
78 input[type="number"]::-webkit-outer-spin-button {
83 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
84 * and `video` controls.
85 * 2. Corrects inability to style clickable `input` types in iOS.
86 * 3. Improves usability and consistency of cursor style between image-type
91 html input[type="button"], /* 1 */
93 input[type="submit"] {
94 -webkit-appearance: button; /* 2 */
95 cursor: pointer; /* 3 */
99 * Re-set default cursor for disabled elements.
108 * 1. Addresses box sizing set to `content-box` in IE 8/9.
109 * 2. Removes excess padding in IE 8/9.
112 input[type="checkbox"],
113 input[type="radio"] {
114 box-sizing: border-box; /* 1 */
119 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
120 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
121 * (include `-moz` to future-proof).
124 input[type="search"] {
125 -webkit-appearance: textfield; /* 1 */
126 -moz-box-sizing: border-box;
127 -webkit-box-sizing: border-box; /* 2 */
128 box-sizing: border-box;
132 * Removes inner padding and search cancel button in Safari 5 and Chrome
136 input[type="search"]::-webkit-search-cancel-button,
137 input[type="search"]::-webkit-search-decoration {
138 -webkit-appearance: none;
142 * Removes inner padding and border in Firefox 4+.
145 button::-moz-focus-inner,
146 input::-moz-focus-inner {
152 ** Markup free clearing
153 ** Details: http://www.positioniseverything.net/easyclearing.html
157 content: " "; /* 1 */
158 display: table; /* 2 */
165 use { pointer-events: none; }
168 .layer-osm path:not(.oneway) { fill: none; } /* IE needs :not(.oneway) */
170 /* the above fill: none rule affects paths in <use> shadow dom only in Firefox */
171 .layer-osm use.icon path { fill: #333; } /* FF svg Maki icons */
172 .layer-osm .turn use path { fill: #000; } /* FF turn restriction icons */
173 #turn-only-shape2, #turn-only-u-shape2 { fill: #7092FF; } /* FF turn-only, turn-only-u */
174 #turn-no-shape2, #turn-no-u-shape2 { fill: #E06D5F; } /* FF turn-no, turn-no-u */
175 #turn-yes-shape2, #turn-yes-u-shape2 { fill: #8CD05F; } /* FF turn-yes, turn-yes-u */
184 pointer-events: stroke;
203 g.point.related:not(.selected) .shadow,
204 g.point.hover:not(.selected) .shadow {
208 g.point.selected .shadow {
212 g.point.active, g.point.active * {
213 pointer-events: none;
216 /* vertices and midpoints */
228 g.vertex.shared .stroke {
239 g.midpoint.tag-highway-corridor .fill,
240 g.midpoint.tag-highway-pedestrian .fill,
241 g.midpoint.tag-highway-steps .fill,
242 g.midpoint.tag-highway-path .fill,
243 g.midpoint.tag-highway-footway .fill,
244 g.midpoint.tag-highway-cycleway .fill,
245 g.midpoint.tag-highway-bridleway .fill {
258 g.vertex.vertex-hover {
262 .mode-draw-area g.vertex.vertex-hover,
263 .mode-draw-line g.vertex.vertex-hover,
264 .mode-add-area g.vertex.vertex-hover,
265 .mode-add-line g.vertex.vertex-hover,
266 .mode-add-point g.vertex.vertex-hover,
267 .mode-drag-node g.vertex.vertex-hover {
271 g.vertex.related:not(.selected) .shadow,
272 g.vertex.hover:not(.selected) .shadow,
273 g.midpoint.related:not(.selected) .shadow,
274 g.midpoint.hover:not(.selected) .shadow {
278 g.vertex.selected .shadow {
282 .mode-draw-area g.midpoint,
283 .mode-draw-line g.midpoint,
284 .mode-add-area g.midpoint,
285 .mode-add-line g.midpoint,
286 .mode-add-point g.midpoint {
292 .preset-icon .icon.other-line {
298 stroke-linecap: round;
299 stroke-linejoin: bevel;
313 path.shadow.related:not(.selected),
314 path.shadow.hover:not(.selected) {
318 path.shadow.selected {
333 stroke: rgba(255, 255, 255, 0.3);
334 fill: rgba(255, 255, 255, 0.3);
337 .preset-icon-fill-area {
338 border: 1px solid rgb(170, 170, 170);
339 background-color: rgba(170, 170, 170, 0.3);
342 path.stroke.tag-natural {
343 stroke: rgb(182, 225, 153);
345 path.fill.tag-natural {
346 stroke: rgba(182, 225, 153, 0.3);
347 fill: rgba(182, 225, 153, 0.3);
349 .preset-icon-fill-area.tag-natural {
350 border-color: rgb(182, 225, 153);
351 background-color: rgba(182, 225, 153, 0.3);
354 path.stroke.tag-landuse,
355 path.stroke.tag-natural-wood,
356 path.stroke.tag-natural-tree,
357 path.stroke.tag-natural-grassland,
358 path.stroke.tag-natural-grass,
359 path.stroke.tag-leisure-nature_reserve,
360 path.stroke.tag-leisure-pitch,
361 path.stroke.tag-leisure-park {
362 stroke: rgb(140, 208, 95);
364 path.fill.tag-landuse,
365 path.fill.tag-natural-wood,
366 path.fill.tag-natural-tree,
367 path.fill.tag-natural-grassland,
368 path.fill.tag-natural-grass,
369 path.fill.tag-leisure-nature_reserve,
370 path.fill.tag-leisure-pitch,
371 path.fill.tag-leisure-park {
372 stroke: rgba(140, 208, 95, 0.3);
373 fill: rgba(140, 208, 95, 0.3);
375 .preset-icon-fill-area.tag-landuse,
376 .preset-icon-fill-area.tag-natural-wood,
377 .preset-icon-fill-area.tag-natural-tree,
378 .preset-icon-fill-area.tag-natural-grassland,
379 .preset-icon-fill-area.tag-natural-grass,
380 .preset-icon-fill-area.tag-leisure-nature_reserve,
381 .preset-icon-fill-area.tag-leisure-pitch,
382 .preset-icon-fill-area.tag-leisure-park {
383 border-color: rgb(140, 208, 95);
384 background-color: rgba(140, 208, 95, 0.3);
387 path.stroke.tag-amenity-swimming_pool,
388 path.stroke.tag-leisure-swimming_pool,
389 path.stroke.tag-natural-water,
390 path.stroke.tag-landuse-basin,
391 path.stroke.tag-landuse-reservoir {
392 stroke: rgb(119, 211, 222);
394 path.fill.tag-amenity-swimming_pool,
395 path.fill.tag-leisure-swimming_pool,
396 path.fill.tag-landuse-basin,
397 path.fill.tag-landuse-reservoir,
398 path.fill.tag-natural-water {
399 stroke: rgba(119, 211, 222, 0.3);
400 fill: rgba(119, 211, 222, 0.3);
402 .preset-icon-fill-area.tag-amenity-swimming_pool,
403 .preset-icon-fill-area.tag-leisure-swimming_pool,
404 .preset-icon-fill-area.tag-landuse-basin,
405 .preset-icon-fill-area.tag-landuse-reservoir,
406 .preset-icon-fill-area.tag-natural-water {
407 border-color: rgb(119, 211, 222);
408 background-color: rgba(119, 211, 222, 0.3);
411 path.stroke.tag-amenity-childcare,
412 path.stroke.tag-amenity-kindergarten,
413 path.stroke.tag-amenity-school,
414 path.stroke.tag-amenity-college,
415 path.stroke.tag-amenity-university {
416 stroke: rgb(255, 255, 148);
418 path.fill.tag-amenity-childcare,
419 path.fill.tag-amenity-kindergarten,
420 path.fill.tag-amenity-school,
421 path.fill.tag-amenity-college,
422 path.fill.tag-amenity-university {
423 stroke: rgba(255, 255, 148, 0.15);
424 fill: rgba(255, 255, 148, 0.15);
426 .preset-icon-fill-area.tag-amenity-childcare,
427 .preset-icon-fill-area.tag-amenity-kindergarten,
428 .preset-icon-fill-area.tag-amenity-school,
429 .preset-icon-fill-area.tag-amenity-college,
430 .preset-icon-fill-area.tag-amenity-university {
431 border-color: rgb(255, 255, 148);
432 background-color: rgba(255, 255, 148, 0.15);
435 path.stroke.tag-landuse-residential {
436 stroke: rgb(196, 189, 25);
438 path.fill.tag-landuse-residential {
439 stroke: rgba(196, 189, 25, 0.3);
440 fill: rgba(196, 189, 25, 0.3);
442 .preset-icon-fill-area.tag-landuse-residential {
443 border-color: rgb(196, 189, 25);
444 background: rgba(196, 189, 25, 0.3);
447 path.stroke.tag-landuse-retail,
448 path.stroke.tag-landuse-commercial {
449 stroke: rgb(214, 136, 26);
451 path.fill.tag-landuse-retail,
452 path.fill.tag-landuse-commercial {
453 stroke: rgba(214, 136, 26, 0.3);
454 fill: rgba(214, 136, 26, 0.3);
456 .preset-icon-fill-area.tag-landuse-retail,
457 .preset-icon-fill-area.tag-landuse-commercial {
458 border-color: rgb(214, 136, 26);
459 background-color: rgba(214, 136, 26, 0.3);
462 path.stroke.tag-landuse-industrial {
463 stroke: rgb(228, 164, 245);
465 path.fill.tag-landuse-industrial {
466 stroke: rgba(228, 164, 245, 0.3);
467 fill: rgba(228, 164, 245, 0.3);
469 .preset-icon-fill-area.tag-landuse-industrial {
470 border-color: rgb(228, 164, 245);
471 background-color: rgba(228, 164, 245, 0.3);
474 path.stroke.tag-landuse-quarry {
475 stroke: rgb(166, 149, 123);
477 path.fill.tag-landuse-quarry {
478 stroke: rgba(166, 149, 123, 0.2);
479 fill: rgba(166, 149, 123, 0.2);
481 .preset-icon-fill-area.tag-landuse-quarry {
482 border-color: rgb(166, 149, 123);
483 background-color: rgba(166, 149, 123, 0.2);
486 path.stroke.tag-landuse-landfill {
487 stroke: rgb(255, 153, 51);
489 path.fill.tag-landuse-landfill {
490 stroke: rgba(255, 153, 51, 0.2);
491 fill: rgba(255, 153, 51, 0.2);
493 .preset-icon-fill-area.tag-landuse-landfill {
494 border-color: rgb(255, 153, 51);
495 background-color: rgba(255, 153, 51, 0.2);
498 .pattern-color-construction {
499 fill: rgba(196, 189, 25, 0.2);
501 path.stroke.tag-landuse.tag-status {
502 stroke: rgb(196, 189, 25);
504 .preset-icon-fill-area.tag-landuse.tag-status {
505 border-color: rgb(196, 189, 25);
506 background-color: rgba(196, 189, 25, 0.2);
509 path.stroke.tag-landuse-military {
510 stroke: rgb(214, 136, 26);
512 path.fill.tag-landuse-military {
513 stroke: rgba(214, 136, 26, 0.2);
514 fill: rgba(214, 136, 26, 0.2);
516 .preset-icon-fill-area.tag-landuse-military {
517 border-color: rgb(214, 136, 26);
518 background-color: rgba(214, 136, 26, 0.2);
521 .pattern-color-wetland {
522 fill: rgba(182, 225, 153, 0.2);
524 path.stroke.tag-natural-wetland {
525 stroke: rgb(182, 225, 153);
527 .preset-icon-fill-area.tag-natural-wetland {
528 border-color: rgb(182, 225, 153);
529 background-color: rgba(182, 225, 153, 0.2);
532 .pattern-color-meadow {
533 fill: rgba(182, 225, 153, 0.2);
535 path.stroke.tag-landuse-meadow {
536 stroke: rgb(182, 225, 153);
538 .preset-icon-fill-area.tag-landuse-meadow {
539 border-color: rgb(182, 225, 153);
540 background-color: rgba(182, 225, 153, 0.2);
543 .pattern-color-beach {
544 fill: rgba(255, 255, 126, 0.2);
546 path.stroke.tag-natural-beach {
547 stroke: rgb(255, 255, 126);
549 .preset-icon-fill-area.tag-natural-beach {
550 border-color: rgb(255, 255, 126);
551 background-color: rgba(255, 255, 126, 0.2);
554 .pattern-color-scrub {
555 fill: rgba(219, 240, 139, 0.2);
557 path.stroke.tag-natural-scrub {
558 stroke: rgb(219, 240, 139);
560 .preset-icon-fill-area.tag-natural-scrub {
561 border-color: rgb(219, 240, 139);
562 background-color: rgba(219, 240, 139, 0.2);
566 .pattern-color-farmland {
567 fill: rgba(140, 208, 95, 0.2);
569 path.stroke.tag-landuse-farm,
570 path.stroke.tag-landuse-farmland {
571 stroke: rgb(140, 208, 95);
573 .preset-icon-fill-area.tag-landuse-farm,
574 .preset-icon-fill-area.tag-landuse-farmland {
575 background-color: rgba(140, 208, 95, 0.2);
578 path.stroke.tag-landuse-farmyard {
579 stroke: rgb(245, 220, 186);
581 path.fill.tag-landuse-farmyard {
582 stroke: rgba(245, 220, 186, 0.3);
583 fill: rgba(245, 220, 186, 0.3);
585 .preset-icon-fill-area.tag-landuse-farmyard {
586 border-color: rgb(245, 220, 186);
587 background: rgba(245, 220, 186, 0.3);
590 .pattern-color-cemetery,
591 .pattern-color-orchard {
592 fill: rgba(140, 208, 95, 0.2);
594 path.stroke.tag-landuse-cemetery,
595 path.stroke.tag-landuse-orchard {
596 stroke: rgb(140, 208, 95);
598 .preset-icon-fill-area.tag-landuse-cemetery,
599 .preset-icon-fill-area.tag-landuse-orchard {
600 background-color: rgba(140, 208, 95, 0.2);
603 path.stroke.tag-amenity-parking {
604 stroke: rgb(170, 170, 170);
606 path.fill.tag-amenity-parking {
607 stroke: rgba(170, 170, 170, 0.3);
608 fill: rgba(170, 170, 170, 0.3);
610 .preset-icon-fill-area.tag-amenity-parking {
611 border-color: rgb(170, 170, 170);
612 background-color: rgba(170, 170, 170, 0.3);
618 path.stroke.area.tag-highway {
620 stroke-dasharray: none;
626 .preset-icon .icon.tag-highway.other-line {
631 path.shadow.tag-highway {
634 path.casing.tag-highway {
638 path.stroke.tag-highway {
643 .low-zoom path.shadow.tag-highway {
646 .low-zoom path.casing.tag-highway {
649 .low-zoom path.stroke.tag-highway {
653 .preset-icon .icon.highway-motorway,
654 .preset-icon .icon.highway-motorway-link {
658 path.stroke.tag-highway-motorway,
659 path.stroke.tag-highway-motorway_link,
660 path.stroke.tag-motorway {
663 path.casing.tag-highway-motorway,
664 path.casing.tag-highway-motorway_link,
665 path.casing.tag-motorway {
669 .preset-icon .icon.highway-trunk,
670 .preset-icon .icon.highway-trunk-link {
674 path.stroke.tag-highway-trunk,
675 path.stroke.tag-highway-trunk_link,
676 path.stroke.tag-trunk {
679 path.casing.tag-highway-trunk,
680 path.casing.tag-highway-trunk_link,
681 path.casing.tag-trunk {
685 .preset-icon .icon.highway-primary,
686 .preset-icon .icon.highway-primary-link {
690 path.stroke.tag-highway-primary,
691 path.stroke.tag-highway-primary_link,
692 path.stroke.tag-primary {
695 path.casing.tag-highway-primary,
696 path.casing.tag-highway-primary_link,
697 path.casing.tag-primary {
701 .preset-icon .icon.highway-secondary,
702 .preset-icon .icon.highway-secondary-link {
706 path.stroke.tag-highway-secondary,
707 path.stroke.tag-highway-secondary_link,
708 path.stroke.tag-secondary {
711 path.casing.tag-highway-secondary,
712 path.casing.tag-highway-secondary_link,
713 path.casing.tag-secondary {
717 .preset-icon .icon.highway-tertiary,
718 .preset-icon .icon.highway-tertiary-link {
722 path.stroke.tag-highway-tertiary,
723 path.stroke.tag-highway-tertiary_link,
724 path.stroke.tag-tertiary {
727 path.casing.tag-highway-tertiary,
728 path.casing.tag-highway-tertiary_link,
729 path.casing.tag-tertiary {
733 .legacy-carto .preset-icon .icon.highway-motorway,
734 .legacy-carto .preset-icon .icon.highway-motorway-link {
738 .legacy-carto path.stroke.tag-highway-motorway,
739 .legacy-carto path.stroke.tag-highway-motorway_link,
740 .legacy-carto path.stroke.tag-motorway {
743 .legacy-carto path.casing.tag-highway-motorway,
744 .legacy-carto path.casing.tag-highway-motorway_link,
745 .legacy-carto path.casing.tag-motorway {
749 .legacy-carto .preset-icon .icon.highway-trunk,
750 .legacy-carto .preset-icon .icon.highway-trunk-link {
754 .legacy-carto path.stroke.tag-highway-trunk,
755 .legacy-carto path.stroke.tag-highway-trunk_link,
756 .legacy-carto path.stroke.tag-trunk {
759 .legacy-carto path.casing.tag-highway-trunk,
760 .legacy-carto path.casing.tag-highway-trunk_link,
761 .legacy-carto path.casing.tag-trunk {
765 .legacy-carto .preset-icon .icon.highway-primary,
766 .legacy-carto .preset-icon .icon.highway-primary-link {
770 .legacy-carto path.stroke.tag-highway-primary,
771 .legacy-carto path.stroke.tag-highway-primary_link,
772 .legacy-carto path.stroke.tag-primary {
775 .legacy-carto path.casing.tag-highway-primary,
776 .legacy-carto path.casing.tag-highway-primary_link,
777 .legacy-carto path.casing.tag-primary {
781 .legacy-carto .preset-icon .icon.highway-secondary,
782 .legacy-carto .preset-icon .icon.highway-secondary-link {
786 .legacy-carto path.stroke.tag-highway-secondary,
787 .legacy-carto path.stroke.tag-highway-secondary_link,
788 .legacy-carto path.stroke.tag-secondary {
791 .legacy-carto path.casing.tag-highway-secondary,
792 .legacy-carto path.casing.tag-highway-secondary_link,
793 .legacy-carto path.casing.tag-secondary {
797 .legacy-carto .preset-icon .icon.highway-tertiary,
798 .legacy-carto .preset-icon .icon.highway-tertiary-link {
802 .legacy-carto path.stroke.tag-highway-tertiary,
803 .legacy-carto path.stroke.tag-highway-tertiary_link,
804 .legacy-carto path.stroke.tag-tertiary {
807 .legacy-carto path.casing.tag-highway-tertiary,
808 .legacy-carto path.casing.tag-highway-tertiary_link,
809 .legacy-carto path.casing.tag-tertiary {
813 .preset-icon .icon.highway-residential {
817 path.stroke.tag-highway-residential,
818 path.stroke.tag-residential {
821 path.casing.tag-highway-residential,
822 path.casing.tag-residential {
826 .preset-icon .icon.highway-unclassified {
830 path.stroke.tag-highway-unclassified,
831 path.stroke.tag-unclassified {
834 path.casing.tag-highway-unclassified,
835 path.casing.tag-unclassified {
840 /* narrow highways */
841 path.stroke.tag-highway-living_street,
842 path.stroke.tag-highway-service,
843 path.stroke.tag-highway-track,
844 path.stroke.tag-highway-path,
845 path.stroke.tag-highway-footway,
846 path.stroke.tag-highway-cycleway,
847 path.stroke.tag-highway-bridleway,
848 path.stroke.tag-highway-corridor,
849 path.stroke.tag-highway-pedestrian,
850 path.stroke.tag-highway-steps,
851 path.stroke.tag-highway-road,
852 path.stroke.tag-living_street,
853 path.stroke.tag-service,
854 path.stroke.tag-track,
855 path.stroke.tag-path,
856 path.stroke.tag-footway,
857 path.stroke.tag-cycleway,
858 path.stroke.tag-bridleway,
859 path.stroke.tag-corridor,
860 path.stroke.tag-pedestrian,
861 path.stroke.tag-steps,
862 path.stroke.tag-road {
865 path.casing.tag-highway-living_street,
866 path.casing.tag-highway-service,
867 path.casing.tag-highway-track,
868 path.casing.tag-highway-path,
869 path.casing.tag-highway-footway,
870 path.casing.tag-highway-cycleway,
871 path.casing.tag-highway-bridleway,
872 path.casing.tag-highway-corridor,
873 path.casing.tag-highway-pedestrian,
874 path.casing.tag-highway-steps,
875 path.casing.tag-highway-road,
876 path.casing.tag-living_street,
877 path.casing.tag-service,
878 path.casing.tag-track,
879 path.casing.tag-path,
880 path.casing.tag-footway,
881 path.casing.tag-cycleway,
882 path.casing.tag-bridleway,
883 path.casing.tag-corridor,
884 path.casing.tag-pedestrian,
885 path.casing.tag-steps,
886 path.casing.tag-road {
890 .low-zoom path.stroke.tag-highway-living_street,
891 .low-zoom path.stroke.tag-highway-service,
892 .low-zoom path.stroke.tag-highway-track,
893 .low-zoom path.stroke.tag-highway-path,
894 .low-zoom path.stroke.tag-highway-footway,
895 .low-zoom path.stroke.tag-highway-cycleway,
896 .low-zoom path.stroke.tag-highway-bridleway,
897 .low-zoom path.stroke.tag-highway-corridor,
898 .low-zoom path.stroke.tag-highway-pedestrian,
899 .low-zoom path.stroke.tag-highway-steps,
900 .low-zoom path.stroke.tag-highway-road,
901 .low-zoom path.stroke.tag-living_street,
902 .low-zoom path.stroke.tag-service,
903 .low-zoom path.stroke.tag-track,
904 .low-zoom path.stroke.tag-path,
905 .low-zoom path.stroke.tag-footway,
906 .low-zoom path.stroke.tag-cycleway,
907 .low-zoom path.stroke.tag-bridleway,
908 .low-zoom path.stroke.tag-corridor,
909 .low-zoom path.stroke.tag-pedestrian,
910 .low-zoom path.stroke.tag-steps,
911 .low-zoom path.stroke.tag-road {
914 .low-zoom path.casing.tag-highway-living_street,
915 .low-zoom path.casing.tag-highway-service,
916 .low-zoom path.casing.tag-highway-track,
917 .low-zoom path.casing.tag-highway-path,
918 .low-zoom path.casing.tag-highway-footway,
919 .low-zoom path.casing.tag-highway-cycleway,
920 .low-zoom path.casing.tag-highway-bridleway,
921 .low-zoom path.casing.tag-highway-corridor,
922 .low-zoom path.casing.tag-highway-pedestrian,
923 .low-zoom path.casing.tag-highway-steps,
924 .low-zoom path.casing.tag-highway-road,
925 .low-zoom path.casing.tag-living_street,
926 .low-zoom path.casing.tag-service,
927 .low-zoom path.casing.tag-track,
928 .low-zoom path.casing.tag-path,
929 .low-zoom path.casing.tag-footway,
930 .low-zoom path.casing.tag-cycleway,
931 .low-zoom path.casing.tag-bridleway,
932 .low-zoom path.casing.tag-corridor,
933 .low-zoom path.casing.tag-pedestrian,
934 .low-zoom path.casing.tag-steps,
935 .low-zoom path.casing.tag-road {
939 .preset-icon .icon.highway-living-street {
943 path.stroke.tag-highway-living_street,
944 path.stroke.tag-living_street {
947 path.casing.tag-highway-living_street,
948 path.casing.tag-living_street {
952 .preset-icon .icon.highway-footway.tag-highway-corridor,
953 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
957 path.stroke.tag-highway-corridor,
958 path.stroke.tag-highway-pedestrian,
959 path.stroke.tag-corridor,
960 path.stroke.tag-pedestrian {
962 stroke-dasharray: 2, 8;
964 path.casing.tag-highway-corridor,
965 path.casing.tag-highway-pedestrian,
966 path.casing.tag-corridor,
967 path.casing.tag-pedestrian,
968 path.casing.tag-highway-corridor.tag-unpaved,
969 path.casing.tag-highway-pedestrian.tag-unpaved,
970 path.casing.tag-corridor.tag-unpaved,
971 path.casing.tag-pedestrian.tag-unpaved {
973 stroke-linecap: round;
974 stroke-dasharray: none;
977 .preset-icon .icon.highway-road {
981 path.stroke.tag-highway-road,
982 path.stroke.tag-road {
985 path.casing.tag-highway-road,
986 path.casing.tag-road {
990 .preset-icon .icon.highway-service {
994 path.stroke.tag-highway-service,
995 path.stroke.tag-service {
998 path.casing.tag-highway-service,
999 path.casing.tag-service {
1003 .preset-icon .icon.highway-track {
1007 path.stroke.tag-highway-track,
1008 path.stroke.tag-track {
1011 path.casing.tag-highway-track,
1012 path.casing.tag-track {
1016 path.stroke.tag-highway-path,
1017 path.stroke.tag-highway-footway,
1018 path.stroke.tag-highway-cycleway,
1019 path.stroke.tag-highway-bridleway {
1020 stroke-linecap: butt;
1021 stroke-dasharray: 6, 6;
1024 path.casing.tag-highway-path,
1025 path.casing.tag-highway-path.tag-unpaved {
1027 stroke-linecap: round;
1028 stroke-dasharray: none;
1030 path.casing.tag-highway-footway,
1031 path.casing.tag-highway-cycleway,
1032 path.casing.tag-highway-bridleway,
1033 path.casing.tag-highway-footway.tag-unpaved,
1034 path.casing.tag-highway-cycleway.tag-unpaved,
1035 path.casing.tag-highway-bridleway.tag-unpaved {
1037 stroke-linecap: round;
1038 stroke-dasharray: none;
1041 .preset-icon .icon.category-path,
1042 .preset-icon .icon.highway-path {
1046 path.stroke.tag-highway-path {
1050 .preset-icon .icon.tag-route-foot,
1051 .preset-icon .icon.tag-route-hiking,
1052 .preset-icon .icon.highway-footway {
1056 path.stroke.tag-highway-footway {
1060 .preset-icon .icon.highway-footway.tag-crossing {
1063 path.stroke.tag-highway-footway.tag-crossing {
1065 stroke-dasharray: 6, 4;
1068 .preset-icon .icon.tag-route-bicycle,
1069 .preset-icon .icon.highway-cycleway {
1073 path.stroke.tag-highway-cycleway {
1077 .preset-icon .icon.tag-route-horse,
1078 .preset-icon .icon.highway-bridleway {
1082 path.stroke.tag-highway-bridleway {
1086 .preset-icon .icon.highway-steps {
1090 path.stroke.tag-highway-steps {
1092 stroke-linecap: butt;
1093 stroke-dasharray: 3, 3;
1095 path.casing.tag-highway-steps,
1096 path.casing.tag-highway-steps.tag-unpaved {
1098 stroke-linecap: round;
1099 stroke-dasharray: none;
1104 path.stroke.tag-aeroway-taxiway {
1108 path.shadow.tag-aeroway-runway {
1111 path.stroke.tag-aeroway-runway {
1114 stroke-linecap: butt;
1115 stroke-dasharray: 24, 48;
1117 path.casing.tag-aeroway-runway {
1120 stroke-linecap: square;
1122 path.fill.tag-aeroway-runway {
1123 stroke: rgba(0, 0, 0, 0.6);
1124 fill: rgba(0, 0, 0, 0.6);
1126 path.stroke.tag-aeroway-apron {
1129 path.fill.tag-aeroway-apron {
1130 stroke: rgba(128, 92, 128, 0.2);
1131 fill: rgba(128, 92, 128, 0.2);
1136 .preset-icon .icon.tag-railway.other-line {
1140 .preset-icon .icon.tag-railway {
1144 path.stroke.tag-railway {
1147 stroke-linecap: butt;
1148 stroke-dasharray: 12,12;
1150 path.casing.tag-railway {
1155 .preset-icon .icon.tag-railway-disused,
1156 .preset-icon .icon.tag-railway-abandoned {
1160 path.stroke.tag-railway-abandoned {
1163 path.casing.tag-railway-abandoned {
1167 .preset-icon .icon.tag-railway-subway {
1171 path.stroke.tag-railway-subway {
1174 path.casing.tag-railway-subway {
1178 path.stroke.tag-railway-platform {
1181 stroke-dasharray: none;
1183 path.casing.tag-railway-platform {
1187 .area.stroke.tag-railway {
1190 stroke-dasharray: none;
1192 .area.casing.tag-railway {
1198 .preset-icon .icon.tag-waterway.other-line {
1202 .preset-icon .icon.category-water,
1203 .preset-icon .icon.tag-route-ferry,
1204 .preset-icon .icon.tag-waterway {
1209 path.fill.tag-waterway {
1210 stroke: rgba(119, 211, 222, 0.3);
1211 fill: rgba(119, 211, 222, 0.3);
1214 path.stroke.tag-waterway {
1218 path.casing.tag-waterway {
1223 path.stroke.tag-waterway-river {
1226 path.casing.tag-waterway-river {
1230 .preset-icon .icon.tag-waterway-ditch {
1233 path.stroke.tag-waterway-ditch {
1237 path.casing.tag-waterway-ditch {
1242 path.area.stroke.tag-waterway-dock,
1243 path.area.stroke.tag-waterway-boatyard,
1244 path.area.stroke.tag-waterway-fuel {
1248 path.area.casing.tag-waterway-dock,
1249 path.area.casing.tag-waterway-boatyard,
1250 path.area.casing.tag-waterway-fuel {
1253 path.area.fill.tag-waterway-dock,
1254 path.area.fill.tag-waterway-boatyard,
1255 path.area.fill.tag-waterway-fuel {
1256 stroke: rgba(255, 255, 255, 0.3);
1257 fill: rgba(255, 255, 255, 0.3);
1262 .preset-icon .icon.tag-man_made-pipeline,
1263 .preset-icon .icon.tag-power {
1268 path.stroke.tag-power {
1272 path.casing.tag-power {
1278 path.stroke.tag-boundary {
1281 stroke-linecap: butt;
1282 stroke-dasharray: 20, 5, 5, 5;
1284 path.casing.tag-boundary {
1289 path.casing.tag-boundary-protected_area,
1290 path.casing.tag-boundary-national_park {
1296 path.stroke.tag-barrier {
1299 stroke-linecap: round;
1300 stroke-dasharray: 15, 5, 1, 5;
1302 .low-zoom path.stroke.tag-barrier {
1304 stroke-linecap: butt;
1305 stroke-dasharray: 8, 2, 2, 2;
1310 path.casing.tag-bridge {
1312 stroke-opacity: 0.6;
1314 stroke-linecap: butt;
1315 stroke-dasharray: none;
1318 path.shadow.tag-bridge {
1321 path.casing.line.tag-railway.tag-bridge,
1322 path.casing.tag-highway-living_street.tag-bridge,
1323 path.casing.tag-highway-path.tag-bridge,
1324 path.casing.tag-highway-corridor.tag-bridge,
1325 path.casing.line.tag-highway-pedestrian.tag-bridge,
1326 path.casing.tag-highway-service.tag-bridge,
1327 path.casing.tag-highway-track.tag-bridge,
1328 path.casing.tag-highway-steps.tag-bridge,
1329 path.casing.tag-highway-footway.tag-bridge,
1330 path.casing.tag-highway-cycleway.tag-bridge,
1331 path.casing.tag-highway-bridleway.tag-bridge {
1334 path.shadow.line.tag-railway.tag-bridge,
1335 path.shadow.tag-highway-living_street.tag-bridge,
1336 path.shadow.tag-highway-path.tag-bridge,
1337 path.shadow.tag-highway-corridor.tag-bridge,
1338 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1339 path.shadow.tag-highway-service.tag-bridge,
1340 path.shadow.tag-highway-track.tag-bridge,
1341 path.shadow.tag-highway-steps.tag-bridge,
1342 path.shadow.tag-highway-footway.tag-bridge,
1343 path.shadow.tag-highway-cycleway.tag-bridge,
1344 path.shadow.tag-highway-bridleway.tag-bridge {
1347 .low-zoom path.casing.tag-bridge {
1350 .low-zoom path.shadow.tag-bridge {
1354 .low-zoom path.casing.line.tag-railway.tag-bridge,
1355 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1356 .low-zoom path.casing.tag-highway-path.tag-bridge,
1357 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1358 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1359 .low-zoom path.casing.tag-highway-service.tag-bridge,
1360 .low-zoom path.casing.tag-highway-track.tag-bridge,
1361 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1362 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1363 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1364 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1368 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1369 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1370 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1371 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1372 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1373 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1374 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1375 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1376 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1377 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1378 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1384 path.stroke.tag-tunnel {
1385 stroke-opacity: 0.3;
1387 path.casing.tag-tunnel {
1388 stroke-opacity: 0.5;
1389 stroke-linecap: butt;
1390 stroke-dasharray: none;
1394 /* embankments / cuttings */
1395 path.casing.tag-embankment,
1396 path.casing.tag-cutting {
1397 stroke-opacity: 0.5;
1400 stroke-dasharray: 2, 4;
1401 stroke-linecap: butt;
1404 path.shadow.tag-embankment,
1405 path.shadow.tag-cutting {
1409 .low-zoom path.casing.tag-embankment,
1410 .low-zoom path.casing.tag-cutting {
1414 .low-zoom path.shadow.tag-embankment,
1415 .low-zoom path.shadow.tag-cutting {
1420 /* Surface - unpaved */
1421 path.casing.tag-unpaved {
1423 stroke-linecap: butt;
1424 stroke-dasharray: 4, 3;
1426 .low-zoom path.casing.tag-unpaved {
1427 stroke-dasharray: 3, 2;
1429 path.casing.tag-bridge.tag-unpaved {
1431 stroke-dasharray: 4, 3;
1433 .low-zoom path.casing.tag-bridge.tag-unpaved {
1435 stroke-dasharray: 3, 2;
1439 /* Status (e.g. construction, proposed, abandoned) */
1440 path.stroke.tag-status,
1441 path.casing.tag-status {
1442 stroke-linecap: butt;
1443 stroke-dasharray: 7, 3;
1445 .low-zoom path.stroke.tag-status,
1446 .low-zoom path.casing.tag-status {
1447 stroke-dasharray: 5, 2;
1452 path.stroke.tag-building,
1453 path.stroke.tag-amenity-shelter {
1454 stroke: rgb(224, 110, 95);
1456 path.fill.tag-building,
1457 path.fill.tag-amenity-shelter {
1458 stroke: rgba(224, 110, 95, 0.3);
1459 fill: rgba(224, 110, 95, 0.3);
1461 .preset-icon-fill-area.tag-building,
1462 .preset-icon-fill-area.tag-amenity-shelter {
1463 border-color: rgb(224, 110, 95);
1464 background-color: rgba(224, 110, 95, 0.3);
1468 /* Labels / Markers */
1472 pointer-events: none;
1477 .oneway .textpath.tag-waterway {
1486 text.arealabel-halo,
1487 text.linelabel-halo,
1488 text.pointlabel-halo,
1492 dominant-baseline: middle;
1493 text-anchor: middle;
1497 pointer-events: none;
1498 -webkit-transition: opacity 100ms linear;
1499 transition: opacity 100ms linear;
1500 -moz-transition: opacity 100ms linear;
1503 /* Opera doesn't support dominant-baseline. See #715 */
1504 /* Safari 10 seems to have regressed too */
1505 .linelabel-halo .textpath,
1506 .linelabel .textpath {
1507 baseline-shift: -33%;
1508 dominant-baseline: auto;
1515 stroke-miterlimit: 1;
1531 pointer-events: all;
1534 .form-field-restrictions .vertex {
1535 pointer-events: none;
1536 cursor: auto !important;
1543 cursor: auto; /* Opera */
1544 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1547 .mode-browse .point,
1548 .mode-select .point {
1549 cursor: pointer; /* Opera */
1550 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1553 .mode-select .vertex,
1554 .mode-browse .vertex {
1555 cursor: pointer; /* Opera */
1556 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1560 .mode-select .line {
1561 cursor: pointer; /* Opera */
1562 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1566 .mode-browse .area {
1567 cursor: pointer; /* Opera */
1568 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1571 .mode-select .midpoint,
1572 .mode-browse .midpoint {
1573 cursor: pointer; /* Opera */
1574 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1577 .mode-select .behavior-multiselect .point,
1578 .mode-select .behavior-multiselect .vertex,
1579 .mode-select .behavior-multiselect .line,
1580 .mode-select .behavior-multiselect .area {
1581 cursor: pointer; /* Opera */
1582 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1585 .mode-select .behavior-multiselect .selected {
1586 cursor: pointer; /* Opera */
1587 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1591 #map .vertex:active,
1594 #map .midpoint:active,
1595 #map .mode-select .selected {
1596 cursor: pointer; /* Opera */
1597 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1600 .mode-draw-line #map,
1601 .mode-draw-area #map,
1602 .mode-add-line #map,
1603 .mode-add-area #map,
1604 .mode-drag-node #map {
1605 cursor: crosshair; /* Opera */
1606 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1609 .mode-draw-line .way.hover,
1610 .mode-draw-area .way.hover,
1611 .mode-add-line .way.hover,
1612 .mode-add-area .way.hover,
1613 .mode-drag-node .way.hover {
1614 cursor: crosshair; /* Opera */
1615 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1618 .mode-draw-line .vertex.hover,
1619 .mode-draw-area .vertex.hover,
1620 .mode-add-line .vertex.hover,
1621 .mode-add-area .vertex.hover,
1622 .mode-drag-node .vertex.hover {
1623 cursor: crosshair; /* Opera */
1624 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1627 .mode-add-point #map,
1628 .mode-browse.lasso #map,
1629 .mode-browse.lasso .way,
1630 .mode-browse.lasso .vertex,
1631 .mode-browse.lasso .midpoint,
1632 .mode-select.lasso #map,
1633 .mode-select.lasso .way,
1634 .mode-select.lasso .vertex,
1635 .mode-select.lasso .midpoint {
1636 cursor: crosshair; /* Opera */
1637 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1642 cursor: pointer; /* Opera */
1643 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1647 pointer-events: visibleStroke;
1652 pointer-events: none;
1665 /* Mapillary Image Layer */
1667 .layer-mapillary-images {
1668 pointer-events: none;
1671 .layer-mapillary-images .viewfield-group {
1672 pointer-events: visible;
1673 cursor: pointer; /* Opera */
1674 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1677 .layer-mapillary-images .viewfield-group * {
1684 .layer-mapillary-images .viewfield-group:hover * {
1691 .layer-mapillary-images .viewfield-group.selected * {
1698 .layer-mapillary-images .viewfield-group:hover path.viewfield,
1699 .layer-mapillary-images .viewfield-group.selected path.viewfield,
1700 .layer-mapillary-images .viewfield-group path.viewfield {
1705 /* Mapillary Sign Layer */
1707 .layer-mapillary-signs {
1708 pointer-events: none;
1711 .layer-mapillary-signs .icon-sign .icon-sign-body {
1715 border: 2px solid transparent;
1716 pointer-events: visible;
1717 cursor: pointer; /* Opera */
1718 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1723 .layer-mapillary-signs .icon-sign:hover .icon-sign-body {
1724 border: 2px solid rgba(255,198,0,0.8);
1728 .layer-mapillary-signs .icon-sign.selected .icon-sign-body {
1729 border: 2px solid rgba(255,0,0,0.8);
1733 .layer-mapillary-signs .icon-sign .t {
1738 .layer-mapillary-signs .icon-sign:hover .t,
1739 .layer-mapillary-signs .icon-sign.selected .t {
1745 .mode-draw-line .vertex.active,
1746 .mode-draw-area .vertex.active,
1747 .mode-drag-node .vertex.active {
1751 .mode-draw-line .way.active,
1752 .mode-draw-area .way.active,
1753 .mode-drag-node .active {
1754 pointer-events: none;
1757 /* Ensure drawing doesn't interact with area fills. */
1758 .mode-add-point .area.fill,
1759 .mode-draw-line .area.fill,
1760 .mode-draw-area .area.fill,
1761 .mode-add-line .area.fill,
1762 .mode-add-area .area.fill,
1763 .mode-drag-node .area.fill {
1764 pointer-events: none;
1769 .low-zoom.fill-wireframe path.stroke,
1770 .fill-wireframe path.stroke {
1772 stroke-opacity: 0.5;
1773 stroke-dasharray: none;
1777 .low-zoom.fill-wireframe path.shadow,
1778 .fill-wireframe path.shadow {
1782 .fill-wireframe path.shadow.related:not(.selected),
1783 .fill-wireframe path.shadow.hover:not(.selected) {
1784 stroke-opacity: 0.4;
1786 .fill-wireframe path.shadow.selected {
1787 stroke-opacity: 0.6;
1790 .fill-wireframe .point,
1791 .fill-wireframe .areaicon,
1792 .fill-wireframe path.casing,
1793 .fill-wireframe path.fill,
1794 .fill-wireframe path.oneway {
1798 .fill-partial path.fill {
1801 pointer-events: visibleStroke;
1804 ------------------------------------------------------- */
1807 Opera misbehaves when the window is resized vertically unless 100% width + height are
1808 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1816 font:normal 12px/1.6667 'Helvetica Neue', Arial, sans-serif;
1826 vertical-align: middle;
1844 /* Can't be display: none or the clippaths are ignored. */
1873 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1874 -moz-box-sizing: border-box;
1875 -webkit-box-sizing: border-box;
1876 box-sizing: border-box;
1879 a, button, input, textarea {
1880 -webkit-tap-highlight-color:rgba(0,0,0,0);
1881 -webkit-touch-callout:none;
1886 .checkselect label:hover,
1887 .opacity-options li,
1889 cursor: pointer; /* Opera */
1890 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1897 margin-bottom: 20px;
1902 h4:last-child { margin-bottom: 0;}
1908 margin-bottom: 10px;
1914 padding-bottom: 10px;
1918 outline-color: transparent;
1919 outline-style: none;
1949 ------------------------------------------------------- */
1953 font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1963 background-color: white;
1965 border:1px solid #ccc;
1970 text-overflow: ellipsis;
1975 background-color: #F1F1F1;
1978 input[type="checkbox"],
1979 input[type="radio"] {
1987 /* remove bottom border radius when combobox is open */
1988 .combobox + * textarea:focus,
1989 .combobox + * input:focus {
1990 border-bottom-left-radius: 0 !important;
1991 border-bottom-right-radius: 0 !important;
1997 background-color: white;
1998 border-collapse: collapse;
2007 table.tags, table.tags td, table.tags th {
2008 border: 1px solid #CCC;
2017 ------------------------------------------------------- */
2019 .col0 { float:left; width:04.1666%; }
2020 .col1 { float:left; width:08.3333%; }
2021 .col2 { float:left; width:16.6666%; }
2022 .col3 { float:left; width:25.0000%; max-width: 300px; }
2023 .col4 { float:left; width:33.3333%; max-width: 400px; }
2024 .col5 { float:left; width:41.6666%; max-width: 500px; }
2025 .col6 { float:left; width:50.0000%; max-width: 600px; }
2026 .col7 { float:left; width:58.3333%; }
2027 .col8 { float:left; width:66.6666%; }
2028 .col9 { float:left; width:75.0000%; }
2029 .col10 { float:left; width:83.3333%; }
2030 .col11 { float:left; width:91.6666%; }
2031 .col12 { float:left; width:100.0000%; }
2034 ------------------------------------------------------- */
2036 ul li { list-style: none;}
2038 .toggle-list > label {
2043 background-color: white;
2048 .toggle-list > label:hover {
2049 background-color: #ececec;
2052 .toggle-list > label:not(:last-child) {
2053 border-bottom: 1px solid #ccc;
2056 .toggle-list > label:last-child {
2057 border-radius: 0 0 3px 3px;
2060 .toggle-list label > span {
2063 white-space: nowrap;
2064 text-overflow: ellipsis;
2067 .toggle-list > label.active {
2068 background: #E8EBFF;
2073 ------------------------------------------------------- */
2080 background: #f6f6f6;
2085 background: #ececec;
2090 background:rgba(0,0,0,.5);
2095 background:rgba(0,0,0,.75);
2100 .fr { float: right;}
2118 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2122 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2123 background-size:5px 5px;
2159 display: inline-block;
2166 background-color: #ececec;
2171 background-color: rgba(255,255,255,.25);
2172 color: rgba(0,0,0,.4);
2177 background: #7092ff;
2187 background-color: #fafafa;
2190 button.minor .icon {
2194 button.minor:hover {
2195 background-color: #f1f1f1;
2199 display: inline-block;
2204 .button-wrap button:only-child {
2208 .button-wrap:last-of-type {
2214 border-right: 1px solid rgba(0,0,0,.5);
2217 .fillL .joined button {
2218 border-right: 1px solid white;
2221 .joined button:first-child {
2222 border-radius:4px 0 0 4px;
2225 .joined button:last-child {
2226 border-right-width: 0;
2227 border-radius:0 4px 4px 0;
2231 background: #7092ff;
2235 button[disabled].action,
2236 button[disabled].action:hover {
2237 background: #cccccc;
2241 button.action:focus,
2242 button.action:hover {
2243 background: #597BE7;
2246 button.secondary-action {
2247 background: #ececec;
2250 button.secondary-action:focus,
2251 button.secondary-action:hover {
2252 background: #cccccc;
2255 button.save.has-count {
2259 button.save .count {
2263 button.save.has-count .count {
2276 margin-left: 8.3333%;
2279 button.save.has-count .count::before {
2288 border-top: 6px solid transparent;
2289 border-bottom: 6px solid transparent;
2290 border-right-width: 6px;
2291 border-right-style: solid;
2292 border-right-color: inherit;
2298 vertical-align: top;
2304 vertical-align: text-top;
2339 /* ToolBar / Persistent UI Elements
2340 ------------------------------------------------------- */
2353 /* Header for modals / panes
2354 ------------------------------------------------------- */
2357 border-bottom: 1px solid #ccc;
2365 white-space: nowrap;
2366 text-overflow: ellipsis;
2368 padding: 20px 20px 20px 40px;
2384 .entity-editor-pane .header button.preset-close,
2385 .preset-list-pane .header button.preset-choose {
2391 .entity-editor-pane .header button.preset-choose {
2414 padding: 5px 20px 5px 20px;
2415 border-top: 1px solid #ccc;
2416 background-color: #fafafa;
2420 .sidebar-component .body {
2429 ------------------------------------------------------- */
2437 background: #f6f6f6;
2440 .sidebar-component {
2469 .feature-list-pane .inspector-body {
2473 .preset-list-pane .inspector-body {
2477 .entity-editor-pane .inspector-body {
2481 .selection-list-pane .inspector-body {
2490 #sidebar .search-header .icon {
2495 pointer-events: none;
2498 #sidebar .search-header input {
2506 border-bottom-width: 1px;
2520 .feature-list-item {
2523 border-bottom: 1px solid #ccc;
2527 .feature-list-item {
2528 background-color: white;
2534 .feature-list-item:hover {
2535 background-color: #ececec;
2538 .feature-list-item button {
2539 background: transparent;
2542 .feature-list-item .label {
2545 white-space: nowrap;
2546 text-overflow: ellipsis;
2548 border-left: 1px solid rgba(0, 0, 0, .1);
2551 .feature-list-item .label .icon {
2555 .feature-list-item .close {
2560 .feature-list-item .close .icon {
2564 .feature-list-item .entity-type {
2568 .feature-list-item:hover .entity-type {
2572 .feature-list-item .entity-name {
2573 font-weight: normal;
2579 ------------------------------------------------------- */
2585 padding: 20px 20px 10px 20px;
2586 border-bottom: 1px solid #ccc;
2589 .preset-list-button-wrap {
2591 margin-bottom: 10px;
2595 .preset-list-button {
2599 border: 1px solid #ccc;
2602 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2603 background: #ececec;
2606 .preset-icon-fill-area {
2616 .preset-icon-frame {
2625 .preset-icon-frame .icon {
2637 .preset-icon-60 .icon {
2649 .preset-icon-44 .icon {
2657 left: 13px; /* Maki icons off center? */
2661 .preset-icon-32 .icon {
2666 .preset-list-button .label {
2667 background-color: #f6f6f6;
2676 white-space: nowrap;
2677 text-overflow: ellipsis;
2679 border-left: 1px solid rgba(0, 0, 0, .1);
2680 border-radius: 0 3px 3px 0;
2683 .preset-list-button:hover .label {
2684 background-color: #ececec;
2687 .preset-list-item button.tag-reference-button {
2689 border: 1px solid #CCC;
2690 border-radius: 0 3px 3px 0;
2695 background: #fafafa;
2698 .preset-list-item button.tag-reference-button:hover {
2699 background: #f1f1f1;
2702 .preset-list-item button.tag-reference-button .icon {
2706 .current .preset-list-button,
2707 .current .preset-list-button .label {
2708 background-color: #E8EBFF;
2711 .category .preset-list-button:after,
2712 .category .preset-list-button:before {
2716 left: -1px; right: -1px;
2717 border: 1px solid #ccc;
2718 border-bottom: none;
2719 border-radius: 6px 6px 0 0;
2723 .category .preset-list-button:before {
2727 .subgrid .preset-list {
2728 padding: 10px 10px 0 10px;
2732 width: -webkit-calc(100% + 20px);
2737 border: solid rgba(0, 0, 0, 0);
2739 border-bottom-color: #f1f1f1;
2743 margin-left: -webkit-calc(50% - 10px);
2748 /* preset form basics */
2752 padding-bottom: 10px;
2755 .inspector-preset a.hide-toggle {
2756 margin: 0 20px 10px 20px;
2759 .inspector-preset .preset-form {
2761 margin: 0 10px 10px 10px;
2765 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2770 margin-bottom: 10px;
2772 -webkit-transition: margin-bottom 200ms;
2773 -moz-transition: margin-bottom 200ms;
2774 -o-transition: margin-bottom 200ms;
2775 transition: margin-bottom 200ms;
2778 .form-field:last-child {
2785 border: 1px solid #cfcfcf;
2786 padding: 5px 0 5px 10px;
2787 background: #f6f6f6;
2789 border-radius: 4px 4px 0 0;
2793 .form-label-button-wrap {
2799 background: transparent;
2803 .form-label-button-wrap .tag-reference-button {
2804 border-radius: 0 3px 0 0;
2807 .form-label-button-wrap .icon {
2811 .form-label button {
2812 border-left: 1px solid #ccc;
2816 background: #f6f6f6;
2818 .form-label button:hover {
2819 background: #f1f1f1;
2822 .form-label .modified-icon,
2823 .form-field .remove-icon {
2827 .modified .form-label .modified-icon,
2828 .present .form-label .remove-icon {
2829 display: inline-block;
2832 .form-field > input,
2833 .form-field > textarea,
2834 .form-field .preset-input-wrap {
2835 border: 1px solid #ccc;
2838 border-radius: 0 0 4px 4px;
2842 .form-field textarea {
2847 border-bottom: 1px solid #ccc
2850 /* Preset form (hover mode) */
2852 .inspector-hover .checkselect label:last-of-type,
2853 .inspector-hover .preset-input-wrap .label,
2854 .inspector-hover .form-field-multicombo,
2855 .inspector-hover input,
2856 .inspector-hover label {
2857 background: #ececec;
2861 .inspector-hover .form-field-multicombo .chips,
2862 .inspector-hover .checkselect label:last-of-type {
2866 .inspector-hover .form-field-multicombo .chips {
2868 border: 1px solid #ccc;
2871 /* hide and remove from layout */
2873 .inspector-hover label input[type="checkbox"],
2874 .inspector-hover label input[type="radio"],
2875 .inspector-hover .toggle-list label,
2876 .inspector-hover .toggle-list label span,
2877 .inspector-hover .inspector-inner .add-tag,
2878 .inspector-hover .inspector-inner .add-relation,
2879 .inspector-hover .form-field-multicombo .combobox-input,
2880 .inspector-hover .toggle-list label.remove .icon {
2884 opacity: 0 !important;
2890 /* hide but preserve in layout */
2891 .inspector-hover .entity-editor-pane button.minor,
2892 .inspector-hover .combobox-caret,
2893 .inspector-hover .entity-editor-pane .header button,
2894 .inspector-hover .spin-control,
2895 .inspector-hover .form-field-multicombo .chips .remove,
2896 .inspector-hover .hide-toggle:before,
2897 .inspector-hover .more-fields,
2898 .inspector-hover .form-label-button-wrap,
2899 .inspector-hover .tag-reference-button,
2900 .inspector-hover .view-on-osm {
2904 /* Styles for raw tag inspector on hover */
2905 .inspector-hover .tag-row .key-wrap,
2906 .inspector-hover .tag-row .form-field.input-wrap-position {
2910 .inspector-hover .tag-row:first-child input.value {
2911 border-top-right-radius: 4px;
2914 .inspector-hover .tag-row:last-child input.value {
2915 border-bottom-right-radius: 4px;
2918 .inspector-hover .tag-row:last-child input.key {
2919 border-bottom-left-radius: 4px;
2922 .inspector-hover .more-fields {
2924 margin-bottom: -10px;
2927 /* Unstyle button fields */
2928 .inspector-hover .toggle-list label.active,
2929 .inspector-hover .entity-editor-pane a.hide-toggle {
2931 background-color: transparent;
2937 .inspector-hover .toggle-list button.active {
2941 /* Add placeholder only on hover for radio buttons */
2942 .inspector-hover .toggle-list .placeholder {
2950 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2951 .toggle-list label.active ~ .placeholder,
2952 .toggle-list .placeholder {
2961 /* adding additional preset fields */
2964 padding: 0 20px 20px 20px;
2968 .more-fields input {
2973 /* preset form access */
2975 .preset-input-wrap .label {
2977 background: #F6F6F6;
2981 .form-field-access .preset-input-wrap li {
2982 border-bottom: 1px solid #CCC;
2984 .form-field-access .preset-input-wrap li:last-child {
2988 .preset-input-access-wrap input {
2991 border-left-width: 1px;
2994 .preset-input-wrap li:last-child input {
2995 border-bottom-right-radius: 4px;
2998 /* preset form multicombo */
3000 .form-field-multicombo {
3001 border: 1px solid #cfcfcf;
3003 padding: 5px 0 5px 10px;
3006 border-radius: 0 0 4px 4px;
3010 .form-field-multicombo:focus {
3014 .form-field-multicombo.active {
3015 border-bottom-left-radius: 0px;
3016 border-bottom-right-radius: 0px;
3019 .form-field-multicombo li {
3020 background-color: #eff2f7;
3021 border: 1px solid #ccd5e3;
3024 display: inline-block;
3030 .form-field-multicombo a {
3031 font-family: Arial, Helvetica, sans-serif !important;
3032 font-size: 16px !important;
3035 margin: 1px 0 0 5px;
3041 .form-field-multicombo input {
3042 border: 1px solid #ddd;
3047 .form-field-multicombo .combobox-caret {
3048 margin: 3px 3px 3px -30px;
3051 .form-field-multicombo input:focus {
3052 border-radius: 4px !important;
3055 /* preset form cycleway */
3057 .form-field-cycleway .preset-input-wrap li {
3058 border-bottom: 1px solid #CCC;
3060 .form-field-cycleway .preset-input-wrap li:last-child {
3064 .preset-input-cycleway-wrap input {
3067 border-left-width: 1px;
3070 /* preset form numbers */
3072 input[type=number] {
3080 display: inline-block;
3082 margin-bottom: -11px;
3086 .spin-control button {
3092 border-left: 1px solid #CCC;
3094 background: rgba(0, 0, 0, 0);
3097 .spin-control button.decrement {
3098 border-bottom-right-radius: 3px;
3101 .spin-control button.decrement::after,
3102 .spin-control button.increment::after {
3104 height: 0; width: 0;
3106 left: 0; right: 0; bottom: 0; top: 0;
3110 .spin-control button.decrement::after {
3111 border-top: 5px solid #CCC;
3112 border-left: 5px solid transparent;
3113 border-right: 5px solid transparent;
3116 .spin-control button.increment::after {
3117 border-bottom: 5px solid #CCC;
3118 border-left: 5px solid transparent;
3119 border-right: 5px solid transparent;
3122 /* preset form checkbox */
3124 .checkselect label:last-of-type {
3131 .checkselect label:hover {
3132 background: #f1f1f1;
3139 .checkselect label:not(.set) input[type="checkbox"] {
3143 /* Preset form radio button */
3145 .toggle-list button.remove {
3146 border-radius: 0 0 3px 3px;
3149 .toggle-list button.remove .icon {
3154 .toggle-list button.remove::before {
3158 .form-field .wiki-lang {
3162 .form-field .wiki-title {
3166 .form-field .wiki-title ~ .combobox-caret {
3171 .form-field .wiki-link {
3173 background: #fafafa;
3178 .form-field .wiki-link:hover {
3179 background: #f1f1f1;
3182 #preset-input-maxspeed {
3184 border-radius: 0 0 0 4px;
3188 .form-field .maxspeed-unit {
3189 border-radius: 0 0 4px 0;
3193 /* Name + translate form */
3195 .form-field .localized-main {
3199 .form-field .button-input-action {
3204 border: 1px solid #CCC;
3205 border-top-width: 0;
3206 border-right-width: 0;
3207 border-radius: 0 0 4px 0;
3209 vertical-align: top;
3212 .form-field .localized-wrap {
3216 .form-field .localized-wrap .entry {
3221 .form-field .localized-wrap .entry::before {
3234 .form-field .localized-wrap .entry .localized-lang {
3236 border-top-width: 0;
3239 .form-field .localized-wrap .entry .localized-value {
3240 border-top-width: 0;
3241 border-radius: 0 0 4px 4px;
3244 .form-field .localized-wrap .form-label button {
3245 border-top-right-radius: 3px;
3248 /* Preset form address */
3255 .addr-row:first-of-type input {
3259 .addr-row input:first-of-type {
3267 .addr-row:last-of-type input:first-of-type {
3268 border-radius: 0 0 0 4px;
3271 .addr-row:last-of-type input:last-of-type {
3272 border-radius: 0 0 4px 0;
3275 /* Restrictions editor */
3277 .form-field-restrictions .preset-input-wrap {
3282 .form-field-restrictions svg {
3287 .form-field-restrictions .restriction-help {
3294 background-color: rgba(255, 255, 255, .8);
3299 /* combobox dropdown */
3304 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3310 border: 1px solid #ccc;
3311 border-radius: 0 0 4px 4px;
3317 border-top:1px solid #ccc;
3318 text-overflow: ellipsis;
3319 white-space: nowrap;
3323 .combobox a.selected,
3325 background: #ececec;
3328 .combobox a:first-child {
3333 display: inline-block;
3338 vertical-align: top;
3341 .combobox-caret::after {
3343 height: 0; width: 0;
3345 left: 0; right: 0; bottom: 0; top: 0;
3347 border-top: 5px solid #ccc;
3348 border-left: 5px solid transparent;
3349 border-right: 5px solid transparent;
3352 /* Raw Tag Editor */
3368 border-bottom: 1px solid #CCC;
3369 border-left: 1px solid #CCC;
3373 .tag-row .input-wrap-position {
3379 .tag-row input.key {
3381 background-color: #f6f6f6;
3384 .tag-row input.value {
3385 border-right: 1px solid #CCC;
3388 .tag-row:first-child input.key {
3389 border-top: 1px solid #CCC;
3390 border-top-left-radius: 4px;
3393 .tag-row:first-child input.value {
3394 border-top: 1px solid #CCC;
3401 border: 1px solid #CCC;
3402 border-top-width: 0;
3403 border-left-width: 0;
3406 .tag-row button:hover {
3407 background: #f1f1f1;
3410 .tag-row button .icon {
3414 .tag-row:first-child button {
3415 border-top-width: 1px;
3418 .tag-row:first-child .tag-reference-button {
3419 border-top-right-radius: 4px;
3422 .tag-row:last-child .tag-reference-button {
3423 border-bottom-right-radius: 4px;
3426 .tag-row .tag-reference-button {
3431 background: #fafafa;
3434 /* Adding form fields to tag editor */
3436 .inspector-inner .add-tag {
3440 background: rgba(0,0,0,.5);
3441 border-radius: 0 0 4px 4px;
3444 .inspector-inner .add-tag:hover {
3445 background: rgba(0,0,0,.8);
3448 .inspector-inner .add-tag .label {
3454 button.minor.tag-reference-loading {
3455 background-color: #f5f5f5;
3458 .tag-reference-loading .icon {
3459 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3460 background-position: 0 0;
3463 .tag-reference-body {
3468 .tag-reference-body p,
3469 .tag-reference-body img {
3473 .tag-reference-body p:last-child {
3474 padding-bottom: 10px;
3477 .tag-reference-body a {
3479 padding-bottom: 10px;
3482 .preset-list .tag-reference-body {
3487 .preset-list .tag-reference-body a {
3488 padding-bottom: 20px;
3491 .preset-list .tag-reference-body p,
3492 .preset-list .tag-reference-body img {
3496 .raw-tag-editor .tag-reference-body {
3497 border-bottom: 1px solid #ccc;
3502 .raw-tag-editor .tag-reference-body p:last-child {
3503 padding-bottom: 20px;
3506 .raw-tag-editor .tag-reference-body a {
3507 padding-bottom: 20px;
3513 width: -webkit-calc(33.3333% - 10px);
3514 width: calc(33.3333% - 10px);
3519 margin-bottom: 20px;
3522 /* Raw relation membership editor */
3524 .raw-member-editor .member-list li:first-child,
3525 .raw-membership-editor .member-list li:first-child {
3529 .raw-member-editor .member-row,
3530 .raw-membership-editor .member-row {
3534 .raw-member-editor .member-row .member-entity-name,
3535 .raw-membership-editor .member-row .member-entity-name {
3536 font-weight: normal;
3540 .member-incomplete .member-delete {
3544 .member-row-new .member-entity-input {
3545 border-radius: 4px 4px 0 0;
3546 border: 1px solid #cfcfcf;
3552 background: rgba(0,0,0,.5);
3557 .add-relation:hover {
3558 background: rgba(0,0,0,.8);
3561 /* Fullscreen button */
3568 div.full-screen .tooltip {
3572 div.full-screen > button, div.full-screen > button.active {
3575 background: transparent;
3578 div.full-screen > button:hover {
3579 background-color: rgba(0, 0, 0, .8);
3592 .map-control > button {
3594 background: rgba(0,0,0,.5);
3598 .map-control > button:hover {
3599 background: rgba(0, 0, 0, .8);
3602 .map-control > button.active,
3603 .map-control > button.active:hover {
3604 background: #7092ff;
3609 .zoombuttons button.zoom-in {
3610 border-radius: 4px 0 0 0;
3613 /* Background / Map Data Settings */
3615 .map-data-control button {
3619 .background-control button {
3620 border-radius: 4px 0 0 0;
3624 .background-control {
3629 margin-bottom: 10px;
3632 .map-data-control .hide-toggle,
3633 .background-control .hide-toggle {
3634 padding-bottom: 10px;
3637 .layer-list, .controls-list {
3638 margin-bottom: 10px;
3639 border: 1px solid #CCC;
3646 background-color: white;
3654 .layer-list > li:first-child {
3655 border-radius: 3px 3px 0 0;
3658 .layer-list > li:last-child {
3659 border-radius: 0 0 3px 3px;
3662 .layer-list > li:only-child {
3666 .layer-list li:not(:last-child) {
3667 border-bottom: 1px solid #ccc;
3670 .layer-list li:hover {
3671 background-color: #ececec;
3674 .layer-list li.active,
3675 .layer-list li.switch {
3676 background: #E8EBFF;
3679 .layer-list li.best > div.best {
3680 display: inline-block;
3685 /* make sure tooltip fits in map-control panel */
3686 /* if too wide, placement will be wrong the first time it displays */
3687 .layer-list li.best .tooltip-inner {
3697 .layer-list label > span {
3700 white-space: nowrap;
3701 text-overflow: ellipsis;
3712 .minimap-toggle.active {
3713 background: #E8EBFF;
3716 .minimap-toggle:hover {
3717 background-color: #ececec;
3726 .hide-toggle:before {
3734 border-top: 4px solid transparent;
3735 border-bottom: 4px solid transparent;
3736 border-left: 8px solid #7092ff;
3739 .hide-toggle.expanded:before {
3740 border-top: 8px solid #7092ff;
3742 border-right: 4px solid transparent;
3743 border-left: 4px solid transparent;
3746 /* Adjust Alignment controls */
3748 .background-control .nudge-container {
3749 border: 1px solid #ccc;
3754 .nudge-container .nudge-instructions {
3755 padding-bottom: 15px;
3758 .nudge-container .nudge-outer-rect {
3759 background-color: #eee;
3760 border: 1px solid #ccc;
3765 justify-content: center;
3766 align-items: center;
3772 .nudge-container .nudge-inner-rect {
3773 background-color: #fff;
3774 border: 1px solid #ccc;
3780 .nudge-container .nudge::after {
3785 left: 0; right: 0; top: 0; bottom: 0;
3790 .nudge-container input {
3797 .nudge-container input.error {
3798 border: 1px solid #FF7878;
3803 .nudge-container input:focus {
3804 background-color: transparent;
3807 .nudge-container button {
3812 background-color: transparent;
3815 .nudge-container button.right {
3820 .nudge-container button.left {
3825 .nudge-container button.top {
3830 .nudge-container button.bottom {
3834 .nudge-container button.nudge-reset {
3845 background-color: transparent;
3849 .background-control .nudge.right::after {
3850 border-top: 5px solid transparent;
3851 border-bottom: 5px solid transparent;
3852 border-left: 5px solid #222;
3855 .background-control .nudge.left::after {
3856 border-top: 5px solid transparent;
3857 border-bottom: 5px solid transparent;
3858 border-right: 5px solid #222;
3861 .background-control .nudge.top::after {
3862 border-right: 5px solid transparent;
3863 border-left: 5px solid transparent;
3864 border-bottom: 5px solid #222;
3867 .background-control .nudge.bottom::after {
3868 border-right: 5px solid transparent;
3869 border-left: 5px solid transparent;
3870 border-top: 5px solid #222;
3874 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3880 border: 1px solid #ccc;
3883 .opacity-options li {
3889 .opacity-options li .select-box{
3896 .map-data-control li:hover .select-box,
3897 .map-data-control li.selected .select-box,
3898 .background-control li:hover .select-box,
3899 .background-control li.selected .select-box {
3900 border: 2px solid #7092ff;
3901 background: rgba(89, 123, 231, .5);
3905 .map-data-control li.selected:hover .select-box,
3906 .map-data-control li.selected .select-box,
3907 .background-control li.selected:hover .select-box,
3908 .background-control li.selected .select-box {
3912 .background-control .opacity {
3914 display:inline-block;
3919 .map-data-control .layer-list button,
3920 .background-control .layer-list button {
3924 border-left: 1px solid #CCC;
3928 .map-data-control .layer-list button .icon,
3929 .background-control .layer-list button .icon {
3933 .map-data-control .layer-list button:first-of-type,
3934 .background-control .layer-list button:first-of-type {
3935 border-radius: 0 3px 3px 0;
3938 .map-data-control .map-overlay,
3939 .background-control .map-overlay,
3940 .help-control .map-overlay {
3947 .geolocate-control {
3948 margin-bottom: 10px;
3951 .geolocate-control button {
3952 border-radius: 0 0 0 4px;
3955 .map-overlay.content {
3959 padding: 20px 50px 20px 20px;
3966 .help-control button {
3967 border-radius: 0 0 0 4px;
3972 margin-bottom: 20px;
3975 .help-wrap .left-content .body p code {
3981 /* This is two columns, 41.66666 x .4 = 16.6666 */
3985 margin-bottom: 20px;
3989 .help-wrap .toc li a,
3992 border: 1px solid #CCC;
3996 .help-wrap .toc li a {
4000 .help-wrap .toc li a:hover,
4001 .help-wrap .nav a:hover {
4002 background: #ececec;
4005 .help-wrap .toc li a.selected {
4006 background: #E8EBFF;
4009 .help-wrap .toc li:first-child a {
4010 border-radius: 4px 4px 0 0;
4013 .help-wrap .toc li:nth-last-child(2) a {
4014 border-bottom: 1px solid #CCC;
4015 border-radius: 0 0 4px 4px
4018 .help-wrap .toc li.walkthrough a {
4021 border-bottom: 1px solid #ccc;
4035 .help-wrap .nav a:first-child {
4036 border-radius: 4px 0 0 4px;
4039 .help-wrap .nav a:last-child:not(:only-child) {
4040 border-radius: 0 4px 4px 0;
4044 .help-wrap .nav a:only-child {
4051 ------------------------------------------------------- */
4055 transform-origin:0 0;
4056 -ms-transform-origin:0 0;
4057 -webkit-transform-origin:0 0;
4058 -moz-transform-origin:0 0;
4059 -o-transform-origin:0 0;
4061 -moz-user-select: none;
4062 -webkit-user-select: none;
4063 -ms-user-select: none;
4068 -webkit-transition: opacity 200ms linear;
4069 transition: opacity 200ms linear;
4070 -moz-transition: opacity 200ms linear;
4074 background: rgba(0, 0, 0, 0.7);
4082 transform-origin:0 0;
4083 -ms-transform-origin:0 0;
4084 -webkit-transform-origin:0 0;
4085 -moz-transform-origin:0 0;
4086 -o-transform-origin:0 0;
4088 -moz-user-select: none;
4089 -webkit-user-select: none;
4090 -ms-user-select: none;
4095 border: 1px solid red;
4108 ------------------------------------------------------- */
4118 transform-origin:0 0;
4119 -ms-transform-origin:0 0;
4120 -webkit-transform-origin:0 0;
4121 -moz-transform-origin:0 0;
4122 -o-transform-origin:0 0;
4124 -moz-user-select: none;
4125 -webkit-user-select: none;
4126 -ms-user-select: none;
4130 #supersurface, .layer {
4139 ------------------------------------------------------- */
4148 border: #aaa 1px solid;
4149 box-shadow: 0 0 2em black;
4153 transform-origin:0 0;
4154 -ms-transform-origin:0 0;
4155 -webkit-transform-origin:0 0;
4156 -moz-transform-origin:0 0;
4157 -o-transform-origin:0 0;
4159 -moz-user-select: none;
4160 -webkit-user-select: none;
4161 -ms-user-select: none;
4165 .map-in-map-viewport,
4174 .map-in-map-viewport {
4185 stroke: rgba(255, 255, 0, 0.75);
4187 shape-rendering: crispEdges;
4190 .map-in-map-bbox.thick {
4196 ------------------------------------------------------- */
4198 stroke: currentColor;
4202 .map-in-map-data .debug {
4206 .red { color: rgba(255, 0, 0, 0.75); }
4207 .green { color: rgba(0, 255, 0, 0.75); }
4208 .blue { color: rgba(0, 0, 255, 0.75); }
4209 .yellow { color: rgba(255, 255, 0, 0.75); }
4210 .cyan { color: rgba(0, 255, 255, 0.75); }
4211 .magenta { color: rgba(255, 0, 255, 0.75); }
4212 .orange { color: rgba(255, 153, 0, 0.75); }
4213 .pink { color: rgba(255, 0, 153, 0.75); }
4214 .purple { color: rgba(153, 0, 255, 0.75); }
4222 pointer-events: none;
4225 .debug-legend-item {
4228 .debug-legend-item:before {
4234 ------------------------------------------------------- */
4241 border-radius: 4px 0 0 0;
4242 border-bottom: 1px solid black;
4245 .infobox .infobox-heading {
4247 border-radius: 4px 0 0 0;
4258 background: #7092ff;
4267 ------------------------------------------------------- */
4275 pointer-events: none;
4286 #attrib * { pointer-events: all; }
4288 .base-layer-attribution,
4289 .overlay-layer-attribution {
4295 .base-layer-attribution {
4299 .overlay-layer-attribution {
4303 .overlay-layer-attribution .attribution:not(:last-child):after {
4316 pointer-events: all;
4320 display: table-cell;
4321 vertical-align: bottom;
4326 -moz-user-select: none;
4327 -webkit-user-select: none;
4328 -ms-user-select: none;
4347 font: 12px sans-serif;
4357 shape-rendering: crispEdges;
4369 border-left: 1px solid rgba(255,255,255,.5);
4370 padding: 5px 0 5px 5px;
4374 #about-list li:last-child {
4381 padding: 2px 4px 4px 4px;
4384 .source-switch a.live {
4385 background: #d32232;
4389 .feature-warning a {
4390 background: #1e90ff;
4391 padding: 2px 4px 4px 4px;
4396 .user-list a:not(:last-child):after {
4409 .api-status.offline,
4410 .api-status.readonly,
4418 .api-status-login:hover {
4423 ------------------------------------------------------- */
4427 display: inline-block;
4438 margin-bottom: 10px;
4441 .modal .description {
4457 background:rgba(0,0,0,0.5);
4459 left:0px; right:0px; top:0px; bottom:0px;
4464 border-bottom: 1px solid #CCC;
4467 .modal-section.header h3 {
4471 .modal-section.buttons {
4475 .modal-section.buttons .action {
4476 display: inline-block;
4479 vertical-align: middle;
4482 .save-section .buttons .action,
4483 .save-section .buttons .secondary-action {
4484 display: inline-block;
4487 vertical-align: middle;
4494 .modal-actions button,
4495 .save-success a.button {
4496 font-weight: normal;
4498 border-bottom: 1px solid #CCC;
4502 display: inline-block;
4505 .modal-actions button:hover
4506 .save-success a.button:hover {
4507 background-color: #ececec;
4510 .modal-actions button:before,
4511 .save-success a.button.osm:before,
4512 .walkthrough a:before {
4519 margin-bottom: 10px;
4520 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -200px -460px;
4523 .modal-actions :first-child {
4524 border-right: 1px solid #CCC;
4527 .modal-section:last-child {
4532 ------------------------------------------------------- */
4534 .modal-actions .restore:before {
4535 background-position: -500px -460px;
4538 .modal-actions .reset:before {
4539 background-position: -600px -460px;
4543 ------------------------------------------------------- */
4546 padding: 15px 15px 0 15px;
4548 .save-success a.details {
4551 .save-success .button {
4555 .save-success a.button.social {
4559 .save-success .icon.social {
4565 .save-success .button.osm:before {
4566 background-position: -200px -460px;
4570 ------------------------------------------------------- */
4572 .modal-actions .walkthrough:before,
4573 .walkthrough a:before {
4574 background-position: -300px -460px;
4577 .modal-actions .start:before {
4578 background-position: -400px -460px;
4582 ------------------------------------------------------- */
4584 .mode-save a.user-info {
4585 display: inline-block;
4588 .mode-save .commit-form {
4592 .mode-save .user-info img {
4596 .mode-save h3 small.count {
4610 .mode-save .commit-info {
4611 margin-bottom: 10px;
4614 .mode-save .changeset-list {
4615 border:1px solid #ccc;
4620 .mode-save .warning-section .changeset-list button {
4621 border-left: 1px solid #CCC;
4624 .mode-save .changeset-list li {
4626 border-top:1px solid #ccc;
4631 .mode-save .changeset-list li:hover {
4632 background-color: #ececec;
4635 .mode-save .changeset-list .alert {
4639 .changeset-list li span.count {
4644 .mode-save .commit-section .changeset-list button {
4645 border-left: 1px solid #CCC;
4648 .changeset-list li span.count:before { content: '('; }
4650 .changeset-list li span.count:after { content: ')'; }
4652 .changeset-list li:first-child { border-top: 0;}
4654 /* Conflict resolution
4655 ------------------------------------------------------- */
4659 background-color: #ffffbb;
4660 border-bottom: 1px solid #ccc;
4663 .conflicts-buttons {
4667 .mode-save button.conflicts-button {
4671 .conflict-container {
4672 border-bottom: 1px solid #ccc;
4675 .conflict-description {
4681 padding: 20px 20px 0 20px;
4684 .conflict-detail-container {
4696 .conflict-nav-buttons {
4697 padding: 10px 0 20px 0;
4700 .conflict-nav-button {
4705 ------------------------------------------------------- */
4727 .notice .zoom-to:hover {
4728 background: #d8e1ff;
4731 .notice .zoom-to .icon {
4737 ------------------------------------------------------- */
4774 display: inline-block;
4779 font-weight: normal;
4780 background-color: white;
4786 pointer-events: none;
4790 background: transparent;
4798 border-color: transparent;
4799 border-style: solid;
4803 border-left-color: white;
4804 border-width: 5px 0 5px 5px;
4823 border-color: transparent;
4824 border-style: solid;
4828 border-right-color: white;
4829 border-width: 5px 5px 5px 0;
4836 border-color: transparent;
4837 border-style: solid;
4840 .tooltip.top .tooltip-arrow {
4844 border-top-color: white;
4845 border-width: 5px 5px 0;
4848 .tooltip.right .tooltip-arrow {
4852 border-right-color: white;
4853 border-width: 5px 5px 5px 0;
4856 .tooltip.left .tooltip-arrow {
4860 border-left-color: white;
4861 border-width: 5px 0 5px 5px;
4864 .tooltip.bottom .tooltip-arrow {
4868 border-bottom-color: white;
4869 border-width: 0 5px 5px;
4873 background: #F6F6F6;
4875 margin: 10px -10px -10px;
4876 border-radius: 0 0 3px 3px;
4879 .tooltip-inner .keyhint {
4883 /* Exceptions for tooltip layouts */
4885 /* make tooltips in panels dark */
4886 .map-overlay .tooltip.top .tooltip-arrow,
4887 .entity-editor-pane .tooltip.top .tooltip-arrow,
4888 .warning-section .tooltip.top .tooltip-arrow {
4889 border-top-color: #000;
4892 .map-overlay .tooltip.bottom .tooltip-arrow,
4893 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4894 .warning-section .tooltip.bottom .tooltip-arrow {
4895 border-bottom-color: #000;
4898 .map-overlay .tooltip.left .tooltip-arrow,
4899 .entity-editor-pane .tooltip.left .tooltip-arrow,
4900 .warning-section .tooltip.left .tooltip-arrow {
4901 border-left-color: #000;
4904 .map-overlay .tooltip.right .tooltip-arrow,
4905 .entity-editor-pane .tooltip.right .tooltip-arrow,
4906 .warning-section .tooltip.right .tooltip-arrow {
4907 border-right-color: #000;
4910 .map-overlay .tooltip-inner,
4911 .map-overlay .keyhint-wrap,
4912 .entity-editor-pane .tooltip-inner,
4913 .warning-section .tooltip-inner {
4917 /* commit warning tooltips need to be closer */
4918 .warning-section .tooltip.top {
4922 /* Uncramp map-control tooltips */
4923 .map-control .tooltip {
4926 /* Move over tooltips that are near the edge of screen */
4927 .add-point .tooltip {
4928 left: 33.3333% !important;
4931 .curtain-tooltip.intro-points-add .tooltip-arrow,
4932 .add-point .tooltip .tooltip-arrow {
4936 .radial-menu-tooltip {
4943 .radial-menu-background {
4946 stroke-opacity: 0.5;
4949 .radial-menu-item circle {
4953 .radial-menu-item circle:active,
4954 .radial-menu-item circle:hover {
4958 .radial-menu-item.disabled circle {
4960 fill: rgba(255,255,255,.5);
4963 .radial-menu-item use {
4968 .radial-menu-item.disabled use {
4969 fill: rgba(32,32,32,.5);
4970 color: rgba(40,40,40,.5);
4978 stroke-dasharray: 5, 5;
4982 ------------------------------------------------------- */
4984 @media only screen and (max-width: 840px) {
4985 /* override hide for save button */
4986 #bar .save .label { display: block;}
4989 @media screen and (max-width: 1200px) {
4990 .user-list { display: none !important; }
4993 @media screen and (max-width: 1000px) {
4994 #userLink { display: none !important; }
4997 @media screen and (max-width: 900px) {
4998 #scale-block { display: none !important; }
5003 ----------------------------------------------------- */
5005 ::-webkit-scrollbar {
5010 border-left: 1px solid #DDD;
5013 ::-webkit-scrollbar-track {
5014 background-clip: padding-box;
5015 border: solid transparent;
5019 ::-webkit-scrollbar-thumb {
5020 background-color: rgba(0,0,0,.2);
5021 background-clip: padding-box;
5022 border: solid transparent;
5023 border-width: 3px 3px 3px 4px;
5026 ::-webkit-scrollbar-track:hover,
5027 ::-webkit-scrollbar-track:active {
5028 background-color: rgba(0,0,0,.05);
5031 /* Intro walkthrough
5032 ----------------------------------------------------- */
5035 pointer-events: all;
5050 .intro-nav-wrap button.step {
5054 .intro-nav-wrap button.step.finished {
5055 background: #8cd05f;
5058 .intro-nav-wrap button.step .status {
5063 .intro-nav-wrap button.step.finished .status {
5064 display: inline-block;
5068 .curtain-tooltip .tooltip-inner {
5073 .curtain-tooltip .tooltip-inner {
5077 .curtain-tooltip .tooltip-inner .bold {
5080 border-top: 1px solid #CCC;
5083 margin-right: -20px;
5084 padding: 10px 20px 0 20px;
5087 .curtain-tooltip .tooltip-inner .bold:only-child {
5093 .curtain-tooltip.intro-points-describe {
5094 top: 133px !important;
5097 /* Tooltip illustrations */
5099 .intro-points-add .tooltip-inner::before,
5100 .intro-areas-add .tooltip-inner::before,
5101 .intro-lines-add .tooltip-inner::before {
5107 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat 0 -320px;
5110 .intro-areas-add .tooltip-inner::before {
5111 background-position: 0 -400px;
5114 .intro-lines-add .tooltip-inner::before {
5115 background-position: 0 -480px;
5118 .huge-modal-button {
5124 .huge-modal-button .illustration {
5127 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px;
5137 background-color: #fff;
5140 .mapillary-wrap.hidden {
5144 .mapillary-wrap button.thumb-hide {
5159 .mly-wrapper.active {
5160 visibility: visible;
5163 /* Right-to-left localization settings */
5165 [dir='rtl'] #sidebar {
5169 [dir='rtl'] #sidebar .search-header .icon {
5175 [dir='rtl'] .header h3 {
5177 padding: 20px 40px 20px 20px;
5180 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
5185 [dir='rtl'] .entity-editor-pane .header button.preset-close, [dir='rtl'] .preset-list-pane .header button.preset-choose {
5190 [dir='rtl'] .preset-icon-fill-area {
5195 [dir='rtl'] .map-data-control .layer-list button, [dir='rtl'] .background-control .layer-list button {
5198 border-right: 1px solid #CCC;
5201 [dir='rtl'] .map-data-control .layer-list button:first-of-type, [dir='rtl'] .background-control .layer-list button:first-of-type {
5202 border-radius: 3px 0 0 3px;
5206 [dir='rtl'] .feature-list-item .label {
5210 [dir='rtl'] .feature-list-item .entity-name {
5212 padding-right: 10px;
5216 [dir='rtl'] .form-label {
5217 padding: 5px 10px 5px 0;
5220 [dir='rtl'] .form-label button {
5222 border-right: 1px solid #CCC;
5225 [dir='rtl'] .more-fields label {
5226 padding: 5px 0 5px 10px;
5229 [dir='rtl'] .form-label-button-wrap {
5233 [dir='rtl'] button.minor {
5238 [dir='rtl'] .form-field .localized-main {
5240 padding-right: 10px;
5243 [dir='rtl'] .combobox-caret {
5245 margin-right: -30px;
5248 [dir='rtl'] .form-field .button-input-action {
5253 [dir='rtl'] .icon.pre-text {
5258 [dir='rtl'] .notice .zoom-to .icon {
5263 [dir='rtl'] .preset-list-button .label {
5268 border-right: 1px solid rgba(0, 0, 0, .1);
5269 border-radius: 3px 0 0 3px;
5272 [dir='rtl'] .preset-icon-frame {
5277 [dir='rtl'] .preset-list-item button.tag-reference-button {
5280 border-radius: 3px 0 0 3px;
5283 [dir='rtl'] .preset-list-button-wrap .preset-icon {
5288 [dir='rtl'] .preset-list-button-wrap .preset-icon-32 {
5292 [dir='rtl'] .form-field .maxspeed-unit {
5293 border-radius: 0 0 0 4px;
5296 [dir='rtl'] input[type="checkbox"], [dir='rtl'] input[type="radio"] {
5302 [dir='rtl'] .preset-input-wrap .col6 {
5307 [dir='rtl'] .tag-row .key-wrap,
5308 [dir='rtl'] .tag-row .input-wrap-position {
5312 [dir='rtl'] .tag-row input {
5314 border-right: 1px solid #CCC;
5317 [dir='rtl'] .tag-row:first-child input.key {
5318 border-top-left-radius: 0;
5319 border-top-right-radius: 4px;
5322 [dir='rtl'] .tag-row button {
5324 border-left-width: 1px;
5327 [dir='rtl'] .tag-row .tag-reference-button {
5331 border-left-width: 1px;
5332 border-right-width: 0;
5335 [dir='rtl'] .tag-row:first-child .tag-reference-button {
5336 border-top-left-radius: 4px;
5337 border-top-right-radius: 0;
5340 [dir='rtl'] .tag-row:last-child .tag-reference-button {
5341 border-bottom-left-radius: 4px;
5342 border-bottom-right-radius: 0;
5345 /* map control buttons */
5346 [dir='rtl'] .map-controls {
5351 [dir='rtl'] .background-control button,
5352 [dir='rtl'] .zoombuttons button.zoom-in {
5353 border-radius: 0 4px 0 0;
5356 [dir='rtl'] .help-control button,
5357 [dir='rtl'] .geolocate-control button {
5358 border-radius: 0 0 4px 0;
5361 [dir='rtl'] .list-item-gpx-browse svg {
5362 transform: rotateY(180deg);
5365 /* map control button overlays */
5366 [dir='rtl'] .map-overlay {
5367 padding: 20px 20px 20px 50px;
5369 right: auto !important;
5372 [dir='rtl'] .opacity-options {
5377 [dir='rtl'] .hide-toggle {
5379 padding-right: 12px;
5382 [dir='rtl'] .hide-toggle:before {
5386 border-right: 8px solid #7092ff;
5389 [dir='rtl'] .hide-toggle.expanded:before {
5390 border-left: 4px solid transparent;
5391 border-right: 4px solid transparent;
5395 [dir='rtl'] #bar .spacer,
5396 [dir='rtl'] #bar .button-wrap,
5397 [dir='rtl'] #bar .button-wrap button {
5401 [dir='rtl'] .add-point .tooltip {
5402 left: inherit !important;
5405 [dir='rtl'] .button-wrap:last-of-type {
5407 padding-right: 10px;
5410 [dir='rtl'] button.save.has-count .count {
5415 [dir='rtl'] button.save.has-count .count::before {
5416 border-left: 6px solid rgba(255,255,255,.5);
5422 [dir='rtl'] .joined button {
5423 border-left: 1px solid rgba(0,0,0,.5);
5427 [dir='rtl'] .joined button:first-child {
5428 border-radius: 0 4px 4px 0;
5431 [dir='rtl'] .joined button:last-child {
5432 border-radius: 4px 0 0 4px;
5436 [dir='rtl'] #scale-block {
5441 [dir='rtl'] #info-block {
5445 [dir='rtl'] #about-list {
5452 [dir='rtl'] #about-list li {
5455 border-right: 1px solid rgba(255,255,255,.5);
5458 padding: 5px 5px 5px 0;
5461 [dir='rtl'] #about-list li:last-child {
5465 [dir='rtl'] #scale text {
5469 /* increment / decrement control - code by Naoufel Razouane */
5471 [dir='rtl'] .spin-control{
5475 [dir='rtl'] .spin-control button{
5477 border-right: 1px solid #CCC;
5479 [dir='rtl'] .spin-control button.decrement{
5480 border-bottom-right-radius: 0;
5482 [dir='rtl'] .spin-control button.increment{
5483 border-bottom-left-radius: 3px;