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 /* photo viewer div */
1953 background-color: #fff;
1956 #photoviewer button.thumb-hide {
1966 .photo-wrapper img {
1972 .photo-wrapper .photo-attribution {
1983 .photo-attribution a,
1984 .photo-attribution a:visited,
1985 .photo-attribution span {
1990 /* markers and sequences */
1992 pointer-events: visible;
1996 .viewfield-group.selected * {
1997 fill: #ffee00 !important;
1999 .viewfield-group.hovered * {
2000 fill: #eebb00 !important;
2003 .viewfield-group circle {
2006 stroke-opacity: 0.4;
2009 .viewfield-group.highlighted circle {
2011 stroke-opacity: 0.9;
2014 .viewfield-group.highlighted.hovered circle {
2017 stroke-opacity: 0.9;
2020 .viewfield-group.highlighted.selected circle {
2027 .viewfield-group .viewfield {
2032 .viewfield-group.highlighted .viewfield {
2036 .viewfield-group.highlighted.hovered .viewfield {
2040 .viewfield-group.highlighted.selected .viewfield {
2045 .viewfield-group.selected .viewfield-scale {
2046 transform: scale(2,2);
2052 stroke-opacity: 0.4;
2054 .sequence.highlighted,
2055 .sequence.selected {
2061 /* Mapillary Image Layer */
2062 .layer-mapillary-images {
2063 pointer-events: none;
2065 .layer-mapillary-images .viewfield-group * {
2068 .layer-mapillary-images .sequence {
2073 /* Mapillary Sign Layer */
2074 .layer-mapillary-signs {
2075 pointer-events: none;
2077 .layer-mapillary-signs .icon-sign .icon-sign-body {
2081 outline: 2px solid transparent;
2082 pointer-events: visible;
2087 .layer-mapillary-signs .icon-sign:hover .icon-sign-body {
2088 outline: 5px solid #eebb00;
2089 background-color: #eebb00;
2092 .layer-mapillary-signs .icon-sign.selected .icon-sign-body {
2093 outline: 5px solid #ffee00;
2094 background-color: #ffee00;
2099 /* OpenStreetCam Image Layer */
2100 .layer-openstreetcam-images {
2101 pointer-events: none;
2103 .layer-openstreetcam-images .viewfield-group * {
2106 .layer-openstreetcam-images .sequence {
2111 /* Mapillary viewer */
2112 #mly .domRenderer .TagSymbol {
2114 background-color: rgba(0,0,0,0.4);
2119 #mly .domRenderer .Attribution {
2120 /* we will roll our own to avoid async update issues like #4526 */
2124 .mly-wrapper .photo-attribution a:active,
2125 .mly-wrapper .photo-attribution a:hover {
2129 .mly-wrapper .mapillary-js-dom {
2133 /* OpenStreetCam viewer */
2136 background-color: #000;
2137 background-image: url(<%= asset_path("iD/img/loader-black.gif") %>);
2138 background-position: center;
2139 background-repeat: no-repeat;
2142 .osc-wrapper .photo-attribution a:active,
2143 .osc-wrapper .photo-attribution a:hover {
2147 .osc-controls-wrap {
2156 display: inline-block;
2160 .osc-controls button {
2163 background: rgba(0,0,0,0.65);
2167 .osc-controls button:first-of-type {
2168 border-radius: 3px 0 0 3px;
2170 .osc-controls button:last-of-type {
2171 border-radius: 0 3px 3px 0;
2173 .osc-controls button:hover,
2174 .osc-controls button:active,
2175 .osc-controls button:focus {
2176 background: rgba(0,0,0,0.85);
2181 .low-zoom.fill-wireframe path.stroke,
2182 .fill-wireframe path.stroke {
2183 stroke-width: 1 !important;
2184 stroke-opacity: 0.5 !important;
2185 stroke-dasharray: none !important;
2186 fill: none !important;
2189 .low-zoom.fill-wireframe path.shadow,
2190 .fill-wireframe path.shadow {
2194 .fill-wireframe path.shadow.related:not(.selected),
2195 .fill-wireframe path.shadow.hover:not(.selected) {
2196 stroke-opacity: 0.4;
2198 .fill-wireframe path.shadow.selected {
2199 stroke-opacity: 0.6;
2202 .fill-wireframe .point,
2203 .fill-wireframe .areaicon,
2204 .fill-wireframe .areaicon-halo,
2205 .fill-wireframe path.casing,
2206 .fill-wireframe path.fill,
2207 .fill-wireframe path.oneway {
2208 display: none !important;
2211 .fill-partial path.area.fill {
2214 pointer-events: visibleStroke;
2219 .mode-draw-line .vertex.active,
2220 .mode-draw-area .vertex.active,
2221 .mode-drag-node .vertex.active {
2225 .mode-draw-line .way.active,
2226 .mode-draw-area .way.active,
2227 .mode-drag-node .active {
2228 pointer-events: none;
2231 /* Ensure drawing doesn't interact with area fills. */
2232 .mode-add-point path.area.fill,
2233 .mode-draw-line path.area.fill,
2234 .mode-draw-area path.area.fill,
2235 .mode-add-line path.area.fill,
2236 .mode-add-area path.area.fill,
2237 .mode-drag-node path.area.fill {
2238 pointer-events: none;
2241 ------------------------------------------------------- */
2244 Opera misbehaves when the window is resized vertically unless 100% width + height are
2245 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2253 font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2254 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2255 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2262 -ms-user-select: none;
2267 vertical-align: middle;
2285 -webkit-filter: none !important;
2286 filter: none !important;
2287 -webkit-duration: 200ms;
2288 transition-duration: 200ms;
2292 -webkit-filter: grayscale(80%) brightness(80%);
2293 filter: grayscale(80%) brightness(80%);
2294 -webkit-duration: 200ms;
2295 transition-duration: 200ms;
2298 /* Firefox has its own ideas about fixed positioning when a css filter is active - #4348 */
2299 /* https://stackoverflow.com/questions/37949942/firefox-position-bug-by-parent-with-filter */
2300 @-moz-document url-prefix() {
2304 #content.inactive > #bar > .spacer.col4 {
2307 #content.active > #bar > .spacer.col4 {
2309 transition-duration: 200ms;
2310 transition-timing-function: step-end;
2315 /* Can't be display: none or the clippaths are ignored. */
2335 [dir='rtl'] .spinner {
2346 [dir='rtl'] .spinner img {
2349 -moz-transform: scaleX(-1);
2350 -o-transform: scaleX(-1);
2351 -webkit-transform: scaleX(-1);
2352 transform: scaleX(-1);
2354 -ms-filter: "FlipH";
2358 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
2359 -moz-box-sizing: border-box;
2360 -webkit-box-sizing: border-box;
2361 box-sizing: border-box;
2364 a, button, input, textarea {
2365 -webkit-tap-highlight-color:rgba(0,0,0,0);
2366 -webkit-touch-callout:none;
2371 .checkselect label:hover,
2372 .opacity-options li,
2381 margin-bottom: 20px;
2386 h4:last-child { margin-bottom: 0;}
2392 margin-bottom: 10px;
2398 padding-bottom: 10px;
2402 outline-color: transparent;
2403 outline-style: none;
2433 ------------------------------------------------------- */
2437 font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2438 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2439 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2450 background-color: white;
2452 border:1px solid #ccc;
2453 padding:5px 20px 5px 10px;
2457 text-overflow: ellipsis;
2459 [dir='rtl'] textarea,
2460 [dir='rtl'] input[type=text],
2461 [dir='rtl'] input[type=search],
2462 [dir='rtl'] input[type=number],
2463 [dir='rtl'] input[type=url],
2464 [dir='rtl'] input[type=tel],
2465 [dir='rtl'] input[type=email] {
2466 padding:5px 10px 5px 20px;
2471 background-color: #F1F1F1;
2474 input[type="checkbox"],
2475 input[type="radio"] {
2482 [dir='rtl'] input[type="checkbox"],
2483 [dir='rtl'] input[type="radio"] {
2489 /* remove bottom border radius when combobox is open */
2490 .combobox + * textarea:focus,
2491 .combobox + * input:focus {
2492 border-bottom-left-radius: 0 !important;
2493 border-bottom-right-radius: 0 !important;
2499 background-color: white;
2500 border-collapse: collapse;
2509 table.tags, table.tags td, table.tags th {
2510 border: 1px solid #CCC;
2519 ------------------------------------------------------- */
2521 .col0 { float:left; width:04.1666%; }
2522 .col1 { float:left; width:08.3333%; }
2523 .col2 { float:left; width:16.6666%; }
2524 .col3 { float:left; width:25.0000%; max-width: 300px; }
2525 .col4 { float:left; width:33.3333%; max-width: 400px; }
2526 .col5 { float:left; width:41.6666%; max-width: 500px; }
2527 .col6 { float:left; width:50.0000%; max-width: 600px; }
2528 .col7 { float:left; width:58.3333%; }
2529 .col8 { float:left; width:66.6666%; }
2530 .col9 { float:left; width:75.0000%; }
2531 .col10 { float:left; width:83.3333%; }
2532 .col11 { float:left; width:91.6666%; }
2533 .col12 { float:left; width:100.0000%; }
2536 ------------------------------------------------------- */
2538 ul li { list-style: none;}
2540 .toggle-list > label {
2545 background-color: white;
2550 .toggle-list > label:hover {
2551 background-color: #ececec;
2554 .toggle-list > label:not(:last-child) {
2555 border-bottom: 1px solid #ccc;
2558 .toggle-list > label:last-child {
2559 border-radius: 0 0 3px 3px;
2562 .toggle-list label > span {
2565 white-space: nowrap;
2566 text-overflow: ellipsis;
2569 .toggle-list > label.active {
2570 background: #E8EBFF;
2575 ------------------------------------------------------- */
2582 background: #f6f6f6;
2587 background: #ececec;
2592 background:rgba(0,0,0,.5);
2597 background:rgba(0,0,0,.75);
2602 .fr { float: right;}
2620 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2624 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2625 background-size:5px 5px;
2661 display: inline-block;
2668 background-color: #ececec;
2673 background-color: rgba(255,255,255,.25);
2674 color: rgba(0,0,0,.4);
2679 background: #7092ff;
2689 background-color: #fafafa;
2691 [dir='rtl'] button.minor {
2695 button.minor .icon {
2699 button.minor:hover {
2700 background-color: #f1f1f1;
2704 display: inline-block;
2709 .button-wrap button:only-child {
2713 .button-wrap:last-of-type {
2716 [dir='rtl'] .button-wrap:last-of-type {
2718 padding-right: 10px;
2723 border-right: 1px solid rgba(0,0,0,.5);
2725 [dir='rtl'] .joined button {
2726 border-left: 1px solid rgba(0,0,0,.5);
2730 .fillL .joined button {
2731 border-right: 1px solid white;
2734 .joined button:first-child {
2735 border-radius: 4px 0 0 4px;
2737 [dir='rtl'] .joined button:first-child {
2738 border-radius: 0 4px 4px 0;
2741 .joined button:last-child {
2742 border-right-width: 0;
2743 border-radius: 0 4px 4px 0;
2745 [dir='rtl'] .joined button:last-child {
2746 border-radius: 4px 0 0 4px;
2750 background: #7092ff;
2754 button[disabled].action,
2755 button[disabled].action:hover {
2756 background: #cccccc;
2760 button.action:focus,
2761 button.action:hover {
2762 background: #597BE7;
2765 button.secondary-action {
2766 background: #ececec;
2769 button.secondary-action:focus,
2770 button.secondary-action:hover {
2771 background: #cccccc;
2774 button.save .count {
2778 button.save.has-count .count {
2791 margin-left: 9.3333%;
2793 [dir='rtl'] button.save.has-count .count {
2798 button.save.has-count .count::before {
2807 border-top: 6px solid transparent;
2808 border-bottom: 6px solid transparent;
2809 border-right-width: 6px;
2810 border-right-style: solid;
2811 border-right-color: inherit;
2813 [dir='rtl'] button.save.has-count .count::before {
2814 border-left: 6px solid rgba(255,255,255,.5);
2823 vertical-align: top;
2829 vertical-align: text-top;
2838 [dir='rtl'] .icon.pre-text {
2868 /* ToolBar / Persistent UI Elements
2869 ------------------------------------------------------- */
2882 [dir='rtl'] #bar .spacer,
2883 [dir='rtl'] #bar .button-wrap,
2884 [dir='rtl'] #bar .button-wrap button {
2889 /* Header for modals / panes
2890 ------------------------------------------------------- */
2893 border-bottom: 1px solid #ccc;
2901 white-space: nowrap;
2902 text-overflow: ellipsis;
2904 padding: 20px 20px 20px 40px;
2906 [dir='rtl'] .header h3 {
2908 padding: 20px 40px 20px 20px;
2924 .entity-editor-pane .header button.preset-close,
2925 .preset-list-pane .header button.preset-choose {
2930 [dir='rtl'] .entity-editor-pane .header button.preset-close,
2931 [dir='rtl'] .preset-list-pane .header button.preset-choose {
2936 .entity-editor-pane .header button.preset-choose {
2941 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
2959 [dir='rtl'] .modal > button {
2967 padding: 5px 20px 5px 20px;
2968 border-top: 1px solid #ccc;
2969 background-color: #fafafa;
2974 .sidebar-component .body {
2983 ------------------------------------------------------- */
2991 background: #f6f6f6;
2992 -ms-user-select: element;
2994 [dir='rtl'] #sidebar {
2998 .sidebar-component {
3025 .feature-list-pane .inspector-body {
3029 .preset-list-pane .inspector-body {
3033 .entity-editor-pane .inspector-body {
3037 .selection-list-pane .inspector-body {
3046 #sidebar .search-header .icon {
3051 pointer-events: none;
3053 [dir='rtl'] #sidebar .search-header .icon {
3058 #sidebar .search-header input {
3066 border-bottom-width: 1px;
3080 .feature-list-item {
3083 border-bottom: 1px solid #ccc;
3087 .feature-list-item {
3088 background-color: white;
3094 .feature-list-item:hover {
3095 background-color: #ececec;
3098 .feature-list-item button {
3099 background: transparent;
3102 .feature-list-item .label {
3105 white-space: nowrap;
3106 text-overflow: ellipsis;
3108 border-left: 1px solid rgba(0, 0, 0, .1);
3110 [dir='rtl'] .feature-list-item .label {
3114 .feature-list-item .label .icon {
3118 .feature-list-item .close {
3123 .feature-list-item .close .icon {
3127 .feature-list-item .entity-type {
3131 .feature-list-item:hover .entity-type {
3135 .feature-list-item .entity-name {
3136 font-weight: normal;
3140 [dir='rtl'] .feature-list-item .entity-name {
3142 padding-right: 10px;
3147 ------------------------------------------------------- */
3153 padding: 20px 20px 10px 20px;
3154 border-bottom: 1px solid #ccc;
3157 .preset-list-button-wrap {
3159 margin-bottom: 10px;
3163 .preset-list-button {
3167 border: 1px solid #ccc;
3170 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
3171 background: #ececec;
3174 .preset-icon-fill-area {
3184 .preset-icon-fill-vertex {
3191 border: 1.5px solid #333;
3192 border-radius: 20px;
3193 background-color: #efefef;
3194 backface-visibility: hidden;
3197 [dir='rtl'] .preset-icon-fill-vertex,
3198 [dir='rtl'] .preset-icon-fill-area {
3203 .preset-icon-frame {
3211 [dir='rtl'] .preset-icon-frame {
3216 .preset-icon-frame .icon {
3228 .preset-icon-60 .icon {
3240 .preset-icon-44 .icon {
3252 .preset-icon-28 .icon {
3264 .preset-icon-24 .icon {
3269 [dir='rtl'] .preset-list-button-wrap .preset-icon {
3274 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
3278 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
3282 .preset-list-button .label {
3283 background-color: #f6f6f6;
3292 white-space: nowrap;
3293 text-overflow: ellipsis;
3295 border-left: 1px solid rgba(0, 0, 0, .1);
3296 border-radius: 0 3px 3px 0;
3298 [dir='rtl'] .preset-list-button .label {
3303 border-right: 1px solid rgba(0, 0, 0, .1);
3304 border-radius: 3px 0 0 3px;
3307 .preset-list-button:hover .label {
3308 background-color: #ececec;
3311 .preset-list-item button.tag-reference-button {
3313 border: 1px solid #CCC;
3314 border-radius: 0 3px 3px 0;
3319 background: #fafafa;
3321 [dir='rtl'] .preset-list-item button.tag-reference-button {
3324 border-radius: 3px 0 0 3px;
3327 .preset-list-item button.tag-reference-button:hover {
3328 background: #f1f1f1;
3331 .preset-list-item button.tag-reference-button .icon {
3335 .current .preset-list-button,
3336 .current .preset-list-button .label {
3337 background-color: #E8EBFF;
3340 .category .preset-list-button:after,
3341 .category .preset-list-button:before {
3345 left: -1px; right: -1px;
3346 border: 1px solid #ccc;
3347 border-bottom: none;
3348 border-radius: 6px 6px 0 0;
3352 .category .preset-list-button:before {
3356 .subgrid .preset-list {
3357 padding: 10px 10px 0 10px;
3361 width: -webkit-calc(100% + 20px);
3366 border: solid rgba(0, 0, 0, 0);
3368 border-bottom-color: #f1f1f1;
3372 margin-left: -webkit-calc(50% - 10px);
3377 /* preset form basics */
3381 padding-bottom: 10px;
3384 .preset-editor a.hide-toggle {
3385 margin: 0 20px 10px 20px;
3388 .preset-editor .form-fields-container {
3390 margin: 0 10px 10px 10px;
3394 .preset-editor .form-fields-container:empty {
3398 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
3403 margin-bottom: 10px;
3405 -webkit-transition: margin-bottom 200ms;
3406 -moz-transition: margin-bottom 200ms;
3407 -o-transition: margin-bottom 200ms;
3408 transition: margin-bottom 200ms;
3412 .wrap-form-field:last-child .form-field {
3419 border: 1px solid #cfcfcf;
3420 padding: 5px 0 5px 10px;
3421 background: #f6f6f6;
3423 border-radius: 4px 4px 0 0;
3426 [dir='rtl'] .form-label {
3427 padding: 5px 10px 5px 0;
3430 .form-label-button-wrap {
3436 background: transparent;
3439 [dir='rtl'] .form-label-button-wrap {
3443 .form-label-button-wrap .tag-reference-button {
3444 border-radius: 0 3px 0 0;
3447 .form-label-button-wrap .icon {
3451 .form-label button {
3452 border-left: 1px solid #ccc;
3456 background: #f6f6f6;
3458 [dir='rtl'] .form-label button {
3460 border-right: 1px solid #CCC;
3461 border-radius: 4px 0 0 0;
3464 .form-label button:hover {
3465 background: #f1f1f1;
3468 .form-label .modified-icon,
3469 .form-field .remove-icon {
3473 .modified .form-label .modified-icon,
3474 .present .form-label .remove-icon {
3475 display: inline-block;
3478 .form-field > input,
3479 .form-field > textarea,
3480 .form-field .preset-input-wrap {
3481 border: 1px solid #ccc;
3484 border-radius: 0 0 4px 4px;
3488 .form-field textarea {
3493 border-bottom: 1px solid #ccc
3496 /* Preset form (hover mode) */
3498 .inspector-hover .checkselect label:last-of-type,
3499 .inspector-hover .preset-input-wrap .label,
3500 .inspector-hover .form-field-multicombo,
3501 .inspector-hover .structure-extras-wrap,
3502 .inspector-hover input,
3503 .inspector-hover textarea,
3504 .inspector-hover label {
3505 background: #ececec;
3509 .inspector-hover .form-field-multicombo .chips,
3510 .inspector-hover .checkselect label:last-of-type {
3514 .inspector-hover .form-field-multicombo .chips {
3516 border: 1px solid #ccc;
3519 /* hide and remove from layout */
3521 .inspector-hover label input[type="checkbox"],
3522 .inspector-hover label input[type="radio"],
3523 .inspector-hover .toggle-list label,
3524 .inspector-hover .toggle-list label span,
3525 .inspector-hover .inspector-inner .add-tag,
3526 .inspector-hover .inspector-inner .add-relation,
3527 .inspector-hover .form-field-multicombo .combobox-input,
3528 .inspector-hover .toggle-list label.remove .icon {
3532 opacity: 0 !important;
3538 /* hide but preserve in layout */
3539 .inspector-hover .entity-editor-pane button.minor,
3540 .inspector-hover .combobox-caret,
3541 .inspector-hover .entity-editor-pane .header button,
3542 .inspector-hover .spin-control,
3543 .inspector-hover .form-field-multicombo .chips .remove,
3544 .inspector-hover .hide-toggle:before,
3545 .inspector-hover .more-fields,
3546 .inspector-hover .form-label-button-wrap,
3547 .inspector-hover .tag-reference-button,
3548 .inspector-hover .view-on-osm {
3552 /* Styles for raw tag inspector on hover */
3553 .inspector-hover .tag-row .key-wrap,
3554 .inspector-hover .tag-row .form-field.input-wrap-position {
3558 .inspector-hover .tag-row:first-child input.value {
3559 border-top-right-radius: 4px;
3561 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
3562 border-top-right-radius: 0;
3563 border-top-left-radius: 4px;
3566 .inspector-hover .tag-row:last-child input.value {
3567 border-bottom-right-radius: 4px;
3569 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
3570 border-bottom-right-radius: 0;
3571 border-bottom-left-radius: 4px;
3574 .inspector-hover .tag-row:last-child input.key {
3575 border-bottom-left-radius: 4px;
3577 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
3578 border-bottom-left-radius: 0;
3579 border-bottom-right-radius: 4px;
3582 .inspector-hover .more-fields {
3584 margin-bottom: -10px;
3587 /* Unstyle button fields */
3588 .inspector-hover .toggle-list label.active,
3589 .inspector-hover .entity-editor-pane a.hide-toggle {
3591 background-color: transparent;
3597 .inspector-hover .toggle-list button.active {
3601 /* Add placeholder only on hover for radio buttons */
3602 .inspector-hover .toggle-list .placeholder {
3610 /* Hide placeholder for radio buttons if another is active, or not in hover state */
3611 .toggle-list label.active ~ .placeholder,
3612 .toggle-list .placeholder {
3621 /* adding additional preset fields */
3624 padding: 0 20px 20px 20px;
3627 .changeset-editor .more-fields {
3628 padding: 15px 20px 0 20px;
3631 .more-fields label {
3633 flex-flow: row nowrap;
3634 justify-content: space-between;
3635 align-items: center;
3638 .more-fields input {
3642 [dir='rtl'] .more-fields input {
3647 .preset-input-wrap .label {
3649 background: #F6F6F6;
3653 [dir='rtl'] .preset-input-wrap .col6 {
3658 /* preset form access */
3659 /* preset form cycleway */
3660 /* preset form structure extras */
3662 .structure-extras-wrap li,
3663 .form-field-cycleway .preset-input-wrap li,
3664 .form-field-access .preset-input-wrap li {
3665 border-bottom: 1px solid #ccc;
3667 .structure-extras-wrap li:last-child,
3668 .form-field-cycleway .preset-input-wrap li:last-child,
3669 .form-field-access .preset-input-wrap li:last-child {
3672 .structure-input-type-wrap input,
3673 .structure-input-layer-wrap input,
3674 .preset-input-cycleway-wrap input,
3675 .preset-input-access-wrap input {
3678 border-left-width: 1px;
3680 [dir='rtl'] .structure-input-type-wrap input,
3681 [dir='rtl'] .structure-input-layer-wrap input,
3682 [dir='rtl'] .preset-input-cycleway-wrap input,
3683 [dir='rtl'] .preset-input-access-wrap input {
3684 border-left-width: 0;
3685 border-right-width: 1px;
3688 .preset-input-wrap li:last-child input {
3689 border-bottom-right-radius: 4px;
3692 .structure-extras-wrap {
3696 .structure-extras-wrap ul {
3697 border: 1px solid #ccc;
3700 .structure-extras-wrap li:first-child span {
3701 border-top-left-radius: 4px;
3703 .structure-extras-wrap li:first-child input {
3704 border-top-right-radius: 4px;
3706 .structure-extras-wrap li:last-child span {
3707 border-bottom-left-radius: 4px;
3709 .structure-extras-wrap li:last-child input {
3710 border-bottom-right-radius: 4px;
3712 [dir='rtl'] .structure-extras-wrap li:first-child span {
3713 border-top-left-radius: 0;
3714 border-top-right-radius: 4px;
3716 [dir='rtl'] .structure-extras-wrap li:first-child input {
3717 border-top-right-radius: 0;
3718 border-top-left-radius: 4px;
3720 [dir='rtl'] .structure-extras-wrap li:last-child span {
3721 border-bottom-left-radius: 0;
3722 border-bottom-right-radius: 4px;
3724 [dir='rtl'] .structure-extras-wrap li:last-child input {
3725 border-bottom-right-radius: 0;
3726 border-bottom-left-radius: 4px;
3730 /* preset form multicombo */
3732 .form-field-multicombo {
3733 border: 1px solid #cfcfcf;
3735 padding: 5px 0 5px 10px;
3738 border-radius: 0 0 4px 4px;
3742 .form-field-multicombo:focus {
3746 .form-field-multicombo.active {
3747 border-bottom-left-radius: 0px;
3748 border-bottom-right-radius: 0px;
3751 .form-field-multicombo li {
3752 display: inline-flex;
3753 flex-flow: row nowrap;
3754 align-items: center;
3755 background-color: #eff2f7;
3756 border: 1px solid #ccd5e3;
3763 .form-field-multicombo a {
3764 font-family: Arial, Helvetica, sans-serif !important;
3765 font-size: 16px !important;
3768 margin: 1px 0 0 5px;
3774 .form-field-multicombo input {
3775 border: 1px solid #ddd;
3781 .form-field-multicombo .combobox-caret {
3782 margin: 3px 3px 3px -30px;
3785 .form-field-multicombo input:focus {
3786 border-radius: 4px !important;
3790 /* preset form numbers */
3792 input[type=number] {
3800 display: inline-block;
3802 margin-bottom: -11px;
3805 [dir='rtl'] .spin-control{
3807 margin-right: -64px;
3810 .spin-control button {
3816 border-left: 1px solid #CCC;
3818 background: rgba(0, 0, 0, 0);
3820 [dir='rtl'] .spin-control button{
3822 border-right: 1px solid #CCC;
3825 .spin-control button.decrement {
3826 border-bottom-right-radius: 3px;
3828 [dir='rtl'] .spin-control button.decrement {
3829 border-bottom-right-radius: 0;
3831 [dir='rtl'] .spin-control button.increment {
3832 border-bottom-left-radius: 3px;
3836 .spin-control button.decrement::after,
3837 .spin-control button.increment::after {
3839 height: 0; width: 0;
3841 left: 0; right: 0; bottom: 0; top: 0;
3845 .spin-control button.decrement::after {
3846 border-top: 5px solid #CCC;
3847 border-left: 5px solid transparent;
3848 border-right: 5px solid transparent;
3851 .spin-control button.increment::after {
3852 border-bottom: 5px solid #CCC;
3853 border-left: 5px solid transparent;
3854 border-right: 5px solid transparent;
3858 /* preset form checkbox */
3860 .checkselect label:last-of-type {
3867 .checkselect label:hover {
3868 background: #f1f1f1;
3875 .checkselect label:not(.set) input[type="checkbox"] {
3879 .checkselect .reverser.button {
3882 background-color: #eff2f7;
3883 border: 1px solid #ccd5e3;
3887 [dir='rtl'] .checkselect .reverser.button {
3890 .checkselect .reverser.button.hide {
3894 /* Preset form radio button */
3896 .toggle-list button.remove {
3897 border-radius: 0 0 3px 3px;
3900 .toggle-list button.remove .icon {
3905 .toggle-list button.remove::before {
3909 #preset-input-maxspeed {
3911 border-radius: 0 0 0 4px;
3914 [dir='rtl'] #preset-input-maxspeed {
3915 border-right: 1px solid #ccc;
3916 border-radius: 0 0 4px 0;
3919 .form-field .maxspeed-unit {
3920 border-radius: 0 0 4px 0;
3923 [dir='rtl'] .form-field .maxspeed-unit {
3925 border-radius: 0 0 0 4px;
3928 /* Wikipedia field */
3929 .form-field .wiki-lang {
3932 .form-field .wiki-title {
3935 [dir='rtl'] .form-field .wiki-title {
3937 padding-right: 10px;
3940 .form-field .wiki-title ~ .combobox-caret {
3943 [dir='rtl'] .form-field .wiki-title ~ .combobox-caret {
3948 /* Localized field */
3949 .form-field .localized-main {
3952 [dir='rtl'] .form-field .localized-main {
3954 padding-right: 10px;
3957 .form-field .button-input-action {
3962 border: 1px solid #CCC;
3963 border-top-width: 0;
3964 border-right-width: 0;
3965 border-radius: 0 0 4px 0;
3967 vertical-align: top;
3969 [dir='rtl'] .form-field .button-input-action {
3971 margin-right: -32px;
3972 border-right-width: 1px;
3973 border-radius: 0 0 0 4px;
3976 .form-field .localized-wrap {
3980 .form-field .localized-wrap .entry {
3985 .form-field .localized-wrap .entry::before {
3998 .form-field .localized-wrap .entry .localized-lang {
4000 border-top-width: 0;
4003 .form-field .localized-wrap .entry .localized-value {
4004 border-top-width: 0;
4005 border-radius: 0 0 4px 4px;
4008 .form-field .localized-wrap .form-label button {
4009 border-top-right-radius: 3px;
4012 /* Preset form address */
4018 [dir='rtl'] .addr-row input {
4019 border-right: 1px solid #ccc;
4023 .addr-row:first-of-type input {
4027 .addr-row input:first-of-type {
4030 [dir='rtl'] .addr-row input:first-of-type {
4038 .addr-row:last-of-type input:first-of-type {
4039 border-radius: 0 0 0 4px;
4041 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
4042 border-radius: 0 0 4px 0;
4045 .addr-row:last-of-type input:last-of-type {
4046 border-radius: 0 0 4px 0;
4048 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
4049 border-radius: 0 0 0 4px;
4052 /* Restrictions editor */
4054 .form-field-restrictions .preset-input-wrap {
4059 .form-field-restrictions svg.surface {
4064 .form-field-restrictions .restriction-help {
4071 background-color: rgba(255, 255, 255, .8);
4076 /* combobox dropdown */
4081 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
4087 border: 1px solid #ccc;
4088 border-radius: 0 0 4px 4px;
4094 border-top:1px solid #ccc;
4095 text-overflow: ellipsis;
4096 white-space: nowrap;
4100 .combobox a.selected,
4102 background: #ececec;
4105 .combobox a:first-child {
4110 display: inline-block;
4115 vertical-align: top;
4117 [dir='rtl'] .combobox-caret {
4119 margin-right: -30px;
4122 .combobox-caret::after {
4124 height: 0; width: 0;
4126 left: 0; right: 0; bottom: 0; top: 0;
4128 border-top: 5px solid #ccc;
4129 border-left: 5px solid transparent;
4130 border-right: 5px solid transparent;
4133 /* Raw Tag Editor */
4146 .tag-row.readonly input.key,
4147 .tag-row.readonly input.value,
4148 .tag-row.readonly button.remove {
4150 background-color: #eee;
4151 cursor: not-allowed;
4158 border-bottom: 1px solid #CCC;
4159 border-left: 1px solid #CCC;
4161 [dir='rtl'] .tag-row input {
4163 border-right: 1px solid #CCC;
4167 .tag-row .input-wrap-position {
4172 [dir='rtl'] .tag-row .key-wrap,
4173 [dir='rtl'] .tag-row .input-wrap-position {
4177 .tag-row input.key {
4179 background-color: #f6f6f6;
4182 .tag-row input.value {
4183 border-right: 1px solid #CCC;
4185 [dir='rtl'] .tag-row input.value {
4186 border-left: 1px solid #CCC;
4189 .tag-row:first-child input.key {
4190 border-top: 1px solid #CCC;
4191 border-top-left-radius: 4px;
4193 [dir='rtl'] .tag-row:first-child input.key {
4194 border-top-left-radius: 0;
4195 border-top-right-radius: 4px;
4198 .tag-row:first-child input.value {
4199 border-top: 1px solid #CCC;
4206 border: 1px solid #CCC;
4207 border-top-width: 0;
4208 border-left-width: 0;
4210 [dir='rtl'] .tag-row button {
4212 border-left-width: 1px;
4213 border-right-width: 0;
4216 .tag-row button:hover {
4217 background: #f1f1f1;
4220 .tag-row button .icon {
4224 .tag-row:first-child button {
4225 border-top-width: 1px;
4228 .tag-row:first-child .tag-reference-button {
4229 border-top-right-radius: 4px;
4231 [dir='rtl'] .tag-row:first-child .tag-reference-button {
4232 border-top-left-radius: 4px;
4233 border-top-right-radius: 0;
4236 .tag-row:last-child .tag-reference-button {
4237 border-bottom-right-radius: 4px;
4239 [dir='rtl'] .tag-row:last-child .tag-reference-button {
4240 border-bottom-left-radius: 4px;
4241 border-bottom-right-radius: 0;
4244 .tag-row .tag-reference-button {
4249 background: #fafafa;
4251 [dir='rtl'] .tag-row .tag-reference-button {
4255 border-left-width: 1px;
4256 border-right-width: 0;
4259 /* Adding form fields to tag editor */
4261 .raw-tag-editor .add-tag {
4265 background: rgba(0,0,0,.5);
4266 border-radius: 0 0 4px 4px;
4269 .raw-tag-editor .add-tag:hover {
4270 background: rgba(0,0,0,.8);
4273 .raw-tag-editor .add-tag .label {
4279 button.minor.tag-reference-loading {
4280 background-color: #f5f5f5;
4283 .tag-reference-loading .icon {
4284 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
4285 background-position: 0 0;
4288 .tag-reference-body {
4293 .tag-reference-body .tag-reference-description {
4294 margin: 10px 5px 0 5px;
4297 .tag-reference-body a {
4301 .tag-reference-body .tag-reference-description:last-child,
4302 .tag-reference-body a:last-child {
4303 margin-bottom: 15px;
4306 .preset-list .tag-reference-body {
4311 .raw-tag-editor .tag-reference-body {
4316 .raw-tag-editor .tag-row.readonly .tag-reference-body {
4317 background: #f6f6f6;
4321 .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body {
4322 border-bottom: 1px solid #ccc;
4325 .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
4326 border-top: 1px solid #ccc;
4329 img.tag-reference-wiki-image {
4332 width: -webkit-calc(33.3333% - 10px);
4333 width: calc(33.3333% - 10px);
4336 margin: 10px 5px 15px 20px;
4340 /* Raw relation membership editor */
4342 .raw-member-editor .member-list li:first-child,
4343 .raw-membership-editor .member-list li:first-child {
4347 .raw-member-editor .member-row,
4348 .raw-membership-editor .member-row {
4352 .raw-member-editor .member-row .member-entity-name,
4353 .raw-membership-editor .member-row .member-entity-name {
4354 font-weight: normal;
4358 .member-incomplete .member-delete {
4362 .member-row-new .member-entity-input {
4363 border-radius: 4px 4px 0 0;
4364 border: 1px solid #cfcfcf;
4370 background: rgba(0,0,0,.5);
4375 .add-relation:hover {
4376 background: rgba(0,0,0,.8);
4379 /* hidden field to prevent user from tabbing out of the sidebar */
4384 border: 1px solid rgba(0,0,0,0);
4387 /* Fullscreen button */
4394 div.full-screen .tooltip {
4398 div.full-screen > button, div.full-screen > button.active {
4401 background: transparent;
4404 div.full-screen > button:hover {
4405 background-color: rgba(0, 0, 0, .8);
4417 [dir='rtl'] .map-controls {
4422 .map-control > button {
4424 background: rgba(0,0,0,.5);
4428 .map-control > button:hover {
4429 background: rgba(0, 0, 0, .8);
4432 .map-control > button.active,
4433 .map-control > button.active:hover {
4434 background: #7092ff;
4439 .zoombuttons button.zoom-in {
4440 border-radius: 4px 0 0 0;
4442 [dir='rtl'] .zoombuttons button.zoom-in {
4443 border-radius: 0 4px 0 0;
4446 /* Background / Map Data Settings */
4448 .map-data-control button {
4452 .background-control button {
4453 border-radius: 4px 0 0 0;
4455 [dir='rtl'] .background-control button {
4456 border-radius: 0 4px 0 0;
4460 .background-control {
4465 margin-bottom: 10px;
4468 .map-data-control .hide-toggle,
4469 .background-control .hide-toggle {
4470 padding-bottom: 10px;
4473 .layer-list, .controls-list {
4474 margin-bottom: 10px;
4475 border: 1px solid #CCC;
4482 background-color: white;
4490 .layer-list > li:first-child {
4491 border-radius: 3px 3px 0 0;
4494 .layer-list > li:last-child {
4495 border-radius: 0 0 3px 3px;
4498 .layer-list > li:only-child {
4502 .layer-list li:not(:last-child) {
4503 border-bottom: 1px solid #ccc;
4506 .layer-list li:hover {
4507 background-color: #ececec;
4510 .layer-list li.active,
4511 .layer-list li.switch {
4512 background: #E8EBFF;
4515 .layer-list li.best > div.best {
4516 display: inline-block;
4521 [dir='rtl'] .list-item-gpx-browse svg {
4522 transform: rotateY(180deg);
4525 /* make sure tooltip fits in map-control panel */
4526 /* if too wide, placement will be wrong the first time it displays */
4527 .layer-list li.best .tooltip-inner {
4537 .layer-list label > span {
4540 white-space: nowrap;
4541 text-overflow: ellipsis;
4552 .minimap-toggle.active {
4553 background: #E8EBFF;
4556 .minimap-toggle:hover {
4557 background-color: #ececec;
4565 [dir='rtl'] .hide-toggle {
4567 padding-right: 12px;
4570 .hide-toggle:before {
4578 border-top: 4px solid transparent;
4579 border-bottom: 4px solid transparent;
4580 border-left: 8px solid #7092ff;
4582 [dir='rtl'] .hide-toggle:before {
4586 border-right: 8px solid #7092ff;
4589 .hide-toggle.expanded:before {
4590 border-top: 8px solid #7092ff;
4592 border-right: 4px solid transparent;
4593 border-left: 4px solid transparent;
4595 [dir='rtl'] .hide-toggle.expanded:before {
4596 border-left: 4px solid transparent;
4597 border-right: 4px solid transparent;
4601 /* Adjust Alignment controls */
4603 .background-control .nudge-container {
4604 border: 1px solid #ccc;
4609 .nudge-container .nudge-instructions {
4610 padding-bottom: 15px;
4613 .nudge-container .nudge-outer-rect {
4614 background-color: #eee;
4615 border: 1px solid #ccc;
4620 justify-content: center;
4621 align-items: center;
4627 .nudge-container .nudge-inner-rect {
4628 background-color: #fff;
4629 border: 1px solid #ccc;
4635 .nudge-container .nudge::after {
4640 left: 0; right: 0; top: 0; bottom: 0;
4645 .nudge-container input {
4652 .nudge-container input.error {
4653 border: 1px solid #FF7878;
4658 .nudge-container input:focus {
4659 background-color: transparent;
4662 .nudge-container button {
4667 background-color: transparent;
4670 .nudge-container button.right {
4675 .nudge-container button.left {
4680 .nudge-container button.top {
4685 .nudge-container button.bottom {
4689 .nudge-container button.nudge-reset {
4700 background-color: transparent;
4704 .background-control .nudge.right::after {
4705 border-top: 5px solid transparent;
4706 border-bottom: 5px solid transparent;
4707 border-left: 5px solid #222;
4710 .background-control .nudge.left::after {
4711 border-top: 5px solid transparent;
4712 border-bottom: 5px solid transparent;
4713 border-right: 5px solid #222;
4716 .background-control .nudge.top::after {
4717 border-right: 5px solid transparent;
4718 border-left: 5px solid transparent;
4719 border-bottom: 5px solid #222;
4722 .background-control .nudge.bottom::after {
4723 border-right: 5px solid transparent;
4724 border-left: 5px solid transparent;
4725 border-top: 5px solid #222;
4729 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
4735 border: 1px solid #ccc;
4737 [dir='rtl'] .opacity-options {
4742 .opacity-options li {
4748 .opacity-options li .select-box{
4755 .map-data-control li:hover .select-box,
4756 .map-data-control li.selected .select-box,
4757 .background-control li:hover .select-box,
4758 .background-control li.selected .select-box {
4759 border: 2px solid #7092ff;
4760 background: rgba(89, 123, 231, .5);
4764 .map-data-control li.selected:hover .select-box,
4765 .map-data-control li.selected .select-box,
4766 .background-control li.selected:hover .select-box,
4767 .background-control li.selected .select-box {
4771 .background-control .opacity {
4773 display:inline-block;
4778 .map-data-control .layer-list button,
4779 .background-control .layer-list button {
4783 border-left: 1px solid #CCC;
4786 [dir='rtl'] .map-data-control .layer-list button,
4787 [dir='rtl'] .background-control .layer-list button {
4790 border-right: 1px solid #CCC;
4793 .map-data-control .layer-list button .icon,
4794 .background-control .layer-list button .icon {
4798 .map-data-control .layer-list button:first-of-type,
4799 .background-control .layer-list button:first-of-type {
4800 border-radius: 0 3px 3px 0;
4802 [dir='rtl'] .map-data-control .layer-list button:first-of-type,
4803 [dir='rtl'] .background-control .layer-list button:first-of-type {
4804 border-radius: 3px 0 0 3px;
4807 .map-data-control .map-overlay,
4808 .background-control .map-overlay,
4809 .help-control .map-overlay {
4815 .geolocate-control {
4816 margin-bottom: 10px;
4819 .geolocate-control button {
4820 border-radius: 0 0 0 4px;
4822 [dir='rtl'] .geolocate-control button {
4823 border-radius: 0 0 4px 0;
4826 .map-overlay.content {
4830 padding: 20px 50px 20px 20px;
4834 [dir='rtl'] .map-overlay.content {
4835 padding: 20px 20px 20px 50px;
4837 right: auto !important;
4842 .help-control button {
4843 border-radius: 0 0 0 4px;
4845 [dir='rtl'] .help-control button {
4846 border-radius: 0 0 4px 0;
4851 margin-bottom: 20px;
4854 .help-wrap .left-content .body p code {
4860 /* This is two columns, 41.66666 x .4 = 16.6666 */
4864 margin-bottom: 20px;
4868 .help-wrap .toc li a,
4871 border: 1px solid #CCC;
4875 .help-wrap .toc li a {
4879 .help-wrap .toc li a:hover,
4880 .help-wrap .nav a:hover {
4881 background: #ececec;
4884 .help-wrap .toc li a.selected {
4885 background: #E8EBFF;
4888 .help-wrap .toc li:first-child a {
4889 border-radius: 4px 4px 0 0;
4892 .help-wrap .toc li:nth-last-child(3) a {
4893 border-bottom: 1px solid #CCC;
4894 border-radius: 0 0 4px 4px
4897 .help-wrap .toc li.shortcuts a,
4898 .help-wrap .toc li.walkthrough a {
4901 border-bottom: 1px solid #ccc;
4905 .help-wrap .toc li.walkthrough a {
4919 .help-wrap .nav a:first-child {
4920 border-radius: 4px 0 0 4px;
4923 .help-wrap .nav a:last-child:not(:only-child) {
4924 border-radius: 0 4px 4px 0;
4928 .help-wrap .nav a:only-child {
4935 ------------------------------------------------------- */
4939 transform-origin:0 0;
4940 -ms-transform-origin:0 0;
4941 -webkit-transform-origin:0 0;
4942 -moz-transform-origin:0 0;
4943 -o-transform-origin:0 0;
4945 -moz-user-select: none;
4946 -webkit-user-select: none;
4947 -ms-user-select: none;
4952 -webkit-transition: opacity 200ms linear;
4953 transition: opacity 200ms linear;
4954 -moz-transition: opacity 200ms linear;
4959 background: rgba(0, 0, 0, 0.7);
4969 transform-origin:0 0;
4970 -ms-transform-origin:0 0;
4971 -webkit-transform-origin:0 0;
4972 -moz-transform-origin:0 0;
4973 -o-transform-origin:0 0;
4975 -moz-user-select: none;
4976 -webkit-user-select: none;
4977 -ms-user-select: none;
4982 outline: 1px solid red;
4995 ------------------------------------------------------- */
5002 -moz-user-select: none;
5003 -webkit-user-select: none;
5004 -ms-user-select: none;
5009 transform-origin:0 0;
5010 -ms-transform-origin:0 0;
5011 -webkit-transform-origin:0 0;
5012 -moz-transform-origin:0 0;
5013 -o-transform-origin:0 0;
5016 #supersurface, .layer {
5025 ------------------------------------------------------- */
5034 border: #aaa 1px solid;
5035 box-shadow: 0 0 2em black;
5039 transform-origin:0 0;
5040 -ms-transform-origin:0 0;
5041 -webkit-transform-origin:0 0;
5042 -moz-transform-origin:0 0;
5043 -o-transform-origin:0 0;
5045 -moz-user-select: none;
5046 -webkit-user-select: none;
5047 -ms-user-select: none;
5051 .map-in-map-viewport,
5060 .map-in-map-viewport {
5071 stroke: rgba(255, 255, 0, 0.75);
5073 shape-rendering: crispEdges;
5076 .map-in-map-bbox.thick {
5082 ------------------------------------------------------- */
5084 stroke: currentColor;
5088 .map-in-map-data .debug {
5092 .red { color: rgba(255, 0, 0, 0.75); }
5093 .green { color: rgba(0, 255, 0, 0.75); }
5094 .blue { color: rgba(0, 0, 255, 0.75); }
5095 .yellow { color: rgba(255, 255, 0, 0.75); }
5096 .cyan { color: rgba(0, 255, 255, 0.75); }
5097 .magenta { color: rgba(255, 0, 255, 0.75); }
5098 .orange { color: rgba(255, 153, 0, 0.75); }
5099 .pink { color: rgba(255, 0, 153, 0.75); }
5100 .purple { color: rgba(153, 0, 255, 0.75); }
5108 pointer-events: none;
5111 .debug-legend-item {
5114 .debug-legend-item:before {
5120 ------------------------------------------------------- */
5123 flex-flow: row-reverse wrap-reverse;
5128 -ms-user-select: element;
5136 display: inline-block;
5148 margin: 2px 0 0 2px;
5150 border: 1px solid rgba(0, 0, 0, 0.75);
5151 padding-bottom: 10px;
5155 .panel-container .panel-title {
5156 border-radius: 4px 4px 0 0;
5163 .panel-title button.close {
5169 [dir='rtl'] .panel-title button.close {
5173 .panel-title button.close:hover {
5177 .panel-title button.close .icon {
5187 .panel-content .button {
5188 display: inline-block;
5189 background: #7092ff;
5196 [dir='rtl'] .panel-content .button {
5201 .panel-content-history .links a {
5204 [dir='rtl'] .panel-content-history .links a {
5209 .panel-content-history .view-history-on-osm {
5214 .panel-content-location .location-info {
5220 ------------------------------------------------------- */
5228 pointer-events: none;
5230 flex-direction: column;
5231 -ms-user-select: element;
5240 #attrib * { pointer-events: all; }
5242 .base-layer-attribution,
5243 .overlay-layer-attribution {
5249 .base-layer-attribution {
5253 .overlay-layer-attribution {
5257 .overlay-layer-attribution .attribution:not(:last-child):after {
5262 .attribution a:visited {
5266 .attribution a:hover {
5270 .attribution .source-image {
5272 vertical-align: middle;
5282 pointer-events: all;
5291 flex-flow: row nowrap;
5292 justify-content: space-between;
5299 #flash-wrap .content {
5302 flex-flow: row nowrap;
5303 align-items: center;
5309 #flash-wrap svg.operation-icon {
5316 #flash-wrap div.operation-tip {
5323 flex-flow: row nowrap;
5324 justify-content: space-between;
5333 transition: bottom 75ms linear;
5334 -moz-transition: bottom 75ms linear;
5335 -webkit-transition: bottom 75ms linear;
5340 transition: bottom 75ms linear;
5341 -moz-transition: bottom 75ms linear;
5342 -webkit-transition: bottom 75ms linear;
5347 vertical-align: bottom;
5351 -moz-user-select: none;
5352 -webkit-user-select: none;
5353 -ms-user-select: none;
5366 [dir='rtl'] #scale {
5367 transform: scaleX(-1);
5375 font: 12px sans-serif;
5380 [dir='rtl'] #scale text {
5381 transform: scaleX(-1);
5388 shape-rendering: crispEdges;
5398 [dir='rtl'] #about-list {
5407 border-left: 1px solid rgba(255,255,255,.5);
5408 padding: 5px 0 5px 5px;
5411 [dir='rtl'] #about-list li {
5414 border-right: 1px solid rgba(255,255,255,.5);
5417 padding: 5px 5px 5px 0;
5421 #about-list li:last-child {
5426 [dir='rtl'] #about-list li:last-child {
5431 padding: 2px 4px 4px 4px;
5434 .source-switch a.live {
5435 background: #d32232;
5439 .feature-warning a {
5440 background: #1e90ff;
5441 padding: 2px 4px 4px 4px;
5446 .user-list a:not(:last-child):after {
5456 [dir='rtl'] .api-status {
5460 .api-status.offline,
5461 .api-status.readonly,
5469 .api-status-login:hover {
5474 display: inline-block;
5475 background: #d32232;
5478 border-radius: 11px;
5481 [dir='rtl'] .badge {
5488 [dir='rtl'] .badge a {
5493 vertical-align: baseline;
5501 ------------------------------------------------------- */
5505 display: inline-block;
5516 margin-bottom: 10px;
5519 .modal .description {
5535 background:rgba(0,0,0,0.5);
5537 left:0px; right:0px; top:0px; bottom:0px;
5542 border-bottom: 1px solid #CCC;
5545 .modal-section.header h3 {
5549 .modal-section.buttons {
5553 .modal-section.buttons .action {
5554 display: inline-block;
5557 vertical-align: middle;
5560 .save-section .buttons .action,
5561 .save-section .buttons .secondary-action {
5562 display: inline-block;
5565 vertical-align: middle;
5572 .modal-actions button,
5573 .save-success a.button {
5574 font-weight: normal;
5576 border-bottom: 1px solid #CCC;
5580 display: inline-block;
5583 .modal-actions button:hover
5584 .save-success a.button:hover {
5585 background-color: #ececec;
5595 .modal-actions > :first-child {
5596 border-right: 1px solid #CCC;
5599 .modal-section:last-child {
5604 ------------------------------------------------------- */
5605 .modal-actions .logo-restore {
5608 .modal-actions .logo-reset {
5613 ------------------------------------------------------- */
5615 padding: 15px 15px 0 15px;
5617 .save-success a.details {
5620 .save-success .button {
5623 .save-success .logo-osm {
5625 margin-bottom: 10px;
5627 .save-success a.button.social {
5629 border-bottom: none;
5631 .save-success .icon.social {
5638 ------------------------------------------------------- */
5639 .modal-actions .logo-walkthrough,
5640 .modal-actions .logo-features {
5646 ------------------------------------------------------- */
5652 .modal-shortcuts .modal-section:last-child {
5657 .modal-shortcuts .tabs-bar {
5659 padding-bottom: 5px;
5664 .modal-shortcuts .tab {
5665 display: inline-block;
5671 .modal-shortcuts .tab.active {
5674 .modal-shortcuts .tab:hover {
5676 background-color: #efefef;
5679 .modal-shortcuts .shortcut-tab {
5681 flex-flow: row wrap;
5684 .modal-shortcuts .shortcut-column {
5689 .modal-shortcuts .shortcut-tab-tools .shortcut-column {
5694 .modal-shortcuts td {
5695 padding-bottom: 5px;
5698 .modal-shortcuts .shortcut-section {
5699 padding: 20px 0 10px 0;
5702 .modal-shortcuts .shortcut-keys {
5703 padding-right: 10px;
5707 [dir='rtl'] .modal-shortcuts .shortcut-keys {
5708 padding-right: auto;
5713 .modal-shortcuts .shortcut-keys kbd {
5714 display: inline-block;
5721 vertical-align: baseline;
5722 background-color: #fcfcfc;
5723 border: solid 1px #ccc;
5725 border-bottom-color: #bbb;
5727 box-shadow: inset 0 -1px 0 #bbb;
5730 .modal-shortcuts .shortcut-keys svg.mouseclick use.left {
5731 fill: rgba(112, 146, 255, 1);
5732 color: rgba(112, 146, 255, 0);
5734 .modal-shortcuts .shortcut-keys svg.mouseclick use.right {
5735 fill: rgba(112, 146, 255, 0);
5736 color: rgba(112, 146, 255, 1);
5739 .modal-shortcuts .shortcut-keys .gesture {
5747 ------------------------------------------------------- */
5748 .mode-save a.user-info {
5749 display: inline-block;
5752 .mode-save .commit-form {
5756 .mode-save .user-info img {
5760 .mode-save h3 small.count {
5768 border-radius: 24px;
5770 background: #7092ff;
5774 .mode-save .field-warning {
5776 border: 1px solid #ccc;
5781 .mode-save .field-warning:empty {
5785 .mode-save .field-warning,
5786 .mode-save .changeset-info,
5787 .mode-save .request-review,
5788 .mode-save .commit-info {
5789 margin-bottom: 10px;
5792 .mode-save .request-review label {
5796 .mode-save .changeset-list {
5797 border: 1px solid #ccc;
5800 margin-bottom: 10px;
5803 .mode-save .warning-section {
5807 .mode-save .warning-section .changeset-list button {
5808 border-left: 1px solid #ccc;
5811 .mode-save .changeset-list li {
5813 border-top: 1px solid #ccc;
5818 .mode-save .changeset-list li:hover {
5819 background-color: #ececec;
5822 .mode-save .changeset-list .alert {
5826 .changeset-list li span.count {
5831 .mode-save .commit-section .changeset-list button {
5832 border-left: 1px solid #CCC;
5835 .changeset-list li span.count:before { content: '('; }
5837 .changeset-list li span.count:after { content: ')'; }
5839 .changeset-list li:first-child { border-top: 0;}
5841 /* Conflict resolution
5842 ------------------------------------------------------- */
5846 background-color: #ffffbb;
5847 border-bottom: 1px solid #ccc;
5850 .conflicts-buttons {
5854 .mode-save button.conflicts-button {
5858 .conflict-container {
5859 border-bottom: 1px solid #ccc;
5862 .conflict-description {
5868 padding: 20px 20px 0 20px;
5871 .conflict-detail-container {
5883 .conflict-nav-buttons {
5884 padding: 10px 0 20px 0;
5887 .conflict-nav-button {
5892 ------------------------------------------------------- */
5910 .notice .zoom-to:hover {
5911 background: rgba(0,0,0,0.6);
5914 .notice .zoom-to .icon {
5917 vertical-align: middle;
5920 [dir='rtl'] .notice .zoom-to .icon {
5926 ------------------------------------------------------- */
5963 display: inline-block;
5968 font-weight: normal;
5969 background-color: white;
5975 pointer-events: none;
5979 background: transparent;
5987 border-color: transparent;
5988 border-style: solid;
5992 border-left-color: white;
5993 border-width: 5px 0 5px 5px;
6012 border-color: transparent;
6013 border-style: solid;
6017 border-right-color: white;
6018 border-width: 5px 5px 5px 0;
6025 border-color: transparent;
6026 border-style: solid;
6029 .tooltip.top .tooltip-arrow {
6033 border-top-color: white;
6034 border-width: 5px 5px 0;
6037 .tooltip.right .tooltip-arrow {
6041 border-right-color: white;
6042 border-width: 5px 5px 5px 0;
6045 .tooltip.left .tooltip-arrow {
6049 border-left-color: white;
6050 border-width: 5px 0 5px 5px;
6053 .tooltip.bottom .tooltip-arrow {
6057 border-bottom-color: white;
6058 border-width: 0 5px 5px;
6063 background: #F6F6F6;
6065 margin: -10px -10px 10px -10px;
6066 border-radius: 3px 3px 0 0;
6071 background: #F6F6F6;
6073 margin: 10px -10px -10px -10px;
6074 border-radius: 0 0 3px 3px;
6077 .tooltip-inner .keyhint {
6082 /* Exceptions for tooltip layouts */
6084 /* make tooltips in panels dark */
6085 .map-overlay .tooltip.top .tooltip-arrow,
6086 .entity-editor-pane .tooltip.top .tooltip-arrow,
6087 .warning-section .tooltip.top .tooltip-arrow {
6088 border-top-color: #000;
6091 .map-overlay .tooltip.bottom .tooltip-arrow,
6092 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
6093 .warning-section .tooltip.bottom .tooltip-arrow {
6094 border-bottom-color: #000;
6097 .map-overlay .tooltip.left .tooltip-arrow,
6098 .entity-editor-pane .tooltip.left .tooltip-arrow,
6099 .warning-section .tooltip.left .tooltip-arrow {
6100 border-left-color: #000;
6103 .map-overlay .tooltip.right .tooltip-arrow,
6104 .entity-editor-pane .tooltip.right .tooltip-arrow,
6105 .warning-section .tooltip.right .tooltip-arrow {
6106 border-right-color: #000;
6109 .map-overlay .tooltip-inner,
6110 .map-overlay .tooltip-heading,
6111 .map-overlay .keyhint-wrap,
6112 .entity-editor-pane .tooltip-inner,
6113 .warning-section .tooltip-inner {
6117 /* commit warning tooltips need to be closer */
6118 .warning-section .tooltip.top {
6122 /* Uncramp map-control tooltips */
6123 .map-control .tooltip {
6126 .map-control .shortcuts .tooltip {
6130 /* Move over tooltips that are near the edge of screen */
6131 .add-point .tooltip {
6132 left: 33.3333% !important;
6134 [dir='rtl'] .add-point .tooltip {
6135 left: inherit !important;
6138 .add-point .tooltip .tooltip-arrow {
6141 [dir='rtl'] .add-point .tooltip .tooltip-arrow {
6146 li:first-of-type .badge .tooltip,
6147 li.hide + li.version .badge .tooltip {
6148 left: auto !important;
6149 right: 5px !important;
6151 [dir='rtl'] li:first-of-type .badge .tooltip,
6152 [dir='rtl'] li.hide + li.version .badge .tooltip {
6153 left: 5px !important;
6154 right: auto !important;
6156 li:first-of-type .badge .tooltip .tooltip-arrow,
6157 li.hide + li.version .badge .tooltip .tooltip-arrow {
6158 right: 15px !important;
6159 left: auto !important;
6161 [dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
6162 [dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
6163 left: 15px !important;
6164 right: auto !important;
6168 /* radial menu (deprecated) */
6170 .radial-menu-tooltip {
6177 .radial-menu-background {
6180 stroke-opacity: 0.5;
6183 .radial-menu-item circle {
6187 .radial-menu-item circle:active,
6188 .radial-menu-item circle:hover {
6192 .radial-menu-item.disabled circle {
6194 fill: rgba(255,255,255,.5);
6197 .radial-menu-item use {
6202 .radial-menu-item.disabled use {
6203 fill: rgba(32,32,32,.5);
6204 color: rgba(40,40,40,.5);
6209 .edit-menu-tooltip {
6215 .edit-menu-background {
6219 .edit-menu-item rect {
6223 .edit-menu-item rect:active,
6224 .edit-menu-item rect:hover {
6228 .edit-menu-item.disabled rect {
6229 cursor: not-allowed;
6231 .edit-menu-item.disabled rect:hover {
6232 cursor: not-allowed;
6236 .edit-menu-item use {
6241 .edit-menu-item.disabled use {
6242 fill: rgba(32,32,32,.2);
6243 color: rgba(40,40,40,.2);
6252 stroke-dasharray: 5, 5;
6256 ------------------------------------------------------- */
6258 @media only screen and (max-width: 840px) {
6259 /* override hide for save button */
6260 #bar .save .label { display: block;}
6263 @media screen and (max-width: 1200px) {
6264 .user-list { display: none !important; }
6267 @media screen and (max-width: 1000px) {
6268 #userLink { display: none !important; }
6271 @media screen and (max-width: 900px) {
6272 #scale-block { display: none !important; }
6277 ----------------------------------------------------- */
6279 ::-webkit-scrollbar {
6284 border-left: 1px solid #DDD;
6287 ::-webkit-scrollbar-track {
6288 background-clip: padding-box;
6289 border: solid transparent;
6293 ::-webkit-scrollbar-thumb {
6294 background-color: rgba(0,0,0,.2);
6295 background-clip: padding-box;
6296 border: solid transparent;
6297 border-width: 3px 3px 3px 4px;
6300 ::-webkit-scrollbar-track:hover,
6301 ::-webkit-scrollbar-track:active {
6302 background-color: rgba(0,0,0,.05);
6305 /* Intro walkthrough
6306 ----------------------------------------------------- */
6309 pointer-events: all;
6317 flex-direction: row;
6326 .intro-nav-wrap .intro-nav-wrap-logo {
6332 vertical-align: middle;
6335 .intro-nav-wrap .joined {
6338 flex-direction: row;
6341 .intro-nav-wrap button.chapter {
6346 .intro-nav-wrap button.chapter.next {
6347 animation-duration: 1s;
6348 animation-name: pulse;
6349 animation-iteration-count: infinite;
6350 animation-direction: alternate;
6353 from { background: #7092ff; }
6354 to { background: #c6d4ff; }
6357 .intro-nav-wrap button.chapter.finished {
6358 background: #8cd05f;
6361 .intro-nav-wrap button.chapter .status {
6365 .intro-nav-wrap button.chapter.finished .status {
6366 display: inline-block;
6369 .curtain-tooltip.tooltip.in {
6372 .curtain-tooltip.tooltip {
6375 [dir='rtl'] .curtain-tooltip.tooltip {
6379 .curtain-tooltip .tooltip-inner {
6385 .curtain-tooltip .tooltip-inner .button-section,
6386 .curtain-tooltip .tooltip-inner .instruction {
6389 border-top: 1px solid #CCC;
6392 margin-right: -20px;
6393 padding: 10px 20px 0 20px;
6396 [dir='rtl'] .curtain-tooltip .tooltip-inner .button-section button.col8 {
6400 .curtain-tooltip .tooltip-inner .instruction:only-child {
6406 .curtain-tooltip .tooltip-inner .icon.pre-text {
6407 vertical-align: text-top;
6410 display: inline-block;
6413 .curtain-tooltip.intro-points-describe ,
6414 .curtain-tooltip.intro-lines-name_road {
6415 top: 133px !important;
6418 .tooltip-illustration {
6424 [dir='rtl'] .tooltip-illustration {
6426 margin-right: -20px;
6429 .curtain-tooltip.intro-mouse {
6430 -moz-user-select: none;
6431 -webkit-user-select: none;
6432 -ms-user-select: none;
6436 .curtain-tooltip.intro-mouse .counter {
6447 .curtain-tooltip.intro-mouse .tooltip-illustration use {
6448 fill: rgba(112, 146, 255, 0);
6449 color: rgba(112, 146, 255, 0);
6451 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
6452 fill: rgba(112, 146, 255, 1);
6454 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
6455 color: rgba(112, 146, 255, 1);
6458 .huge-modal-button {
6464 .huge-modal-button .illustration {