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;
202 g.point.related:not(.selected) .shadow,
203 g.point.hover:not(.selected) .shadow {
207 g.point.selected .shadow {
211 g.point.active, g.point.active * {
212 pointer-events: none;
215 g.point ellipse.stroke {
219 .mode-drag-node g.point.active ellipse.stroke {
224 /* vertices and midpoints */
236 g.vertex.shared .stroke {
254 g.vertex.vertex-hover {
258 .mode-draw-area g.vertex.vertex-hover,
259 .mode-draw-line g.vertex.vertex-hover,
260 .mode-add-area g.vertex.vertex-hover,
261 .mode-add-line g.vertex.vertex-hover,
262 .mode-add-point g.vertex.vertex-hover,
263 .mode-drag-node g.vertex.vertex-hover {
267 .mode-draw-area .hover-disabled g.vertex.vertex-hover,
268 .mode-draw-line .hover-disabled g.vertex.vertex-hover,
269 .mode-add-area .hover-disabled g.vertex.vertex-hover,
270 .mode-add-line .hover-disabled g.vertex.vertex-hover,
271 .mode-add-point .hover-disabled g.vertex.vertex-hover,
272 .mode-drag-node .hover-disabled g.vertex.vertex-hover {
276 g.vertex.related:not(.selected) .shadow,
277 g.vertex.hover:not(.selected) .shadow,
278 g.midpoint.related:not(.selected) .shadow,
279 g.midpoint.hover:not(.selected) .shadow {
283 g.vertex.selected .shadow {
287 .mode-draw-area g.midpoint,
288 .mode-draw-line g.midpoint,
289 .mode-add-area g.midpoint,
290 .mode-add-line g.midpoint,
291 .mode-add-point g.midpoint {
297 .preset-icon .icon.other-line {
303 stroke-linecap: round;
304 stroke-linejoin: bevel;
318 path.shadow.related:not(.selected),
319 path.shadow.hover:not(.selected) {
323 path.shadow.selected {
333 /* Labels / Markers */
337 pointer-events: none;
342 .oneway .textpath.tag-waterway {
353 text.pointlabel-halo,
357 dominant-baseline: middle;
362 pointer-events: none;
363 -webkit-transition: opacity 100ms linear;
364 transition: opacity 100ms linear;
365 -moz-transition: opacity 100ms linear;
368 /* Opera doesn't support dominant-baseline. See #715 */
369 /* Safari 10 seems to have regressed too */
370 .linelabel-halo .textpath,
371 .linelabel .textpath {
372 baseline-shift: -33%;
373 dominant-baseline: auto;
380 stroke-miterlimit: 1;
391 .icon.areaicon-halo {
395 stroke-miterlimit: 1;
412 .form-field-restrictions .vertex {
413 pointer-events: none;
414 cursor: auto !important;
418 pointer-events: visibleStroke;
424 pointer-events: none;
437 /* Default - light gray */
444 stroke: rgba(255, 255, 255, 0.3);
445 fill: rgba(255, 255, 255, 0.3);
448 .preset-icon-fill-area {
449 border: 1px solid rgb(170, 170, 170);
450 background-color: rgba(170, 170, 170, 0.3);
453 path.shadow.old-multipolygon,
454 path.stroke.old-multipolygon {
455 stroke-dasharray: 100, 5;
456 stroke-linecap: butt;
460 path.stroke.tag-landuse,
461 path.stroke.tag-natural,
462 path.stroke.tag-leisure-nature_reserve,
463 path.stroke.tag-leisure-pitch,
464 path.stroke.tag-leisure-park {
465 stroke: rgb(140, 208, 95);
467 path.fill.tag-landuse,
468 path.fill.tag-natural,
469 path.fill.tag-leisure-nature_reserve,
470 path.fill.tag-leisure-pitch,
471 path.fill.tag-leisure-park {
472 stroke: rgba(140, 208, 95, 0.3);
473 fill: rgba(140, 208, 95, 0.3);
475 .preset-icon-fill-area.tag-landuse,
476 .preset-icon-fill-area.tag-natural,
477 .preset-icon-fill-area.tag-leisure-nature_reserve,
478 .preset-icon-fill-area.tag-leisure-pitch,
479 .preset-icon-fill-area.tag-leisure-park {
480 border-color: rgb(140, 208, 95);
481 background-color: rgba(140, 208, 95, 0.3);
485 path.stroke.tag-amenity-swimming_pool,
486 path.stroke.tag-leisure-swimming_pool,
487 path.stroke.tag-natural-water,
488 path.stroke.tag-landuse-aquaculture,
489 path.stroke.tag-landuse-basin,
490 path.stroke.tag-landuse-harbour,
491 path.stroke.tag-landuse-reservoir {
492 stroke: rgb(119, 211, 222);
494 path.fill.tag-amenity-swimming_pool,
495 path.fill.tag-leisure-swimming_pool,
496 path.fill.tag-landuse-aquaculture,
497 path.fill.tag-landuse-basin,
498 path.fill.tag-landuse-harbour,
499 path.fill.tag-landuse-reservoir,
500 path.fill.tag-natural-water {
501 stroke: rgba(119, 211, 222, 0.3);
502 fill: rgba(119, 211, 222, 0.3);
504 .preset-icon-fill-area.tag-amenity-swimming_pool,
505 .preset-icon-fill-area.tag-leisure-swimming_pool,
506 .preset-icon-fill-area.tag-landuse-aquaculture,
507 .preset-icon-fill-area.tag-landuse-basin,
508 .preset-icon-fill-area.tag-landuse-harbour,
509 .preset-icon-fill-area.tag-landuse-reservoir,
510 .preset-icon-fill-area.tag-natural-water {
511 border-color: rgb(119, 211, 222);
512 background-color: rgba(119, 211, 222, 0.3);
516 .pattern-color-beach,
518 .pattern-color-scrub {
519 fill: rgba(255, 255, 148, 0.2);
521 path.stroke.tag-leisure-pitch.tag-sport-beachvolleyball,
522 path.stroke.tag-natural-beach,
523 path.stroke.tag-natural-sand,
524 path.stroke.tag-natural-scrub,
525 path.stroke.tag-amenity-childcare,
526 path.stroke.tag-amenity-kindergarten,
527 path.stroke.tag-amenity-school,
528 path.stroke.tag-amenity-college,
529 path.stroke.tag-amenity-university {
530 stroke: rgba(255, 255, 148, 0.75);
532 path.fill.tag-leisure-pitch.tag-sport-beachvolleyball,
533 path.fill.tag-natural-beach,
534 path.fill.tag-natural-sand,
535 path.fill.tag-natural-scrub,
536 path.fill.tag-amenity-childcare,
537 path.fill.tag-amenity-kindergarten,
538 path.fill.tag-amenity-school,
539 path.fill.tag-amenity-college,
540 path.fill.tag-amenity-university {
541 stroke: rgba(255, 255, 148, 0.15);
542 fill: rgba(255, 255, 148, 0.15);
544 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-beachvolleyball,
545 .preset-icon-fill-area.tag-natural-beach,
546 .preset-icon-fill-area.tag-natural-sand,
547 .preset-icon-fill-area.tag-natural-scrub,
548 .preset-icon-fill-area.tag-amenity-childcare,
549 .preset-icon-fill-area.tag-amenity-kindergarten,
550 .preset-icon-fill-area.tag-amenity-school,
551 .preset-icon-fill-area.tag-amenity-college,
552 .preset-icon-fill-area.tag-amenity-university {
553 border-color: rgb(232, 232, 0);
554 background-color: rgba(255, 255, 148, 0.15);
558 .pattern-color-construction {
559 fill: rgba(196, 189, 25, 0.3);
561 path.stroke.tag-landuse-residential,
562 path.stroke.tag-landuse.tag-status,
563 path.stroke.tag-landuse-construction {
564 stroke: rgb(196, 189, 25);
566 path.fill.tag-landuse-residential {
567 stroke: rgba(196, 189, 25, 0.3);
568 fill: rgba(196, 189, 25, 0.3);
570 .preset-icon-fill-area.tag-landuse-residential,
571 .preset-icon-fill-area.tag-landuse.tag-status,
572 .preset-icon-fill-area.tag-landuse-construction {
573 border-color: rgb(196, 189, 25);
574 background: rgba(196, 189, 25, 0.3);
578 path.stroke.tag-landuse-retail,
579 path.stroke.tag-landuse-commercial,
580 path.stroke.tag-landuse-landfill,
581 path.stroke.tag-military,
582 path.stroke.tag-landuse-military {
583 stroke: rgb(214, 136, 26);
585 path.fill.tag-landuse-retail,
586 path.fill.tag-landuse-commercial,
587 path.fill.tag-landuse-landfill,
588 path.fill.tag-military,
589 path.fill.tag-landuse-military {
590 stroke: rgba(214, 136, 26, 0.3);
591 fill: rgba(214, 136, 26, 0.3);
593 .preset-icon-fill-area.tag-landuse-retail,
594 .preset-icon-fill-area.tag-landuse-commercial,
595 .preset-icon-fill-area.tag-landuse-landfill,
596 .preset-icon-fill-area.tag-military,
597 .preset-icon-fill-area.tag-landuse-military {
598 border-color: rgb(214, 136, 26);
599 background-color: rgba(214, 136, 26, 0.3);
603 path.stroke.tag-landuse-industrial,
604 path.stroke.tag-power-plant {
605 stroke: rgb(228, 164, 245);
607 path.fill.tag-landuse-industrial,
608 path.fill.tag-power-plant {
609 stroke: rgba(228, 164, 245, 0.3);
610 fill: rgba(228, 164, 245, 0.3);
612 .preset-icon-fill-area.tag-landuse-industrial,
613 .preset-icon-fill-area.tag-power-plant {
614 border-color: rgb(228, 164, 245);
615 background-color: rgba(228, 164, 245, 0.3);
619 .pattern-color-wetland {
620 fill: rgba(153, 225, 170, 0.3);
622 path.stroke.tag-natural-wetland {
623 stroke: rgb(153, 225, 170);
625 .preset-icon-fill-area.tag-natural-wetland {
626 border-color: rgb(153, 225, 170);
627 background-color: rgba(153, 225, 170, 0.2);
630 /* Light Green things */
631 .pattern-color-cemetery,
632 .pattern-color-orchard,
633 .pattern-color-meadow,
635 .pattern-color-farmland {
636 fill: rgba(191, 232, 63, 0.2);
638 path.stroke.tag-landuse-cemetery,
639 path.stroke.tag-landuse-orchard,
640 path.stroke.tag-landuse-meadow,
641 path.stroke.tag-landuse-farm,
642 path.stroke.tag-landuse-farmland {
643 stroke: rgb(191, 232, 63);
645 .preset-icon-fill-area.tag-landuse-cemetery,
646 .preset-icon-fill-area.tag-landuse-orchard,
647 .preset-icon-fill-area.tag-landuse-meadow,
648 .preset-icon-fill-area.tag-landuse-farm,
649 .preset-icon-fill-area.tag-landuse-farmland {
650 background-color: rgba(191, 232, 63, 0.2);
654 path.stroke.tag-landuse-farmyard {
655 stroke: rgb(245, 220, 186);
657 path.fill.tag-landuse-farmyard {
658 stroke: rgba(245, 220, 186, 0.3);
659 fill: rgba(245, 220, 186, 0.3);
661 .preset-icon-fill-area.tag-landuse-farmyard {
662 border-color: rgb(226, 177, 111);
663 background: rgba(245, 220, 186, 0.3);
666 /* Dark Gray things */
667 path.stroke.tag-amenity-parking,
668 path.stroke.tag-leisure-pitch.tag-sport-basketball,
669 path.stroke.tag-leisure-pitch.tag-sport-skateboard,
670 path.stroke.tag-natural-bare_rock,
671 path.stroke.tag-natural-scree,
672 path.stroke.tag-landuse-railway,
673 path.stroke.tag-landuse-quarry {
676 path.fill.tag-amenity-parking,
677 path.fill.tag-leisure-pitch.tag-sport-basketball,
678 path.fill.tag-leisure-pitch.tag-sport-skateboard,
679 path.fill.tag-natural-bare_rock,
680 path.fill.tag-natural-scree,
681 path.fill.tag-landuse-railway,
682 path.fill.tag-landuse-quarry {
683 stroke: rgba(140, 140, 140, 0.5);
684 fill: rgba(140, 140, 140, 0.5);
686 .preset-icon-fill-area.tag-amenity-parking,
687 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-basketball,
688 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-skateboard,
689 .preset-icon-fill-area.tag-natural-bare_rock,
690 .preset-icon-fill-area.tag-natural-scree,
691 .preset-icon-fill-area.tag-landuse-railway,
692 .preset-icon-fill-area.tag-landuse-quarry {
693 border-color: rgb(170, 170, 170);
694 background-color: rgba(140, 140, 140, 0.5);
697 /* Light gray overrides */
698 path.stroke.tag-natural-cave_entrance,
699 path.stroke.tag-natural-glacier {
702 path.fill.tag-natural-cave_entrance,
703 path.fill.tag-natural-glacier {
704 stroke: rgba(255, 255, 255, 0.3);
705 fill: rgba(255, 255, 255, 0.3);
707 .preset-icon-fill-area.tag-natural-cave_entrance,
708 .preset-icon-fill-area.tag-natural-glacier {
709 border-color: rgb(170, 170, 170);
710 background: rgba(170, 170, 170, 0.3);
715 .preset-icon .icon.tag-highway.other-line {
719 path.casing.tag-highway {
722 path.stroke.tag-highway {
728 path.stroke.area.tag-highway,
729 .low-zoom path.stroke.area.tag-highway {
731 stroke-dasharray: none;
737 path.shadow.tag-highway {
740 path.casing.tag-highway {
743 path.stroke.tag-highway {
747 .low-zoom path.shadow.tag-highway {
750 .low-zoom path.casing.tag-highway {
753 .low-zoom path.stroke.tag-highway {
757 .preset-icon .icon.highway-motorway,
758 .preset-icon .icon.highway-motorway-link {
762 path.stroke.tag-highway-motorway,
763 path.stroke.tag-highway-motorway_link,
764 path.stroke.tag-motorway {
767 path.casing.tag-highway-motorway,
768 path.casing.tag-highway-motorway_link,
769 path.casing.tag-motorway {
773 .preset-icon .icon.highway-trunk,
774 .preset-icon .icon.highway-trunk-link {
778 path.stroke.tag-highway-trunk,
779 path.stroke.tag-highway-trunk_link,
780 path.stroke.tag-trunk {
783 path.casing.tag-highway-trunk,
784 path.casing.tag-highway-trunk_link,
785 path.casing.tag-trunk {
789 .preset-icon .icon.highway-primary,
790 .preset-icon .icon.highway-primary-link {
794 path.stroke.tag-highway-primary,
795 path.stroke.tag-highway-primary_link,
796 path.stroke.tag-primary {
799 path.casing.tag-highway-primary,
800 path.casing.tag-highway-primary_link,
801 path.casing.tag-primary {
805 .preset-icon .icon.highway-secondary,
806 .preset-icon .icon.highway-secondary-link {
810 path.stroke.tag-highway-secondary,
811 path.stroke.tag-highway-secondary_link,
812 path.stroke.tag-secondary {
815 path.casing.tag-highway-secondary,
816 path.casing.tag-highway-secondary_link,
817 path.casing.tag-secondary {
821 .preset-icon .icon.highway-tertiary,
822 .preset-icon .icon.highway-tertiary-link {
826 path.stroke.tag-highway-tertiary,
827 path.stroke.tag-highway-tertiary_link,
828 path.stroke.tag-tertiary {
831 path.casing.tag-highway-tertiary,
832 path.casing.tag-highway-tertiary_link,
833 path.casing.tag-tertiary {
837 .legacy-carto .preset-icon .icon.highway-motorway,
838 .legacy-carto .preset-icon .icon.highway-motorway-link {
842 .legacy-carto path.stroke.tag-highway-motorway,
843 .legacy-carto path.stroke.tag-highway-motorway_link,
844 .legacy-carto path.stroke.tag-motorway {
847 .legacy-carto path.casing.tag-highway-motorway,
848 .legacy-carto path.casing.tag-highway-motorway_link,
849 .legacy-carto path.casing.tag-motorway {
853 .legacy-carto .preset-icon .icon.highway-trunk,
854 .legacy-carto .preset-icon .icon.highway-trunk-link {
858 .legacy-carto path.stroke.tag-highway-trunk,
859 .legacy-carto path.stroke.tag-highway-trunk_link,
860 .legacy-carto path.stroke.tag-trunk {
863 .legacy-carto path.casing.tag-highway-trunk,
864 .legacy-carto path.casing.tag-highway-trunk_link,
865 .legacy-carto path.casing.tag-trunk {
869 .legacy-carto .preset-icon .icon.highway-primary,
870 .legacy-carto .preset-icon .icon.highway-primary-link {
874 .legacy-carto path.stroke.tag-highway-primary,
875 .legacy-carto path.stroke.tag-highway-primary_link,
876 .legacy-carto path.stroke.tag-primary {
879 .legacy-carto path.casing.tag-highway-primary,
880 .legacy-carto path.casing.tag-highway-primary_link,
881 .legacy-carto path.casing.tag-primary {
885 .legacy-carto .preset-icon .icon.highway-secondary,
886 .legacy-carto .preset-icon .icon.highway-secondary-link {
890 .legacy-carto path.stroke.tag-highway-secondary,
891 .legacy-carto path.stroke.tag-highway-secondary_link,
892 .legacy-carto path.stroke.tag-secondary {
895 .legacy-carto path.casing.tag-highway-secondary,
896 .legacy-carto path.casing.tag-highway-secondary_link,
897 .legacy-carto path.casing.tag-secondary {
901 .legacy-carto .preset-icon .icon.highway-tertiary,
902 .legacy-carto .preset-icon .icon.highway-tertiary-link {
906 .legacy-carto path.stroke.tag-highway-tertiary,
907 .legacy-carto path.stroke.tag-highway-tertiary_link,
908 .legacy-carto path.stroke.tag-tertiary {
911 .legacy-carto path.casing.tag-highway-tertiary,
912 .legacy-carto path.casing.tag-highway-tertiary_link,
913 .legacy-carto path.casing.tag-tertiary {
917 .preset-icon .icon.highway-residential {
921 path.stroke.tag-highway-residential,
922 path.stroke.tag-residential {
925 path.casing.tag-highway-residential,
926 path.casing.tag-residential {
930 .preset-icon .icon.highway-unclassified {
934 path.stroke.tag-highway-unclassified,
935 path.stroke.tag-unclassified {
938 path.casing.tag-highway-unclassified,
939 path.casing.tag-unclassified {
944 /* narrow highways */
946 path.shadow.tag-highway-living_street,
947 path.shadow.tag-highway-service,
948 path.shadow.tag-highway-track,
949 path.shadow.tag-highway-road,
950 path.shadow.tag-living_street,
951 path.shadow.tag-service,
952 path.shadow.tag-track,
953 path.shadow.tag-road {
956 path.casing.tag-highway-living_street,
957 path.casing.tag-highway-service,
958 path.casing.tag-highway-track,
959 path.casing.tag-highway-road,
960 path.casing.tag-living_street,
961 path.casing.tag-service,
962 path.casing.tag-track,
963 path.casing.tag-road {
966 path.stroke.tag-highway-living_street,
967 path.stroke.tag-highway-service,
968 path.stroke.tag-highway-track,
969 path.stroke.tag-highway-road,
970 path.stroke.tag-living_street,
971 path.stroke.tag-service,
972 path.stroke.tag-track,
973 path.stroke.tag-road {
977 path.shadow.tag-highway-path,
978 path.shadow.tag-highway-footway,
979 path.shadow.tag-highway-cycleway,
980 path.shadow.tag-highway-bridleway,
981 path.shadow.tag-highway-corridor,
982 path.shadow.tag-highway-pedestrian,
983 path.shadow.tag-highway-steps,
984 path.shadow.tag-path,
985 path.shadow.tag-footway,
986 path.shadow.tag-cycleway,
987 path.shadow.tag-bridleway,
988 path.shadow.tag-corridor,
989 path.shadow.tag-pedestrian,
990 path.shadow.tag-steps {
993 path.casing.tag-highway-path,
994 path.casing.tag-highway-footway,
995 path.casing.tag-highway-cycleway,
996 path.casing.tag-highway-bridleway,
997 path.casing.tag-highway-corridor,
998 path.casing.tag-highway-pedestrian,
999 path.casing.tag-highway-steps,
1000 path.casing.tag-path,
1001 path.casing.tag-footway,
1002 path.casing.tag-cycleway,
1003 path.casing.tag-bridleway,
1004 path.casing.tag-corridor,
1005 path.casing.tag-pedestrian,
1006 path.casing.tag-steps {
1009 path.stroke.tag-highway-path,
1010 path.stroke.tag-highway-footway,
1011 path.stroke.tag-highway-cycleway,
1012 path.stroke.tag-highway-bridleway,
1013 path.stroke.tag-highway-corridor,
1014 path.stroke.tag-highway-pedestrian,
1015 path.stroke.tag-highway-steps,
1016 path.stroke.tag-path,
1017 path.stroke.tag-footway,
1018 path.stroke.tag-cycleway,
1019 path.stroke.tag-bridleway,
1020 path.stroke.tag-corridor,
1021 path.stroke.tag-pedestrian,
1022 path.stroke.tag-steps {
1026 .low-zoom path.shadow.tag-highway-living_street,
1027 .low-zoom path.shadow.tag-highway-service,
1028 .low-zoom path.shadow.tag-highway-track,
1029 .low-zoom path.shadow.tag-highway-road,
1030 .low-zoom path.shadow.tag-living_street,
1031 .low-zoom path.shadow.tag-service,
1032 .low-zoom path.shadow.tag-track,
1033 .low-zoom path.shadow.tag-road {
1036 .low-zoom path.casing.tag-highway-living_street,
1037 .low-zoom path.casing.tag-highway-service,
1038 .low-zoom path.casing.tag-highway-track,
1039 .low-zoom path.casing.tag-highway-road,
1040 .low-zoom path.casing.tag-living_street,
1041 .low-zoom path.casing.tag-service,
1042 .low-zoom path.casing.tag-track,
1043 .low-zoom path.casing.tag-road {
1046 .low-zoom path.stroke.tag-highway-living_street,
1047 .low-zoom path.stroke.tag-highway-service,
1048 .low-zoom path.stroke.tag-highway-track,
1049 .low-zoom path.stroke.tag-highway-road,
1050 .low-zoom path.stroke.tag-living_street,
1051 .low-zoom path.stroke.tag-service,
1052 .low-zoom path.stroke.tag-track,
1053 .low-zoom path.stroke.tag-road {
1057 .low-zoom path.shadow.tag-highway-path,
1058 .low-zoom path.shadow.tag-highway-footway,
1059 .low-zoom path.shadow.tag-highway-cycleway,
1060 .low-zoom path.shadow.tag-highway-bridleway,
1061 .low-zoom path.shadow.tag-highway-corridor,
1062 .low-zoom path.shadow.tag-highway-pedestrian,
1063 .low-zoom path.shadow.tag-highway-steps,
1064 .low-zoom path.shadow.tag-path,
1065 .low-zoom path.shadow.tag-footway,
1066 .low-zoom path.shadow.tag-cycleway,
1067 .low-zoom path.shadow.tag-bridleway,
1068 .low-zoom path.shadow.tag-corridor,
1069 .low-zoom path.shadow.tag-pedestrian,
1070 .low-zoom path.shadow.tag-steps {
1073 .low-zoom path.casing.tag-highway-path,
1074 .low-zoom path.casing.tag-highway-footway,
1075 .low-zoom path.casing.tag-highway-cycleway,
1076 .low-zoom path.casing.tag-highway-bridleway,
1077 .low-zoom path.casing.tag-highway-corridor,
1078 .low-zoom path.casing.tag-highway-pedestrian,
1079 .low-zoom path.casing.tag-highway-steps,
1080 .low-zoom path.casing.tag-path,
1081 .low-zoom path.casing.tag-footway,
1082 .low-zoom path.casing.tag-cycleway,
1083 .low-zoom path.casing.tag-bridleway,
1084 .low-zoom path.casing.tag-corridor,
1085 .low-zoom path.casing.tag-pedestrian,
1086 .low-zoom path.casing.tag-steps {
1089 .low-zoom path.stroke.tag-highway-path,
1090 .low-zoom path.stroke.tag-highway-footway,
1091 .low-zoom path.stroke.tag-highway-cycleway,
1092 .low-zoom path.stroke.tag-highway-bridleway,
1093 .low-zoom path.stroke.tag-highway-corridor,
1094 .low-zoom path.stroke.tag-highway-pedestrian,
1095 .low-zoom path.stroke.tag-highway-steps,
1096 .low-zoom path.stroke.tag-path,
1097 .low-zoom path.stroke.tag-footway,
1098 .low-zoom path.stroke.tag-cycleway,
1099 .low-zoom path.stroke.tag-bridleway,
1100 .low-zoom path.stroke.tag-corridor,
1101 .low-zoom path.stroke.tag-pedestrian,
1102 .low-zoom path.stroke.tag-steps {
1107 .preset-icon .icon.highway-living-street {
1111 path.stroke.tag-highway-living_street,
1112 path.stroke.tag-living_street {
1115 path.casing.tag-highway-living_street,
1116 path.casing.tag-living_street {
1120 .preset-icon .icon.highway-footway.tag-highway-corridor,
1121 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
1125 path.stroke.tag-highway-corridor,
1126 path.stroke.tag-highway-pedestrian,
1127 path.stroke.tag-corridor,
1128 path.stroke.tag-pedestrian {
1130 stroke-dasharray: 2, 8;
1132 .low-zoom path.stroke.tag-highway-corridor,
1133 .low-zoom path.stroke.tag-highway-pedestrian,
1134 .low-zoom path.stroke.tag-corridor,
1135 .low-zoom path.stroke.tag-pedestrian {
1136 stroke-dasharray: 1, 4;
1138 path.casing.tag-highway-corridor,
1139 path.casing.tag-highway-pedestrian,
1140 path.casing.tag-corridor,
1141 path.casing.tag-pedestrian,
1142 path.casing.tag-highway-corridor.tag-unpaved,
1143 path.casing.tag-highway-pedestrian.tag-unpaved,
1144 path.casing.tag-corridor.tag-unpaved,
1145 path.casing.tag-pedestrian.tag-unpaved {
1147 stroke-linecap: round;
1148 stroke-dasharray: none;
1151 .preset-icon .icon.highway-road {
1155 path.stroke.tag-highway-road,
1156 path.stroke.tag-road {
1159 path.casing.tag-highway-road,
1160 path.casing.tag-road {
1164 .preset-icon .icon.highway-service {
1168 path.stroke.tag-highway-service,
1169 path.stroke.tag-service {
1172 path.casing.tag-highway-service,
1173 path.casing.tag-service {
1177 /* with `service=* tag` (e.g. parking_aisle, alley, drive-through */
1178 .preset-icon .icon.highway-service.tag-service {
1182 path.stroke.tag-highway-service.tag-service,
1183 path.stroke.tag-service.tag-service {
1186 path.casing.tag-highway-service.tag-service,
1187 path.casing.tag-service.tag-service {
1191 .preset-icon .icon.highway-track {
1195 path.stroke.tag-highway-track,
1196 path.stroke.tag-track {
1199 path.casing.tag-highway-track,
1200 path.casing.tag-track {
1204 path.stroke.tag-highway-path,
1205 path.stroke.tag-highway-footway,
1206 path.stroke.tag-highway-cycleway,
1207 path.stroke.tag-highway-bridleway {
1208 stroke-linecap: butt;
1209 stroke-dasharray: 6, 6;
1211 .low-zoom path.stroke.tag-highway-path,
1212 .low-zoom path.stroke.tag-highway-footway,
1213 .low-zoom path.stroke.tag-highway-cycleway,
1214 .low-zoom path.stroke.tag-highway-bridleway {
1215 stroke-linecap: butt;
1216 stroke-dasharray: 3, 3;
1219 path.casing.tag-highway-path,
1220 path.casing.tag-highway-path.tag-unpaved {
1222 stroke-linecap: round;
1223 stroke-dasharray: none;
1225 path.casing.tag-highway-footway,
1226 path.casing.tag-highway-cycleway,
1227 path.casing.tag-highway-bridleway,
1228 path.casing.tag-highway-footway.tag-unpaved,
1229 path.casing.tag-highway-cycleway.tag-unpaved,
1230 path.casing.tag-highway-bridleway.tag-unpaved {
1232 stroke-linecap: round;
1233 stroke-dasharray: none;
1236 .preset-icon .icon.category-path,
1237 .preset-icon .icon.highway-path {
1241 path.stroke.tag-highway-path {
1245 .preset-icon .icon.tag-route-foot,
1246 .preset-icon .icon.tag-route-hiking,
1247 .preset-icon .icon.highway-footway {
1251 path.stroke.tag-highway-footway {
1255 .preset-icon .icon.highway-footway.tag-crossing {
1258 path.stroke.tag-highway-footway.tag-crossing {
1260 stroke-dasharray: 6, 4;
1262 .low-zoom path.stroke.tag-highway-footway.tag-crossing {
1263 stroke-dasharray: 3, 2;
1266 .preset-icon .icon.tag-route-bicycle,
1267 .preset-icon .icon.highway-cycleway {
1271 path.stroke.tag-highway-cycleway {
1275 .preset-icon .icon.tag-route-horse,
1276 .preset-icon .icon.highway-bridleway {
1280 path.stroke.tag-highway-bridleway {
1284 .preset-icon .icon.highway-steps {
1288 path.stroke.tag-highway-steps {
1290 stroke-linecap: butt;
1291 stroke-dasharray: 3, 3;
1293 .low-zoom path.stroke.tag-highway-steps {
1294 stroke-dasharray: 2, 2;
1296 path.casing.tag-highway-steps,
1297 path.casing.tag-highway-steps.tag-unpaved {
1299 stroke-linecap: round;
1300 stroke-dasharray: none;
1303 /* highway midpoints */
1305 g.midpoint.tag-highway-corridor .fill,
1306 g.midpoint.tag-highway-pedestrian .fill,
1307 g.midpoint.tag-highway-steps .fill,
1308 g.midpoint.tag-highway-path .fill,
1309 g.midpoint.tag-highway-footway .fill,
1310 g.midpoint.tag-highway-cycleway .fill,
1311 g.midpoint.tag-highway-bridleway .fill {
1320 path.stroke.area.tag-aeroway,
1321 .low-zoom path.stroke.area.tag-aeroway {
1323 stroke-dasharray: none;
1327 /* narrow aeroways (taxiway) */
1329 path.shadow.tag-aeroway-taxiway,
1330 path.shadow.tag-taxiway {
1333 path.casing.tag-aeroway-taxiway,
1334 path.casing.tag-taxiway {
1337 path.stroke.tag-aeroway-taxiway,
1338 path.stroke.tag-taxiway {
1342 .low-zoom path.shadow.tag-aeroway-taxiway,
1343 .low-zoom path.shadow.tag-taxiway {
1346 .low-zoom path.casing.tag-aeroway-taxiway,
1347 .low-zoom path.casing.tag-taxiway {
1350 .low-zoom path.stroke.tag-aeroway-taxiway,
1351 .low-zoom path.stroke.tag-taxiway {
1355 .preset-icon .icon.tag-aeroway-taxiway,
1356 .preset-icon .icon.tag-taxiway {
1360 path.stroke.tag-aeroway-taxiway,
1361 path.stroke.tag-taxiway {
1364 path.casing.tag-aeroway-taxiway,
1365 path.casing.tag-taxiway {
1370 /* wide aeroways (runway) */
1372 .preset-icon .icon.tag-aeroway-runway,
1373 .preset-icon .icon.tag-runway {
1377 path.shadow.tag-aeroway-runway {
1380 path.casing.tag-aeroway-runway {
1383 stroke-linecap: square;
1385 path.stroke.tag-aeroway-runway {
1388 stroke-linecap: butt;
1389 stroke-dasharray: 24, 48;
1392 .low-zoom path.shadow.tag-aeroway-runway {
1395 .low-zoom path.casing.tag-aeroway-runway {
1398 .low-zoom path.stroke.tag-aeroway-runway {
1400 stroke-dasharray: 12, 24;
1403 path.fill.tag-aeroway-runway {
1404 stroke: rgba(0, 0, 0, 0.6);
1405 fill: rgba(0, 0, 0, 0.6);
1410 .preset-icon .icon.tag-railway.other-line {
1414 .preset-icon .icon.tag-railway {
1421 path.stroke.area.tag-railway,
1422 .low-zoom path.stroke.area.tag-railway {
1425 stroke-dasharray: none;
1428 path.casing.area.tag-railway,
1429 .low-zoom path.casing.area.tag-railway {
1435 path.shadow.tag-railway {
1438 path.casing.tag-railway {
1441 path.stroke.tag-railway {
1443 stroke-linecap: butt;
1444 stroke-dasharray: 12,12;
1447 .low-zoom path.shadow.tag-railway {
1450 .low-zoom path.casing.tag-railway {
1453 .low-zoom path.stroke.tag-railway {
1455 stroke-dasharray: 6,6;
1461 path.casing.tag-railway {
1464 path.stroke.tag-railway {
1469 .preset-icon .icon.tag-railway-disused,
1470 .preset-icon .icon.tag-railway-abandoned {
1474 path.casing.tag-railway-abandoned {
1477 path.stroke.tag-railway-abandoned {
1482 .preset-icon .icon.tag-railway-subway {
1486 path.casing.tag-railway-subway {
1489 path.stroke.tag-railway-subway {
1494 /* railway platforms - like sidewalks */
1496 .preset-icon .icon.highway-footway.tag-railway-platform {
1500 path.shadow.tag-railway-platform {
1503 path.casing.tag-railway-platform {
1506 stroke-linecap: round;
1507 stroke-dasharray: none;
1509 path.stroke.tag-railway-platform {
1512 stroke-linecap: butt;
1513 stroke-dasharray: 6, 6;
1516 .low-zoom path.shadow.tag-railway-platform {
1519 .low-zoom path.casing.tag-railway-platform {
1522 .low-zoom path.stroke.tag-railway-platform {
1524 stroke-linecap: butt;
1525 stroke-dasharray: 3, 3;
1528 g.midpoint.tag-railway-platform .fill {
1536 .preset-icon .icon.tag-waterway.other-line {
1540 .preset-icon .icon.category-water,
1541 .preset-icon .icon.tag-route-ferry,
1542 .preset-icon .icon.tag-type-waterway,
1543 .preset-icon .icon.tag-waterway {
1548 path.fill.tag-waterway {
1549 stroke: rgba(119, 211, 222, 0.3);
1550 fill: rgba(119, 211, 222, 0.3);
1552 path.casing.tag-waterway {
1555 path.stroke.tag-waterway {
1560 /* narrow waterways (default) */
1562 path.shadow.tag-waterway {
1565 path.casing.tag-waterway {
1568 path.stroke.tag-waterway {
1572 .low-zoom path.shadow.tag-waterway {
1575 .low-zoom path.casing.tag-waterway {
1578 .low-zoom path.stroke.tag-waterway {
1583 /* wide waterways (river) */
1585 path.shadow.tag-waterway-river {
1588 path.casing.tag-waterway-river {
1591 path.stroke.tag-waterway-river {
1595 .low-zoom path.shadow.tag-waterway-river {
1598 .low-zoom path.casing.tag-waterway-river {
1601 .low-zoom path.stroke.tag-waterway-river {
1608 .preset-icon .icon.tag-waterway-ditch {
1611 path.stroke.tag-waterway-ditch {
1616 /* waterway areas */
1618 path.area.stroke.tag-waterway-dock,
1619 path.area.stroke.tag-waterway-boatyard,
1620 path.area.stroke.tag-waterway-fuel {
1624 path.area.casing.tag-waterway-dock,
1625 path.area.casing.tag-waterway-boatyard,
1626 path.area.casing.tag-waterway-fuel {
1629 path.area.fill.tag-waterway-dock,
1630 path.area.fill.tag-waterway-boatyard,
1631 path.area.fill.tag-waterway-fuel {
1632 stroke: rgba(255, 255, 255, 0.3);
1633 fill: rgba(255, 255, 255, 0.3);
1637 .preset-icon .icon.tag-man_made-pipeline,
1638 .preset-icon .icon.tag-power {
1643 path.stroke.tag-power {
1647 path.casing.tag-power {
1653 path.stroke.tag-boundary {
1656 stroke-linecap: butt;
1657 stroke-dasharray: 20, 5, 5, 5;
1659 path.casing.tag-boundary {
1664 path.casing.tag-boundary-protected_area,
1665 path.casing.tag-boundary-national_park {
1671 path.stroke.tag-barrier {
1674 stroke-linecap: round;
1675 stroke-dasharray: 15, 5, 1, 5;
1677 .low-zoom path.stroke.tag-barrier {
1679 stroke-linecap: butt;
1680 stroke-dasharray: 8, 2, 2, 2;
1685 path.casing.tag-bridge {
1686 stroke-opacity: 0.6;
1688 stroke-linecap: butt;
1689 stroke-dasharray: none;
1692 path.shadow.tag-bridge {
1695 path.casing.tag-bridge {
1698 .low-zoom path.shadow.tag-bridge {
1701 .low-zoom path.casing.tag-bridge {
1705 path.shadow.line.tag-railway.tag-bridge,
1706 path.shadow.tag-highway-living_street.tag-bridge,
1707 path.shadow.tag-highway-path.tag-bridge,
1708 path.shadow.tag-highway-corridor.tag-bridge,
1709 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1710 path.shadow.tag-highway-service.tag-bridge,
1711 path.shadow.tag-highway-track.tag-bridge,
1712 path.shadow.tag-highway-steps.tag-bridge,
1713 path.shadow.tag-highway-footway.tag-bridge,
1714 path.shadow.tag-highway-cycleway.tag-bridge,
1715 path.shadow.tag-highway-bridleway.tag-bridge {
1718 path.casing.line.tag-railway.tag-bridge,
1719 path.casing.tag-highway-living_street.tag-bridge,
1720 path.casing.tag-highway-path.tag-bridge,
1721 path.casing.tag-highway-corridor.tag-bridge,
1722 path.casing.line.tag-highway-pedestrian.tag-bridge,
1723 path.casing.tag-highway-service.tag-bridge,
1724 path.casing.tag-highway-track.tag-bridge,
1725 path.casing.tag-highway-steps.tag-bridge,
1726 path.casing.tag-highway-footway.tag-bridge,
1727 path.casing.tag-highway-cycleway.tag-bridge,
1728 path.casing.tag-highway-bridleway.tag-bridge {
1732 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1733 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1734 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1735 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1736 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1737 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1738 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1739 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1740 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1741 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1742 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1745 .low-zoom path.casing.line.tag-railway.tag-bridge,
1746 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1747 .low-zoom path.casing.tag-highway-path.tag-bridge,
1748 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1749 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1750 .low-zoom path.casing.tag-highway-service.tag-bridge,
1751 .low-zoom path.casing.tag-highway-track.tag-bridge,
1752 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1753 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1754 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1755 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1761 path.stroke.tag-tunnel {
1762 stroke-opacity: 0.3;
1764 path.casing.tag-tunnel {
1765 stroke-opacity: 0.5;
1766 stroke-linecap: butt;
1767 stroke-dasharray: none;
1771 /* embankments / cuttings */
1772 path.shadow.tag-embankment,
1773 path.shadow.tag-cutting {
1776 path.casing.tag-embankment,
1777 path.casing.tag-cutting {
1778 stroke-opacity: 0.5;
1781 stroke-dasharray: 2, 4;
1782 stroke-linecap: butt;
1785 .low-zoom path.shadow.tag-embankment,
1786 .low-zoom path.shadow.tag-cutting {
1789 .low-zoom path.casing.tag-embankment,
1790 .low-zoom path.casing.tag-cutting {
1795 /* Surface - unpaved */
1796 path.casing.tag-unpaved {
1798 stroke-linecap: butt;
1799 stroke-dasharray: 4, 3;
1801 .low-zoom path.casing.tag-unpaved {
1802 stroke-dasharray: 3, 2;
1804 path.casing.tag-bridge.tag-unpaved {
1806 stroke-dasharray: 4, 3;
1808 .low-zoom path.casing.tag-bridge.tag-unpaved {
1810 stroke-dasharray: 3, 2;
1814 /* Status (e.g. construction, proposed, abandoned) */
1815 path.stroke.tag-status,
1816 path.casing.tag-status {
1817 stroke-linecap: butt;
1818 stroke-dasharray: 7, 3;
1820 .low-zoom path.stroke.tag-status,
1821 .low-zoom path.casing.tag-status {
1822 stroke-dasharray: 5, 2;
1827 path.stroke.tag-building,
1828 path.stroke.tag-amenity-shelter {
1829 stroke: rgb(224, 110, 95);
1831 path.fill.tag-building,
1832 path.fill.tag-amenity-shelter {
1833 stroke: rgba(224, 110, 95, 0.3);
1834 fill: rgba(224, 110, 95, 0.3);
1836 .preset-icon-fill-area.tag-building,
1837 .preset-icon-fill-area.tag-amenity-shelter {
1838 border-color: rgb(224, 110, 95);
1839 background-color: rgba(224, 110, 95, 0.3);
1845 cursor: auto; /* Opera */
1846 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1849 .mode-browse .point,
1850 .mode-select .point {
1851 cursor: pointer; /* Opera */
1852 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1855 .mode-select .vertex,
1856 .mode-browse .vertex {
1857 cursor: pointer; /* Opera */
1858 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1862 .mode-select .line {
1863 cursor: pointer; /* Opera */
1864 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1868 .mode-browse .area {
1869 cursor: pointer; /* Opera */
1870 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1873 .mode-select .midpoint,
1874 .mode-browse .midpoint {
1875 cursor: pointer; /* Opera */
1876 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1879 .mode-select .behavior-multiselect .point,
1880 .mode-select .behavior-multiselect .vertex,
1881 .mode-select .behavior-multiselect .line,
1882 .mode-select .behavior-multiselect .area {
1883 cursor: pointer; /* Opera */
1884 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1887 .mode-select .behavior-multiselect .selected {
1888 cursor: pointer; /* Opera */
1889 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1893 #map .vertex:active,
1896 #map .midpoint:active,
1897 #map .mode-select .selected {
1898 cursor: pointer; /* Opera */
1899 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1902 .mode-draw-line #map,
1903 .mode-draw-area #map,
1904 .mode-add-line #map,
1905 .mode-add-area #map,
1906 .mode-drag-node #map {
1907 cursor: crosshair; /* Opera */
1908 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1911 .mode-draw-line .way.hover,
1912 .mode-draw-area .way.hover,
1913 .mode-add-line .way.hover,
1914 .mode-add-area .way.hover,
1915 .mode-drag-node .way.hover {
1916 cursor: crosshair; /* Opera */
1917 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1920 .mode-draw-line .vertex.hover,
1921 .mode-draw-area .vertex.hover,
1922 .mode-add-line .vertex.hover,
1923 .mode-add-area .vertex.hover,
1924 .mode-drag-node .vertex.hover {
1925 cursor: crosshair; /* Opera */
1926 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1929 .mode-add-point #map,
1930 .mode-browse.lasso #map,
1931 .mode-browse.lasso .way,
1932 .mode-browse.lasso .vertex,
1933 .mode-browse.lasso .midpoint,
1934 .mode-select.lasso #map,
1935 .mode-select.lasso .way,
1936 .mode-select.lasso .vertex,
1937 .mode-select.lasso .midpoint {
1938 cursor: crosshair; /* Opera */
1939 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1946 /* Mapillary Image Layer */
1948 .layer-mapillary-images {
1949 pointer-events: none;
1952 .layer-mapillary-images .viewfield-group {
1953 pointer-events: visible;
1954 cursor: pointer; /* Opera */
1955 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1958 .layer-mapillary-images .viewfield-group * {
1965 .layer-mapillary-images .viewfield-group:hover * {
1972 .layer-mapillary-images .viewfield-group.selected * {
1979 .layer-mapillary-images .viewfield-group:hover path.viewfield,
1980 .layer-mapillary-images .viewfield-group.selected path.viewfield,
1981 .layer-mapillary-images .viewfield-group path.viewfield {
1986 /* Mapillary Sign Layer */
1988 .layer-mapillary-signs {
1989 pointer-events: none;
1992 .layer-mapillary-signs .icon-sign .icon-sign-body {
1996 outline: 2px solid transparent;
1997 pointer-events: visible;
1998 cursor: pointer; /* Opera */
1999 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
2004 .layer-mapillary-signs .icon-sign:hover .icon-sign-body {
2005 outline: 2px solid rgba(255,198,0,0.8);
2009 .layer-mapillary-signs .icon-sign.selected .icon-sign-body {
2010 outline: 2px solid rgba(255,0,0,0.8);
2015 /* Mapillary viewer */
2016 #mly .domRenderer .TagSymbol {
2018 background-color: rgba(0, 0, 0, 0.4);
2024 #mly .domRenderer .Attribution {
2036 background-color: #fff;
2039 .mapillary-wrap.hidden {
2043 .mapillary-wrap button.thumb-hide {
2058 .mly-wrapper.active {
2059 visibility: visible;
2063 .low-zoom.fill-wireframe path.stroke,
2064 .fill-wireframe path.stroke {
2065 stroke-width: 1 !important;
2066 stroke-opacity: 0.5 !important;
2067 stroke-dasharray: none !important;
2068 fill: none !important;
2071 .low-zoom.fill-wireframe path.shadow,
2072 .fill-wireframe path.shadow {
2076 .fill-wireframe path.shadow.related:not(.selected),
2077 .fill-wireframe path.shadow.hover:not(.selected) {
2078 stroke-opacity: 0.4;
2080 .fill-wireframe path.shadow.selected {
2081 stroke-opacity: 0.6;
2084 .fill-wireframe .point,
2085 .fill-wireframe .areaicon,
2086 .fill-wireframe .areaicon-halo,
2087 .fill-wireframe path.casing,
2088 .fill-wireframe path.fill,
2089 .fill-wireframe path.oneway {
2090 display: none !important;
2093 .fill-partial path.area.fill {
2096 pointer-events: visibleStroke;
2101 .mode-draw-line .vertex.active,
2102 .mode-draw-area .vertex.active,
2103 .mode-drag-node .vertex.active {
2107 .mode-draw-line .way.active,
2108 .mode-draw-area .way.active,
2109 .mode-drag-node .active {
2110 pointer-events: none;
2113 /* Ensure drawing doesn't interact with area fills. */
2114 .mode-add-point path.area.fill,
2115 .mode-draw-line path.area.fill,
2116 .mode-draw-area path.area.fill,
2117 .mode-add-line path.area.fill,
2118 .mode-add-area path.area.fill,
2119 .mode-drag-node path.area.fill {
2120 pointer-events: none;
2123 ------------------------------------------------------- */
2126 Opera misbehaves when the window is resized vertically unless 100% width + height are
2127 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2135 font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2136 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2137 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2144 -ms-user-select: none;
2149 vertical-align: middle;
2167 -webkit-filter: none !important;
2168 filter: none !important;
2169 -webkit-duration: 200ms;
2170 transition-duration: 200ms;
2174 -webkit-filter: grayscale(80%) brightness(80%);
2175 filter: grayscale(80%) brightness(80%);
2176 -webkit-duration: 200ms;
2177 transition-duration: 200ms;
2180 /* Firefox has its own ideas about fixed positioning when a css filter is active - #4348 */
2181 /* https://stackoverflow.com/questions/37949942/firefox-position-bug-by-parent-with-filter */
2182 @-moz-document url-prefix() {
2186 #content.inactive > #bar > .spacer.col4 {
2189 #content.active > #bar > .spacer.col4 {
2191 transition-duration: 200ms;
2192 transition-timing-function: step-end;
2197 /* Can't be display: none or the clippaths are ignored. */
2217 [dir='rtl'] .spinner {
2228 [dir='rtl'] .spinner img {
2231 -moz-transform: scaleX(-1);
2232 -o-transform: scaleX(-1);
2233 -webkit-transform: scaleX(-1);
2234 transform: scaleX(-1);
2236 -ms-filter: "FlipH";
2240 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
2241 -moz-box-sizing: border-box;
2242 -webkit-box-sizing: border-box;
2243 box-sizing: border-box;
2246 a, button, input, textarea {
2247 -webkit-tap-highlight-color:rgba(0,0,0,0);
2248 -webkit-touch-callout:none;
2253 .checkselect label:hover,
2254 .opacity-options li,
2263 margin-bottom: 20px;
2268 h4:last-child { margin-bottom: 0;}
2274 margin-bottom: 10px;
2280 padding-bottom: 10px;
2284 outline-color: transparent;
2285 outline-style: none;
2315 ------------------------------------------------------- */
2319 font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2320 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2321 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2332 background-color: white;
2334 border:1px solid #ccc;
2335 padding:5px 20px 5px 10px;
2339 text-overflow: ellipsis;
2341 [dir='rtl'] textarea,
2342 [dir='rtl'] input[type=text],
2343 [dir='rtl'] input[type=search],
2344 [dir='rtl'] input[type=number],
2345 [dir='rtl'] input[type=url],
2346 [dir='rtl'] input[type=tel],
2347 [dir='rtl'] input[type=email] {
2348 padding:5px 10px 5px 20px;
2353 background-color: #F1F1F1;
2356 input[type="checkbox"],
2357 input[type="radio"] {
2364 [dir='rtl'] input[type="checkbox"],
2365 [dir='rtl'] input[type="radio"] {
2371 /* remove bottom border radius when combobox is open */
2372 .combobox + * textarea:focus,
2373 .combobox + * input:focus {
2374 border-bottom-left-radius: 0 !important;
2375 border-bottom-right-radius: 0 !important;
2381 background-color: white;
2382 border-collapse: collapse;
2391 table.tags, table.tags td, table.tags th {
2392 border: 1px solid #CCC;
2401 ------------------------------------------------------- */
2403 .col0 { float:left; width:04.1666%; }
2404 .col1 { float:left; width:08.3333%; }
2405 .col2 { float:left; width:16.6666%; }
2406 .col3 { float:left; width:25.0000%; max-width: 300px; }
2407 .col4 { float:left; width:33.3333%; max-width: 400px; }
2408 .col5 { float:left; width:41.6666%; max-width: 500px; }
2409 .col6 { float:left; width:50.0000%; max-width: 600px; }
2410 .col7 { float:left; width:58.3333%; }
2411 .col8 { float:left; width:66.6666%; }
2412 .col9 { float:left; width:75.0000%; }
2413 .col10 { float:left; width:83.3333%; }
2414 .col11 { float:left; width:91.6666%; }
2415 .col12 { float:left; width:100.0000%; }
2418 ------------------------------------------------------- */
2420 ul li { list-style: none;}
2422 .toggle-list > label {
2427 background-color: white;
2432 .toggle-list > label:hover {
2433 background-color: #ececec;
2436 .toggle-list > label:not(:last-child) {
2437 border-bottom: 1px solid #ccc;
2440 .toggle-list > label:last-child {
2441 border-radius: 0 0 3px 3px;
2444 .toggle-list label > span {
2447 white-space: nowrap;
2448 text-overflow: ellipsis;
2451 .toggle-list > label.active {
2452 background: #E8EBFF;
2457 ------------------------------------------------------- */
2464 background: #f6f6f6;
2469 background: #ececec;
2474 background:rgba(0,0,0,.5);
2479 background:rgba(0,0,0,.75);
2484 .fr { float: right;}
2502 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2506 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2507 background-size:5px 5px;
2543 display: inline-block;
2550 background-color: #ececec;
2555 background-color: rgba(255,255,255,.25);
2556 color: rgba(0,0,0,.4);
2561 background: #7092ff;
2571 background-color: #fafafa;
2573 [dir='rtl'] button.minor {
2577 button.minor .icon {
2581 button.minor:hover {
2582 background-color: #f1f1f1;
2586 display: inline-block;
2591 .button-wrap button:only-child {
2595 .button-wrap:last-of-type {
2598 [dir='rtl'] .button-wrap:last-of-type {
2600 padding-right: 10px;
2605 border-right: 1px solid rgba(0,0,0,.5);
2607 [dir='rtl'] .joined button {
2608 border-left: 1px solid rgba(0,0,0,.5);
2612 .fillL .joined button {
2613 border-right: 1px solid white;
2616 .joined button:first-child {
2617 border-radius: 4px 0 0 4px;
2619 [dir='rtl'] .joined button:first-child {
2620 border-radius: 0 4px 4px 0;
2623 .joined button:last-child {
2624 border-right-width: 0;
2625 border-radius: 0 4px 4px 0;
2627 [dir='rtl'] .joined button:last-child {
2628 border-radius: 4px 0 0 4px;
2632 background: #7092ff;
2636 button[disabled].action,
2637 button[disabled].action:hover {
2638 background: #cccccc;
2642 button.action:focus,
2643 button.action:hover {
2644 background: #597BE7;
2647 button.secondary-action {
2648 background: #ececec;
2651 button.secondary-action:focus,
2652 button.secondary-action:hover {
2653 background: #cccccc;
2656 button.save .count {
2660 button.save.has-count .count {
2673 margin-left: 9.3333%;
2675 [dir='rtl'] button.save.has-count .count {
2680 button.save.has-count .count::before {
2689 border-top: 6px solid transparent;
2690 border-bottom: 6px solid transparent;
2691 border-right-width: 6px;
2692 border-right-style: solid;
2693 border-right-color: inherit;
2695 [dir='rtl'] button.save.has-count .count::before {
2696 border-left: 6px solid rgba(255,255,255,.5);
2705 vertical-align: top;
2711 vertical-align: text-top;
2720 [dir='rtl'] .icon.pre-text {
2750 /* ToolBar / Persistent UI Elements
2751 ------------------------------------------------------- */
2764 [dir='rtl'] #bar .spacer,
2765 [dir='rtl'] #bar .button-wrap,
2766 [dir='rtl'] #bar .button-wrap button {
2771 /* Header for modals / panes
2772 ------------------------------------------------------- */
2775 border-bottom: 1px solid #ccc;
2783 white-space: nowrap;
2784 text-overflow: ellipsis;
2786 padding: 20px 20px 20px 40px;
2788 [dir='rtl'] .header h3 {
2790 padding: 20px 40px 20px 20px;
2806 .entity-editor-pane .header button.preset-close,
2807 .preset-list-pane .header button.preset-choose {
2812 [dir='rtl'] .entity-editor-pane .header button.preset-close,
2813 [dir='rtl'] .preset-list-pane .header button.preset-choose {
2818 .entity-editor-pane .header button.preset-choose {
2823 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
2841 [dir='rtl'] .modal > button {
2849 padding: 5px 20px 5px 20px;
2850 border-top: 1px solid #ccc;
2851 background-color: #fafafa;
2856 .sidebar-component .body {
2865 ------------------------------------------------------- */
2873 background: #f6f6f6;
2874 -ms-user-select: element;
2876 [dir='rtl'] #sidebar {
2880 .sidebar-component {
2907 .feature-list-pane .inspector-body {
2911 .preset-list-pane .inspector-body {
2915 .entity-editor-pane .inspector-body {
2919 .selection-list-pane .inspector-body {
2928 #sidebar .search-header .icon {
2933 pointer-events: none;
2935 [dir='rtl'] #sidebar .search-header .icon {
2940 #sidebar .search-header input {
2948 border-bottom-width: 1px;
2962 .feature-list-item {
2965 border-bottom: 1px solid #ccc;
2969 .feature-list-item {
2970 background-color: white;
2976 .feature-list-item:hover {
2977 background-color: #ececec;
2980 .feature-list-item button {
2981 background: transparent;
2984 .feature-list-item .label {
2987 white-space: nowrap;
2988 text-overflow: ellipsis;
2990 border-left: 1px solid rgba(0, 0, 0, .1);
2992 [dir='rtl'] .feature-list-item .label {
2996 .feature-list-item .label .icon {
3000 .feature-list-item .close {
3005 .feature-list-item .close .icon {
3009 .feature-list-item .entity-type {
3013 .feature-list-item:hover .entity-type {
3017 .feature-list-item .entity-name {
3018 font-weight: normal;
3022 [dir='rtl'] .feature-list-item .entity-name {
3024 padding-right: 10px;
3029 ------------------------------------------------------- */
3035 padding: 20px 20px 10px 20px;
3036 border-bottom: 1px solid #ccc;
3039 .preset-list-button-wrap {
3041 margin-bottom: 10px;
3045 .preset-list-button {
3049 border: 1px solid #ccc;
3052 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
3053 background: #ececec;
3056 .preset-icon-fill-area {
3066 .preset-icon-fill-vertex {
3073 border: 1.5px solid #333;
3074 border-radius: 20px;
3075 background-color: #efefef;
3076 backface-visibility: hidden;
3079 [dir='rtl'] .preset-icon-fill-vertex,
3080 [dir='rtl'] .preset-icon-fill-area {
3085 .preset-icon-frame {
3093 [dir='rtl'] .preset-icon-frame {
3098 .preset-icon-frame .icon {
3110 .preset-icon-60 .icon {
3122 .preset-icon-44 .icon {
3134 .preset-icon-28 .icon {
3146 .preset-icon-24 .icon {
3151 [dir='rtl'] .preset-list-button-wrap .preset-icon {
3156 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
3160 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
3164 .preset-list-button .label {
3165 background-color: #f6f6f6;
3174 white-space: nowrap;
3175 text-overflow: ellipsis;
3177 border-left: 1px solid rgba(0, 0, 0, .1);
3178 border-radius: 0 3px 3px 0;
3180 [dir='rtl'] .preset-list-button .label {
3185 border-right: 1px solid rgba(0, 0, 0, .1);
3186 border-radius: 3px 0 0 3px;
3189 .preset-list-button:hover .label {
3190 background-color: #ececec;
3193 .preset-list-item button.tag-reference-button {
3195 border: 1px solid #CCC;
3196 border-radius: 0 3px 3px 0;
3201 background: #fafafa;
3203 [dir='rtl'] .preset-list-item button.tag-reference-button {
3206 border-radius: 3px 0 0 3px;
3209 .preset-list-item button.tag-reference-button:hover {
3210 background: #f1f1f1;
3213 .preset-list-item button.tag-reference-button .icon {
3217 .current .preset-list-button,
3218 .current .preset-list-button .label {
3219 background-color: #E8EBFF;
3222 .category .preset-list-button:after,
3223 .category .preset-list-button:before {
3227 left: -1px; right: -1px;
3228 border: 1px solid #ccc;
3229 border-bottom: none;
3230 border-radius: 6px 6px 0 0;
3234 .category .preset-list-button:before {
3238 .subgrid .preset-list {
3239 padding: 10px 10px 0 10px;
3243 width: -webkit-calc(100% + 20px);
3248 border: solid rgba(0, 0, 0, 0);
3250 border-bottom-color: #f1f1f1;
3254 margin-left: -webkit-calc(50% - 10px);
3259 /* preset form basics */
3263 padding-bottom: 10px;
3266 .preset-editor a.hide-toggle {
3267 margin: 0 20px 10px 20px;
3270 .preset-editor .form-fields-container {
3272 margin: 0 10px 10px 10px;
3276 .preset-editor .form-fields-container:empty {
3280 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
3285 margin-bottom: 10px;
3287 -webkit-transition: margin-bottom 200ms;
3288 -moz-transition: margin-bottom 200ms;
3289 -o-transition: margin-bottom 200ms;
3290 transition: margin-bottom 200ms;
3294 .wrap-form-field:last-child .form-field {
3301 border: 1px solid #cfcfcf;
3302 padding: 5px 0 5px 10px;
3303 background: #f6f6f6;
3305 border-radius: 4px 4px 0 0;
3308 [dir='rtl'] .form-label {
3309 padding: 5px 10px 5px 0;
3312 .form-label-button-wrap {
3318 background: transparent;
3321 [dir='rtl'] .form-label-button-wrap {
3325 .form-label-button-wrap .tag-reference-button {
3326 border-radius: 0 3px 0 0;
3329 .form-label-button-wrap .icon {
3333 .form-label button {
3334 border-left: 1px solid #ccc;
3338 background: #f6f6f6;
3340 [dir='rtl'] .form-label button {
3342 border-right: 1px solid #CCC;
3343 border-radius: 4px 0 0 0;
3346 .form-label button:hover {
3347 background: #f1f1f1;
3350 .form-label .modified-icon,
3351 .form-field .remove-icon {
3355 .modified .form-label .modified-icon,
3356 .present .form-label .remove-icon {
3357 display: inline-block;
3360 .form-field > input,
3361 .form-field > textarea,
3362 .form-field .preset-input-wrap {
3363 border: 1px solid #ccc;
3366 border-radius: 0 0 4px 4px;
3370 .form-field textarea {
3375 border-bottom: 1px solid #ccc
3378 /* Preset form (hover mode) */
3380 .inspector-hover .checkselect label:last-of-type,
3381 .inspector-hover .preset-input-wrap .label,
3382 .inspector-hover .form-field-multicombo,
3383 .inspector-hover .structure-extras-wrap,
3384 .inspector-hover input,
3385 .inspector-hover textarea,
3386 .inspector-hover label {
3387 background: #ececec;
3391 .inspector-hover .form-field-multicombo .chips,
3392 .inspector-hover .checkselect label:last-of-type {
3396 .inspector-hover .form-field-multicombo .chips {
3398 border: 1px solid #ccc;
3401 /* hide and remove from layout */
3403 .inspector-hover label input[type="checkbox"],
3404 .inspector-hover label input[type="radio"],
3405 .inspector-hover .toggle-list label,
3406 .inspector-hover .toggle-list label span,
3407 .inspector-hover .inspector-inner .add-tag,
3408 .inspector-hover .inspector-inner .add-relation,
3409 .inspector-hover .form-field-multicombo .combobox-input,
3410 .inspector-hover .toggle-list label.remove .icon {
3414 opacity: 0 !important;
3420 /* hide but preserve in layout */
3421 .inspector-hover .entity-editor-pane button.minor,
3422 .inspector-hover .combobox-caret,
3423 .inspector-hover .entity-editor-pane .header button,
3424 .inspector-hover .spin-control,
3425 .inspector-hover .form-field-multicombo .chips .remove,
3426 .inspector-hover .hide-toggle:before,
3427 .inspector-hover .more-fields,
3428 .inspector-hover .form-label-button-wrap,
3429 .inspector-hover .tag-reference-button,
3430 .inspector-hover .view-on-osm {
3434 /* Styles for raw tag inspector on hover */
3435 .inspector-hover .tag-row .key-wrap,
3436 .inspector-hover .tag-row .form-field.input-wrap-position {
3440 .inspector-hover .tag-row:first-child input.value {
3441 border-top-right-radius: 4px;
3443 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
3444 border-top-right-radius: 0;
3445 border-top-left-radius: 4px;
3448 .inspector-hover .tag-row:last-child input.value {
3449 border-bottom-right-radius: 4px;
3451 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
3452 border-bottom-right-radius: 0;
3453 border-bottom-left-radius: 4px;
3456 .inspector-hover .tag-row:last-child input.key {
3457 border-bottom-left-radius: 4px;
3459 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
3460 border-bottom-left-radius: 0;
3461 border-bottom-right-radius: 4px;
3464 .inspector-hover .more-fields {
3466 margin-bottom: -10px;
3469 /* Unstyle button fields */
3470 .inspector-hover .toggle-list label.active,
3471 .inspector-hover .entity-editor-pane a.hide-toggle {
3473 background-color: transparent;
3479 .inspector-hover .toggle-list button.active {
3483 /* Add placeholder only on hover for radio buttons */
3484 .inspector-hover .toggle-list .placeholder {
3492 /* Hide placeholder for radio buttons if another is active, or not in hover state */
3493 .toggle-list label.active ~ .placeholder,
3494 .toggle-list .placeholder {
3503 /* adding additional preset fields */
3506 padding: 0 20px 20px 20px;
3509 .changeset-editor .more-fields {
3510 padding: 15px 20px 0 20px;
3513 .more-fields label {
3515 flex-flow: row nowrap;
3516 justify-content: space-between;
3517 align-items: center;
3520 .more-fields input {
3524 [dir='rtl'] .more-fields input {
3529 .preset-input-wrap .label {
3531 background: #F6F6F6;
3535 [dir='rtl'] .preset-input-wrap .col6 {
3540 /* preset form access */
3541 /* preset form cycleway */
3542 /* preset form structure extras */
3544 .structure-extras-wrap li,
3545 .form-field-cycleway .preset-input-wrap li,
3546 .form-field-access .preset-input-wrap li {
3547 border-bottom: 1px solid #ccc;
3549 .structure-extras-wrap li:last-child,
3550 .form-field-cycleway .preset-input-wrap li:last-child,
3551 .form-field-access .preset-input-wrap li:last-child {
3554 .structure-input-type-wrap input,
3555 .structure-input-layer-wrap input,
3556 .preset-input-cycleway-wrap input,
3557 .preset-input-access-wrap input {
3560 border-left-width: 1px;
3562 [dir='rtl'] .structure-input-type-wrap input,
3563 [dir='rtl'] .structure-input-layer-wrap input,
3564 [dir='rtl'] .preset-input-cycleway-wrap input,
3565 [dir='rtl'] .preset-input-access-wrap input {
3566 border-left-width: 0;
3567 border-right-width: 1px;
3570 .preset-input-wrap li:last-child input {
3571 border-bottom-right-radius: 4px;
3574 .structure-extras-wrap {
3578 .structure-extras-wrap ul {
3579 border: 1px solid #ccc;
3582 .structure-extras-wrap li:first-child span {
3583 border-top-left-radius: 4px;
3585 .structure-extras-wrap li:first-child input {
3586 border-top-right-radius: 4px;
3588 .structure-extras-wrap li:last-child span {
3589 border-bottom-left-radius: 4px;
3591 .structure-extras-wrap li:last-child input {
3592 border-bottom-right-radius: 4px;
3594 [dir='rtl'] .structure-extras-wrap li:first-child span {
3595 border-top-left-radius: 0;
3596 border-top-right-radius: 4px;
3598 [dir='rtl'] .structure-extras-wrap li:first-child input {
3599 border-top-right-radius: 0;
3600 border-top-left-radius: 4px;
3602 [dir='rtl'] .structure-extras-wrap li:last-child span {
3603 border-bottom-left-radius: 0;
3604 border-bottom-right-radius: 4px;
3606 [dir='rtl'] .structure-extras-wrap li:last-child input {
3607 border-bottom-right-radius: 0;
3608 border-bottom-left-radius: 4px;
3612 /* preset form multicombo */
3614 .form-field-multicombo {
3615 border: 1px solid #cfcfcf;
3617 padding: 5px 0 5px 10px;
3620 border-radius: 0 0 4px 4px;
3624 .form-field-multicombo:focus {
3628 .form-field-multicombo.active {
3629 border-bottom-left-radius: 0px;
3630 border-bottom-right-radius: 0px;
3633 .form-field-multicombo li {
3634 display: inline-flex;
3635 flex-flow: row nowrap;
3636 align-items: center;
3637 background-color: #eff2f7;
3638 border: 1px solid #ccd5e3;
3645 .form-field-multicombo a {
3646 font-family: Arial, Helvetica, sans-serif !important;
3647 font-size: 16px !important;
3650 margin: 1px 0 0 5px;
3656 .form-field-multicombo input {
3657 border: 1px solid #ddd;
3663 .form-field-multicombo .combobox-caret {
3664 margin: 3px 3px 3px -30px;
3667 .form-field-multicombo input:focus {
3668 border-radius: 4px !important;
3672 /* preset form numbers */
3674 input[type=number] {
3682 display: inline-block;
3684 margin-bottom: -11px;
3687 [dir='rtl'] .spin-control{
3689 margin-right: -64px;
3692 .spin-control button {
3698 border-left: 1px solid #CCC;
3700 background: rgba(0, 0, 0, 0);
3702 [dir='rtl'] .spin-control button{
3704 border-right: 1px solid #CCC;
3707 .spin-control button.decrement {
3708 border-bottom-right-radius: 3px;
3710 [dir='rtl'] .spin-control button.decrement {
3711 border-bottom-right-radius: 0;
3713 [dir='rtl'] .spin-control button.increment {
3714 border-bottom-left-radius: 3px;
3718 .spin-control button.decrement::after,
3719 .spin-control button.increment::after {
3721 height: 0; width: 0;
3723 left: 0; right: 0; bottom: 0; top: 0;
3727 .spin-control button.decrement::after {
3728 border-top: 5px solid #CCC;
3729 border-left: 5px solid transparent;
3730 border-right: 5px solid transparent;
3733 .spin-control button.increment::after {
3734 border-bottom: 5px solid #CCC;
3735 border-left: 5px solid transparent;
3736 border-right: 5px solid transparent;
3740 /* preset form checkbox */
3742 .checkselect label:last-of-type {
3749 .checkselect label:hover {
3750 background: #f1f1f1;
3757 .checkselect label:not(.set) input[type="checkbox"] {
3761 .checkselect .reverser.button {
3764 background-color: #eff2f7;
3765 border: 1px solid #ccd5e3;
3769 [dir='rtl'] .checkselect .reverser.button {
3772 .checkselect .reverser.button.hide {
3776 /* Preset form radio button */
3778 .toggle-list button.remove {
3779 border-radius: 0 0 3px 3px;
3782 .toggle-list button.remove .icon {
3787 .toggle-list button.remove::before {
3791 #preset-input-maxspeed {
3793 border-radius: 0 0 0 4px;
3796 [dir='rtl'] #preset-input-maxspeed {
3797 border-right: 1px solid #ccc;
3798 border-radius: 0 0 4px 0;
3801 .form-field .maxspeed-unit {
3802 border-radius: 0 0 4px 0;
3805 [dir='rtl'] .form-field .maxspeed-unit {
3807 border-radius: 0 0 0 4px;
3810 /* Wikipedia field */
3811 .form-field .wiki-lang {
3814 .form-field .wiki-title {
3817 [dir='rtl'] .form-field .wiki-title {
3819 padding-right: 10px;
3822 .form-field .wiki-title ~ .combobox-caret {
3825 [dir='rtl'] .form-field .wiki-title ~ .combobox-caret {
3830 /* Localized field */
3831 .form-field .localized-main {
3834 [dir='rtl'] .form-field .localized-main {
3836 padding-right: 10px;
3839 .form-field .button-input-action {
3844 border: 1px solid #CCC;
3845 border-top-width: 0;
3846 border-right-width: 0;
3847 border-radius: 0 0 4px 0;
3849 vertical-align: top;
3851 [dir='rtl'] .form-field .button-input-action {
3853 margin-right: -32px;
3854 border-right-width: 1px;
3855 border-radius: 0 0 0 4px;
3858 .form-field .localized-wrap {
3862 .form-field .localized-wrap .entry {
3867 .form-field .localized-wrap .entry::before {
3880 .form-field .localized-wrap .entry .localized-lang {
3882 border-top-width: 0;
3885 .form-field .localized-wrap .entry .localized-value {
3886 border-top-width: 0;
3887 border-radius: 0 0 4px 4px;
3890 .form-field .localized-wrap .form-label button {
3891 border-top-right-radius: 3px;
3894 /* Preset form address */
3900 [dir='rtl'] .addr-row input {
3901 border-right: 1px solid #ccc;
3905 .addr-row:first-of-type input {
3909 .addr-row input:first-of-type {
3912 [dir='rtl'] .addr-row input:first-of-type {
3920 .addr-row:last-of-type input:first-of-type {
3921 border-radius: 0 0 0 4px;
3923 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
3924 border-radius: 0 0 4px 0;
3927 .addr-row:last-of-type input:last-of-type {
3928 border-radius: 0 0 4px 0;
3930 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
3931 border-radius: 0 0 0 4px;
3934 /* Restrictions editor */
3936 .form-field-restrictions .preset-input-wrap {
3941 .form-field-restrictions svg.surface {
3946 .form-field-restrictions .restriction-help {
3953 background-color: rgba(255, 255, 255, .8);
3958 /* combobox dropdown */
3963 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3969 border: 1px solid #ccc;
3970 border-radius: 0 0 4px 4px;
3976 border-top:1px solid #ccc;
3977 text-overflow: ellipsis;
3978 white-space: nowrap;
3982 .combobox a.selected,
3984 background: #ececec;
3987 .combobox a:first-child {
3992 display: inline-block;
3997 vertical-align: top;
3999 [dir='rtl'] .combobox-caret {
4001 margin-right: -30px;
4004 .combobox-caret::after {
4006 height: 0; width: 0;
4008 left: 0; right: 0; bottom: 0; top: 0;
4010 border-top: 5px solid #ccc;
4011 border-left: 5px solid transparent;
4012 border-right: 5px solid transparent;
4015 /* Raw Tag Editor */
4028 .tag-row.readonly input.key,
4029 .tag-row.readonly input.value,
4030 .tag-row.readonly button.remove {
4032 background-color: #eee;
4033 cursor: not-allowed;
4040 border-bottom: 1px solid #CCC;
4041 border-left: 1px solid #CCC;
4043 [dir='rtl'] .tag-row input {
4045 border-right: 1px solid #CCC;
4049 .tag-row .input-wrap-position {
4054 [dir='rtl'] .tag-row .key-wrap,
4055 [dir='rtl'] .tag-row .input-wrap-position {
4059 .tag-row input.key {
4061 background-color: #f6f6f6;
4064 .tag-row input.value {
4065 border-right: 1px solid #CCC;
4067 [dir='rtl'] .tag-row input.value {
4068 border-left: 1px solid #CCC;
4071 .tag-row:first-child input.key {
4072 border-top: 1px solid #CCC;
4073 border-top-left-radius: 4px;
4075 [dir='rtl'] .tag-row:first-child input.key {
4076 border-top-left-radius: 0;
4077 border-top-right-radius: 4px;
4080 .tag-row:first-child input.value {
4081 border-top: 1px solid #CCC;
4088 border: 1px solid #CCC;
4089 border-top-width: 0;
4090 border-left-width: 0;
4092 [dir='rtl'] .tag-row button {
4094 border-left-width: 1px;
4095 border-right-width: 0;
4098 .tag-row button:hover {
4099 background: #f1f1f1;
4102 .tag-row button .icon {
4106 .tag-row:first-child button {
4107 border-top-width: 1px;
4110 .tag-row:first-child .tag-reference-button {
4111 border-top-right-radius: 4px;
4113 [dir='rtl'] .tag-row:first-child .tag-reference-button {
4114 border-top-left-radius: 4px;
4115 border-top-right-radius: 0;
4118 .tag-row:last-child .tag-reference-button {
4119 border-bottom-right-radius: 4px;
4121 [dir='rtl'] .tag-row:last-child .tag-reference-button {
4122 border-bottom-left-radius: 4px;
4123 border-bottom-right-radius: 0;
4126 .tag-row .tag-reference-button {
4131 background: #fafafa;
4133 [dir='rtl'] .tag-row .tag-reference-button {
4137 border-left-width: 1px;
4138 border-right-width: 0;
4141 /* Adding form fields to tag editor */
4143 .raw-tag-editor .add-tag {
4147 background: rgba(0,0,0,.5);
4148 border-radius: 0 0 4px 4px;
4151 .raw-tag-editor .add-tag:hover {
4152 background: rgba(0,0,0,.8);
4155 .raw-tag-editor .add-tag .label {
4161 button.minor.tag-reference-loading {
4162 background-color: #f5f5f5;
4165 .tag-reference-loading .icon {
4166 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
4167 background-position: 0 0;
4170 .tag-reference-body {
4175 .tag-reference-body .tag-reference-description {
4176 margin: 10px 5px 0 5px;
4179 .tag-reference-body a {
4183 .tag-reference-body .tag-reference-description:last-child,
4184 .tag-reference-body a:last-child {
4185 margin-bottom: 15px;
4188 .preset-list .tag-reference-body {
4193 .raw-tag-editor .tag-reference-body {
4198 .raw-tag-editor .tag-row.readonly .tag-reference-body {
4199 background: #f6f6f6;
4203 .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body {
4204 border-bottom: 1px solid #ccc;
4207 .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
4208 border-top: 1px solid #ccc;
4211 img.tag-reference-wiki-image {
4214 width: -webkit-calc(33.3333% - 10px);
4215 width: calc(33.3333% - 10px);
4218 margin: 10px 5px 15px 20px;
4222 /* Raw relation membership editor */
4224 .raw-member-editor .member-list li:first-child,
4225 .raw-membership-editor .member-list li:first-child {
4229 .raw-member-editor .member-row,
4230 .raw-membership-editor .member-row {
4234 .raw-member-editor .member-row .member-entity-name,
4235 .raw-membership-editor .member-row .member-entity-name {
4236 font-weight: normal;
4240 .member-incomplete .member-delete {
4244 .member-row-new .member-entity-input {
4245 border-radius: 4px 4px 0 0;
4246 border: 1px solid #cfcfcf;
4252 background: rgba(0,0,0,.5);
4257 .add-relation:hover {
4258 background: rgba(0,0,0,.8);
4261 /* hidden field to prevent user from tabbing out of the sidebar */
4266 border: 1px solid rgba(0,0,0,0);
4269 /* Fullscreen button */
4276 div.full-screen .tooltip {
4280 div.full-screen > button, div.full-screen > button.active {
4283 background: transparent;
4286 div.full-screen > button:hover {
4287 background-color: rgba(0, 0, 0, .8);
4299 [dir='rtl'] .map-controls {
4304 .map-control > button {
4306 background: rgba(0,0,0,.5);
4310 .map-control > button:hover {
4311 background: rgba(0, 0, 0, .8);
4314 .map-control > button.active,
4315 .map-control > button.active:hover {
4316 background: #7092ff;
4321 .zoombuttons button.zoom-in {
4322 border-radius: 4px 0 0 0;
4324 [dir='rtl'] .zoombuttons button.zoom-in {
4325 border-radius: 0 4px 0 0;
4328 /* Background / Map Data Settings */
4330 .map-data-control button {
4334 .background-control button {
4335 border-radius: 4px 0 0 0;
4337 [dir='rtl'] .background-control button {
4338 border-radius: 0 4px 0 0;
4342 .background-control {
4347 margin-bottom: 10px;
4350 .map-data-control .hide-toggle,
4351 .background-control .hide-toggle {
4352 padding-bottom: 10px;
4355 .layer-list, .controls-list {
4356 margin-bottom: 10px;
4357 border: 1px solid #CCC;
4364 background-color: white;
4372 .layer-list > li:first-child {
4373 border-radius: 3px 3px 0 0;
4376 .layer-list > li:last-child {
4377 border-radius: 0 0 3px 3px;
4380 .layer-list > li:only-child {
4384 .layer-list li:not(:last-child) {
4385 border-bottom: 1px solid #ccc;
4388 .layer-list li:hover {
4389 background-color: #ececec;
4392 .layer-list li.active,
4393 .layer-list li.switch {
4394 background: #E8EBFF;
4397 .layer-list li.best > div.best {
4398 display: inline-block;
4403 [dir='rtl'] .list-item-gpx-browse svg {
4404 transform: rotateY(180deg);
4407 /* make sure tooltip fits in map-control panel */
4408 /* if too wide, placement will be wrong the first time it displays */
4409 .layer-list li.best .tooltip-inner {
4419 .layer-list label > span {
4422 white-space: nowrap;
4423 text-overflow: ellipsis;
4434 .minimap-toggle.active {
4435 background: #E8EBFF;
4438 .minimap-toggle:hover {
4439 background-color: #ececec;
4447 [dir='rtl'] .hide-toggle {
4449 padding-right: 12px;
4452 .hide-toggle:before {
4460 border-top: 4px solid transparent;
4461 border-bottom: 4px solid transparent;
4462 border-left: 8px solid #7092ff;
4464 [dir='rtl'] .hide-toggle:before {
4468 border-right: 8px solid #7092ff;
4471 .hide-toggle.expanded:before {
4472 border-top: 8px solid #7092ff;
4474 border-right: 4px solid transparent;
4475 border-left: 4px solid transparent;
4477 [dir='rtl'] .hide-toggle.expanded:before {
4478 border-left: 4px solid transparent;
4479 border-right: 4px solid transparent;
4483 /* Adjust Alignment controls */
4485 .background-control .nudge-container {
4486 border: 1px solid #ccc;
4491 .nudge-container .nudge-instructions {
4492 padding-bottom: 15px;
4495 .nudge-container .nudge-outer-rect {
4496 background-color: #eee;
4497 border: 1px solid #ccc;
4502 justify-content: center;
4503 align-items: center;
4509 .nudge-container .nudge-inner-rect {
4510 background-color: #fff;
4511 border: 1px solid #ccc;
4517 .nudge-container .nudge::after {
4522 left: 0; right: 0; top: 0; bottom: 0;
4527 .nudge-container input {
4534 .nudge-container input.error {
4535 border: 1px solid #FF7878;
4540 .nudge-container input:focus {
4541 background-color: transparent;
4544 .nudge-container button {
4549 background-color: transparent;
4552 .nudge-container button.right {
4557 .nudge-container button.left {
4562 .nudge-container button.top {
4567 .nudge-container button.bottom {
4571 .nudge-container button.nudge-reset {
4582 background-color: transparent;
4586 .background-control .nudge.right::after {
4587 border-top: 5px solid transparent;
4588 border-bottom: 5px solid transparent;
4589 border-left: 5px solid #222;
4592 .background-control .nudge.left::after {
4593 border-top: 5px solid transparent;
4594 border-bottom: 5px solid transparent;
4595 border-right: 5px solid #222;
4598 .background-control .nudge.top::after {
4599 border-right: 5px solid transparent;
4600 border-left: 5px solid transparent;
4601 border-bottom: 5px solid #222;
4604 .background-control .nudge.bottom::after {
4605 border-right: 5px solid transparent;
4606 border-left: 5px solid transparent;
4607 border-top: 5px solid #222;
4611 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
4617 border: 1px solid #ccc;
4619 [dir='rtl'] .opacity-options {
4624 .opacity-options li {
4630 .opacity-options li .select-box{
4637 .map-data-control li:hover .select-box,
4638 .map-data-control li.selected .select-box,
4639 .background-control li:hover .select-box,
4640 .background-control li.selected .select-box {
4641 border: 2px solid #7092ff;
4642 background: rgba(89, 123, 231, .5);
4646 .map-data-control li.selected:hover .select-box,
4647 .map-data-control li.selected .select-box,
4648 .background-control li.selected:hover .select-box,
4649 .background-control li.selected .select-box {
4653 .background-control .opacity {
4655 display:inline-block;
4660 .map-data-control .layer-list button,
4661 .background-control .layer-list button {
4665 border-left: 1px solid #CCC;
4668 [dir='rtl'] .map-data-control .layer-list button,
4669 [dir='rtl'] .background-control .layer-list button {
4672 border-right: 1px solid #CCC;
4675 .map-data-control .layer-list button .icon,
4676 .background-control .layer-list button .icon {
4680 .map-data-control .layer-list button:first-of-type,
4681 .background-control .layer-list button:first-of-type {
4682 border-radius: 0 3px 3px 0;
4684 [dir='rtl'] .map-data-control .layer-list button:first-of-type,
4685 [dir='rtl'] .background-control .layer-list button:first-of-type {
4686 border-radius: 3px 0 0 3px;
4689 .map-data-control .map-overlay,
4690 .background-control .map-overlay,
4691 .help-control .map-overlay {
4697 .geolocate-control {
4698 margin-bottom: 10px;
4701 .geolocate-control button {
4702 border-radius: 0 0 0 4px;
4704 [dir='rtl'] .geolocate-control button {
4705 border-radius: 0 0 4px 0;
4708 .map-overlay.content {
4712 padding: 20px 50px 20px 20px;
4716 [dir='rtl'] .map-overlay.content {
4717 padding: 20px 20px 20px 50px;
4719 right: auto !important;
4724 .help-control button {
4725 border-radius: 0 0 0 4px;
4727 [dir='rtl'] .help-control button {
4728 border-radius: 0 0 4px 0;
4733 margin-bottom: 20px;
4736 .help-wrap .left-content .body p code {
4742 /* This is two columns, 41.66666 x .4 = 16.6666 */
4746 margin-bottom: 20px;
4750 .help-wrap .toc li a,
4753 border: 1px solid #CCC;
4757 .help-wrap .toc li a {
4761 .help-wrap .toc li a:hover,
4762 .help-wrap .nav a:hover {
4763 background: #ececec;
4766 .help-wrap .toc li a.selected {
4767 background: #E8EBFF;
4770 .help-wrap .toc li:first-child a {
4771 border-radius: 4px 4px 0 0;
4774 .help-wrap .toc li:nth-last-child(3) a {
4775 border-bottom: 1px solid #CCC;
4776 border-radius: 0 0 4px 4px
4779 .help-wrap .toc li.shortcuts a,
4780 .help-wrap .toc li.walkthrough a {
4783 border-bottom: 1px solid #ccc;
4787 .help-wrap .toc li.walkthrough a {
4801 .help-wrap .nav a:first-child {
4802 border-radius: 4px 0 0 4px;
4805 .help-wrap .nav a:last-child:not(:only-child) {
4806 border-radius: 0 4px 4px 0;
4810 .help-wrap .nav a:only-child {
4817 ------------------------------------------------------- */
4821 transform-origin:0 0;
4822 -ms-transform-origin:0 0;
4823 -webkit-transform-origin:0 0;
4824 -moz-transform-origin:0 0;
4825 -o-transform-origin:0 0;
4827 -moz-user-select: none;
4828 -webkit-user-select: none;
4829 -ms-user-select: none;
4834 -webkit-transition: opacity 200ms linear;
4835 transition: opacity 200ms linear;
4836 -moz-transition: opacity 200ms linear;
4841 background: rgba(0, 0, 0, 0.7);
4851 transform-origin:0 0;
4852 -ms-transform-origin:0 0;
4853 -webkit-transform-origin:0 0;
4854 -moz-transform-origin:0 0;
4855 -o-transform-origin:0 0;
4857 -moz-user-select: none;
4858 -webkit-user-select: none;
4859 -ms-user-select: none;
4864 outline: 1px solid red;
4877 ------------------------------------------------------- */
4884 -moz-user-select: none;
4885 -webkit-user-select: none;
4886 -ms-user-select: none;
4891 transform-origin:0 0;
4892 -ms-transform-origin:0 0;
4893 -webkit-transform-origin:0 0;
4894 -moz-transform-origin:0 0;
4895 -o-transform-origin:0 0;
4898 #supersurface, .layer {
4907 ------------------------------------------------------- */
4916 border: #aaa 1px solid;
4917 box-shadow: 0 0 2em black;
4921 transform-origin:0 0;
4922 -ms-transform-origin:0 0;
4923 -webkit-transform-origin:0 0;
4924 -moz-transform-origin:0 0;
4925 -o-transform-origin:0 0;
4927 -moz-user-select: none;
4928 -webkit-user-select: none;
4929 -ms-user-select: none;
4933 .map-in-map-viewport,
4942 .map-in-map-viewport {
4953 stroke: rgba(255, 255, 0, 0.75);
4955 shape-rendering: crispEdges;
4958 .map-in-map-bbox.thick {
4964 ------------------------------------------------------- */
4966 stroke: currentColor;
4970 .map-in-map-data .debug {
4974 .red { color: rgba(255, 0, 0, 0.75); }
4975 .green { color: rgba(0, 255, 0, 0.75); }
4976 .blue { color: rgba(0, 0, 255, 0.75); }
4977 .yellow { color: rgba(255, 255, 0, 0.75); }
4978 .cyan { color: rgba(0, 255, 255, 0.75); }
4979 .magenta { color: rgba(255, 0, 255, 0.75); }
4980 .orange { color: rgba(255, 153, 0, 0.75); }
4981 .pink { color: rgba(255, 0, 153, 0.75); }
4982 .purple { color: rgba(153, 0, 255, 0.75); }
4990 pointer-events: none;
4993 .debug-legend-item {
4996 .debug-legend-item:before {
5002 ------------------------------------------------------- */
5005 flex-flow: row-reverse wrap-reverse;
5010 -ms-user-select: element;
5018 display: inline-block;
5030 margin: 2px 0 0 2px;
5032 border: 1px solid rgba(0, 0, 0, 0.75);
5033 padding-bottom: 10px;
5037 .panel-container .panel-title {
5038 border-radius: 4px 4px 0 0;
5045 .panel-title button.close {
5051 [dir='rtl'] .panel-title button.close {
5055 .panel-title button.close:hover {
5059 .panel-title button.close .icon {
5069 .panel-content .button {
5070 display: inline-block;
5071 background: #7092ff;
5078 .panel-content-history .links a {
5081 [dir='rtl'] .panel-content-history .links a {
5086 .panel-content-history .view-history-on-osm {
5091 .panel-content-location .location-info {
5097 ------------------------------------------------------- */
5105 pointer-events: none;
5107 flex-direction: column;
5108 -ms-user-select: element;
5117 #attrib * { pointer-events: all; }
5119 .base-layer-attribution,
5120 .overlay-layer-attribution {
5126 .base-layer-attribution {
5130 .overlay-layer-attribution {
5134 .overlay-layer-attribution .attribution:not(:last-child):after {
5139 .attribution a:visited {
5143 .attribution a:hover {
5147 .attribution .source-image {
5149 vertical-align: middle;
5159 pointer-events: all;
5168 flex-flow: row nowrap;
5169 justify-content: space-between;
5176 #flash-wrap .content {
5179 flex-flow: row nowrap;
5180 align-items: center;
5186 #flash-wrap svg.operation-icon {
5193 #flash-wrap div.operation-tip {
5200 flex-flow: row nowrap;
5201 justify-content: space-between;
5210 transition: bottom 75ms linear;
5211 -moz-transition: bottom 75ms linear;
5212 -webkit-transition: bottom 75ms linear;
5217 transition: bottom 75ms linear;
5218 -moz-transition: bottom 75ms linear;
5219 -webkit-transition: bottom 75ms linear;
5224 vertical-align: bottom;
5228 -moz-user-select: none;
5229 -webkit-user-select: none;
5230 -ms-user-select: none;
5243 [dir='rtl'] #scale {
5244 transform: scaleX(-1);
5252 font: 12px sans-serif;
5257 [dir='rtl'] #scale text {
5258 transform: scaleX(-1);
5265 shape-rendering: crispEdges;
5275 [dir='rtl'] #about-list {
5284 border-left: 1px solid rgba(255,255,255,.5);
5285 padding: 5px 0 5px 5px;
5288 [dir='rtl'] #about-list li {
5291 border-right: 1px solid rgba(255,255,255,.5);
5294 padding: 5px 5px 5px 0;
5298 #about-list li:last-child {
5303 [dir='rtl'] #about-list li:last-child {
5308 padding: 2px 4px 4px 4px;
5311 .source-switch a.live {
5312 background: #d32232;
5316 .feature-warning a {
5317 background: #1e90ff;
5318 padding: 2px 4px 4px 4px;
5323 .user-list a:not(:last-child):after {
5333 [dir='rtl'] .api-status {
5337 .api-status.offline,
5338 .api-status.readonly,
5346 .api-status-login:hover {
5351 display: inline-block;
5352 background: #d32232;
5355 border-radius: 11px;
5358 [dir='rtl'] .badge {
5365 [dir='rtl'] .badge a {
5370 vertical-align: baseline;
5378 ------------------------------------------------------- */
5382 display: inline-block;
5393 margin-bottom: 10px;
5396 .modal .description {
5412 background:rgba(0,0,0,0.5);
5414 left:0px; right:0px; top:0px; bottom:0px;
5419 border-bottom: 1px solid #CCC;
5422 .modal-section.header h3 {
5426 .modal-section.buttons {
5430 .modal-section.buttons .action {
5431 display: inline-block;
5434 vertical-align: middle;
5437 .save-section .buttons .action,
5438 .save-section .buttons .secondary-action {
5439 display: inline-block;
5442 vertical-align: middle;
5449 .modal-actions button,
5450 .save-success a.button {
5451 font-weight: normal;
5453 border-bottom: 1px solid #CCC;
5457 display: inline-block;
5460 .modal-actions button:hover
5461 .save-success a.button:hover {
5462 background-color: #ececec;
5472 .modal-actions > :first-child {
5473 border-right: 1px solid #CCC;
5476 .modal-section:last-child {
5481 ------------------------------------------------------- */
5482 .modal-actions .logo-restore {
5485 .modal-actions .logo-reset {
5490 ------------------------------------------------------- */
5492 padding: 15px 15px 0 15px;
5494 .save-success a.details {
5497 .save-success .button {
5500 .save-success .logo-osm {
5502 margin-bottom: 10px;
5504 .save-success a.button.social {
5506 border-bottom: none;
5508 .save-success .icon.social {
5515 ------------------------------------------------------- */
5516 .modal-actions .logo-walkthrough,
5517 .modal-actions .logo-features {
5523 ------------------------------------------------------- */
5529 .modal-shortcuts .modal-section:last-child {
5534 .modal-shortcuts .tabs-bar {
5536 padding-bottom: 5px;
5541 .modal-shortcuts .tab {
5542 display: inline-block;
5548 .modal-shortcuts .tab.active {
5551 .modal-shortcuts .tab:hover {
5553 background-color: #efefef;
5556 .modal-shortcuts .shortcut-tab {
5558 flex-flow: row wrap;
5561 .modal-shortcuts .shortcut-column {
5566 .modal-shortcuts .shortcut-tab-tools .shortcut-column {
5571 .modal-shortcuts td {
5572 padding-bottom: 5px;
5575 .modal-shortcuts .shortcut-section {
5576 padding: 20px 0 10px 0;
5579 .modal-shortcuts .shortcut-keys {
5580 padding-right: 10px;
5584 [dir='rtl'] .modal-shortcuts .shortcut-keys {
5585 padding-right: auto;
5590 .modal-shortcuts .shortcut-keys kbd {
5591 display: inline-block;
5598 vertical-align: baseline;
5599 background-color: #fcfcfc;
5600 border: solid 1px #ccc;
5602 border-bottom-color: #bbb;
5604 box-shadow: inset 0 -1px 0 #bbb;
5607 .modal-shortcuts .shortcut-keys svg.mouseclick use.left {
5608 fill: rgba(112, 146, 255, 1);
5609 color: rgba(112, 146, 255, 0);
5611 .modal-shortcuts .shortcut-keys svg.mouseclick use.right {
5612 fill: rgba(112, 146, 255, 0);
5613 color: rgba(112, 146, 255, 1);
5616 .modal-shortcuts .shortcut-keys .gesture {
5624 ------------------------------------------------------- */
5625 .mode-save a.user-info {
5626 display: inline-block;
5629 .mode-save .commit-form {
5633 .mode-save .user-info img {
5637 .mode-save h3 small.count {
5645 border-radius: 24px;
5647 background: #7092ff;
5651 .mode-save .field-warning {
5653 border: 1px solid #ccc;
5658 .mode-save .field-warning:empty {
5662 .mode-save .field-warning,
5663 .mode-save .changeset-info,
5664 .mode-save .request-review,
5665 .mode-save .commit-info {
5666 margin-bottom: 10px;
5669 .mode-save .request-review label {
5673 .mode-save .changeset-list {
5674 border: 1px solid #ccc;
5677 margin-bottom: 10px;
5680 .mode-save .warning-section {
5684 .mode-save .warning-section .changeset-list button {
5685 border-left: 1px solid #ccc;
5688 .mode-save .changeset-list li {
5690 border-top: 1px solid #ccc;
5695 .mode-save .changeset-list li:hover {
5696 background-color: #ececec;
5699 .mode-save .changeset-list .alert {
5703 .changeset-list li span.count {
5708 .mode-save .commit-section .changeset-list button {
5709 border-left: 1px solid #CCC;
5712 .changeset-list li span.count:before { content: '('; }
5714 .changeset-list li span.count:after { content: ')'; }
5716 .changeset-list li:first-child { border-top: 0;}
5718 /* Conflict resolution
5719 ------------------------------------------------------- */
5723 background-color: #ffffbb;
5724 border-bottom: 1px solid #ccc;
5727 .conflicts-buttons {
5731 .mode-save button.conflicts-button {
5735 .conflict-container {
5736 border-bottom: 1px solid #ccc;
5739 .conflict-description {
5745 padding: 20px 20px 0 20px;
5748 .conflict-detail-container {
5760 .conflict-nav-buttons {
5761 padding: 10px 0 20px 0;
5764 .conflict-nav-button {
5769 ------------------------------------------------------- */
5788 .notice .zoom-to:hover {
5789 background: rgba(0,0,0,0.6);
5792 .notice .zoom-to .icon {
5795 vertical-align: middle;
5798 [dir='rtl'] .notice .zoom-to .icon {
5804 ------------------------------------------------------- */
5841 display: inline-block;
5846 font-weight: normal;
5847 background-color: white;
5853 pointer-events: none;
5857 background: transparent;
5865 border-color: transparent;
5866 border-style: solid;
5870 border-left-color: white;
5871 border-width: 5px 0 5px 5px;
5890 border-color: transparent;
5891 border-style: solid;
5895 border-right-color: white;
5896 border-width: 5px 5px 5px 0;
5903 border-color: transparent;
5904 border-style: solid;
5907 .tooltip.top .tooltip-arrow {
5911 border-top-color: white;
5912 border-width: 5px 5px 0;
5915 .tooltip.right .tooltip-arrow {
5919 border-right-color: white;
5920 border-width: 5px 5px 5px 0;
5923 .tooltip.left .tooltip-arrow {
5927 border-left-color: white;
5928 border-width: 5px 0 5px 5px;
5931 .tooltip.bottom .tooltip-arrow {
5935 border-bottom-color: white;
5936 border-width: 0 5px 5px;
5941 background: #F6F6F6;
5943 margin: -10px -10px 10px -10px;
5944 border-radius: 3px 3px 0 0;
5949 background: #F6F6F6;
5951 margin: 10px -10px -10px -10px;
5952 border-radius: 0 0 3px 3px;
5955 .tooltip-inner .keyhint {
5960 /* Exceptions for tooltip layouts */
5962 /* make tooltips in panels dark */
5963 .map-overlay .tooltip.top .tooltip-arrow,
5964 .entity-editor-pane .tooltip.top .tooltip-arrow,
5965 .warning-section .tooltip.top .tooltip-arrow {
5966 border-top-color: #000;
5969 .map-overlay .tooltip.bottom .tooltip-arrow,
5970 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
5971 .warning-section .tooltip.bottom .tooltip-arrow {
5972 border-bottom-color: #000;
5975 .map-overlay .tooltip.left .tooltip-arrow,
5976 .entity-editor-pane .tooltip.left .tooltip-arrow,
5977 .warning-section .tooltip.left .tooltip-arrow {
5978 border-left-color: #000;
5981 .map-overlay .tooltip.right .tooltip-arrow,
5982 .entity-editor-pane .tooltip.right .tooltip-arrow,
5983 .warning-section .tooltip.right .tooltip-arrow {
5984 border-right-color: #000;
5987 .map-overlay .tooltip-inner,
5988 .map-overlay .tooltip-heading,
5989 .map-overlay .keyhint-wrap,
5990 .entity-editor-pane .tooltip-inner,
5991 .warning-section .tooltip-inner {
5995 /* commit warning tooltips need to be closer */
5996 .warning-section .tooltip.top {
6000 /* Uncramp map-control tooltips */
6001 .map-control .tooltip {
6004 .map-control .shortcuts .tooltip {
6008 /* Move over tooltips that are near the edge of screen */
6009 .add-point .tooltip {
6010 left: 33.3333% !important;
6012 [dir='rtl'] .add-point .tooltip {
6013 left: inherit !important;
6016 .add-point .tooltip .tooltip-arrow {
6019 [dir='rtl'] .add-point .tooltip .tooltip-arrow {
6024 li:first-of-type .badge .tooltip,
6025 li.hide + li.version .badge .tooltip {
6026 left: auto !important;
6027 right: 5px !important;
6029 [dir='rtl'] li:first-of-type .badge .tooltip,
6030 [dir='rtl'] li.hide + li.version .badge .tooltip {
6031 left: 5px !important;
6032 right: auto !important;
6034 li:first-of-type .badge .tooltip .tooltip-arrow,
6035 li.hide + li.version .badge .tooltip .tooltip-arrow {
6036 right: 15px !important;
6037 left: auto !important;
6039 [dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
6040 [dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
6041 left: 15px !important;
6042 right: auto !important;
6046 /* radial menu (deprecated) */
6048 .radial-menu-tooltip {
6055 .radial-menu-background {
6058 stroke-opacity: 0.5;
6061 .radial-menu-item circle {
6065 .radial-menu-item circle:active,
6066 .radial-menu-item circle:hover {
6070 .radial-menu-item.disabled circle {
6072 fill: rgba(255,255,255,.5);
6075 .radial-menu-item use {
6080 .radial-menu-item.disabled use {
6081 fill: rgba(32,32,32,.5);
6082 color: rgba(40,40,40,.5);
6087 .edit-menu-tooltip {
6093 .edit-menu-background {
6097 .edit-menu-item rect {
6101 .edit-menu-item rect:active,
6102 .edit-menu-item rect:hover {
6106 .edit-menu-item.disabled rect {
6107 cursor: not-allowed;
6109 .edit-menu-item.disabled rect:hover {
6110 cursor: not-allowed;
6114 .edit-menu-item use {
6119 .edit-menu-item.disabled use {
6120 fill: rgba(32,32,32,.2);
6121 color: rgba(40,40,40,.2);
6130 stroke-dasharray: 5, 5;
6134 ------------------------------------------------------- */
6136 @media only screen and (max-width: 840px) {
6137 /* override hide for save button */
6138 #bar .save .label { display: block;}
6141 @media screen and (max-width: 1200px) {
6142 .user-list { display: none !important; }
6145 @media screen and (max-width: 1000px) {
6146 #userLink { display: none !important; }
6149 @media screen and (max-width: 900px) {
6150 #scale-block { display: none !important; }
6155 ----------------------------------------------------- */
6157 ::-webkit-scrollbar {
6162 border-left: 1px solid #DDD;
6165 ::-webkit-scrollbar-track {
6166 background-clip: padding-box;
6167 border: solid transparent;
6171 ::-webkit-scrollbar-thumb {
6172 background-color: rgba(0,0,0,.2);
6173 background-clip: padding-box;
6174 border: solid transparent;
6175 border-width: 3px 3px 3px 4px;
6178 ::-webkit-scrollbar-track:hover,
6179 ::-webkit-scrollbar-track:active {
6180 background-color: rgba(0,0,0,.05);
6183 /* Intro walkthrough
6184 ----------------------------------------------------- */
6187 pointer-events: all;
6195 flex-direction: row;
6204 .intro-nav-wrap .intro-nav-wrap-logo {
6210 vertical-align: middle;
6213 .intro-nav-wrap .joined {
6216 flex-direction: row;
6219 .intro-nav-wrap button.chapter {
6224 .intro-nav-wrap button.chapter.next {
6225 animation-duration: 1s;
6226 animation-name: pulse;
6227 animation-iteration-count: infinite;
6228 animation-direction: alternate;
6231 from { background: #7092ff; }
6232 to { background: #c6d4ff; }
6235 .intro-nav-wrap button.chapter.finished {
6236 background: #8cd05f;
6239 .intro-nav-wrap button.chapter .status {
6243 .intro-nav-wrap button.chapter.finished .status {
6244 display: inline-block;
6247 .curtain-tooltip.tooltip.in {
6250 .curtain-tooltip.tooltip {
6253 [dir='rtl'] .curtain-tooltip.tooltip {
6257 .curtain-tooltip .tooltip-inner {
6263 .curtain-tooltip .tooltip-inner .button-section,
6264 .curtain-tooltip .tooltip-inner .instruction {
6267 border-top: 1px solid #CCC;
6270 margin-right: -20px;
6271 padding: 10px 20px 0 20px;
6274 [dir='rtl'] .curtain-tooltip .tooltip-inner .button-section button.col8 {
6278 .curtain-tooltip .tooltip-inner .instruction:only-child {
6284 .curtain-tooltip .tooltip-inner .icon.pre-text {
6285 vertical-align: text-top;
6288 display: inline-block;
6291 .curtain-tooltip.intro-points-describe ,
6292 .curtain-tooltip.intro-lines-name_road {
6293 top: 133px !important;
6296 .tooltip-illustration {
6302 [dir='rtl'] .tooltip-illustration {
6304 margin-right: -20px;
6307 .curtain-tooltip.intro-mouse {
6308 -moz-user-select: none;
6309 -webkit-user-select: none;
6310 -ms-user-select: none;
6314 .curtain-tooltip.intro-mouse .counter {
6325 .curtain-tooltip.intro-mouse .tooltip-illustration use {
6326 fill: rgba(112, 146, 255, 0);
6327 color: rgba(112, 146, 255, 0);
6329 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
6330 fill: rgba(112, 146, 255, 1);
6332 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
6333 color: rgba(112, 146, 255, 1);
6336 .huge-modal-button {
6342 .huge-modal-button .illustration {