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-waterway {
1547 path.fill.tag-waterway {
1548 stroke: rgba(119, 211, 222, 0.3);
1549 fill: rgba(119, 211, 222, 0.3);
1551 path.casing.tag-waterway {
1554 path.stroke.tag-waterway {
1559 /* narrow waterways (default) */
1561 path.shadow.tag-waterway {
1564 path.casing.tag-waterway {
1567 path.stroke.tag-waterway {
1571 .low-zoom path.shadow.tag-waterway {
1574 .low-zoom path.casing.tag-waterway {
1577 .low-zoom path.stroke.tag-waterway {
1582 /* wide waterways (river) */
1584 path.shadow.tag-waterway-river {
1587 path.casing.tag-waterway-river {
1590 path.stroke.tag-waterway-river {
1594 .low-zoom path.shadow.tag-waterway-river {
1597 .low-zoom path.casing.tag-waterway-river {
1600 .low-zoom path.stroke.tag-waterway-river {
1607 .preset-icon .icon.tag-waterway-ditch {
1610 path.stroke.tag-waterway-ditch {
1615 /* waterway areas */
1617 path.area.stroke.tag-waterway-dock,
1618 path.area.stroke.tag-waterway-boatyard,
1619 path.area.stroke.tag-waterway-fuel {
1623 path.area.casing.tag-waterway-dock,
1624 path.area.casing.tag-waterway-boatyard,
1625 path.area.casing.tag-waterway-fuel {
1628 path.area.fill.tag-waterway-dock,
1629 path.area.fill.tag-waterway-boatyard,
1630 path.area.fill.tag-waterway-fuel {
1631 stroke: rgba(255, 255, 255, 0.3);
1632 fill: rgba(255, 255, 255, 0.3);
1636 .preset-icon .icon.tag-man_made-pipeline,
1637 .preset-icon .icon.tag-power {
1642 path.stroke.tag-power {
1646 path.casing.tag-power {
1652 path.stroke.tag-boundary {
1655 stroke-linecap: butt;
1656 stroke-dasharray: 20, 5, 5, 5;
1658 path.casing.tag-boundary {
1663 path.casing.tag-boundary-protected_area,
1664 path.casing.tag-boundary-national_park {
1670 path.stroke.tag-barrier {
1673 stroke-linecap: round;
1674 stroke-dasharray: 15, 5, 1, 5;
1676 .low-zoom path.stroke.tag-barrier {
1678 stroke-linecap: butt;
1679 stroke-dasharray: 8, 2, 2, 2;
1684 path.casing.tag-bridge {
1685 stroke-opacity: 0.6;
1687 stroke-linecap: butt;
1688 stroke-dasharray: none;
1691 path.shadow.tag-bridge {
1694 path.casing.tag-bridge {
1697 .low-zoom path.shadow.tag-bridge {
1700 .low-zoom path.casing.tag-bridge {
1704 path.shadow.line.tag-railway.tag-bridge,
1705 path.shadow.tag-highway-living_street.tag-bridge,
1706 path.shadow.tag-highway-path.tag-bridge,
1707 path.shadow.tag-highway-corridor.tag-bridge,
1708 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1709 path.shadow.tag-highway-service.tag-bridge,
1710 path.shadow.tag-highway-track.tag-bridge,
1711 path.shadow.tag-highway-steps.tag-bridge,
1712 path.shadow.tag-highway-footway.tag-bridge,
1713 path.shadow.tag-highway-cycleway.tag-bridge,
1714 path.shadow.tag-highway-bridleway.tag-bridge {
1717 path.casing.line.tag-railway.tag-bridge,
1718 path.casing.tag-highway-living_street.tag-bridge,
1719 path.casing.tag-highway-path.tag-bridge,
1720 path.casing.tag-highway-corridor.tag-bridge,
1721 path.casing.line.tag-highway-pedestrian.tag-bridge,
1722 path.casing.tag-highway-service.tag-bridge,
1723 path.casing.tag-highway-track.tag-bridge,
1724 path.casing.tag-highway-steps.tag-bridge,
1725 path.casing.tag-highway-footway.tag-bridge,
1726 path.casing.tag-highway-cycleway.tag-bridge,
1727 path.casing.tag-highway-bridleway.tag-bridge {
1731 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1732 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1733 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1734 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1735 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1736 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1737 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1738 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1739 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1740 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1741 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1744 .low-zoom path.casing.line.tag-railway.tag-bridge,
1745 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1746 .low-zoom path.casing.tag-highway-path.tag-bridge,
1747 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1748 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1749 .low-zoom path.casing.tag-highway-service.tag-bridge,
1750 .low-zoom path.casing.tag-highway-track.tag-bridge,
1751 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1752 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1753 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1754 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1760 path.stroke.tag-tunnel {
1761 stroke-opacity: 0.3;
1763 path.casing.tag-tunnel {
1764 stroke-opacity: 0.5;
1765 stroke-linecap: butt;
1766 stroke-dasharray: none;
1770 /* embankments / cuttings */
1771 path.shadow.tag-embankment,
1772 path.shadow.tag-cutting {
1775 path.casing.tag-embankment,
1776 path.casing.tag-cutting {
1777 stroke-opacity: 0.5;
1780 stroke-dasharray: 2, 4;
1781 stroke-linecap: butt;
1784 .low-zoom path.shadow.tag-embankment,
1785 .low-zoom path.shadow.tag-cutting {
1788 .low-zoom path.casing.tag-embankment,
1789 .low-zoom path.casing.tag-cutting {
1794 /* Surface - unpaved */
1795 path.casing.tag-unpaved {
1797 stroke-linecap: butt;
1798 stroke-dasharray: 4, 3;
1800 .low-zoom path.casing.tag-unpaved {
1801 stroke-dasharray: 3, 2;
1803 path.casing.tag-bridge.tag-unpaved {
1805 stroke-dasharray: 4, 3;
1807 .low-zoom path.casing.tag-bridge.tag-unpaved {
1809 stroke-dasharray: 3, 2;
1813 /* Status (e.g. construction, proposed, abandoned) */
1814 path.stroke.tag-status,
1815 path.casing.tag-status {
1816 stroke-linecap: butt;
1817 stroke-dasharray: 7, 3;
1819 .low-zoom path.stroke.tag-status,
1820 .low-zoom path.casing.tag-status {
1821 stroke-dasharray: 5, 2;
1826 path.stroke.tag-building,
1827 path.stroke.tag-amenity-shelter {
1828 stroke: rgb(224, 110, 95);
1830 path.fill.tag-building,
1831 path.fill.tag-amenity-shelter {
1832 stroke: rgba(224, 110, 95, 0.3);
1833 fill: rgba(224, 110, 95, 0.3);
1835 .preset-icon-fill-area.tag-building,
1836 .preset-icon-fill-area.tag-amenity-shelter {
1837 border-color: rgb(224, 110, 95);
1838 background-color: rgba(224, 110, 95, 0.3);
1844 cursor: auto; /* Opera */
1845 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1848 .mode-browse .point,
1849 .mode-select .point {
1850 cursor: pointer; /* Opera */
1851 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1854 .mode-select .vertex,
1855 .mode-browse .vertex {
1856 cursor: pointer; /* Opera */
1857 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1861 .mode-select .line {
1862 cursor: pointer; /* Opera */
1863 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1867 .mode-browse .area {
1868 cursor: pointer; /* Opera */
1869 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1872 .mode-select .midpoint,
1873 .mode-browse .midpoint {
1874 cursor: pointer; /* Opera */
1875 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1878 .mode-select .behavior-multiselect .point,
1879 .mode-select .behavior-multiselect .vertex,
1880 .mode-select .behavior-multiselect .line,
1881 .mode-select .behavior-multiselect .area {
1882 cursor: pointer; /* Opera */
1883 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1886 .mode-select .behavior-multiselect .selected {
1887 cursor: pointer; /* Opera */
1888 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1892 #map .vertex:active,
1895 #map .midpoint:active,
1896 #map .mode-select .selected {
1897 cursor: pointer; /* Opera */
1898 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1901 .mode-draw-line #map,
1902 .mode-draw-area #map,
1903 .mode-add-line #map,
1904 .mode-add-area #map,
1905 .mode-drag-node #map {
1906 cursor: crosshair; /* Opera */
1907 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1910 .mode-draw-line .way.hover,
1911 .mode-draw-area .way.hover,
1912 .mode-add-line .way.hover,
1913 .mode-add-area .way.hover,
1914 .mode-drag-node .way.hover {
1915 cursor: crosshair; /* Opera */
1916 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1919 .mode-draw-line .vertex.hover,
1920 .mode-draw-area .vertex.hover,
1921 .mode-add-line .vertex.hover,
1922 .mode-add-area .vertex.hover,
1923 .mode-drag-node .vertex.hover {
1924 cursor: crosshair; /* Opera */
1925 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1928 .mode-add-point #map,
1929 .mode-browse.lasso #map,
1930 .mode-browse.lasso .way,
1931 .mode-browse.lasso .vertex,
1932 .mode-browse.lasso .midpoint,
1933 .mode-select.lasso #map,
1934 .mode-select.lasso .way,
1935 .mode-select.lasso .vertex,
1936 .mode-select.lasso .midpoint {
1937 cursor: crosshair; /* Opera */
1938 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1943 cursor: pointer; /* Opera */
1944 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1946 /* Mapillary Image Layer */
1948 .layer-mapillary-images {
1949 pointer-events: none;
1952 .layer-mapillary-images .viewfield-group {
1953 pointer-events: visible;
1954 cursor: pointer; /* Opera */
1955 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1958 .layer-mapillary-images .viewfield-group * {
1965 .layer-mapillary-images .viewfield-group:hover * {
1972 .layer-mapillary-images .viewfield-group.selected * {
1979 .layer-mapillary-images .viewfield-group:hover path.viewfield,
1980 .layer-mapillary-images .viewfield-group.selected path.viewfield,
1981 .layer-mapillary-images .viewfield-group path.viewfield {
1986 /* Mapillary Sign Layer */
1988 .layer-mapillary-signs {
1989 pointer-events: none;
1992 .layer-mapillary-signs .icon-sign .icon-sign-body {
1996 outline: 2px solid transparent;
1997 pointer-events: visible;
1998 cursor: pointer; /* Opera */
1999 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
2004 .layer-mapillary-signs .icon-sign:hover .icon-sign-body {
2005 outline: 2px solid rgba(255,198,0,0.8);
2009 .layer-mapillary-signs .icon-sign.selected .icon-sign-body {
2010 outline: 2px solid rgba(255,0,0,0.8);
2015 /* Mapillary viewer */
2016 #mly .domRenderer .TagSymbol {
2018 background-color: rgba(0, 0, 0, 0.4);
2021 transform: translate(-50%, -120%) !important;
2024 #mly .domRenderer .Attribution {
2036 background-color: #fff;
2039 .mapillary-wrap.hidden {
2043 .mapillary-wrap button.thumb-hide {
2058 .mly-wrapper.active {
2059 visibility: visible;
2063 .low-zoom.fill-wireframe path.stroke,
2064 .fill-wireframe path.stroke {
2065 stroke-width: 1 !important;
2066 stroke-opacity: 0.5 !important;
2067 stroke-dasharray: none !important;
2068 fill: none !important;
2071 .low-zoom.fill-wireframe path.shadow,
2072 .fill-wireframe path.shadow {
2076 .fill-wireframe path.shadow.related:not(.selected),
2077 .fill-wireframe path.shadow.hover:not(.selected) {
2078 stroke-opacity: 0.4;
2080 .fill-wireframe path.shadow.selected {
2081 stroke-opacity: 0.6;
2084 .fill-wireframe .point,
2085 .fill-wireframe .areaicon,
2086 .fill-wireframe .areaicon-halo,
2087 .fill-wireframe path.casing,
2088 .fill-wireframe path.fill,
2089 .fill-wireframe path.oneway {
2090 display: none !important;
2093 .fill-partial path.area.fill {
2096 pointer-events: visibleStroke;
2101 .mode-draw-line .vertex.active,
2102 .mode-draw-area .vertex.active,
2103 .mode-drag-node .vertex.active {
2107 .mode-draw-line .way.active,
2108 .mode-draw-area .way.active,
2109 .mode-drag-node .active {
2110 pointer-events: none;
2113 /* Ensure drawing doesn't interact with area fills. */
2114 .mode-add-point path.area.fill,
2115 .mode-draw-line path.area.fill,
2116 .mode-draw-area path.area.fill,
2117 .mode-add-line path.area.fill,
2118 .mode-add-area path.area.fill,
2119 .mode-drag-node path.area.fill {
2120 pointer-events: none;
2123 ------------------------------------------------------- */
2126 Opera misbehaves when the window is resized vertically unless 100% width + height are
2127 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2135 font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2136 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2137 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2144 -ms-user-select: none;
2149 vertical-align: middle;
2167 -webkit-filter: none !important;
2168 filter: none !important;
2169 -webkit-duration: 200ms;
2170 transition-duration: 200ms;
2174 -webkit-filter: grayscale(80%) brightness(80%);
2175 filter: grayscale(80%) brightness(80%);
2176 -webkit-duration: 200ms;
2177 transition-duration: 200ms;
2181 /* Can't be display: none or the clippaths are ignored. */
2201 [dir='rtl'] .spinner {
2212 [dir='rtl'] .spinner img {
2215 -moz-transform: scaleX(-1);
2216 -o-transform: scaleX(-1);
2217 -webkit-transform: scaleX(-1);
2218 transform: scaleX(-1);
2220 -ms-filter: "FlipH";
2224 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
2225 -moz-box-sizing: border-box;
2226 -webkit-box-sizing: border-box;
2227 box-sizing: border-box;
2230 a, button, input, textarea {
2231 -webkit-tap-highlight-color:rgba(0,0,0,0);
2232 -webkit-touch-callout:none;
2237 .checkselect label:hover,
2238 .opacity-options li,
2240 cursor: pointer; /* Opera */
2241 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
2248 margin-bottom: 20px;
2253 h4:last-child { margin-bottom: 0;}
2259 margin-bottom: 10px;
2265 padding-bottom: 10px;
2269 outline-color: transparent;
2270 outline-style: none;
2300 ------------------------------------------------------- */
2304 font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2305 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2306 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2317 background-color: white;
2319 border:1px solid #ccc;
2320 padding:5px 20px 5px 10px;
2324 text-overflow: ellipsis;
2326 [dir='rtl'] textarea,
2327 [dir='rtl'] input[type=text],
2328 [dir='rtl'] input[type=search],
2329 [dir='rtl'] input[type=number],
2330 [dir='rtl'] input[type=url],
2331 [dir='rtl'] input[type=tel],
2332 [dir='rtl'] input[type=email] {
2333 padding:5px 10px 5px 20px;
2338 background-color: #F1F1F1;
2341 input[type="checkbox"],
2342 input[type="radio"] {
2349 [dir='rtl'] input[type="checkbox"],
2350 [dir='rtl'] input[type="radio"] {
2356 /* remove bottom border radius when combobox is open */
2357 .combobox + * textarea:focus,
2358 .combobox + * input:focus {
2359 border-bottom-left-radius: 0 !important;
2360 border-bottom-right-radius: 0 !important;
2366 background-color: white;
2367 border-collapse: collapse;
2376 table.tags, table.tags td, table.tags th {
2377 border: 1px solid #CCC;
2386 ------------------------------------------------------- */
2388 .col0 { float:left; width:04.1666%; }
2389 .col1 { float:left; width:08.3333%; }
2390 .col2 { float:left; width:16.6666%; }
2391 .col3 { float:left; width:25.0000%; max-width: 300px; }
2392 .col4 { float:left; width:33.3333%; max-width: 400px; }
2393 .col5 { float:left; width:41.6666%; max-width: 500px; }
2394 .col6 { float:left; width:50.0000%; max-width: 600px; }
2395 .col7 { float:left; width:58.3333%; }
2396 .col8 { float:left; width:66.6666%; }
2397 .col9 { float:left; width:75.0000%; }
2398 .col10 { float:left; width:83.3333%; }
2399 .col11 { float:left; width:91.6666%; }
2400 .col12 { float:left; width:100.0000%; }
2403 ------------------------------------------------------- */
2405 ul li { list-style: none;}
2407 .toggle-list > label {
2412 background-color: white;
2417 .toggle-list > label:hover {
2418 background-color: #ececec;
2421 .toggle-list > label:not(:last-child) {
2422 border-bottom: 1px solid #ccc;
2425 .toggle-list > label:last-child {
2426 border-radius: 0 0 3px 3px;
2429 .toggle-list label > span {
2432 white-space: nowrap;
2433 text-overflow: ellipsis;
2436 .toggle-list > label.active {
2437 background: #E8EBFF;
2442 ------------------------------------------------------- */
2449 background: #f6f6f6;
2454 background: #ececec;
2459 background:rgba(0,0,0,.5);
2464 background:rgba(0,0,0,.75);
2469 .fr { float: right;}
2487 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2491 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2492 background-size:5px 5px;
2528 display: inline-block;
2535 background-color: #ececec;
2540 background-color: rgba(255,255,255,.25);
2541 color: rgba(0,0,0,.4);
2546 background: #7092ff;
2556 background-color: #fafafa;
2558 [dir='rtl'] button.minor {
2562 button.minor .icon {
2566 button.minor:hover {
2567 background-color: #f1f1f1;
2571 display: inline-block;
2576 .button-wrap button:only-child {
2580 .button-wrap:last-of-type {
2583 [dir='rtl'] .button-wrap:last-of-type {
2585 padding-right: 10px;
2590 border-right: 1px solid rgba(0,0,0,.5);
2592 [dir='rtl'] .joined button {
2593 border-left: 1px solid rgba(0,0,0,.5);
2597 .fillL .joined button {
2598 border-right: 1px solid white;
2601 .joined button:first-child {
2602 border-radius: 4px 0 0 4px;
2604 [dir='rtl'] .joined button:first-child {
2605 border-radius: 0 4px 4px 0;
2608 .joined button:last-child {
2609 border-right-width: 0;
2610 border-radius: 0 4px 4px 0;
2612 [dir='rtl'] .joined button:last-child {
2613 border-radius: 4px 0 0 4px;
2617 background: #7092ff;
2621 button[disabled].action,
2622 button[disabled].action:hover {
2623 background: #cccccc;
2627 button.action:focus,
2628 button.action:hover {
2629 background: #597BE7;
2632 button.secondary-action {
2633 background: #ececec;
2636 button.secondary-action:focus,
2637 button.secondary-action:hover {
2638 background: #cccccc;
2641 button.save .count {
2645 button.save.has-count .count {
2658 margin-left: 9.3333%;
2660 [dir='rtl'] button.save.has-count .count {
2665 button.save.has-count .count::before {
2674 border-top: 6px solid transparent;
2675 border-bottom: 6px solid transparent;
2676 border-right-width: 6px;
2677 border-right-style: solid;
2678 border-right-color: inherit;
2680 [dir='rtl'] button.save.has-count .count::before {
2681 border-left: 6px solid rgba(255,255,255,.5);
2690 vertical-align: top;
2696 vertical-align: text-top;
2705 [dir='rtl'] .icon.pre-text {
2735 /* ToolBar / Persistent UI Elements
2736 ------------------------------------------------------- */
2749 [dir='rtl'] #bar .spacer,
2750 [dir='rtl'] #bar .button-wrap,
2751 [dir='rtl'] #bar .button-wrap button {
2756 /* Header for modals / panes
2757 ------------------------------------------------------- */
2760 border-bottom: 1px solid #ccc;
2768 white-space: nowrap;
2769 text-overflow: ellipsis;
2771 padding: 20px 20px 20px 40px;
2773 [dir='rtl'] .header h3 {
2775 padding: 20px 40px 20px 20px;
2791 .entity-editor-pane .header button.preset-close,
2792 .preset-list-pane .header button.preset-choose {
2797 [dir='rtl'] .entity-editor-pane .header button.preset-close,
2798 [dir='rtl'] .preset-list-pane .header button.preset-choose {
2803 .entity-editor-pane .header button.preset-choose {
2808 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
2826 [dir='rtl'] .modal > button {
2834 padding: 5px 20px 5px 20px;
2835 border-top: 1px solid #ccc;
2836 background-color: #fafafa;
2841 .sidebar-component .body {
2850 ------------------------------------------------------- */
2858 background: #f6f6f6;
2859 -ms-user-select: element;
2861 [dir='rtl'] #sidebar {
2865 .sidebar-component {
2892 .feature-list-pane .inspector-body {
2896 .preset-list-pane .inspector-body {
2900 .entity-editor-pane .inspector-body {
2904 .selection-list-pane .inspector-body {
2913 #sidebar .search-header .icon {
2918 pointer-events: none;
2920 [dir='rtl'] #sidebar .search-header .icon {
2925 #sidebar .search-header input {
2933 border-bottom-width: 1px;
2947 .feature-list-item {
2950 border-bottom: 1px solid #ccc;
2954 .feature-list-item {
2955 background-color: white;
2961 .feature-list-item:hover {
2962 background-color: #ececec;
2965 .feature-list-item button {
2966 background: transparent;
2969 .feature-list-item .label {
2972 white-space: nowrap;
2973 text-overflow: ellipsis;
2975 border-left: 1px solid rgba(0, 0, 0, .1);
2977 [dir='rtl'] .feature-list-item .label {
2981 .feature-list-item .label .icon {
2985 .feature-list-item .close {
2990 .feature-list-item .close .icon {
2994 .feature-list-item .entity-type {
2998 .feature-list-item:hover .entity-type {
3002 .feature-list-item .entity-name {
3003 font-weight: normal;
3007 [dir='rtl'] .feature-list-item .entity-name {
3009 padding-right: 10px;
3014 ------------------------------------------------------- */
3020 padding: 20px 20px 10px 20px;
3021 border-bottom: 1px solid #ccc;
3024 .preset-list-button-wrap {
3026 margin-bottom: 10px;
3030 .preset-list-button {
3034 border: 1px solid #ccc;
3037 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
3038 background: #ececec;
3041 .preset-icon-fill-area {
3051 .preset-icon-fill-vertex {
3058 border: 1.5px solid #333;
3059 border-radius: 20px;
3060 background-color: #efefef;
3061 backface-visibility: hidden;
3064 [dir='rtl'] .preset-icon-fill-vertex,
3065 [dir='rtl'] .preset-icon-fill-area {
3070 .preset-icon-frame {
3078 [dir='rtl'] .preset-icon-frame {
3083 .preset-icon-frame .icon {
3095 .preset-icon-60 .icon {
3107 .preset-icon-44 .icon {
3119 .preset-icon-28 .icon {
3131 .preset-icon-24 .icon {
3136 [dir='rtl'] .preset-list-button-wrap .preset-icon {
3141 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
3145 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
3149 .preset-list-button .label {
3150 background-color: #f6f6f6;
3159 white-space: nowrap;
3160 text-overflow: ellipsis;
3162 border-left: 1px solid rgba(0, 0, 0, .1);
3163 border-radius: 0 3px 3px 0;
3165 [dir='rtl'] .preset-list-button .label {
3170 border-right: 1px solid rgba(0, 0, 0, .1);
3171 border-radius: 3px 0 0 3px;
3174 .preset-list-button:hover .label {
3175 background-color: #ececec;
3178 .preset-list-item button.tag-reference-button {
3180 border: 1px solid #CCC;
3181 border-radius: 0 3px 3px 0;
3186 background: #fafafa;
3188 [dir='rtl'] .preset-list-item button.tag-reference-button {
3191 border-radius: 3px 0 0 3px;
3194 .preset-list-item button.tag-reference-button:hover {
3195 background: #f1f1f1;
3198 .preset-list-item button.tag-reference-button .icon {
3202 .current .preset-list-button,
3203 .current .preset-list-button .label {
3204 background-color: #E8EBFF;
3207 .category .preset-list-button:after,
3208 .category .preset-list-button:before {
3212 left: -1px; right: -1px;
3213 border: 1px solid #ccc;
3214 border-bottom: none;
3215 border-radius: 6px 6px 0 0;
3219 .category .preset-list-button:before {
3223 .subgrid .preset-list {
3224 padding: 10px 10px 0 10px;
3228 width: -webkit-calc(100% + 20px);
3233 border: solid rgba(0, 0, 0, 0);
3235 border-bottom-color: #f1f1f1;
3239 margin-left: -webkit-calc(50% - 10px);
3244 /* preset form basics */
3248 padding-bottom: 10px;
3251 .preset-editor a.hide-toggle {
3252 margin: 0 20px 10px 20px;
3255 .preset-editor .form-fields-container {
3257 margin: 0 10px 10px 10px;
3261 .preset-editor .form-fields-container:empty {
3265 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
3270 margin-bottom: 10px;
3272 -webkit-transition: margin-bottom 200ms;
3273 -moz-transition: margin-bottom 200ms;
3274 -o-transition: margin-bottom 200ms;
3275 transition: margin-bottom 200ms;
3279 .wrap-form-field:last-child .form-field {
3286 border: 1px solid #cfcfcf;
3287 padding: 5px 0 5px 10px;
3288 background: #f6f6f6;
3290 border-radius: 4px 4px 0 0;
3293 [dir='rtl'] .form-label {
3294 padding: 5px 10px 5px 0;
3297 .form-label-button-wrap {
3303 background: transparent;
3306 [dir='rtl'] .form-label-button-wrap {
3310 .form-label-button-wrap .tag-reference-button {
3311 border-radius: 0 3px 0 0;
3314 .form-label-button-wrap .icon {
3318 .form-label button {
3319 border-left: 1px solid #ccc;
3323 background: #f6f6f6;
3325 [dir='rtl'] .form-label button {
3327 border-right: 1px solid #CCC;
3328 border-radius: 4px 0 0 0;
3331 .form-label button:hover {
3332 background: #f1f1f1;
3335 .form-label .modified-icon,
3336 .form-field .remove-icon {
3340 .modified .form-label .modified-icon,
3341 .present .form-label .remove-icon {
3342 display: inline-block;
3345 .form-field > input,
3346 .form-field > textarea,
3347 .form-field .preset-input-wrap {
3348 border: 1px solid #ccc;
3351 border-radius: 0 0 4px 4px;
3355 .form-field textarea {
3360 border-bottom: 1px solid #ccc
3363 /* Preset form (hover mode) */
3365 .inspector-hover .checkselect label:last-of-type,
3366 .inspector-hover .preset-input-wrap .label,
3367 .inspector-hover .form-field-multicombo,
3368 .inspector-hover .structure-extras-wrap,
3369 .inspector-hover input,
3370 .inspector-hover textarea,
3371 .inspector-hover label {
3372 background: #ececec;
3376 .inspector-hover .form-field-multicombo .chips,
3377 .inspector-hover .checkselect label:last-of-type {
3381 .inspector-hover .form-field-multicombo .chips {
3383 border: 1px solid #ccc;
3386 /* hide and remove from layout */
3388 .inspector-hover label input[type="checkbox"],
3389 .inspector-hover label input[type="radio"],
3390 .inspector-hover .toggle-list label,
3391 .inspector-hover .toggle-list label span,
3392 .inspector-hover .inspector-inner .add-tag,
3393 .inspector-hover .inspector-inner .add-relation,
3394 .inspector-hover .form-field-multicombo .combobox-input,
3395 .inspector-hover .toggle-list label.remove .icon {
3399 opacity: 0 !important;
3405 /* hide but preserve in layout */
3406 .inspector-hover .entity-editor-pane button.minor,
3407 .inspector-hover .combobox-caret,
3408 .inspector-hover .entity-editor-pane .header button,
3409 .inspector-hover .spin-control,
3410 .inspector-hover .form-field-multicombo .chips .remove,
3411 .inspector-hover .hide-toggle:before,
3412 .inspector-hover .more-fields,
3413 .inspector-hover .form-label-button-wrap,
3414 .inspector-hover .tag-reference-button,
3415 .inspector-hover .view-on-osm {
3419 /* Styles for raw tag inspector on hover */
3420 .inspector-hover .tag-row .key-wrap,
3421 .inspector-hover .tag-row .form-field.input-wrap-position {
3425 .inspector-hover .tag-row:first-child input.value {
3426 border-top-right-radius: 4px;
3428 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
3429 border-top-right-radius: 0;
3430 border-top-left-radius: 4px;
3433 .inspector-hover .tag-row:last-child input.value {
3434 border-bottom-right-radius: 4px;
3436 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
3437 border-bottom-right-radius: 0;
3438 border-bottom-left-radius: 4px;
3441 .inspector-hover .tag-row:last-child input.key {
3442 border-bottom-left-radius: 4px;
3444 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
3445 border-bottom-left-radius: 0;
3446 border-bottom-right-radius: 4px;
3449 .inspector-hover .more-fields {
3451 margin-bottom: -10px;
3454 /* Unstyle button fields */
3455 .inspector-hover .toggle-list label.active,
3456 .inspector-hover .entity-editor-pane a.hide-toggle {
3458 background-color: transparent;
3464 .inspector-hover .toggle-list button.active {
3468 /* Add placeholder only on hover for radio buttons */
3469 .inspector-hover .toggle-list .placeholder {
3477 /* Hide placeholder for radio buttons if another is active, or not in hover state */
3478 .toggle-list label.active ~ .placeholder,
3479 .toggle-list .placeholder {
3488 /* adding additional preset fields */
3491 padding: 0 20px 20px 20px;
3494 .changeset-editor .more-fields {
3495 padding: 15px 20px 0 20px;
3498 .more-fields label {
3500 flex-flow: row nowrap;
3501 justify-content: space-between;
3502 align-items: center;
3505 .more-fields input {
3509 [dir='rtl'] .more-fields input {
3514 .preset-input-wrap .label {
3516 background: #F6F6F6;
3520 [dir='rtl'] .preset-input-wrap .col6 {
3525 /* preset form access */
3526 /* preset form cycleway */
3527 /* preset form structure extras */
3529 .form-field-structure .structure-extras-wrap li,
3530 .form-field-cycleway .preset-input-wrap li,
3531 .form-field-access .preset-input-wrap li {
3532 border-bottom: 1px solid #ccc;
3534 .form-field-structure .structure-extras-wrap li:last-child,
3535 .form-field-cycleway .preset-input-wrap li:last-child,
3536 .form-field-access .preset-input-wrap li:last-child {
3539 .structure-input-type-wrap input,
3540 .structure-input-layer-wrap input,
3541 .preset-input-cycleway-wrap input,
3542 .preset-input-access-wrap input {
3545 border-left-width: 1px;
3547 [dir='rtl'] .structure-input-type-wrap input,
3548 [dir='rtl'] .structure-input-layer-wrap input,
3549 [dir='rtl'] .preset-input-cycleway-wrap input,
3550 [dir='rtl'] .preset-input-access-wrap input {
3551 border-left-width: 0;
3552 border-right-width: 1px;
3555 .preset-input-wrap li:last-child input {
3556 border-bottom-right-radius: 4px;
3559 .structure-extras-wrap {
3563 .structure-extras-wrap ul {
3564 border: 1px solid #ccc;
3567 .structure-extras-wrap li:first-child span {
3568 border-top-left-radius: 4px;
3570 .structure-extras-wrap li:first-child input {
3571 border-top-right-radius: 4px;
3573 .structure-extras-wrap li:last-child span {
3574 border-bottom-left-radius: 4px;
3576 .structure-extras-wrap li:last-child input {
3577 border-bottom-right-radius: 4px;
3579 [dir='rtl'] .structure-extras-wrap li:first-child span {
3580 border-top-left-radius: 0;
3581 border-top-right-radius: 4px;
3583 [dir='rtl'] .structure-extras-wrap li:first-child input {
3584 border-top-right-radius: 0;
3585 border-top-left-radius: 4px;
3587 [dir='rtl'] .structure-extras-wrap li:last-child span {
3588 border-bottom-left-radius: 0;
3589 border-bottom-right-radius: 4px;
3591 [dir='rtl'] .structure-extras-wrap li:last-child input {
3592 border-bottom-right-radius: 0;
3593 border-bottom-left-radius: 4px;
3597 /* preset form multicombo */
3599 .form-field-multicombo {
3600 border: 1px solid #cfcfcf;
3602 padding: 5px 0 5px 10px;
3605 border-radius: 0 0 4px 4px;
3609 .form-field-multicombo:focus {
3613 .form-field-multicombo.active {
3614 border-bottom-left-radius: 0px;
3615 border-bottom-right-radius: 0px;
3618 .form-field-multicombo li {
3619 background-color: #eff2f7;
3620 border: 1px solid #ccd5e3;
3623 display: inline-block;
3629 .form-field-multicombo a {
3630 font-family: Arial, Helvetica, sans-serif !important;
3631 font-size: 16px !important;
3634 margin: 1px 0 0 5px;
3640 .form-field-multicombo input {
3641 border: 1px solid #ddd;
3646 .form-field-multicombo .combobox-caret {
3647 margin: 3px 3px 3px -30px;
3650 .form-field-multicombo input:focus {
3651 border-radius: 4px !important;
3655 /* preset form numbers */
3657 input[type=number] {
3665 display: inline-block;
3667 margin-bottom: -11px;
3670 [dir='rtl'] .spin-control{
3672 margin-right: -64px;
3675 .spin-control button {
3681 border-left: 1px solid #CCC;
3683 background: rgba(0, 0, 0, 0);
3685 [dir='rtl'] .spin-control button{
3687 border-right: 1px solid #CCC;
3690 .spin-control button.decrement {
3691 border-bottom-right-radius: 3px;
3693 [dir='rtl'] .spin-control button.decrement {
3694 border-bottom-right-radius: 0;
3696 [dir='rtl'] .spin-control button.increment {
3697 border-bottom-left-radius: 3px;
3701 .spin-control button.decrement::after,
3702 .spin-control button.increment::after {
3704 height: 0; width: 0;
3706 left: 0; right: 0; bottom: 0; top: 0;
3710 .spin-control button.decrement::after {
3711 border-top: 5px solid #CCC;
3712 border-left: 5px solid transparent;
3713 border-right: 5px solid transparent;
3716 .spin-control button.increment::after {
3717 border-bottom: 5px solid #CCC;
3718 border-left: 5px solid transparent;
3719 border-right: 5px solid transparent;
3723 /* preset form checkbox */
3725 .checkselect label:last-of-type {
3732 .checkselect label:hover {
3733 background: #f1f1f1;
3740 .checkselect label:not(.set) input[type="checkbox"] {
3744 .checkselect .reverser.button {
3747 background-color: #eff2f7;
3748 border: 1px solid #ccd5e3;
3752 [dir='rtl'] .checkselect .reverser.button {
3755 .checkselect .reverser.button.hide {
3759 /* Preset form radio button */
3761 .toggle-list button.remove {
3762 border-radius: 0 0 3px 3px;
3765 .toggle-list button.remove .icon {
3770 .toggle-list button.remove::before {
3774 #preset-input-maxspeed {
3776 border-radius: 0 0 0 4px;
3779 [dir='rtl'] #preset-input-maxspeed {
3780 border-right: 1px solid #ccc;
3781 border-radius: 0 0 4px 0;
3784 .form-field .maxspeed-unit {
3785 border-radius: 0 0 4px 0;
3788 [dir='rtl'] .form-field .maxspeed-unit {
3790 border-radius: 0 0 0 4px;
3793 /* Wikipedia field */
3794 .form-field .wiki-lang {
3797 .form-field .wiki-title {
3800 [dir='rtl'] .form-field .wiki-title {
3802 padding-right: 10px;
3805 .form-field .wiki-title ~ .combobox-caret {
3808 [dir='rtl'] .form-field .wiki-title ~ .combobox-caret {
3813 /* Localized field */
3814 .form-field .localized-main {
3817 [dir='rtl'] .form-field .localized-main {
3819 padding-right: 10px;
3822 .form-field .button-input-action {
3827 border: 1px solid #CCC;
3828 border-top-width: 0;
3829 border-right-width: 0;
3830 border-radius: 0 0 4px 0;
3832 vertical-align: top;
3834 [dir='rtl'] .form-field .button-input-action {
3836 margin-right: -32px;
3837 border-right-width: 1px;
3838 border-radius: 0 0 0 4px;
3841 .form-field .localized-wrap {
3845 .form-field .localized-wrap .entry {
3850 .form-field .localized-wrap .entry::before {
3863 .form-field .localized-wrap .entry .localized-lang {
3865 border-top-width: 0;
3868 .form-field .localized-wrap .entry .localized-value {
3869 border-top-width: 0;
3870 border-radius: 0 0 4px 4px;
3873 .form-field .localized-wrap .form-label button {
3874 border-top-right-radius: 3px;
3877 /* Preset form address */
3883 [dir='rtl'] .addr-row input {
3884 border-right: 1px solid #ccc;
3888 .addr-row:first-of-type input {
3892 .addr-row input:first-of-type {
3895 [dir='rtl'] .addr-row input:first-of-type {
3903 .addr-row:last-of-type input:first-of-type {
3904 border-radius: 0 0 0 4px;
3906 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
3907 border-radius: 0 0 4px 0;
3910 .addr-row:last-of-type input:last-of-type {
3911 border-radius: 0 0 4px 0;
3913 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
3914 border-radius: 0 0 0 4px;
3917 /* Restrictions editor */
3919 .form-field-restrictions .preset-input-wrap {
3924 .form-field-restrictions svg.surface {
3929 .form-field-restrictions .restriction-help {
3936 background-color: rgba(255, 255, 255, .8);
3941 /* combobox dropdown */
3946 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3952 border: 1px solid #ccc;
3953 border-radius: 0 0 4px 4px;
3959 border-top:1px solid #ccc;
3960 text-overflow: ellipsis;
3961 white-space: nowrap;
3965 .combobox a.selected,
3967 background: #ececec;
3970 .combobox a:first-child {
3975 display: inline-block;
3980 vertical-align: top;
3982 [dir='rtl'] .combobox-caret {
3984 margin-right: -30px;
3987 .combobox-caret::after {
3989 height: 0; width: 0;
3991 left: 0; right: 0; bottom: 0; top: 0;
3993 border-top: 5px solid #ccc;
3994 border-left: 5px solid transparent;
3995 border-right: 5px solid transparent;
3998 /* Raw Tag Editor */
4011 .tag-row.readonly input.key,
4012 .tag-row.readonly input.value,
4013 .tag-row.readonly button.remove {
4015 background-color: #eee;
4016 cursor: not-allowed;
4023 border-bottom: 1px solid #CCC;
4024 border-left: 1px solid #CCC;
4026 [dir='rtl'] .tag-row input {
4028 border-right: 1px solid #CCC;
4032 .tag-row .input-wrap-position {
4037 [dir='rtl'] .tag-row .key-wrap,
4038 [dir='rtl'] .tag-row .input-wrap-position {
4042 .tag-row input.key {
4044 background-color: #f6f6f6;
4047 .tag-row input.value {
4048 border-right: 1px solid #CCC;
4050 [dir='rtl'] .tag-row input.value {
4051 border-left: 1px solid #CCC;
4054 .tag-row:first-child input.key {
4055 border-top: 1px solid #CCC;
4056 border-top-left-radius: 4px;
4058 [dir='rtl'] .tag-row:first-child input.key {
4059 border-top-left-radius: 0;
4060 border-top-right-radius: 4px;
4063 .tag-row:first-child input.value {
4064 border-top: 1px solid #CCC;
4071 border: 1px solid #CCC;
4072 border-top-width: 0;
4073 border-left-width: 0;
4075 [dir='rtl'] .tag-row button {
4077 border-left-width: 1px;
4078 border-right-width: 0;
4081 .tag-row button:hover {
4082 background: #f1f1f1;
4085 .tag-row button .icon {
4089 .tag-row:first-child button {
4090 border-top-width: 1px;
4093 .tag-row:first-child .tag-reference-button {
4094 border-top-right-radius: 4px;
4096 [dir='rtl'] .tag-row:first-child .tag-reference-button {
4097 border-top-left-radius: 4px;
4098 border-top-right-radius: 0;
4101 .tag-row:last-child .tag-reference-button {
4102 border-bottom-right-radius: 4px;
4104 [dir='rtl'] .tag-row:last-child .tag-reference-button {
4105 border-bottom-left-radius: 4px;
4106 border-bottom-right-radius: 0;
4109 .tag-row .tag-reference-button {
4114 background: #fafafa;
4116 [dir='rtl'] .tag-row .tag-reference-button {
4120 border-left-width: 1px;
4121 border-right-width: 0;
4124 /* Adding form fields to tag editor */
4126 .raw-tag-editor .add-tag {
4130 background: rgba(0,0,0,.5);
4131 border-radius: 0 0 4px 4px;
4134 .raw-tag-editor .add-tag:hover {
4135 background: rgba(0,0,0,.8);
4138 .raw-tag-editor .add-tag .label {
4144 button.minor.tag-reference-loading {
4145 background-color: #f5f5f5;
4148 .tag-reference-loading .icon {
4149 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
4150 background-position: 0 0;
4153 .tag-reference-body {
4158 .tag-reference-body .tag-reference-description {
4159 margin: 10px 5px 0 5px;
4162 .tag-reference-body a {
4166 .tag-reference-body .tag-reference-description:last-child,
4167 .tag-reference-body a:last-child {
4168 margin-bottom: 15px;
4171 .preset-list .tag-reference-body {
4176 .raw-tag-editor .tag-reference-body {
4181 .raw-tag-editor .tag-row.readonly .tag-reference-body {
4182 background: #f6f6f6;
4186 .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body {
4187 border-bottom: 1px solid #ccc;
4190 .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
4191 border-top: 1px solid #ccc;
4194 img.tag-reference-wiki-image {
4197 width: -webkit-calc(33.3333% - 10px);
4198 width: calc(33.3333% - 10px);
4201 margin: 10px 5px 15px 20px;
4205 /* Raw relation membership editor */
4207 .raw-member-editor .member-list li:first-child,
4208 .raw-membership-editor .member-list li:first-child {
4212 .raw-member-editor .member-row,
4213 .raw-membership-editor .member-row {
4217 .raw-member-editor .member-row .member-entity-name,
4218 .raw-membership-editor .member-row .member-entity-name {
4219 font-weight: normal;
4223 .member-incomplete .member-delete {
4227 .member-row-new .member-entity-input {
4228 border-radius: 4px 4px 0 0;
4229 border: 1px solid #cfcfcf;
4235 background: rgba(0,0,0,.5);
4240 .add-relation:hover {
4241 background: rgba(0,0,0,.8);
4244 /* hidden field to prevent user from tabbing out of the sidebar */
4249 border: 1px solid rgba(0,0,0,0);
4252 /* Fullscreen button */
4259 div.full-screen .tooltip {
4263 div.full-screen > button, div.full-screen > button.active {
4266 background: transparent;
4269 div.full-screen > button:hover {
4270 background-color: rgba(0, 0, 0, .8);
4282 [dir='rtl'] .map-controls {
4287 .map-control > button {
4289 background: rgba(0,0,0,.5);
4293 .map-control > button:hover {
4294 background: rgba(0, 0, 0, .8);
4297 .map-control > button.active,
4298 .map-control > button.active:hover {
4299 background: #7092ff;
4304 .zoombuttons button.zoom-in {
4305 border-radius: 4px 0 0 0;
4307 [dir='rtl'] .zoombuttons button.zoom-in {
4308 border-radius: 0 4px 0 0;
4311 /* Background / Map Data Settings */
4313 .map-data-control button {
4317 .background-control button {
4318 border-radius: 4px 0 0 0;
4320 [dir='rtl'] .background-control button {
4321 border-radius: 0 4px 0 0;
4325 .background-control {
4330 margin-bottom: 10px;
4333 .map-data-control .hide-toggle,
4334 .background-control .hide-toggle {
4335 padding-bottom: 10px;
4338 .layer-list, .controls-list {
4339 margin-bottom: 10px;
4340 border: 1px solid #CCC;
4347 background-color: white;
4355 .layer-list > li:first-child {
4356 border-radius: 3px 3px 0 0;
4359 .layer-list > li:last-child {
4360 border-radius: 0 0 3px 3px;
4363 .layer-list > li:only-child {
4367 .layer-list li:not(:last-child) {
4368 border-bottom: 1px solid #ccc;
4371 .layer-list li:hover {
4372 background-color: #ececec;
4375 .layer-list li.active,
4376 .layer-list li.switch {
4377 background: #E8EBFF;
4380 .layer-list li.best > div.best {
4381 display: inline-block;
4386 [dir='rtl'] .list-item-gpx-browse svg {
4387 transform: rotateY(180deg);
4390 /* make sure tooltip fits in map-control panel */
4391 /* if too wide, placement will be wrong the first time it displays */
4392 .layer-list li.best .tooltip-inner {
4402 .layer-list label > span {
4405 white-space: nowrap;
4406 text-overflow: ellipsis;
4417 .minimap-toggle.active {
4418 background: #E8EBFF;
4421 .minimap-toggle:hover {
4422 background-color: #ececec;
4430 [dir='rtl'] .hide-toggle {
4432 padding-right: 12px;
4435 .hide-toggle:before {
4443 border-top: 4px solid transparent;
4444 border-bottom: 4px solid transparent;
4445 border-left: 8px solid #7092ff;
4447 [dir='rtl'] .hide-toggle:before {
4451 border-right: 8px solid #7092ff;
4454 .hide-toggle.expanded:before {
4455 border-top: 8px solid #7092ff;
4457 border-right: 4px solid transparent;
4458 border-left: 4px solid transparent;
4460 [dir='rtl'] .hide-toggle.expanded:before {
4461 border-left: 4px solid transparent;
4462 border-right: 4px solid transparent;
4466 /* Adjust Alignment controls */
4468 .background-control .nudge-container {
4469 border: 1px solid #ccc;
4474 .nudge-container .nudge-instructions {
4475 padding-bottom: 15px;
4478 .nudge-container .nudge-outer-rect {
4479 background-color: #eee;
4480 border: 1px solid #ccc;
4485 justify-content: center;
4486 align-items: center;
4492 .nudge-container .nudge-inner-rect {
4493 background-color: #fff;
4494 border: 1px solid #ccc;
4500 .nudge-container .nudge::after {
4505 left: 0; right: 0; top: 0; bottom: 0;
4510 .nudge-container input {
4517 .nudge-container input.error {
4518 border: 1px solid #FF7878;
4523 .nudge-container input:focus {
4524 background-color: transparent;
4527 .nudge-container button {
4532 background-color: transparent;
4535 .nudge-container button.right {
4540 .nudge-container button.left {
4545 .nudge-container button.top {
4550 .nudge-container button.bottom {
4554 .nudge-container button.nudge-reset {
4565 background-color: transparent;
4569 .background-control .nudge.right::after {
4570 border-top: 5px solid transparent;
4571 border-bottom: 5px solid transparent;
4572 border-left: 5px solid #222;
4575 .background-control .nudge.left::after {
4576 border-top: 5px solid transparent;
4577 border-bottom: 5px solid transparent;
4578 border-right: 5px solid #222;
4581 .background-control .nudge.top::after {
4582 border-right: 5px solid transparent;
4583 border-left: 5px solid transparent;
4584 border-bottom: 5px solid #222;
4587 .background-control .nudge.bottom::after {
4588 border-right: 5px solid transparent;
4589 border-left: 5px solid transparent;
4590 border-top: 5px solid #222;
4594 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
4600 border: 1px solid #ccc;
4602 [dir='rtl'] .opacity-options {
4607 .opacity-options li {
4613 .opacity-options li .select-box{
4620 .map-data-control li:hover .select-box,
4621 .map-data-control li.selected .select-box,
4622 .background-control li:hover .select-box,
4623 .background-control li.selected .select-box {
4624 border: 2px solid #7092ff;
4625 background: rgba(89, 123, 231, .5);
4629 .map-data-control li.selected:hover .select-box,
4630 .map-data-control li.selected .select-box,
4631 .background-control li.selected:hover .select-box,
4632 .background-control li.selected .select-box {
4636 .background-control .opacity {
4638 display:inline-block;
4643 .map-data-control .layer-list button,
4644 .background-control .layer-list button {
4648 border-left: 1px solid #CCC;
4651 [dir='rtl'] .map-data-control .layer-list button,
4652 [dir='rtl'] .background-control .layer-list button {
4655 border-right: 1px solid #CCC;
4658 .map-data-control .layer-list button .icon,
4659 .background-control .layer-list button .icon {
4663 .map-data-control .layer-list button:first-of-type,
4664 .background-control .layer-list button:first-of-type {
4665 border-radius: 0 3px 3px 0;
4667 [dir='rtl'] .map-data-control .layer-list button:first-of-type,
4668 [dir='rtl'] .background-control .layer-list button:first-of-type {
4669 border-radius: 3px 0 0 3px;
4672 .map-data-control .map-overlay,
4673 .background-control .map-overlay,
4674 .help-control .map-overlay {
4680 .geolocate-control {
4681 margin-bottom: 10px;
4684 .geolocate-control button {
4685 border-radius: 0 0 0 4px;
4687 [dir='rtl'] .geolocate-control button {
4688 border-radius: 0 0 4px 0;
4691 .map-overlay.content {
4695 padding: 20px 50px 20px 20px;
4699 [dir='rtl'] .map-overlay.content {
4700 padding: 20px 20px 20px 50px;
4702 right: auto !important;
4707 .help-control button {
4708 border-radius: 0 0 0 4px;
4710 [dir='rtl'] .help-control button {
4711 border-radius: 0 0 4px 0;
4716 margin-bottom: 20px;
4719 .help-wrap .left-content .body p code {
4725 /* This is two columns, 41.66666 x .4 = 16.6666 */
4729 margin-bottom: 20px;
4733 .help-wrap .toc li a,
4736 border: 1px solid #CCC;
4740 .help-wrap .toc li a {
4744 .help-wrap .toc li a:hover,
4745 .help-wrap .nav a:hover {
4746 background: #ececec;
4749 .help-wrap .toc li a.selected {
4750 background: #E8EBFF;
4753 .help-wrap .toc li:first-child a {
4754 border-radius: 4px 4px 0 0;
4757 .help-wrap .toc li:nth-last-child(3) a {
4758 border-bottom: 1px solid #CCC;
4759 border-radius: 0 0 4px 4px
4762 .help-wrap .toc li.shortcuts a,
4763 .help-wrap .toc li.walkthrough a {
4766 border-bottom: 1px solid #ccc;
4770 .help-wrap .toc li.walkthrough a {
4784 .help-wrap .nav a:first-child {
4785 border-radius: 4px 0 0 4px;
4788 .help-wrap .nav a:last-child:not(:only-child) {
4789 border-radius: 0 4px 4px 0;
4793 .help-wrap .nav a:only-child {
4800 ------------------------------------------------------- */
4804 transform-origin:0 0;
4805 -ms-transform-origin:0 0;
4806 -webkit-transform-origin:0 0;
4807 -moz-transform-origin:0 0;
4808 -o-transform-origin:0 0;
4810 -moz-user-select: none;
4811 -webkit-user-select: none;
4812 -ms-user-select: none;
4817 -webkit-transition: opacity 200ms linear;
4818 transition: opacity 200ms linear;
4819 -moz-transition: opacity 200ms linear;
4824 background: rgba(0, 0, 0, 0.7);
4834 transform-origin:0 0;
4835 -ms-transform-origin:0 0;
4836 -webkit-transform-origin:0 0;
4837 -moz-transform-origin:0 0;
4838 -o-transform-origin:0 0;
4840 -moz-user-select: none;
4841 -webkit-user-select: none;
4842 -ms-user-select: none;
4847 outline: 1px solid red;
4860 ------------------------------------------------------- */
4867 -moz-user-select: none;
4868 -webkit-user-select: none;
4869 -ms-user-select: none;
4874 transform-origin:0 0;
4875 -ms-transform-origin:0 0;
4876 -webkit-transform-origin:0 0;
4877 -moz-transform-origin:0 0;
4878 -o-transform-origin:0 0;
4881 #supersurface, .layer {
4890 ------------------------------------------------------- */
4899 border: #aaa 1px solid;
4900 box-shadow: 0 0 2em black;
4904 transform-origin:0 0;
4905 -ms-transform-origin:0 0;
4906 -webkit-transform-origin:0 0;
4907 -moz-transform-origin:0 0;
4908 -o-transform-origin:0 0;
4910 -moz-user-select: none;
4911 -webkit-user-select: none;
4912 -ms-user-select: none;
4916 .map-in-map-viewport,
4925 .map-in-map-viewport {
4936 stroke: rgba(255, 255, 0, 0.75);
4938 shape-rendering: crispEdges;
4941 .map-in-map-bbox.thick {
4947 ------------------------------------------------------- */
4949 stroke: currentColor;
4953 .map-in-map-data .debug {
4957 .red { color: rgba(255, 0, 0, 0.75); }
4958 .green { color: rgba(0, 255, 0, 0.75); }
4959 .blue { color: rgba(0, 0, 255, 0.75); }
4960 .yellow { color: rgba(255, 255, 0, 0.75); }
4961 .cyan { color: rgba(0, 255, 255, 0.75); }
4962 .magenta { color: rgba(255, 0, 255, 0.75); }
4963 .orange { color: rgba(255, 153, 0, 0.75); }
4964 .pink { color: rgba(255, 0, 153, 0.75); }
4965 .purple { color: rgba(153, 0, 255, 0.75); }
4973 pointer-events: none;
4976 .debug-legend-item {
4979 .debug-legend-item:before {
4985 ------------------------------------------------------- */
4988 flex-flow: row-reverse wrap-reverse;
4993 -ms-user-select: element;
5001 display: inline-block;
5013 margin: 2px 0 0 2px;
5015 border: 1px solid rgba(0, 0, 0, 0.75);
5016 padding-bottom: 10px;
5020 .panel-container .panel-title {
5021 border-radius: 4px 4px 0 0;
5028 .panel-title button.close {
5034 [dir='rtl'] .panel-title button.close {
5038 .panel-title button.close:hover {
5042 .panel-title button.close .icon {
5052 .panel-content .button {
5053 display: inline-block;
5054 background: #7092ff;
5061 .panel-content-history .links a {
5064 [dir='rtl'] .panel-content-history .links a {
5069 .panel-content-history .view-history-on-osm {
5074 .panel-content-location .location-info {
5080 ------------------------------------------------------- */
5088 pointer-events: none;
5090 flex-direction: column;
5091 -ms-user-select: element;
5100 #attrib * { pointer-events: all; }
5102 .base-layer-attribution,
5103 .overlay-layer-attribution {
5109 .base-layer-attribution {
5113 .overlay-layer-attribution {
5117 .overlay-layer-attribution .attribution:not(:last-child):after {
5122 .attribution a:visited {
5126 .attribution a:hover {
5130 .attribution .source-image {
5132 vertical-align: middle;
5142 pointer-events: all;
5151 flex-flow: row nowrap;
5152 justify-content: space-between;
5159 #flash-wrap .content {
5162 flex-flow: row nowrap;
5163 align-items: center;
5169 #flash-wrap svg.operation-icon {
5176 #flash-wrap div.operation-tip {
5183 flex-flow: row nowrap;
5184 justify-content: space-between;
5193 transition: bottom 75ms linear;
5194 -moz-transition: bottom 75ms linear;
5195 -webkit-transition: bottom 75ms linear;
5200 transition: bottom 75ms linear;
5201 -moz-transition: bottom 75ms linear;
5202 -webkit-transition: bottom 75ms linear;
5207 vertical-align: bottom;
5211 -moz-user-select: none;
5212 -webkit-user-select: none;
5213 -ms-user-select: none;
5226 [dir='rtl'] #scale {
5227 transform: scaleX(-1);
5235 font: 12px sans-serif;
5240 [dir='rtl'] #scale text {
5241 transform: scaleX(-1);
5248 shape-rendering: crispEdges;
5258 [dir='rtl'] #about-list {
5267 border-left: 1px solid rgba(255,255,255,.5);
5268 padding: 5px 0 5px 5px;
5271 [dir='rtl'] #about-list li {
5274 border-right: 1px solid rgba(255,255,255,.5);
5277 padding: 5px 5px 5px 0;
5281 #about-list li:last-child {
5286 [dir='rtl'] #about-list li:last-child {
5291 padding: 2px 4px 4px 4px;
5294 .source-switch a.live {
5295 background: #d32232;
5299 .feature-warning a {
5300 background: #1e90ff;
5301 padding: 2px 4px 4px 4px;
5306 .user-list a:not(:last-child):after {
5316 [dir='rtl'] .api-status {
5320 .api-status.offline,
5321 .api-status.readonly,
5329 .api-status-login:hover {
5334 display: inline-block;
5335 background: #d32232;
5338 border-radius: 11px;
5341 [dir='rtl'] .badge {
5348 [dir='rtl'] .badge a {
5353 vertical-align: baseline;
5361 ------------------------------------------------------- */
5365 display: inline-block;
5376 margin-bottom: 10px;
5379 .modal .description {
5395 background:rgba(0,0,0,0.5);
5397 left:0px; right:0px; top:0px; bottom:0px;
5402 border-bottom: 1px solid #CCC;
5405 .modal-section.header h3 {
5409 .modal-section.buttons {
5413 .modal-section.buttons .action {
5414 display: inline-block;
5417 vertical-align: middle;
5420 .save-section .buttons .action,
5421 .save-section .buttons .secondary-action {
5422 display: inline-block;
5425 vertical-align: middle;
5432 .modal-actions button,
5433 .save-success a.button {
5434 font-weight: normal;
5436 border-bottom: 1px solid #CCC;
5440 display: inline-block;
5443 .modal-actions button:hover
5444 .save-success a.button:hover {
5445 background-color: #ececec;
5455 .modal-actions > :first-child {
5456 border-right: 1px solid #CCC;
5459 .modal-section:last-child {
5464 ------------------------------------------------------- */
5465 .modal-actions .logo-restore {
5468 .modal-actions .logo-reset {
5473 ------------------------------------------------------- */
5475 padding: 15px 15px 0 15px;
5477 .save-success a.details {
5480 .save-success .button {
5483 .save-success .logo-osm {
5485 margin-bottom: 10px;
5487 .save-success a.button.social {
5489 border-bottom: none;
5491 .save-success .icon.social {
5498 ------------------------------------------------------- */
5499 .modal-actions .logo-walkthrough,
5500 .modal-actions .logo-features {
5506 ------------------------------------------------------- */
5512 .modal-shortcuts .modal-section:last-child {
5517 .modal-shortcuts .tabs-bar {
5519 padding-bottom: 5px;
5524 .modal-shortcuts .tab {
5525 display: inline-block;
5531 .modal-shortcuts .tab.active {
5534 .modal-shortcuts .tab:hover {
5536 background-color: #efefef;
5539 .modal-shortcuts .shortcut-tab {
5541 flex-flow: row wrap;
5544 .modal-shortcuts .shortcut-column {
5549 .modal-shortcuts .shortcut-tab-tools .shortcut-column {
5554 .modal-shortcuts td {
5555 padding-bottom: 5px;
5558 .modal-shortcuts .shortcut-section {
5559 padding: 20px 0 10px 0;
5562 .modal-shortcuts .shortcut-keys {
5563 padding-right: 10px;
5567 [dir='rtl'] .modal-shortcuts .shortcut-keys {
5568 padding-right: auto;
5573 .modal-shortcuts .shortcut-keys kbd {
5574 display: inline-block;
5581 vertical-align: baseline;
5582 background-color: #fcfcfc;
5583 border: solid 1px #ccc;
5585 border-bottom-color: #bbb;
5587 box-shadow: inset 0 -1px 0 #bbb;
5590 .modal-shortcuts .shortcut-keys svg.mouseclick use.left {
5591 fill: rgba(112, 146, 255, 1);
5592 color: rgba(112, 146, 255, 0);
5594 .modal-shortcuts .shortcut-keys svg.mouseclick use.right {
5595 fill: rgba(112, 146, 255, 0);
5596 color: rgba(112, 146, 255, 1);
5599 .modal-shortcuts .shortcut-keys .gesture {
5607 ------------------------------------------------------- */
5608 .mode-save a.user-info {
5609 display: inline-block;
5612 .mode-save .commit-form {
5616 .mode-save .user-info img {
5620 .mode-save h3 small.count {
5628 border-radius: 24px;
5630 background: #7092ff;
5634 .mode-save .field-warning {
5636 border: 1px solid #ccc;
5641 .mode-save .field-warning:empty {
5645 .mode-save .field-warning,
5646 .mode-save .changeset-info,
5647 .mode-save .request-review,
5648 .mode-save .commit-info {
5649 margin-bottom: 10px;
5652 .mode-save .changeset-list {
5653 border: 1px solid #ccc;
5658 .mode-save .warning-section {
5662 .mode-save .warning-section .changeset-list button {
5663 border-left: 1px solid #ccc;
5666 .mode-save .changeset-list li {
5668 border-top: 1px solid #ccc;
5673 .mode-save .changeset-list li:hover {
5674 background-color: #ececec;
5677 .mode-save .changeset-list .alert {
5681 .changeset-list li span.count {
5686 .mode-save .commit-section .changeset-list button {
5687 border-left: 1px solid #CCC;
5690 .changeset-list li span.count:before { content: '('; }
5692 .changeset-list li span.count:after { content: ')'; }
5694 .changeset-list li:first-child { border-top: 0;}
5696 /* Conflict resolution
5697 ------------------------------------------------------- */
5701 background-color: #ffffbb;
5702 border-bottom: 1px solid #ccc;
5705 .conflicts-buttons {
5709 .mode-save button.conflicts-button {
5713 .conflict-container {
5714 border-bottom: 1px solid #ccc;
5717 .conflict-description {
5723 padding: 20px 20px 0 20px;
5726 .conflict-detail-container {
5738 .conflict-nav-buttons {
5739 padding: 10px 0 20px 0;
5742 .conflict-nav-button {
5747 ------------------------------------------------------- */
5769 .notice .zoom-to:hover {
5770 background: #d8e1ff;
5773 .notice .zoom-to .icon {
5777 [dir='rtl'] .notice .zoom-to .icon {
5783 ------------------------------------------------------- */
5820 display: inline-block;
5825 font-weight: normal;
5826 background-color: white;
5832 pointer-events: none;
5836 background: transparent;
5844 border-color: transparent;
5845 border-style: solid;
5849 border-left-color: white;
5850 border-width: 5px 0 5px 5px;
5869 border-color: transparent;
5870 border-style: solid;
5874 border-right-color: white;
5875 border-width: 5px 5px 5px 0;
5882 border-color: transparent;
5883 border-style: solid;
5886 .tooltip.top .tooltip-arrow {
5890 border-top-color: white;
5891 border-width: 5px 5px 0;
5894 .tooltip.right .tooltip-arrow {
5898 border-right-color: white;
5899 border-width: 5px 5px 5px 0;
5902 .tooltip.left .tooltip-arrow {
5906 border-left-color: white;
5907 border-width: 5px 0 5px 5px;
5910 .tooltip.bottom .tooltip-arrow {
5914 border-bottom-color: white;
5915 border-width: 0 5px 5px;
5920 background: #F6F6F6;
5922 margin: -10px -10px 10px -10px;
5923 border-radius: 3px 3px 0 0;
5928 background: #F6F6F6;
5930 margin: 10px -10px -10px -10px;
5931 border-radius: 0 0 3px 3px;
5934 .tooltip-inner .keyhint {
5939 /* Exceptions for tooltip layouts */
5941 /* make tooltips in panels dark */
5942 .map-overlay .tooltip.top .tooltip-arrow,
5943 .entity-editor-pane .tooltip.top .tooltip-arrow,
5944 .warning-section .tooltip.top .tooltip-arrow {
5945 border-top-color: #000;
5948 .map-overlay .tooltip.bottom .tooltip-arrow,
5949 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
5950 .warning-section .tooltip.bottom .tooltip-arrow {
5951 border-bottom-color: #000;
5954 .map-overlay .tooltip.left .tooltip-arrow,
5955 .entity-editor-pane .tooltip.left .tooltip-arrow,
5956 .warning-section .tooltip.left .tooltip-arrow {
5957 border-left-color: #000;
5960 .map-overlay .tooltip.right .tooltip-arrow,
5961 .entity-editor-pane .tooltip.right .tooltip-arrow,
5962 .warning-section .tooltip.right .tooltip-arrow {
5963 border-right-color: #000;
5966 .map-overlay .tooltip-inner,
5967 .map-overlay .tooltip-heading,
5968 .map-overlay .keyhint-wrap,
5969 .entity-editor-pane .tooltip-inner,
5970 .warning-section .tooltip-inner {
5974 /* commit warning tooltips need to be closer */
5975 .warning-section .tooltip.top {
5979 /* Uncramp map-control tooltips */
5980 .map-control .tooltip {
5983 .map-control .shortcuts .tooltip {
5987 /* Move over tooltips that are near the edge of screen */
5988 .add-point .tooltip {
5989 left: 33.3333% !important;
5991 [dir='rtl'] .add-point .tooltip {
5992 left: inherit !important;
5995 .add-point .tooltip .tooltip-arrow {
5998 [dir='rtl'] .add-point .tooltip .tooltip-arrow {
6003 li:first-of-type .badge .tooltip,
6004 li.hide + li.version .badge .tooltip {
6005 left: auto !important;
6006 right: 5px !important;
6008 [dir='rtl'] li:first-of-type .badge .tooltip,
6009 [dir='rtl'] li.hide + li.version .badge .tooltip {
6010 left: 5px !important;
6011 right: auto !important;
6013 li:first-of-type .badge .tooltip .tooltip-arrow,
6014 li.hide + li.version .badge .tooltip .tooltip-arrow {
6015 right: 15px !important;
6016 left: auto !important;
6018 [dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
6019 [dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
6020 left: 15px !important;
6021 right: auto !important;
6025 /* radial menu (deprecated) */
6027 .radial-menu-tooltip {
6034 .radial-menu-background {
6037 stroke-opacity: 0.5;
6040 .radial-menu-item circle {
6044 .radial-menu-item circle:active,
6045 .radial-menu-item circle:hover {
6049 .radial-menu-item.disabled circle {
6051 fill: rgba(255,255,255,.5);
6054 .radial-menu-item use {
6059 .radial-menu-item.disabled use {
6060 fill: rgba(32,32,32,.5);
6061 color: rgba(40,40,40,.5);
6066 .edit-menu-tooltip {
6072 .edit-menu-background {
6076 .edit-menu-item rect {
6080 .edit-menu-item rect:active,
6081 .edit-menu-item rect:hover {
6085 .edit-menu-item.disabled rect {
6086 cursor: not-allowed;
6088 .edit-menu-item.disabled rect:hover {
6089 cursor: not-allowed;
6093 .edit-menu-item use {
6098 .edit-menu-item.disabled use {
6099 fill: rgba(32,32,32,.2);
6100 color: rgba(40,40,40,.2);
6109 stroke-dasharray: 5, 5;
6113 ------------------------------------------------------- */
6115 @media only screen and (max-width: 840px) {
6116 /* override hide for save button */
6117 #bar .save .label { display: block;}
6120 @media screen and (max-width: 1200px) {
6121 .user-list { display: none !important; }
6124 @media screen and (max-width: 1000px) {
6125 #userLink { display: none !important; }
6128 @media screen and (max-width: 900px) {
6129 #scale-block { display: none !important; }
6134 ----------------------------------------------------- */
6136 ::-webkit-scrollbar {
6141 border-left: 1px solid #DDD;
6144 ::-webkit-scrollbar-track {
6145 background-clip: padding-box;
6146 border: solid transparent;
6150 ::-webkit-scrollbar-thumb {
6151 background-color: rgba(0,0,0,.2);
6152 background-clip: padding-box;
6153 border: solid transparent;
6154 border-width: 3px 3px 3px 4px;
6157 ::-webkit-scrollbar-track:hover,
6158 ::-webkit-scrollbar-track:active {
6159 background-color: rgba(0,0,0,.05);
6162 /* Intro walkthrough
6163 ----------------------------------------------------- */
6166 pointer-events: all;
6174 flex-direction: row;
6183 .intro-nav-wrap .intro-nav-wrap-logo {
6189 vertical-align: middle;
6192 .intro-nav-wrap .joined {
6195 flex-direction: row;
6198 .intro-nav-wrap button.chapter {
6203 .intro-nav-wrap button.chapter.next {
6204 animation-duration: 1s;
6205 animation-name: pulse;
6206 animation-iteration-count: infinite;
6207 animation-direction: alternate;
6210 from { background: #7092ff; }
6211 to { background: #c6d4ff; }
6214 .intro-nav-wrap button.chapter.finished {
6215 background: #8cd05f;
6218 .intro-nav-wrap button.chapter .status {
6222 .intro-nav-wrap button.chapter.finished .status {
6223 display: inline-block;
6226 .curtain-tooltip.tooltip.in {
6229 .curtain-tooltip.tooltip {
6232 [dir='rtl'] .curtain-tooltip.tooltip {
6236 .curtain-tooltip .tooltip-inner {
6242 .curtain-tooltip .tooltip-inner .button-section,
6243 .curtain-tooltip .tooltip-inner .instruction {
6246 border-top: 1px solid #CCC;
6249 margin-right: -20px;
6250 padding: 10px 20px 0 20px;
6253 [dir='rtl'] .curtain-tooltip .tooltip-inner .button-section button.col8 {
6257 .curtain-tooltip .tooltip-inner .instruction:only-child {
6263 .curtain-tooltip .tooltip-inner .icon.pre-text {
6264 vertical-align: text-top;
6267 display: inline-block;
6270 .curtain-tooltip.intro-points-describe ,
6271 .curtain-tooltip.intro-lines-name_road {
6272 top: 133px !important;
6275 .tooltip-illustration {
6281 [dir='rtl'] .tooltip-illustration {
6283 margin-right: -20px;
6286 .curtain-tooltip.intro-mouse {
6287 -moz-user-select: none;
6288 -webkit-user-select: none;
6289 -ms-user-select: none;
6293 .curtain-tooltip.intro-mouse .counter {
6304 .curtain-tooltip.intro-mouse .tooltip-illustration use {
6305 fill: rgba(112, 146, 255, 0);
6306 color: rgba(112, 146, 255, 0);
6308 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
6309 fill: rgba(112, 146, 255, 1);
6311 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
6312 color: rgba(112, 146, 255, 1);
6315 .huge-modal-button {
6321 .huge-modal-button .illustration {