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 */
169 /* IE/Edge needs these overrides for markers to show up */
170 .layer-osm path.oneway-marker-path { fill: #000; }
171 .layer-osm path.sided-marker-natural-path { fill: rgb(140, 208, 95); }
172 .layer-osm path.sided-marker-coastline-path { fill: #77dede; }
173 .layer-osm path.sided-marker-barrier-path { fill: #ddd; }
174 .layer-osm path.sided-marker-man_made-path { fill: #fff; }
176 /* IE/Edge rule for <use> marker style */
177 .layer-osm path.viewfield-marker-path {
182 stroke-opacity: 0.75;
184 .fill-wireframe .layer-osm path.viewfield-marker-path { /* IE/Edge rule for <use> marker style */
188 /* the above fill: none rule affects paths in <use> shadow dom only in Firefox */
189 .layer-osm use.icon path { fill: #333; } /* FF svg Maki icons */
190 .layer-osm .turn use path { fill: #000; } /* FF turn restriction icons */
191 #turn-only-shape2, #turn-only-u-shape2 { fill: #7092ff; } /* FF turn-only, turn-only-u */
192 #turn-no-shape2, #turn-no-u-shape2 { fill: #e06d5f; } /* FF turn-no, turn-no-u */
193 #turn-yes-shape2, #turn-yes-u-shape2 { fill: #8cd05f; } /* FF turn-yes, turn-yes-u */
196 /* No interactivity except what we specifically allow */
199 .data-layer.keepRight * {
200 pointer-events: none;
204 pointer-events: visibleStroke;
208 /* `.target` objects are interactive */
209 /* They can be picked up, clicked, hovered, or things can connect to them */
214 pointer-events: fill;
221 pointer-events: stroke;
225 stroke: currentColor;
226 stroke-linecap: round;
227 stroke-linejoin: round;
231 /* `.target-nope` objects are explicitly forbidden to join to */
232 .surface:not(.nope-disabled) .node.target.target-nope,
233 .surface:not(.nope-disabled) .way.target.target-nope {
238 /* `.active` objects (currently being drawn or dragged) are not interactive */
239 /* This is important to allow the events to drop through to whatever is */
240 /* below them on the map, so you can still hover and connect to other things. */
242 pointer-events: none !important;
245 /* NOTE: when more QA layers are added, replace kr_error with generic QA layer selector */
246 /* points, notes & QA */
248 /* points, notes, markers */
257 g.kr_error.active .stroke,
258 g.note.active .stroke {
280 g.kr_error.hover:not(.selected) .shadow,
281 g.note.hover:not(.selected) .shadow,
282 g.point.related:not(.selected) .shadow,
283 g.point.hover:not(.selected) .shadow {
287 g.kr_error.selected .shadow,
288 g.note.selected .shadow,
289 g.point.selected .shadow {
293 /* g.note ellipse.stroke, */
294 g.point ellipse.stroke {
297 .mode-drag-note g.note.active ellipse.stroke,
298 .mode-drag-node g.point.active ellipse.stroke {
303 /* vertices and midpoints */
312 g.vertex.shared .stroke {
329 g.vertex.related:not(.selected) .shadow,
330 g.vertex.hover:not(.selected) .shadow,
331 g.midpoint.related:not(.selected) .shadow,
332 g.midpoint.hover:not(.selected) .shadow {
336 g.vertex.selected .shadow {
342 .preset-icon .icon.iD-other-line {
348 stroke-linecap: round;
349 stroke-linejoin: round;
363 path.shadow.related:not(.selected),
364 path.shadow.hover:not(.selected) {
368 path.shadow.selected {
378 /* Labels / Markers */
385 .oneway .textpath.tag-waterway {
389 .onewaygroup path.oneway,
390 .viewfieldgroup path.viewfield,
391 .sidedgroup path.sided {
397 text.pointlabel-halo,
401 dominant-baseline: middle;
406 -webkit-transition: opacity 100ms linear;
407 transition: opacity 100ms linear;
408 -moz-transition: opacity 100ms linear;
411 /* Opera doesn't support dominant-baseline. See #715 */
412 /* Safari 10 seems to have regressed too */
413 .linelabel-halo .textpath,
414 .linelabel .textpath {
415 baseline-shift: -33%;
416 dominant-baseline: auto;
419 .labels-group.halo text {
423 stroke-miterlimit: 1;
427 opacity: 0 !important;
433 .icon.areaicon-halo {
437 stroke-miterlimit: 1;
445 g.point.highlighted .shadow,
446 path.shadow.highlighted {
447 stroke-opacity: 0.95;
450 g.vertex.highlighted .shadow {
452 stroke-opacity: 0.95;
456 /* Turn Restrictions */
457 .points-group.turns g.turn rect,
458 .points-group.turns g.turn circle {
462 /* Turn restriction paths and vertices */
463 .surface.tr .way.target,
464 .surface.tr path.shadow.selected,
465 .surface.tr path.shadow.related {
469 .surface.tr path.shadow.selected,
470 .surface.tr path.shadow.related,
471 .surface.tr g.vertex.selected .shadow,
472 .surface.tr g.vertex.related .shadow {
476 .surface.tr path.shadow.related.allow,
477 .surface.tr g.vertex.related.allow .shadow {
480 .surface.tr path.shadow.related.restrict,
481 .surface.tr g.vertex.related.restrict .shadow {
484 .surface.tr path.shadow.related.only,
485 .surface.tr g.vertex.related.only .shadow {
490 /* Default - light gray */
492 stroke: rgb(170, 170, 170);
497 stroke: rgba(255, 255, 255, 0.3);
498 fill: rgba(255, 255, 255, 0.3);
501 .preset-icon-fill-area {
502 border: 1px solid rgb(170, 170, 170);
503 background-color: rgba(170, 170, 170, 0.3);
506 path.shadow.old-multipolygon,
507 path.stroke.old-multipolygon {
508 stroke-dasharray: 100, 5;
509 stroke-linecap: butt;
514 path.stroke.tag-landuse,
515 path.stroke.tag-natural,
516 path.stroke.tag-leisure-nature_reserve,
517 path.stroke.tag-leisure-pitch,
518 path.stroke.tag-leisure-track,
519 path.stroke.tag-leisure-golf_course,
520 path.stroke.tag-leisure-garden,
521 path.stroke.tag-leisure-park,
522 path.stroke.tag-barrier-hedge,
523 path.stroke.tag-landuse-forest,
524 path.stroke.tag-landuse-wood,
525 path.stroke.tag-landuse-grass {
526 stroke: rgb(140, 208, 95);
528 path.fill.tag-landuse,
529 path.fill.tag-natural,
530 path.fill.tag-leisure-nature_reserve,
531 path.fill.tag-leisure-pitch,
532 path.fill.tag-leisure-track,
533 path.fill.tag-leisure-golf_course,
534 path.fill.tag-leisure-garden,
535 path.fill.tag-leisure-park,
536 path.fill.tag-landuse-forest,
537 path.fill.tag-natural-wood,
538 path.fill.tag-landuse-grass {
539 stroke: rgba(140, 208, 95, 0.3);
540 fill: rgba(140, 208, 95, 0.3);
542 .preset-icon-fill-area.tag-landuse,
543 .preset-icon-fill-area.tag-natural,
544 .preset-icon-fill-area.tag-leisure-nature_reserve,
545 .preset-icon-fill-area.tag-leisure-pitch,
546 .preset-icon-fill-area.tag-leisure-track,
547 .preset-icon-fill-area.tag-leisure-golf_course,
548 .preset-icon-fill-area.tag-leisure-garden,
549 .preset-icon-fill-area.tag-leisure-park,
550 .preset-icon-fill-area.tag-landuse-forest,
551 .preset-icon-fill-area.tag-natural-wood,
552 .preset-icon-fill-area.tag-landuse-grass {
553 border-color: rgb(140, 208, 95);
554 background-color: rgba(140, 208, 95, 0.3);
556 .pattern-color-forest,
557 .pattern-color-forest_broadleaved,
558 .pattern-color-forest_needleleaved,
559 .pattern-color-forest_leafless,
561 .pattern-color-grass {
562 fill: rgba(140, 208, 95, 0.3);
567 path.stroke.tag-amenity-fountain,
568 path.stroke.tag-amenity-swimming_pool,
569 path.stroke.tag-leisure-swimming_pool,
570 path.stroke.tag-landuse-aquaculture,
571 path.stroke.tag-landuse-basin,
572 path.stroke.tag-landuse-harbour,
573 path.stroke.tag-landuse-reservoir,
574 path.stroke.tag-man_made-groyne,
575 path.stroke.tag-man_made-breakwater,
576 path.stroke.tag-natural-water {
577 stroke: rgb(119, 211, 222);
579 path.fill.tag-amenity-fountain,
580 path.fill.tag-amenity-swimming_pool,
581 path.fill.tag-leisure-swimming_pool,
582 path.fill.tag-landuse-aquaculture,
583 path.fill.tag-landuse-basin,
584 path.fill.tag-landuse-harbour,
585 path.fill.tag-landuse-reservoir,
586 path.fill.tag-natural-water {
587 stroke: rgba(119, 211, 222, 0.3);
588 fill: rgba(119, 211, 222, 0.3);
590 .preset-icon-fill-area.tag-amenity-fountain,
591 .preset-icon-fill-area.tag-amenity-swimming_pool,
592 .preset-icon-fill-area.tag-leisure-swimming_pool,
593 .preset-icon-fill-area.tag-landuse-aquaculture,
594 .preset-icon-fill-area.tag-landuse-basin,
595 .preset-icon-fill-area.tag-landuse-harbour,
596 .preset-icon-fill-area.tag-landuse-reservoir,
597 .preset-icon-fill-area.tag-natural-water {
598 border-color: rgb(119, 211, 222);
599 background-color: rgba(119, 211, 222, 0.3);
601 .pattern-color-waves,
602 .pattern-color-water_standing,
603 .pattern-color-pond {
604 fill: rgba(119, 211, 222, 0.3);
609 path.stroke.tag-leisure-pitch.tag-sport-beachvolleyball,
610 path.stroke.tag-leisure-pitch.tag-sport-baseball,
611 path.stroke.tag-leisure-pitch.tag-sport-softball,
612 path.stroke.tag-leisure-track,
613 path.stroke.tag-natural-beach,
614 path.stroke.tag-natural-sand,
615 path.stroke.tag-natural-scrub,
616 path.stroke.tag-amenity-childcare,
617 path.stroke.tag-amenity-kindergarten,
618 path.stroke.tag-amenity-school,
619 path.stroke.tag-amenity-college,
620 path.stroke.tag-amenity-university {
621 stroke: rgba(255, 255, 148, 0.75);
623 path.fill.tag-leisure-pitch.tag-sport-beachvolleyball,
624 path.fill.tag-leisure-pitch.tag-sport-baseball,
625 path.fill.tag-leisure-pitch.tag-sport-softball,
626 path.fill.tag-leisure-track,
627 path.fill.tag-natural-beach,
628 path.fill.tag-natural-sand,
629 path.fill.tag-natural-scrub,
630 path.fill.tag-amenity-childcare,
631 path.fill.tag-amenity-kindergarten,
632 path.fill.tag-amenity-school,
633 path.fill.tag-amenity-college,
634 path.fill.tag-amenity-university {
635 stroke: rgba(255, 255, 148, 0.25);
636 fill: rgba(255, 255, 148, 0.25);
638 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-beachvolleyball,
639 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-baseball,
640 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-softball,
641 .preset-icon-fill-area.tag-leisure-track,
642 .preset-icon-fill-area.tag-natural-beach,
643 .preset-icon-fill-area.tag-natural-sand,
644 .preset-icon-fill-area.tag-natural-scrub,
645 .preset-icon-fill-area.tag-amenity-childcare,
646 .preset-icon-fill-area.tag-amenity-kindergarten,
647 .preset-icon-fill-area.tag-amenity-school,
648 .preset-icon-fill-area.tag-amenity-college,
649 .preset-icon-fill-area.tag-amenity-university {
650 border-color: rgb(232, 232, 0);
651 background-color: rgba(255, 255, 148, 0.25);
653 .pattern-color-beach,
655 .pattern-color-scrub {
656 fill: rgba(255, 255, 148, 0.2);
661 path.stroke.tag-landuse-residential,
662 path.stroke.tag-landuse-construction {
663 stroke: rgb(196, 189, 25);
665 path.fill.tag-landuse-residential {
666 stroke: rgba(196, 189, 25, 0.3);
667 fill: rgba(196, 189, 25, 0.3);
669 .preset-icon-fill-area.tag-landuse-residential,
670 .preset-icon-fill-area.tag-landuse-construction {
671 border-color: rgb(196, 189, 25);
672 background: rgba(196, 189, 25, 0.3);
674 .pattern-color-construction {
675 fill: rgba(196, 189, 25, 0.3);
680 path.stroke.tag-landuse-retail,
681 path.stroke.tag-landuse-commercial,
682 path.stroke.tag-landuse-landfill,
683 path.stroke.tag-military,
684 path.stroke.tag-landuse-military {
685 stroke: rgb(214, 136, 26);
687 path.fill.tag-landuse-retail,
688 path.fill.tag-landuse-commercial,
689 path.fill.tag-landuse-landfill,
690 path.fill.tag-military,
691 path.fill.tag-landuse-military {
692 stroke: rgba(214, 136, 26, 0.3);
693 fill: rgba(214, 136, 26, 0.3);
695 .preset-icon-fill-area.tag-landuse-retail,
696 .preset-icon-fill-area.tag-landuse-commercial,
697 .preset-icon-fill-area.tag-landuse-landfill,
698 .preset-icon-fill-area.tag-military,
699 .preset-icon-fill-area.tag-landuse-military {
700 border-color: rgb(214, 136, 26);
701 background-color: rgba(214, 136, 26, 0.3);
703 .pattern-color-landfill {
704 fill: rgba(214, 136, 26, 0.3);
709 path.stroke.tag-landuse-industrial,
710 path.stroke.tag-power-plant {
711 stroke: rgb(228, 164, 245);
713 path.fill.tag-landuse-industrial,
714 path.fill.tag-power-plant {
715 stroke: rgba(228, 164, 245, 0.3);
716 fill: rgba(228, 164, 245, 0.3);
718 .preset-icon-fill-area.tag-landuse-industrial,
719 .preset-icon-fill-area.tag-power-plant {
720 border-color: rgb(228, 164, 245);
721 background-color: rgba(228, 164, 245, 0.3);
726 path.stroke.tag-natural-wetland {
727 stroke: rgb(153, 225, 170);
729 .preset-icon-fill-area.tag-natural-wetland {
730 border-color: rgb(153, 225, 170);
731 background-color: rgba(153, 225, 170, 0.2);
733 .pattern-color-wetland,
734 .pattern-color-wetland_marsh,
735 .pattern-color-wetland_swamp,
736 .pattern-color-wetland_bog,
737 .pattern-color-wetland_reedbed {
738 fill: rgba(153, 225, 170, 0.3);
742 /* Light Green things */
743 path.stroke.tag-landuse-cemetery,
744 path.stroke.tag-landuse-orchard,
745 path.stroke.tag-landuse-vineyard,
746 path.stroke.tag-landuse-meadow,
747 path.stroke.tag-landuse-farmland {
748 stroke: rgb(191, 232, 63);
750 .preset-icon-fill-area.tag-landuse-cemetery,
751 .preset-icon-fill-area.tag-landuse-orchard,
752 .preset-icon-fill-area.tag-landuse-vineyard,
753 .preset-icon-fill-area.tag-landuse-meadow,
754 .preset-icon-fill-area.tag-landuse-farmland {
755 background-color: rgba(191, 232, 63, 0.2);
757 .pattern-color-cemetery,
758 .pattern-color-cemetery_christian,
759 .pattern-color-cemetery_buddhist,
760 .pattern-color-cemetery_muslim,
761 .pattern-color-cemetery_jewish,
762 .pattern-color-orchard,
763 .pattern-color-vineyard,
764 .pattern-color-meadow,
765 .pattern-color-farmland {
766 fill: rgba(191, 232, 63, 0.2);
771 path.stroke.tag-landuse-farmyard {
772 stroke: rgb(245, 220, 186);
774 path.fill.tag-landuse-farmyard {
775 stroke: rgba(245, 220, 186, 0.3);
776 fill: rgba(245, 220, 186, 0.3);
778 .preset-icon-fill-area.tag-landuse-farmyard {
779 border-color: rgb(226, 177, 111);
780 background: rgba(245, 220, 186, 0.3);
782 .pattern-color-farmyard {
783 fill: rgba(245, 220, 186, 0.3);
787 /* Dark Gray things */
788 path.stroke.tag-amenity-parking,
789 path.stroke.tag-leisure-pitch.tag-sport-basketball,
790 path.stroke.tag-leisure-pitch.tag-sport-skateboard,
791 path.stroke.tag-natural-bare_rock,
792 path.stroke.tag-natural-scree,
793 path.stroke.tag-landuse-railway,
794 path.stroke.tag-landuse-quarry {
795 stroke: rgb(170, 170, 170);
797 path.fill.tag-amenity-parking,
798 path.fill.tag-leisure-pitch.tag-sport-basketball,
799 path.fill.tag-leisure-pitch.tag-sport-skateboard,
800 path.fill.tag-natural-bare_rock,
801 path.fill.tag-natural-scree,
802 path.fill.tag-landuse-railway,
803 path.fill.tag-landuse-quarry {
804 stroke: rgba(140, 140, 140, 0.5);
805 fill: rgba(140, 140, 140, 0.5);
807 .preset-icon-fill-area.tag-amenity-parking,
808 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-basketball,
809 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-skateboard,
810 .preset-icon-fill-area.tag-natural-bare_rock,
811 .preset-icon-fill-area.tag-natural-scree,
812 .preset-icon-fill-area.tag-landuse-railway,
813 .preset-icon-fill-area.tag-landuse-quarry {
814 border-color: rgb(170, 170, 170);
815 background-color: rgba(140, 140, 140, 0.5);
817 .pattern-color-quarry {
818 fill: rgba(140, 140, 140, 0.5);
822 /* Light gray overrides */
823 path.stroke.tag-natural-cave_entrance,
824 path.stroke.tag-natural-glacier {
825 stroke: rgb(170, 170, 170);
827 path.fill.tag-natural-cave_entrance,
828 path.fill.tag-natural-glacier {
829 stroke: rgba(255, 255, 255, 0.3);
830 fill: rgba(255, 255, 255, 0.3);
832 .preset-icon-fill-area.tag-natural-cave_entrance,
833 .preset-icon-fill-area.tag-natural-glacier {
834 border-color: rgb(170, 170, 170);
835 background: rgba(170, 170, 170, 0.3);
840 .preset-icon .icon.tag-highway.other-line {
844 path.line.casing.tag-highway {
847 path.line.stroke.tag-highway {
852 path.line.shadow.tag-highway {
855 path.line.casing.tag-highway {
858 path.line.stroke.tag-highway {
861 .low-zoom path.line.shadow.tag-highway {
864 .low-zoom path.line.casing.tag-highway {
867 .low-zoom path.line.stroke.tag-highway {
871 .preset-icon .icon.iD-highway-motorway,
872 .preset-icon .icon.iD-highway-motorway-link {
876 path.line.stroke.tag-highway-motorway,
877 path.line.stroke.tag-highway-motorway_link,
878 path.line.stroke.tag-motorway {
881 path.line.casing.tag-highway-motorway,
882 path.line.casing.tag-highway-motorway_link,
883 path.line.casing.tag-motorway {
887 .preset-icon .icon.iD-highway-trunk,
888 .preset-icon .icon.iD-highway-trunk-link {
892 path.line.stroke.tag-highway-trunk,
893 path.line.stroke.tag-highway-trunk_link,
894 path.line.stroke.tag-trunk {
897 path.line.casing.tag-highway-trunk,
898 path.line.casing.tag-highway-trunk_link,
899 path.line.casing.tag-trunk {
903 .preset-icon .icon.iD-highway-primary,
904 .preset-icon .icon.iD-highway-primary-link {
908 path.line.stroke.tag-highway-primary,
909 path.line.stroke.tag-highway-primary_link,
910 path.line.stroke.tag-primary {
913 path.line.casing.tag-highway-primary,
914 path.line.casing.tag-highway-primary_link,
915 path.line.casing.tag-primary {
919 .preset-icon .icon.iD-highway-secondary,
920 .preset-icon .icon.iD-highway-secondary-link {
924 path.line.stroke.tag-highway-secondary,
925 path.line.stroke.tag-highway-secondary_link,
926 path.line.stroke.tag-secondary {
929 path.line.casing.tag-highway-secondary,
930 path.line.casing.tag-highway-secondary_link,
931 path.line.casing.tag-secondary {
935 .preset-icon .icon.iD-highway-tertiary,
936 .preset-icon .icon.iD-highway-tertiary-link {
940 path.line.stroke.tag-highway-tertiary,
941 path.line.stroke.tag-highway-tertiary_link,
942 path.line.stroke.tag-tertiary {
945 path.line.casing.tag-highway-tertiary,
946 path.line.casing.tag-highway-tertiary_link,
947 path.line.casing.tag-tertiary {
951 .legacy-carto .preset-icon .icon.iD-highway-motorway,
952 .legacy-carto .preset-icon .icon.iD-highway-motorway-link {
956 .legacy-carto path.line.stroke.tag-highway-motorway,
957 .legacy-carto path.line.stroke.tag-highway-motorway_link,
958 .legacy-carto path.line.stroke.tag-motorway {
961 .legacy-carto path.line.casing.tag-highway-motorway,
962 .legacy-carto path.line.casing.tag-highway-motorway_link,
963 .legacy-carto path.line.casing.tag-motorway {
967 .legacy-carto .preset-icon .icon.iD-highway-trunk,
968 .legacy-carto .preset-icon .icon.iD-highway-trunk-link {
972 .legacy-carto path.line.stroke.tag-highway-trunk,
973 .legacy-carto path.line.stroke.tag-highway-trunk_link,
974 .legacy-carto path.line.stroke.tag-trunk {
977 .legacy-carto path.line.casing.tag-highway-trunk,
978 .legacy-carto path.line.casing.tag-highway-trunk_link,
979 .legacy-carto path.line.casing.tag-trunk {
983 .legacy-carto .preset-icon .icon.iD-highway-primary,
984 .legacy-carto .preset-icon .icon.iD-highway-primary-link {
988 .legacy-carto path.line.stroke.tag-highway-primary,
989 .legacy-carto path.line.stroke.tag-highway-primary_link,
990 .legacy-carto path.line.stroke.tag-primary {
993 .legacy-carto path.line.casing.tag-highway-primary,
994 .legacy-carto path.line.casing.tag-highway-primary_link,
995 .legacy-carto path.line.casing.tag-primary {
999 .legacy-carto .preset-icon .icon.iD-highway-secondary,
1000 .legacy-carto .preset-icon .icon.iD-highway-secondary-link {
1004 .legacy-carto path.line.stroke.tag-highway-secondary,
1005 .legacy-carto path.line.stroke.tag-highway-secondary_link,
1006 .legacy-carto path.line.stroke.tag-secondary {
1009 .legacy-carto path.line.casing.tag-highway-secondary,
1010 .legacy-carto path.line.casing.tag-highway-secondary_link,
1011 .legacy-carto path.line.casing.tag-secondary {
1015 .legacy-carto .preset-icon .icon.iD-highway-tertiary,
1016 .legacy-carto .preset-icon .icon.iD-highway-tertiary-link {
1020 .legacy-carto path.line.stroke.tag-highway-tertiary,
1021 .legacy-carto path.line.stroke.tag-highway-tertiary_link,
1022 .legacy-carto path.line.stroke.tag-tertiary {
1025 .legacy-carto path.line.casing.tag-highway-tertiary,
1026 .legacy-carto path.line.casing.tag-highway-tertiary_link,
1027 .legacy-carto path.line.casing.tag-tertiary {
1031 .preset-icon .icon.iD-highway-residential {
1035 path.line.stroke.tag-highway-residential,
1036 path.line.stroke.tag-residential {
1039 path.line.casing.tag-highway-residential,
1040 path.line.casing.tag-residential {
1044 .preset-icon .icon.iD-highway-unclassified {
1048 path.line.stroke.tag-highway-unclassified,
1049 path.line.stroke.tag-unclassified {
1052 path.line.casing.tag-highway-unclassified,
1053 path.line.casing.tag-unclassified {
1058 /* narrow highways */
1059 path.line.shadow.tag-highway-living_street,
1060 path.line.shadow.tag-highway-bus_guideway,
1061 path.line.shadow.tag-highway-service,
1062 path.line.shadow.tag-highway-track,
1063 path.line.shadow.tag-highway-road,
1064 path.line.shadow.tag-living_street,
1065 path.line.shadow.tag-service,
1066 path.line.shadow.tag-track,
1067 path.line.shadow.tag-road {
1070 path.line.casing.tag-highway-living_street,
1071 path.line.casing.tag-highway-bus_guideway,
1072 path.line.casing.tag-highway-service,
1073 path.line.casing.tag-highway-track,
1074 path.line.casing.tag-highway-road,
1075 path.line.casing.tag-living_street,
1076 path.line.casing.tag-service,
1077 path.line.casing.tag-track,
1078 path.line.casing.tag-road {
1081 path.line.stroke.tag-highway-living_street,
1082 path.line.stroke.tag-highway-bus_guideway,
1083 path.line.stroke.tag-highway-service,
1084 path.line.stroke.tag-highway-track,
1085 path.line.stroke.tag-highway-road,
1086 path.line.stroke.tag-living_street,
1087 path.line.stroke.tag-service,
1088 path.line.stroke.tag-track,
1089 path.line.stroke.tag-road {
1093 path.line.shadow.tag-highway-path,
1094 path.line.shadow.tag-highway-footway,
1095 path.line.shadow.tag-highway-cycleway,
1096 path.line.shadow.tag-highway-bridleway,
1097 path.line.shadow.tag-highway-corridor,
1098 path.line.shadow.tag-highway-pedestrian,
1099 path.line.shadow.tag-highway-steps,
1100 path.line.shadow.tag-path,
1101 path.line.shadow.tag-footway,
1102 path.line.shadow.tag-cycleway,
1103 path.line.shadow.tag-bridleway,
1104 path.line.shadow.tag-corridor,
1105 path.line.shadow.tag-pedestrian,
1106 path.line.shadow.tag-steps {
1109 path.line.casing.tag-highway-path,
1110 path.line.casing.tag-highway-footway,
1111 path.line.casing.tag-highway-cycleway,
1112 path.line.casing.tag-highway-bridleway,
1113 path.line.casing.tag-highway-corridor,
1114 path.line.casing.tag-highway-pedestrian,
1115 path.line.casing.tag-highway-steps,
1116 path.line.casing.tag-path,
1117 path.line.casing.tag-footway,
1118 path.line.casing.tag-cycleway,
1119 path.line.casing.tag-bridleway,
1120 path.line.casing.tag-corridor,
1121 path.line.casing.tag-pedestrian,
1122 path.line.casing.tag-steps {
1125 path.line.stroke.tag-highway-path,
1126 path.line.stroke.tag-highway-footway,
1127 path.line.stroke.tag-highway-cycleway,
1128 path.line.stroke.tag-highway-bridleway,
1129 path.line.stroke.tag-highway-corridor,
1130 path.line.stroke.tag-highway-pedestrian,
1131 path.line.stroke.tag-highway-steps,
1132 path.line.stroke.tag-path,
1133 path.line.stroke.tag-footway,
1134 path.line.stroke.tag-cycleway,
1135 path.line.stroke.tag-bridleway,
1136 path.line.stroke.tag-corridor,
1137 path.line.stroke.tag-pedestrian,
1138 path.line.stroke.tag-steps {
1142 .low-zoom path.line.shadow.tag-highway-living_street,
1143 .low-zoom path.line.shadow.tag-highway-bus_guideway,
1144 .low-zoom path.line.shadow.tag-highway-service,
1145 .low-zoom path.line.shadow.tag-highway-track,
1146 .low-zoom path.line.shadow.tag-highway-road,
1147 .low-zoom path.line.shadow.tag-living_street,
1148 .low-zoom path.line.shadow.tag-service,
1149 .low-zoom path.line.shadow.tag-track,
1150 .low-zoom path.line.shadow.tag-road {
1153 .low-zoom path.line.casing.tag-highway-living_street,
1154 .low-zoom path.line.casing.tag-highway-bus_guideway,
1155 .low-zoom path.line.casing.tag-highway-service,
1156 .low-zoom path.line.casing.tag-highway-track,
1157 .low-zoom path.line.casing.tag-highway-road,
1158 .low-zoom path.line.casing.tag-living_street,
1159 .low-zoom path.line.casing.tag-service,
1160 .low-zoom path.line.casing.tag-track,
1161 .low-zoom path.line.casing.tag-road {
1164 .low-zoom path.line.stroke.tag-highway-living_street,
1165 .low-zoom path.line.stroke.tag-highway-bus_guideway,
1166 .low-zoom path.line.stroke.tag-highway-service,
1167 .low-zoom path.line.stroke.tag-highway-track,
1168 .low-zoom path.line.stroke.tag-highway-road,
1169 .low-zoom path.line.stroke.tag-living_street,
1170 .low-zoom path.line.stroke.tag-service,
1171 .low-zoom path.line.stroke.tag-track,
1172 .low-zoom path.line.stroke.tag-road {
1176 .low-zoom path.line.shadow.tag-highway-path,
1177 .low-zoom path.line.shadow.tag-highway-footway,
1178 .low-zoom path.line.shadow.tag-highway-cycleway,
1179 .low-zoom path.line.shadow.tag-highway-bridleway,
1180 .low-zoom path.line.shadow.tag-highway-corridor,
1181 .low-zoom path.line.shadow.tag-highway-pedestrian,
1182 .low-zoom path.line.shadow.tag-highway-steps,
1183 .low-zoom path.line.shadow.tag-path,
1184 .low-zoom path.line.shadow.tag-footway,
1185 .low-zoom path.line.shadow.tag-cycleway,
1186 .low-zoom path.line.shadow.tag-bridleway,
1187 .low-zoom path.line.shadow.tag-corridor,
1188 .low-zoom path.line.shadow.tag-pedestrian,
1189 .low-zoom path.line.shadow.tag-steps {
1192 .low-zoom path.line.casing.tag-highway-path,
1193 .low-zoom path.line.casing.tag-highway-footway,
1194 .low-zoom path.line.casing.tag-highway-cycleway,
1195 .low-zoom path.line.casing.tag-highway-bridleway,
1196 .low-zoom path.line.casing.tag-highway-corridor,
1197 .low-zoom path.line.casing.tag-highway-pedestrian,
1198 .low-zoom path.line.casing.tag-highway-steps,
1199 .low-zoom path.line.casing.tag-path,
1200 .low-zoom path.line.casing.tag-footway,
1201 .low-zoom path.line.casing.tag-cycleway,
1202 .low-zoom path.line.casing.tag-bridleway,
1203 .low-zoom path.line.casing.tag-corridor,
1204 .low-zoom path.line.casing.tag-pedestrian,
1205 .low-zoom path.line.casing.tag-steps {
1208 .low-zoom path.line.stroke.tag-highway-path,
1209 .low-zoom path.line.stroke.tag-highway-footway,
1210 .low-zoom path.line.stroke.tag-highway-cycleway,
1211 .low-zoom path.line.stroke.tag-highway-bridleway,
1212 .low-zoom path.line.stroke.tag-highway-corridor,
1213 .low-zoom path.line.stroke.tag-highway-pedestrian,
1214 .low-zoom path.line.stroke.tag-highway-steps,
1215 .low-zoom path.line.stroke.tag-path,
1216 .low-zoom path.line.stroke.tag-footway,
1217 .low-zoom path.line.stroke.tag-cycleway,
1218 .low-zoom path.line.stroke.tag-bridleway,
1219 .low-zoom path.line.stroke.tag-corridor,
1220 .low-zoom path.line.stroke.tag-pedestrian,
1221 .low-zoom path.line.stroke.tag-steps {
1226 .preset-icon .icon.iD-highway-living-street {
1230 path.line.stroke.tag-highway-living_street,
1231 path.line.stroke.tag-living_street {
1234 path.line.casing.tag-highway-living_street,
1235 path.line.casing.tag-living_street {
1239 .preset-icon .icon.iD-highway-footway.tag-highway-corridor,
1240 .preset-icon .icon.iD-highway-footway.tag-highway-pedestrian {
1244 path.line.stroke.tag-highway-corridor,
1245 path.line.stroke.tag-highway-pedestrian,
1246 path.line.stroke.tag-corridor,
1247 path.line.stroke.tag-pedestrian {
1249 stroke-dasharray: 2, 8;
1251 .low-zoom path.line.stroke.tag-highway-corridor,
1252 .low-zoom path.line.stroke.tag-highway-pedestrian,
1253 .low-zoom path.line.stroke.tag-corridor,
1254 .low-zoom path.line.stroke.tag-pedestrian {
1255 stroke-dasharray: 1, 4;
1257 path.line.casing.tag-highway-corridor,
1258 path.line.casing.tag-highway-pedestrian,
1259 path.line.casing.tag-corridor,
1260 path.line.casing.tag-pedestrian,
1261 path.line.casing.tag-highway-corridor.tag-unpaved,
1262 path.line.casing.tag-highway-pedestrian.tag-unpaved,
1263 path.line.casing.tag-corridor.tag-unpaved,
1264 path.line.casing.tag-pedestrian.tag-unpaved {
1266 stroke-linecap: round;
1267 stroke-dasharray: none;
1270 .preset-icon .icon.iD-highway-road {
1274 path.line.stroke.tag-highway-road,
1275 path.line.stroke.tag-road {
1278 path.line.casing.tag-highway-road,
1279 path.line.casing.tag-road {
1283 .preset-icon .icon.iD-highway-service {
1287 path.line.stroke.tag-highway-service,
1288 path.line.stroke.tag-service {
1291 path.line.casing.tag-highway-service,
1292 path.line.casing.tag-service {
1296 /* special service roads and bus guideways */
1297 /* with `service=* tag` (e.g. parking_aisle, alley, drive-through */
1298 .preset-icon .icon.iD-highway-bus_guideway,
1299 .preset-icon .icon.iD-highway-service.tag-service {
1303 path.line.stroke.tag-highway-bus_guideway,
1304 path.line.stroke.tag-highway-service.tag-service,
1305 path.line.stroke.tag-service.tag-service {
1308 path.line.casing.tag-highway-bus_guideway,
1309 path.line.casing.tag-highway-service.tag-service,
1310 path.line.casing.tag-service.tag-service {
1314 .preset-icon .icon.iD-highway-track {
1318 path.line.stroke.tag-highway-track,
1319 path.line.stroke.tag-track {
1322 path.line.casing.tag-highway-track,
1323 path.line.casing.tag-track {
1327 path.line.stroke.tag-highway-path,
1328 path.line.stroke.tag-highway-footway,
1329 path.line.stroke.tag-highway-cycleway,
1330 path.line.stroke.tag-highway-bridleway {
1331 stroke-linecap: butt;
1332 stroke-dasharray: 6, 6;
1334 .low-zoom path.line.stroke.tag-highway-path,
1335 .low-zoom path.line.stroke.tag-highway-footway,
1336 .low-zoom path.line.stroke.tag-highway-cycleway,
1337 .low-zoom path.line.stroke.tag-highway-bridleway {
1338 stroke-linecap: butt;
1339 stroke-dasharray: 3, 3;
1342 path.line.casing.tag-highway-path,
1343 path.line.casing.tag-highway-path.tag-unpaved {
1345 stroke-linecap: round;
1346 stroke-dasharray: none;
1348 path.line.casing.tag-highway-footway,
1349 path.line.casing.tag-highway-cycleway,
1350 path.line.casing.tag-highway-bridleway,
1351 path.line.casing.tag-highway-footway.tag-unpaved,
1352 path.line.casing.tag-highway-cycleway.tag-unpaved,
1353 path.line.casing.tag-highway-bridleway.tag-unpaved {
1355 stroke-linecap: round;
1356 stroke-dasharray: none;
1359 .preset-icon .icon.iD-category-path,
1360 .preset-icon .icon.iD-highway-path {
1364 path.line.stroke.tag-highway-path {
1368 .preset-icon .icon.tag-route-foot,
1369 .preset-icon .icon.tag-route-hiking,
1370 .preset-icon .icon.iD-highway-footway {
1374 path.line.stroke.tag-highway-footway {
1379 .preset-icon .icon.tag-route-bicycle,
1380 .preset-icon .icon.iD-highway-cycleway {
1384 path.line.stroke.tag-highway-cycleway {
1388 .preset-icon .icon.tag-route-horse,
1389 .preset-icon .icon.iD-highway-bridleway {
1393 path.line.stroke.tag-highway-bridleway {
1397 .preset-icon .icon.iD-highway-steps {
1401 path.line.stroke.tag-highway-steps {
1403 stroke-linecap: butt;
1404 stroke-dasharray: 3, 3;
1406 .low-zoom path.line.stroke.tag-highway-steps {
1407 stroke-dasharray: 2, 2;
1409 path.line.casing.tag-highway-steps,
1410 path.line.casing.tag-highway-steps.tag-unpaved {
1412 stroke-linecap: round;
1413 stroke-dasharray: none;
1416 /* highway midpoints */
1417 g.midpoint.tag-highway-corridor .fill,
1418 g.midpoint.tag-highway-pedestrian .fill,
1419 g.midpoint.tag-highway-steps .fill,
1420 g.midpoint.tag-highway-path .fill,
1421 g.midpoint.tag-highway-footway .fill,
1422 g.midpoint.tag-highway-cycleway .fill,
1423 g.midpoint.tag-highway-bridleway .fill {
1432 path.area.stroke.tag-aeroway,
1433 .low-zoom path.area.stroke.tag-aeroway {
1435 stroke-dasharray: none;
1438 path.area.fill.tag-aeroway-runway {
1439 stroke: rgba(0, 0, 0, 0.6);
1440 fill: rgba(0, 0, 0, 0.6);
1444 /* narrow aeroways (taxiway) */
1445 path.line.shadow.tag-aeroway-taxiway,
1446 path.line.shadow.tag-taxiway {
1449 path.line.casing.tag-aeroway-taxiway,
1450 path.line.casing.tag-taxiway {
1453 path.line.stroke.tag-aeroway-taxiway,
1454 path.line.stroke.tag-taxiway {
1457 .low-zoom path.line.shadow.tag-aeroway-taxiway,
1458 .low-zoom path.line.shadow.tag-taxiway {
1461 .low-zoom path.line.casing.tag-aeroway-taxiway,
1462 .low-zoom path.line.casing.tag-taxiway {
1465 .low-zoom path.line.stroke.tag-aeroway-taxiway,
1466 .low-zoom path.line.stroke.tag-taxiway {
1470 .preset-icon .icon.tag-aeroway-taxiway,
1471 .preset-icon .icon.tag-taxiway {
1475 path.line.stroke.tag-aeroway-taxiway,
1476 path.line.stroke.tag-taxiway {
1479 path.line.casing.tag-aeroway-taxiway,
1480 path.line.casing.tag-taxiway {
1484 /* wide aeroways (runway) */
1485 .preset-icon .icon.tag-aeroway-runway,
1486 .preset-icon .icon.tag-runway {
1490 path.line.shadow.tag-aeroway-runway {
1493 path.line.casing.tag-aeroway-runway {
1496 stroke-linecap: square;
1498 path.line.stroke.tag-aeroway-runway {
1501 stroke-linecap: butt;
1502 stroke-dasharray: 24, 48;
1504 .low-zoom path.line.shadow.tag-aeroway-runway {
1507 .low-zoom path.line.casing.tag-aeroway-runway {
1510 .low-zoom path.line.stroke.tag-aeroway-runway {
1512 stroke-dasharray: 12, 24;
1518 .preset-icon .icon.tag-railway.other-line {
1522 .preset-icon .icon.tag-railway {
1529 path.line.shadow.tag-railway {
1532 path.line.casing.tag-railway {
1535 path.line.stroke.tag-railway {
1537 stroke-linecap: butt;
1538 stroke-dasharray: 12,12;
1540 .low-zoom path.line.shadow.tag-railway {
1543 .low-zoom path.line.casing.tag-railway {
1546 .low-zoom path.line.stroke.tag-railway {
1548 stroke-dasharray: 6,6;
1553 path.line.casing.tag-railway {
1556 path.line.stroke.tag-railway {
1561 .preset-icon .icon.tag-railway-disused,
1562 .preset-icon .icon.tag-railway-abandoned {
1566 path.line.casing.tag-railway-disused,
1567 path.line.casing.tag-railway-abandoned {
1570 path.line.stroke.tag-railway-disused,
1571 path.line.stroke.tag-railway-abandoned {
1576 .preset-icon .icon.tag-railway-subway {
1580 path.line.casing.tag-railway-subway {
1583 path.line.stroke.tag-railway-subway {
1589 .preset-icon .icon.tag-waterway.other-line {
1593 .preset-icon .icon.iD-category-water,
1594 .preset-icon .icon.tag-type-waterway,
1595 .preset-icon .icon.tag-waterway {
1600 path.fill.tag-waterway {
1601 stroke: rgba(119, 211, 222, 0.3);
1602 fill: rgba(119, 211, 222, 0.3);
1604 path.line.casing.tag-waterway {
1607 path.line.stroke.tag-waterway {
1612 path.area.stroke.tag-waterway-dock,
1613 path.area.stroke.tag-waterway-boatyard,
1614 path.area.stroke.tag-waterway-fuel {
1618 path.area.casing.tag-waterway-dock,
1619 path.area.casing.tag-waterway-boatyard,
1620 path.area.casing.tag-waterway-fuel {
1623 path.area.fill.tag-waterway-dock,
1624 path.area.fill.tag-waterway-boatyard,
1625 path.area.fill.tag-waterway-fuel {
1626 stroke: rgba(255, 255, 255, 0.3);
1627 fill: rgba(255, 255, 255, 0.3);
1631 path.fill.tag-waterway {
1632 stroke: rgba(119, 211, 222, 0.3);
1633 fill: rgba(119, 211, 222, 0.3);
1635 path.line.casing.tag-waterway {
1638 path.line.stroke.tag-waterway {
1643 /* narrow waterways (default) */
1644 path.line.shadow.tag-waterway {
1647 path.line.casing.tag-waterway {
1650 path.line.stroke.tag-waterway {
1654 .low-zoom path.line.shadow.tag-waterway {
1657 .low-zoom path.line.casing.tag-waterway {
1660 .low-zoom path.line.stroke.tag-waterway {
1665 /* wide waterways (river) */
1666 path.line.shadow.tag-waterway-river {
1669 path.line.casing.tag-waterway-river {
1672 path.line.stroke.tag-waterway-river {
1676 .low-zoom path.line.shadow.tag-waterway-river {
1679 .low-zoom path.line.casing.tag-waterway-river {
1682 .low-zoom path.line.stroke.tag-waterway-river {
1688 .preset-icon .icon.tag-waterway-ditch {
1691 path.line.stroke.tag-waterway-ditch {
1697 .preset-icon .icon.tag-route-ferry {
1701 path.line.shadow.tag-route-ferry {
1704 path.line.stroke.tag-route-ferry {
1706 stroke-linecap: butt;
1707 stroke-dasharray: 12,8;
1709 .low-zoom path.line.shadow.tag-route-ferry {
1712 .low-zoom path.line.stroke.tag-route-ferry {
1714 stroke-dasharray: 6,4;
1716 path.line.stroke.tag-route-ferry {
1721 /* power and pipeline */
1722 .preset-icon .icon.tag-man_made-pipeline,
1723 .preset-icon .icon.tag-power {
1729 path.line.stroke.tag-power {
1733 path.line.casing.tag-power {
1738 path.line.stroke.tag-man_made-pipeline {
1740 stroke-linecap: butt;
1742 stroke-dasharray: 80, 1.25;
1744 path.line.casing.tag-man_made-pipeline {
1748 .low-zoom path.line.stroke.tag-man_made-pipeline {
1749 stroke-dasharray: 40, 1;
1753 path.line.stroke.tag-boundary {
1756 stroke-linecap: butt;
1757 stroke-dasharray: 20, 5, 5, 5;
1759 path.line.casing.tag-boundary {
1764 path.line.casing.tag-boundary-protected_area,
1765 path.line.casing.tag-boundary-national_park {
1771 path.line.shadow.tag-natural-tree_row {
1774 path.line.casing.tag-natural-tree_row {
1777 path.line.stroke.tag-natural-tree_row {
1780 .low-zoom path.line.shadow.tag-natural-tree_row {
1783 .low-zoom path.line.casing.tag-natural-tree_row {
1786 .low-zoom path.line.stroke.tag-natural-tree_row {
1791 /* barriers and similar */
1792 path.line.stroke.tag-barrier:not(.tag-barrier-hedge) {
1795 path.line.stroke.tag-barrier,
1796 path.stroke.tag-man_made-groyne,
1797 path.stroke.tag-man_made-breakwater {
1799 stroke-linecap: round;
1800 stroke-dasharray: 15, 5, 1, 5;
1802 .low-zoom path.line.stroke.tag-barrier,
1803 .low-zoom path.stroke.tag-man_made-groyne,
1804 .low-zoom path.stroke.tag-man_made-breakwater {
1806 stroke-linecap: butt;
1807 stroke-dasharray: 8, 2, 2, 2;
1812 path.line.casing.tag-bridge {
1813 stroke-opacity: 0.6;
1814 stroke: #000 !important;
1815 stroke-linecap: butt;
1816 stroke-dasharray: none;
1818 path.line.shadow.tag-bridge {
1821 path.line.casing.tag-bridge {
1824 .low-zoom path.line.shadow.tag-bridge {
1827 .low-zoom path.line.casing.tag-bridge {
1831 path.line.shadow.tag-railway.tag-bridge,
1832 path.line.shadow.tag-highway-living_street.tag-bridge,
1833 path.line.shadow.tag-highway-path.tag-bridge,
1834 path.line.shadow.tag-highway-corridor.tag-bridge,
1835 path.line.shadow.tag-highway-pedestrian.tag-bridge,
1836 path.line.shadow.tag-highway-service.tag-bridge,
1837 path.line.shadow.tag-highway-track.tag-bridge,
1838 path.line.shadow.tag-highway-steps.tag-bridge,
1839 path.line.shadow.tag-highway-footway.tag-bridge,
1840 path.line.shadow.tag-highway-cycleway.tag-bridge,
1841 path.line.shadow.tag-highway-bridleway.tag-bridge {
1844 path.line.casing.tag-railway.tag-bridge,
1845 path.line.casing.tag-highway-living_street.tag-bridge,
1846 path.line.casing.tag-highway-path.tag-bridge,
1847 path.line.casing.tag-highway-corridor.tag-bridge,
1848 path.line.casing.tag-highway-pedestrian.tag-bridge,
1849 path.line.casing.tag-highway-service.tag-bridge,
1850 path.line.casing.tag-highway-track.tag-bridge,
1851 path.line.casing.tag-highway-steps.tag-bridge,
1852 path.line.casing.tag-highway-footway.tag-bridge,
1853 path.line.casing.tag-highway-cycleway.tag-bridge,
1854 path.line.casing.tag-highway-bridleway.tag-bridge {
1858 .low-zoom path.line.shadow.tag-railway.tag-bridge,
1859 .low-zoom path.line.shadow.tag-highway-living_street.tag-bridge,
1860 .low-zoom path.line.shadow.tag-highway-path.tag-bridge,
1861 .low-zoom path.line.shadow.tag-highway-corridor.tag-bridge,
1862 .low-zoom path.line.shadow.tag-highway-pedestrian.tag-bridge,
1863 .low-zoom path.line.shadow.tag-highway-service.tag-bridge,
1864 .low-zoom path.line.shadow.tag-highway-track.tag-bridge,
1865 .low-zoom path.line.shadow.tag-highway-steps.tag-bridge,
1866 .low-zoom path.line.shadow.tag-highway-footway.tag-bridge,
1867 .low-zoom path.line.shadow.tag-highway-cycleway.tag-bridge,
1868 .low-zoom path.line.shadow.tag-highway-bridleway.tag-bridge {
1871 .low-zoom path.line.casing.tag-railway.tag-bridge,
1872 .low-zoom path.line.casing.tag-highway-living_street.tag-bridge,
1873 .low-zoom path.line.casing.tag-highway-path.tag-bridge,
1874 .low-zoom path.line.casing.tag-highway-corridor.tag-bridge,
1875 .low-zoom path.line.casing.tag-highway-pedestrian.tag-bridge,
1876 .low-zoom path.line.casing.tag-highway-service.tag-bridge,
1877 .low-zoom path.line.casing.tag-highway-track.tag-bridge,
1878 .low-zoom path.line.casing.tag-highway-steps.tag-bridge,
1879 .low-zoom path.line.casing.tag-highway-footway.tag-bridge,
1880 .low-zoom path.line.casing.tag-highway-cycleway.tag-bridge,
1881 .low-zoom path.line.casing.tag-highway-bridleway.tag-bridge {
1887 path.line.stroke.tag-tunnel,
1888 path.line.stroke.tag-location-underground,
1889 path.line.stroke.tag-location-underwater {
1890 stroke-opacity: 0.3;
1892 path.line.casing.tag-tunnel,
1893 path.line.casing.tag-location-underground,
1894 path.line.stroke.tag-location-underwater {
1895 stroke-opacity: 0.5;
1896 stroke-linecap: butt;
1897 stroke-dasharray: none;
1901 /* embankments / cuttings */
1902 path.line.shadow.tag-embankment,
1903 path.line.shadow.tag-cutting {
1906 path.line.casing.tag-embankment,
1907 path.line.casing.tag-cutting {
1908 stroke-opacity: 0.5;
1911 stroke-dasharray: 2, 4;
1912 stroke-linecap: butt;
1915 .low-zoom path.line.shadow.tag-embankment,
1916 .low-zoom path.line.shadow.tag-cutting {
1919 .low-zoom path.line.casing.tag-embankment,
1920 .low-zoom path.line.casing.tag-cutting {
1925 /* Surface - unpaved */
1926 path.line.casing.tag-unpaved {
1928 stroke-linecap: butt;
1929 stroke-dasharray: 4, 3;
1931 .low-zoom path.line.casing.tag-unpaved {
1932 stroke-dasharray: 3, 2;
1934 path.line.casing.tag-bridge.tag-unpaved {
1936 stroke-dasharray: 4, 3;
1938 .low-zoom path.line.casing.tag-bridge.tag-unpaved {
1940 stroke-dasharray: 3, 2;
1944 /* Status (e.g. proposed, abandoned) */
1945 path.area.stroke.tag-status,
1946 path.line.stroke.tag-status,
1947 path.area.casing.tag-status,
1948 path.line.casing.tag-status {
1949 stroke-linecap: butt;
1950 stroke-dasharray: 7, 3;
1952 .low-zoom path.area.stroke.tag-status,
1953 .low-zoom path.line.stroke.tag-status,
1954 .low-zoom path.area.casing.tag-status,
1955 .low-zoom path.line.casing.tag-status {
1956 stroke-dasharray: 5, 2;
1959 /* Road Closed Status */
1960 .preset-icon .icon.iD-highway-construction {
1964 path.line.shadow.tag-status.tag-status-construction {
1967 path.line.casing.tag-status.tag-status-construction {
1970 stroke-linecap: butt;
1971 stroke-dasharray: none
1973 path.line.stroke.tag-status.tag-status-construction {
1976 stroke-linecap: butt;
1977 stroke-dasharray: 10, 10;
1979 .low-zoom path.line.shadow.tag-status.tag-status-construction {
1982 .low-zoom path.line.casing.tag-status.tag-status-construction {
1985 .low-zoom path.line.stroke.tag-status.tag-status-construction {
1987 stroke-dasharray: 8, 8;
1992 path.stroke.tag-building {
1993 stroke: rgb(224, 110, 95);
1995 path.fill.tag-building {
1996 stroke: rgba(224, 110, 95, 0.3);
1997 fill: rgba(224, 110, 95, 0.3);
1999 .preset-icon-fill-area.tag-parking-multi-storey,
2000 .preset-icon-fill-area.tag-building {
2001 border-color: rgb(224, 110, 95);
2002 background-color: rgba(224, 110, 95, 0.3);
2006 /* "Special" paths - platforms, piers, crossings */
2007 .preset-icon .icon.tag-public_transport-platform,
2008 .preset-icon .icon.tag-railway-platform,
2009 .preset-icon .icon.tag-man_made-pier,
2010 .preset-icon .icon.tag-footway.tag-footway-crossing,
2011 .preset-icon .icon.tag-crossing {
2016 .preset-icon-fill-area.tag-public_transport-platform,
2017 .preset-icon-fill-area.tag-railway-platform,
2018 .preset-icon-fill-area.tag-man_made-pier,
2019 .preset-icon-fill-area.tag-footway.tag-footway-crossing,
2020 .preset-icon-fill-area.tag-crossing {
2022 background-color: #dca;
2025 path.line.shadow.tag-public_transport-platform,
2026 path.line.shadow.tag-railway-platform,
2027 path.line.shadow.tag-man_made-pier,
2028 path.line.shadow.tag-footway.tag-footway-crossing,
2029 path.line.shadow.tag-crossing {
2032 path.line.casing.tag-public_transport-platform,
2033 path.line.casing.tag-railway-platform,
2034 path.line.casing.tag-man_made-pier,
2035 path.line.casing.tag-footway.tag-footway-crossing,
2036 path.line.casing.tag-crossing {
2039 stroke-linecap: round;
2040 stroke-dasharray: none;
2042 path.line.stroke.tag-public_transport-platform,
2043 path.line.stroke.tag-railway-platform,
2044 path.line.stroke.tag-man_made-pier,
2045 path.line.stroke.tag-footway.tag-footway-crossing,
2046 path.line.stroke.tag-crossing {
2049 stroke-linecap: butt;
2050 stroke-dasharray: 6, 6;
2053 .low-zoom path.line.shadow.tag-public_transport-platform,
2054 .low-zoom path.line.shadow.tag-railway-platform,
2055 .low-zoom path.line.shadow.tag-man_made-pier,
2056 .low-zoom path.line.shadow.tag-footway.tag-footway-crossing,
2057 .low-zoom path.line.shadow.tag-crossing {
2060 .low-zoom path.line.casing.tag-public_transport-platform,
2061 .low-zoom path.line.casing.tag-railway-platform,
2062 .low-zoom path.line.casing.tag-man_made-pier,
2063 .low-zoom path.line.casing.tag-footway.tag-footway-crossing,
2064 .low-zoom path.line.casing.tag-crossing {
2067 .low-zoom path.line.stroke.tag-public_transport-platform,
2068 .low-zoom path.line.stroke.tag-railway-platform,
2069 .low-zoom path.line.stroke.tag-man_made-pier,
2070 .low-zoom path.line.stroke.tag-footway.tag-footway-crossing,
2071 .low-zoom path.line.stroke.tag-crossing {
2073 stroke-linecap: butt;
2074 stroke-dasharray: 3, 3;
2077 g.midpoint.tag-public_transport-platform .fill,
2078 g.midpoint.tag-railway-platform .fill,
2079 g.midpoint.tag-man_made-pier .fill,
2080 g.midpoint.tag-footway.tag-footway-crossing .fill,
2081 g.midpoint.tag-crossing .fill {
2088 /* marked crossings, zebras */
2089 .preset-icon .icon.tag-crossing.tag-crossing-marked,
2090 .preset-icon .icon.tag-crossing.tag-crossing-zebra {
2094 path.line.casing.tag-crossing.tag-crossing-marked,
2095 path.line.casing.tag-crossing.tag-crossing-zebra {
2098 path.line.stroke.tag-crossing.tag-crossing-marked,
2099 path.line.stroke.tag-crossing.tag-crossing-zebra {
2101 stroke-dasharray: 6, 4;
2103 .low-zoom path.line.stroke.tag-crossing.tag-crossing-marked,
2104 .low-zoom path.line.stroke.tag-crossing.tag-crossing-zebra {
2105 stroke-dasharray: 3, 2;
2109 path.line.shadow.tag-attraction-summer_toboggan,
2110 path.line.shadow.tag-attraction-water_slide {
2113 path.line.casing.tag-attraction-summer_toboggan,
2114 path.line.casing.tag-attraction-water_slide {
2117 path.line.stroke.tag-attraction-summer_toboggan,
2118 path.line.stroke.tag-attraction-water_slide {
2121 .low-zoom path.line.shadow.tag-attraction-summer_toboggan,
2122 .low-zoom path.line.shadow.tag-attraction-water_slide {
2125 .low-zoom path.line.casing.tag-attraction-summer_toboggan,
2126 .low-zoom path.line.casing.tag-attraction-water_slide {
2129 .low-zoom path.line.stroke.tag-attraction-summer_toboggan,
2130 .low-zoom path.line.stroke.tag-attraction-water_slide {
2133 path.line.stroke.tag-attraction-summer_toboggan {
2136 path.line.casing.tag-attraction-summer_toboggan {
2140 path.line.stroke.tag-attraction-water_slide {
2143 path.line.casing.tag-attraction-water_slide {
2150 cursor: not-allowed !important;
2155 cursor: auto; /* Opera */
2156 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
2159 .mode-browse .point,
2160 .mode-select .point {
2161 cursor: pointer; /* Opera */
2162 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
2165 .mode-select .vertex,
2166 .mode-browse .vertex {
2167 cursor: pointer; /* Opera */
2168 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
2172 .mode-select .line {
2173 cursor: pointer; /* Opera */
2174 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
2178 .mode-browse .area {
2179 cursor: pointer; /* Opera */
2180 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
2183 .mode-select .midpoint,
2184 .mode-browse .midpoint {
2185 cursor: pointer; /* Opera */
2186 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
2189 .mode-select .behavior-multiselect .point,
2190 .mode-select .behavior-multiselect .vertex,
2191 .mode-select .behavior-multiselect .line,
2192 .mode-select .behavior-multiselect .area {
2193 cursor: pointer; /* Opera */
2194 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
2197 .mode-select .behavior-multiselect .selected {
2198 cursor: pointer; /* Opera */
2199 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
2202 .mode-draw-line #map,
2203 .mode-draw-area #map,
2204 .mode-add-line #map,
2205 .mode-add-area #map,
2206 .mode-drag-node #map,
2207 .mode-drag-note #map {
2208 cursor: crosshair; /* Opera */
2209 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
2212 .mode-draw-line .way.target,
2213 .mode-draw-area .way.target,
2214 .mode-add-line .way.target,
2215 .mode-add-area .way.target,
2216 .mode-drag-node .way.target {
2217 cursor: crosshair; /* Opera */
2218 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
2221 .mode-draw-line .vertex.target,
2222 .mode-draw-area .vertex.target,
2223 .mode-add-line .vertex.target,
2224 .mode-add-area .vertex.target,
2225 .mode-drag-node .vertex.target {
2226 cursor: crosshair; /* Opera */
2227 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
2230 .mode-add-point #map,
2231 .mode-add-note #map,
2232 .mode-browse.lasso #map,
2233 .mode-browse.lasso .way,
2234 .mode-browse.lasso .vertex,
2235 .mode-browse.lasso .midpoint,
2236 .mode-select.lasso #map,
2237 .mode-select.lasso .way,
2238 .mode-select.lasso .vertex,
2239 .mode-select.lasso .midpoint {
2240 cursor: crosshair; /* Opera */
2241 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
2245 .mode-browse .kr_error,
2247 .mode-select .kr_error,
2253 /* photo viewer div */
2261 background-color: #fff;
2263 [dir='rtl'] #photoviewer {
2268 @media screen and (min-width: 1600px) {
2275 #photoviewer button.thumb-hide {
2284 #photoviewer button.resize-handle-xy {
2290 cursor: nesw-resize;
2295 #photoviewer button.resize-handle-x {
2307 #photoviewer button.resize-handle-y {
2320 .photo-wrapper img {
2327 .photo-wrapper .photo-attribution {
2339 .photo-attribution a,
2340 .photo-attribution a:visited,
2341 .photo-attribution span {
2346 /* markers and sequences */
2348 pointer-events: none;
2350 .mode-browse .viewfield-group,
2351 .mode-select .viewfield-group {
2352 pointer-events: visible;
2356 .viewfield-group.selected * {
2357 fill: #ffee00 !important;
2359 .viewfield-group.hovered * {
2360 fill: #eebb00 !important;
2363 .viewfield-group circle {
2366 stroke-opacity: 0.4;
2369 .viewfield-group.highlighted circle {
2371 stroke-opacity: 0.9;
2374 .viewfield-group.highlighted.hovered circle {
2377 stroke-opacity: 0.9;
2380 .viewfield-group.highlighted.selected circle {
2387 .viewfield-group .viewfield {
2392 .viewfield-group.highlighted .viewfield {
2396 .viewfield-group.highlighted.hovered .viewfield {
2400 .viewfield-group.highlighted.selected .viewfield {
2405 .viewfield-group.selected .viewfield-scale {
2406 transform: scale(2,2);
2412 stroke-opacity: 0.4;
2414 .sequence.highlighted,
2415 .sequence.selected {
2421 /* Streetside Image Layer */
2422 .layer-streetside-images {
2423 pointer-events: none;
2425 .layer-streetside-images .viewfield-group * {
2428 .layer-streetside-images .sequence {
2430 stroke-opacity: 0.85; /* bump opacity - only one per road */
2434 /* Mapillary Image Layer */
2435 .layer-mapillary-images {
2436 pointer-events: none;
2438 .layer-mapillary-images .viewfield-group * {
2441 .layer-mapillary-images .sequence {
2446 /* Mapillary Sign Layer */
2447 .layer-mapillary-signs {
2448 pointer-events: none;
2450 .layer-mapillary-signs .icon-sign {
2451 outline: 2px solid transparent;
2452 pointer-events: visible;
2455 .layer-mapillary-signs .icon-sign:hover {
2456 outline: 5px solid #eebb00;
2457 background-color: #eebb00;
2459 .layer-mapillary-signs .icon-sign.selected {
2460 outline: 5px solid #ffee00;
2461 background-color: #ffee00;
2465 /* OpenStreetCam Image Layer */
2466 .layer-openstreetcam-images {
2467 pointer-events: none;
2469 .layer-openstreetcam-images .viewfield-group * {
2472 .layer-openstreetcam-images .sequence {
2477 /* Streetside Viewer (pannellum) */
2478 .ms-wrapper .photo-attribution .image-link {
2481 .ms-wrapper .photo-attribution .attribution-row {
2483 flex-flow: row nowrap;
2484 justify-content: space-between;
2485 align-items: center;
2488 .ms-wrapper .photo-attribution .image-view-link {
2492 .ms-wrapper .photo-attribution .image-report-link {
2496 .ms-wrapper .photo-attribution a:active,
2497 .ms-wrapper .photo-attribution a:hover {
2501 .ms-wrapper .pnlm-compass.pnlm-control {
2506 background-size: contain;
2507 background-repeat: no-repeat no-repeat;
2510 label.streetside-hires {
2513 .streetside-hires span {
2516 .streetside-hires input[type="checkbox"] {
2524 /* Mapillary viewer */
2525 #mly .domRenderer .TagSymbol {
2527 background-color: rgba(0,0,0,0.4);
2532 #mly .domRenderer .Attribution {
2533 /* we will roll our own to avoid async update issues like #4526 */
2537 .mly-wrapper .photo-attribution a:active,
2538 .mly-wrapper .photo-attribution a:hover {
2542 .mly-wrapper .mapillary-js-dom {
2547 /* OpenStreetCam viewer */
2550 background-color: #000;
2551 background-image: url(<%= asset_path("iD/img/loader-black.gif") %>);
2552 background-position: center;
2553 background-repeat: no-repeat;
2556 .osc-wrapper .photo-attribution a:active,
2557 .osc-wrapper .photo-attribution a:hover {
2564 transform-origin:0 0;
2565 -ms-transform-origin:0 0;
2566 -webkit-transform-origin:0 0;
2567 -moz-transform-origin:0 0;
2568 -o-transform-origin:0 0;
2572 /* photo-controls (step forward, back, rotate) */
2573 .photo-controls-wrap {
2582 display: inline-block;
2586 .photo-controls button,
2587 .photo-controls button:focus {
2590 background: rgba(0,0,0,0.65);
2594 .photo-controls button:first-of-type {
2595 border-radius: 3px 0 0 3px;
2597 .photo-controls button:last-of-type {
2598 border-radius: 0 3px 3px 0;
2600 .photo-controls button:hover,
2601 .photo-controls button:active {
2602 background: rgba(0,0,0,0.85);
2606 /* OSM Notes and KeepRight Layers */
2608 .kr_error-header-icon .kr_error-fill,
2609 .layer-keepRight .kr_error .kr_error-fill {
2611 stroke-width: 1.3px; /* NOTE: likely a better way to scale the icon stroke */
2614 .note-header-icon .note-fill,
2615 .layer-notes .note .note-fill {
2620 .note-header-icon.new .note-fill,
2621 .layer-notes .note.new .note-fill {
2626 .note-header-icon.closed .note-fill,
2627 .layer-notes .note.closed .note-fill {
2633 /* slight adjustments to preset icon for note icons */
2634 .note-header-icon .preset-icon-28 {
2637 .note-header-icon .note-icon-annotation {
2643 .note-header-icon .note-icon-annotation .icon {
2649 /* Keep Right Errors
2650 ------------------------------------------------------- */
2651 .kr_error_type_20, /* multiple nodes on same spot */
2652 .kr_error_type_40, /* impossible oneways */
2653 .kr_error_type_210, /* self intersecting ways */
2654 .kr_error_type_270, /* unusual motorway connection */
2655 .kr_error_type_310, /* roundabout issues */
2656 .kr_error_type_320, /* improper _link */
2657 .kr_error_type_350 { /* improper bridge tag */
2661 .kr_error_type_50 { /* almost junctions */
2665 .kr_error_type_60, /* deprecated tags */
2666 .kr_error_type_70, /* tagging issues */
2667 .kr_error_type_90, /* motorway without ref */
2668 .kr_error_type_100, /* place of worship without religion */
2669 .kr_error_type_110, /* poi without name */
2670 .kr_error_type_150, /* railway crossing without tag */
2671 .kr_error_type_220, /* misspelled tag */
2672 .kr_error_type_380 { /* non-physical sport tag */
2676 .kr_error_type_130 { /* disconnected ways */
2680 .kr_error_type_170 { /* FIXME tag */
2684 .kr_error_type_190 { /* intersection without junction */
2688 .kr_error_type_200 { /* overlapping ways */
2692 .kr_error_type_160, /* railway layer conflict */
2693 .kr_error_type_230 { /* layer conflict */
2697 .kr_error_type_280 { /* boundary issues */
2701 .kr_error_type_180, /* relation without type */
2702 .kr_error_type_290 { /* turn restriction issues */
2706 .kr_error_type_300, /* missing maxspeed */
2707 .kr_error_type_390 { /* missing tracktype */
2711 .kr_error_type_360, /* language unknown */
2712 .kr_error_type_370, /* doubled places */
2713 .kr_error_type_410 { /* website issues */
2717 .kr_error_type_120, /* way without nodes */
2718 .kr_error_type_400 { /* geometry / turn angles */
2723 /* Custom Map Data (geojson, gpx, kml, vector tile) */
2725 pointer-events: none;
2728 .layer-mapdata path.shadow {
2729 pointer-events: stroke;
2735 .layer-mapdata path.MultiPoint.shadow,
2736 .layer-mapdata path.Point.shadow {
2737 pointer-events: fill;
2741 .layer-mapdata path.shadow.hover:not(.selected) {
2742 stroke-opacity: 0.4;
2744 .layer-mapdata path.shadow.selected {
2745 stroke-opacity: 0.7;
2748 .layer-mapdata path.stroke {
2754 .layer-mapdata path.fill {
2756 stroke-opacity: 0.3;
2763 .layer-mapdata text.label-halo,
2764 .layer-mapdata text.label {
2767 dominant-baseline: middle;
2769 .layer-mapdata text.label {
2772 .layer-mapdata text.label.hover,
2773 .layer-mapdata text.label.selected {
2776 .layer-mapdata text.label-halo {
2780 stroke-miterlimit: 1;
2785 .low-zoom.fill-wireframe path.stroke,
2786 .fill-wireframe path.stroke {
2787 stroke-width: 1 !important;
2788 stroke-opacity: 0.5 !important;
2789 stroke-dasharray: none !important;
2790 fill: none !important;
2792 .low-zoom.fill-wireframe .layer-mapdata path.stroke,
2793 .fill-wireframe .layer-mapdata path.stroke {
2794 stroke-width: 2 !important;
2795 stroke-opacity: 1 !important;
2798 .low-zoom.fill-wireframe path.shadow,
2799 .fill-wireframe path.shadow {
2803 .fill-wireframe path.shadow.related:not(.selected),
2804 .fill-wireframe path.shadow.hover:not(.selected) {
2805 stroke-opacity: 0.4;
2807 .fill-wireframe path.shadow.selected {
2808 stroke-opacity: 0.6;
2811 .fill-wireframe .point,
2812 .fill-wireframe .areaicon,
2813 .fill-wireframe .areaicon-halo,
2814 .fill-wireframe path.casing,
2815 .fill-wireframe path.fill,
2816 .fill-wireframe path.oneway {
2817 display: none !important;
2820 .fill-partial path.area.fill {
2823 pointer-events: none;
2825 .mode-browse .fill-partial path.area.fill,
2826 .mode-select .fill-partial path.area.fill {
2827 pointer-events: visibleStroke;
2830 ------------------------------------------------------- */
2832 Opera misbehaves when the window is resized vertically unless 100% width + height are
2833 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2841 font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2842 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2843 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2849 -ms-user-select: none;
2850 -ms-content-zooming: none;
2855 vertical-align: middle;
2872 -webkit-filter: none !important;
2873 filter: none !important;
2874 -webkit-duration: 200ms;
2875 transition-duration: 200ms;
2879 -webkit-filter: grayscale(80%) brightness(80%);
2880 filter: grayscale(80%) brightness(80%);
2881 -webkit-duration: 200ms;
2882 transition-duration: 200ms;
2886 /* Can't be display: none or the clippaths are ignored. */
2892 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
2893 -moz-box-sizing: border-box;
2894 -webkit-box-sizing: border-box;
2895 box-sizing: border-box;
2898 a, button, input, textarea {
2899 -webkit-tap-highlight-color: rgba(0,0,0,0);
2900 -webkit-touch-callout: none;
2917 margin-bottom: 20px;
2922 h4:last-child { margin-bottom: 0;}
2928 margin-bottom: 10px;
2933 padding-bottom: 10px;
2937 outline-color: transparent;
2938 outline-style: none;
2941 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
2943 opacity: 1; /* Firefox */
2945 :-ms-input-placeholder { /* Internet Explorer 10-11 */
2948 ::-ms-input-placeholder { /* Microsoft Edge */
2974 ------------------------------------------------------- */
2977 font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2978 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2979 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2990 background-color: #fff;
2992 border: 1px solid #ccc;
2993 padding: 5px 20px 5px 10px;
2996 text-overflow: ellipsis;
2998 [dir='rtl'] textarea,
2999 [dir='rtl'] input[type=text],
3000 [dir='rtl'] input[type=search],
3001 [dir='rtl'] input[type=number],
3002 [dir='rtl'] input[type=url],
3003 [dir='rtl'] input[type=tel],
3004 [dir='rtl'] input[type=email] {
3005 padding: 5px 10px 5px 20px;
3010 background-color: #f1f1f1;
3016 background-color: #eee;
3017 cursor: not-allowed;
3020 input[type="checkbox"],
3021 input[type="radio"] {
3029 [dir='rtl'] input[type="checkbox"],
3030 [dir='rtl'] input[type="radio"] {
3038 background-color: #fff;
3039 border-collapse: collapse;
3046 table.tags, table.tags td, table.tags th {
3047 border: 1px solid #ccc;
3056 ------------------------------------------------------- */
3057 .col6 { float: left; width: 50.0000%; max-width: 600px; }
3058 .col8 { float: left; width: 66.6666%; }
3059 .col12 { float: left; width: 100.0000%; }
3063 ------------------------------------------------------- */
3069 background: #f6f6f6;
3073 background: #ececec;
3077 background: rgba(0,0,0,.5);
3081 background: rgba(0,0,0,.75);
3086 .fr { float: right;}
3103 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
3106 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
3107 background-size: 5px 5px;
3112 ------------------------------------------------------- */
3121 display: inline-block;
3128 background-color: #ececec;
3131 background: #7092ff;
3134 background-color: rgba(255,255,255,.25);
3135 color: rgba(0,0,0,.4);
3136 cursor: not-allowed;
3141 border-right: 1px solid rgba(0,0,0,.5);
3143 [dir='rtl'] .joined button {
3144 border-left: 1px solid rgba(0,0,0,.5);
3148 .fillL .joined button {
3149 border-right: 1px solid #fff;
3151 .joined button:first-child {
3152 border-radius: 4px 0 0 4px;
3154 [dir='rtl'] .joined button:first-child {
3155 border-radius: 0 4px 4px 0;
3157 .joined button:last-child {
3158 border-right-width: 0;
3159 border-radius: 0 4px 4px 0;
3161 [dir='rtl'] .joined button:last-child {
3162 border-radius: 4px 0 0 4px;
3166 /* Action buttons */
3168 background: #7092ff;
3171 button.action:focus,
3172 button.action:hover {
3173 background: #597be7;
3175 button.secondary-action {
3176 background: #ececec;
3178 button.secondary-action:focus,
3179 button.secondary-action:hover {
3180 background: #cccccc;
3183 button[disabled].action,
3184 button[disabled].action:hover {
3185 background: #cccccc;
3187 cursor: not-allowed;
3192 ------------------------------------------------------- */
3194 vertical-align: top;
3200 vertical-align: text-top;
3209 [dir='rtl'] .icon.pre-text {
3214 .icon.pre-text.user-icon {
3241 /* Toolbar / Persistent UI Elements
3242 ------------------------------------------------------- */
3245 flex-flow: row nowrap;
3246 justify-content: space-between;
3259 flex-flow: row nowrap;
3262 .tool-group.leading-area {
3264 justify-content: flex-start;
3266 .tool-group.center-area {
3267 justify-content: center;
3269 .tool-group.trailing-area {
3270 justify-content: flex-start;
3277 .tool-group button {
3279 flex-flow: row nowrap;
3280 align-items: center;
3283 white-space: nowrap;
3285 .tool-group button .icon {
3288 .tool-group button .label {
3293 button.save .count {
3294 display: inline-block;
3295 border: 0px solid #ccc;
3296 border-left-width: 1px;
3297 padding: 0px 0px 0px 8px;
3301 [dir='rtl'] button.save .count {
3302 border-left-width: 0px;
3303 border-right-width: 1px;
3304 padding: 0px 8px 0px 0px;
3306 button.save.disabled .count {
3307 border: 0px solid rgba(0,0,0,0.25);
3308 border-left-width: 1px;
3310 [dir='rtl'] button.save.disabled .count {
3311 border-left-width: 0px;
3312 border-right-width: 1px;
3313 padding: 0px 8px 0px 0px;
3315 #bar.narrow button.save .count {
3319 button.save .label {
3323 [dir='rtl'] button.save .label {
3328 .help-wrap svg.icon.pre-text.add-note,
3329 button.add-note svg.icon {
3332 color: rgba(0,0,0,0.25);
3337 button.add-note svg.icon {
3341 [dir='rtl'] button.add-note svg.icon {
3343 margin-right: unset;
3345 .help-wrap svg.icon.pre-text.add-note {
3354 justify-content: flex-end;
3362 [dir='rtl'] .spinner img {
3363 -moz-transform: scaleX(-1);
3364 -o-transform: scaleX(-1);
3365 -webkit-transform: scaleX(-1);
3366 transform: scaleX(-1);
3368 -ms-filter: "FlipH";
3372 #bar.narrow .tool-group {
3375 #bar.narrow .spinner,
3376 #bar.narrow button .label {
3379 #bar.narrow button .count {
3380 border-left-width: 0;
3381 border-right-width: 0;
3385 /* Header for modals / panes
3386 ------------------------------------------------------- */
3388 border-bottom: 1px solid #ccc;
3396 white-space: nowrap;
3397 text-overflow: ellipsis;
3415 .field-help-title button.close,
3416 .sidebar-component .header button.data-editor-close,
3417 .sidebar-component .header button.note-editor-close,
3418 .sidebar-component .header button.keepRight-editor-close,
3419 .entity-editor-pane .header button.preset-close,
3420 .preset-list-pane .header button.preset-choose {
3425 [dir='rtl'] .field-help-title button.close,
3426 [dir='rtl'] .sidebar-component .header button.data-editor-close,
3427 [dir='rtl'] .sidebar-component .header button.note-editor-close,
3428 [dir='rtl'] .sidebar-component .header button.keepRight-editor-close,
3429 [dir='rtl'] .entity-editor-pane .header button.preset-close,
3430 [dir='rtl'] .preset-list-pane .header button.preset-choose {
3435 .entity-editor-pane .header button.preset-choose {
3440 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
3458 [dir='rtl'] .modal > button {
3467 padding: 5px 20px 5px 20px;
3468 border-top: 1px solid #ccc;
3469 background-color: #f6f6f6;
3473 justify-content: space-between;
3479 justify-content: center;
3484 justify-content: space-between;
3487 .header-block-outer {
3491 .header-block-close {
3493 justify-content: flex-end;
3496 /* Hide/Toggle collapsable sections (aka Disclosure)
3497 ------------------------------------------------------- */
3498 .hide-toggle .icon.pre-text {
3499 vertical-align: text-top;
3504 [dir='rtl'] .hide-toggle .icon.pre-text {
3509 a:visited.hide-toggle,
3511 display: inline-block;
3514 padding-bottom: 5px;
3518 /* Sidebar / Inspector
3519 ------------------------------------------------------- */
3525 background: #f6f6f6;
3526 -ms-user-select: element;
3527 border: 0px solid #ccc;
3528 border-right-width: 1px;
3530 [dir='rtl'] #sidebar {
3532 border-right-width: 0px;
3533 border-left-width: 1px;
3544 [dir='rtl'] #sidebar-resizer {
3549 #sidebar.collapsed #sidebar-resizer {
3550 /* make target wider to avoid the user accidentally resizing window */
3554 [dir='rtl'] #sidebar.collapsed #sidebar-resizer {
3558 .sidebar-component {
3566 .sidebar-component .body {
3616 .feature-list-pane .inspector-body,
3617 .preset-list-pane .inspector-body {
3620 .entity-editor-pane .inspector-body,
3621 .selection-list-pane .inspector-body {
3626 padding: 20px 20px 5px 20px;
3630 #sidebar .search-header .icon {
3635 pointer-events: none;
3637 [dir='rtl'] #sidebar .search-header .icon {
3642 #sidebar .search-header input {
3650 border-bottom-width: 1px;
3657 /* Feature List / Search Results
3658 ------------------------------------------------------- */
3664 .feature-list-item {
3667 border-bottom: 1px solid #ccc;
3673 background-color: #ccc;
3679 [dir='rtl'] .geocode-item {
3683 .geocode-item:hover {
3684 background-color: #aaa;
3687 .feature-list-item {
3688 background-color: #fff;
3693 .feature-list-item:hover {
3694 background-color: #ececec;
3696 .feature-list-item button {
3697 background: transparent;
3699 .feature-list-item .label {
3702 white-space: nowrap;
3703 text-overflow: ellipsis;
3705 border-left: 1px solid rgba(0, 0, 0, .1);
3707 [dir='rtl'] .feature-list-item .label {
3711 .feature-list-item .label .icon {
3714 .feature-list-item .close {
3718 .feature-list-item .close .icon {
3721 .feature-list-item .entity-type {
3724 .feature-list-item:hover .entity-type {
3727 .feature-list-item .entity-name {
3728 font-weight: normal;
3732 [dir='rtl'] .feature-list-item .entity-name {
3734 padding-right: 10px;
3738 /* Preset List and Icons
3739 ------------------------------------------------------- */
3742 padding: 20px 20px 10px 20px;
3743 border-bottom: 1px solid #ccc;
3746 .preset-list-button-wrap {
3748 margin-bottom: 10px;
3752 .preset-list-button {
3756 border: 1px solid #ccc;
3759 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
3760 background: #ececec;
3763 .preset-icon-fill-area {
3773 .preset-icon-fill-vertex {
3780 border: 1.5px solid #333;
3781 border-radius: 20px;
3782 background-color: #efefef;
3783 backface-visibility: hidden;
3786 [dir='rtl'] .preset-icon-fill-vertex,
3787 [dir='rtl'] .preset-icon-fill-area {
3792 .preset-icon-frame {
3798 [dir='rtl'] .preset-icon-frame {
3803 .preset-icon-frame .icon {
3815 .preset-icon-60 .icon {
3827 .preset-icon-44 .icon {
3839 .preset-icon-28 .icon {
3851 .preset-icon-24 .icon {
3856 [dir='rtl'] .preset-list-button-wrap .preset-icon {
3861 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
3865 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
3869 .preset-list-button .label {
3871 flex-flow: row wrap;
3872 align-items: center;
3873 background-color: #f6f6f6;
3881 border-left: 1px solid rgba(0, 0, 0, .1);
3882 border-radius: 0 3px 3px 0;
3884 [dir='rtl'] .preset-list-button .label {
3889 border-right: 1px solid rgba(0, 0, 0, .1);
3890 border-radius: 3px 0 0 3px;
3893 .preset-list-button .label-inner {
3896 .preset-list-button .label-inner .namepart {
3898 white-space: nowrap;
3899 text-overflow: ellipsis;
3901 padding-right: 30px;
3903 [dir='rtl'] .preset-list-button .label-inner .namepart {
3908 .preset-list-button:hover .label,
3909 .preset-list-button:focus .label {
3910 background-color: #ececec;
3913 .preset-list-item button.tag-reference-button {
3915 border: 1px solid #ccc;
3916 border-radius: 0 3px 3px 0;
3921 background: #f6f6f6;
3923 [dir='rtl'] .preset-list-item button.tag-reference-button {
3926 border-radius: 3px 0 0 3px;
3929 .preset-list-item button.tag-reference-button:hover {
3930 background: #f1f1f1;
3932 .preset-list-item button.tag-reference-button .icon {
3936 img.tag-reference-wiki-image {
3939 width: -webkit-calc(33.3333% - 10px);
3940 width: calc(33.3333% - 10px);
3943 margin: 10px 5px 15px 20px;
3947 .current .preset-list-button,
3948 .current .preset-list-button .label {
3949 background-color: #e8ebff;
3952 .category .preset-list-button:after,
3953 .category .preset-list-button:before {
3957 left: -1px; right: -1px;
3958 border: 1px solid #ccc;
3959 border-bottom: none;
3960 border-radius: 6px 6px 0 0;
3964 .category .preset-list-button:before {
3968 .subgrid .preset-list {
3969 padding: 10px 10px 0 10px;
3973 width: -webkit-calc(100% + 20px);
3978 border: solid rgba(0, 0, 0, 0);
3980 border-bottom-color: #f1f1f1;
3984 margin-left: -webkit-calc(50% - 10px);
3990 ------------------------------------------------------- */
3993 flex-flow: row wrap;
3994 justify-content: flex-end;
4001 .data-editor .quick-links,
4002 .keepRight-editor .quick-links,
4003 .note-editor .quick-links {
4008 /* Entity/Preset Editor
4009 ------------------------------------------------------- */
4012 padding: 10px 0px 5px 0px;
4014 .preset-editor a.hide-toggle {
4015 margin: 0 20px 5px 20px;
4017 .preset-editor .form-fields-container {
4019 margin: 0 10px 10px 10px;
4022 .preset-editor .form-fields-container:empty {
4025 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
4030 The parts of a field:
4031 - `.form-field` is a `div` wraps the entire thing
4032 - `.form-field-label` is a `label` that wraps the top part, it contains;
4033 - `span` classed `label-text`
4034 - 0..n buttons for "remove", "modified", "tag reference"
4035 - `.form-field-input-wrap` is a `label` or `div` that wraps the bottom part, it contains;
4036 - usually an `input`
4037 - sometimes some buttons (translate, increment, decrement)
4038 - or could just be a `div` with anything really
4039 - `.tag-reference-body` at the bottom (usually hidden)
4041 .------------------. -
4042 | Name | i | <- .form-field-label |
4043 +------------------+ |
4044 | Starbucks | + | <- .form-field-input-wrap > .form-field
4045 '------------------' |
4046 tag reference <- .tag-reference-body |
4052 flex-flow: row wrap;
4053 margin-bottom: 10px;
4055 -webkit-transition: margin-bottom 200ms;
4056 -moz-transition: margin-bottom 200ms;
4057 -o-transition: margin-bottom 200ms;
4058 transition: margin-bottom 200ms;
4062 .wrap-form-field:last-child .form-field {
4066 /* A `label` element that wraps the top section */
4069 flex-flow: row nowrap;
4075 background: #f6f6f6;
4076 border: 1px solid #ccc;
4077 border-radius: 4px 4px 0 0;
4080 .form-field-label .label-text {
4082 padding: 5px 0 5px 10px;
4084 [dir='rtl'] .form-field-label .label-text {
4085 padding: 5px 10px 5px 0;
4088 .form-field-label button {
4090 border-left: 1px solid #ccc;
4094 background: #f6f6f6;
4096 [dir='rtl'] .form-field-label button {
4098 border-right: 1px solid #ccc;
4100 .form-field-label button:hover {
4101 background: #f1f1f1;
4103 .form-field-label .icon {
4107 .form-field-label .modified-icon,
4108 .form-field-label .remove-icon {
4111 .modified .form-field-label .modified-icon,
4112 .present .form-field-label .remove-icon {
4113 display: inline-block;
4116 /* A `div` element that wraps the bottom section */
4117 .form-field-input-wrap {
4119 flex-flow: row nowrap;
4123 border-radius: 0 0 4px 4px;
4125 .nowrap .form-field-input-wrap {
4130 .form-field-input-wrap > input,
4131 .form-field-input-wrap > label,
4132 .form-field-input-wrap > textarea,
4133 .form-field-input-wrap > ul.chiplist {
4136 border: 1px solid #ccc;
4142 .form-field-input-wrap > textarea {
4144 border-radius: 0 0 4px 4px;
4147 /* Buttons inside fields */
4148 .form-field-button {
4153 background-color: #fff;
4154 border: 1px solid #ccc;
4156 border-top-width: 0;
4157 border-left-width: 0;
4158 vertical-align: top;
4160 [dir='rtl'] .form-field-button {
4161 border-left-width: 1px;
4162 border-right-width: 0;
4164 .form-field-button:hover {
4165 background-color: #f1f1f1;
4167 .form-field-button .icon {
4173 /* round corners of first/last child elements */
4174 .form-field-input-wrap > button:last-of-type {
4175 border-bottom-right-radius: 4px;
4177 [dir='rtl'] .form-field-input-wrap > button:last-of-type {
4178 border-bottom-left-radius: 4px;
4182 /* Field - Access, Cycleway
4183 ------------------------------------------------------- */
4184 .form-field-input-access,
4185 .form-field-input-cycleway {
4188 flex-flow: row wrap;
4191 /* Field - lists with labeled input items
4192 ------------------------------------------------------- */
4193 .form-field ul.labeled-inputs {
4195 border: 1px solid #ccc;
4197 border-radius: 0 0 4px 4px;
4201 .form-field ul.labeled-inputs li {
4202 border-top: 1px solid #ccc;
4204 flex-flow: row nowrap;
4206 .form-field ul.labeled-inputs li:first-child {
4209 .form-field ul.labeled-inputs li > span,
4210 .form-field ul.labeled-inputs li > div {
4215 .form-field ul.labeled-inputs li input {
4219 .form-field ul.labeled-inputs li input,
4220 .form-field ul.labeled-inputs li button {
4222 border-left-width: 1px;
4224 [dir='rtl'] .form-field ul.labeled-inputs li input,
4225 [dir='rtl'] .form-field ul.labeled-inputs li button {
4226 border-left-width: 0;
4227 border-right-width: 1px;
4231 /* Field - Structure
4232 ------------------------------------------------------- */
4233 .structure-extras-wrap {
4237 border: 1px solid #ccc;
4239 border-radius: 0 0 4px 4px;
4241 .structure-extras-wrap > ul.labeled-inputs {
4242 border: 1px solid #ccc;
4247 /* Field - Combo / Multicombo
4248 ------------------------------------------------------- */
4249 .form-field-input-combo > input:only-of-type {
4250 border-radius: 0 0 4px 4px;
4252 .form-field-input-combo.empty-combobox input,
4253 .form-field-input-multicombo .empty-combobox input {
4254 padding-right: 10px;
4257 .form-field-input-combo.empty-combobox .combobox-caret,
4258 .form-field-input-multicombo .empty-combobox .combobox-caret {
4262 .form-field-input-multicombo ul.chiplist {
4263 padding: 5px 7px 5px 7px;
4266 border-radius: 0 0 4px 4px;
4269 .form-field-input-multicombo li.chips {
4270 background-color: #eff2f7;
4271 border: 1px solid #ccd5e3;
4273 padding: 2px 0px 2px 5px;
4275 .form-field-input-multicombo li {
4276 display: inline-flex;
4277 flex-flow: row nowrap;
4278 align-items: center;
4283 .form-field-input-multicombo a {
4284 font-family: Arial, Helvetica, sans-serif !important;
4285 font-size: 16px !important;
4288 padding: 0px 5px 0px 5px;
4294 .form-field-input-multicombo .input-wrap {
4295 border: 1px solid #ddd;
4299 .form-field-input-multicombo input {
4305 .form-field-input-multicombo input:focus {
4306 border-radius: 4px !important;
4309 .form-field-input-multicombo .full-line-chips li {
4312 .form-field-input-multicombo .full-line-chips li:not(:last-child) {
4315 .form-field-input-multicombo .full-line-chips .input-wrap {
4320 /* Field - Text / Numeric
4321 ------------------------------------------------------- */
4322 .form-field-input-text > input:only-of-type,
4323 .form-field-input-tel > input:only-of-type,
4324 .form-field-input-email > input:only-of-type,
4325 .form-field-input-url > input:only-of-type {
4326 border-radius: 0 0 4px 4px;
4328 .form-field-input-number > input:only-of-type {
4329 border-radius: 0 0 0 4px;
4331 [dir='rtl'] .form-field-input-number > input:only-of-type {
4332 border-radius: 0 0 4px 0;
4334 .form-field-input-number > button:last-of-type {
4335 border-radius: 0 0 4px 0;
4337 [dir='rtl'] .form-field-input-number > button:last-of-type {
4338 border-radius: 0 0 0 4px;
4341 /* draw the up/down on the buttons */
4342 .form-field-input-number button.decrement::after,
4343 .form-field-input-number button.increment::after {
4345 height: 0; width: 0;
4347 left: 0; right: 0; bottom: 0; top: 0;
4350 .form-field-input-number button.decrement::after {
4351 border-top: 5px solid #ccc;
4352 border-left: 5px solid transparent;
4353 border-right: 5px solid transparent;
4355 .form-field-input-number button.increment::after {
4356 border-bottom: 5px solid #ccc;
4357 border-left: 5px solid transparent;
4358 border-right: 5px solid transparent;
4363 ------------------------------------------------------- */
4364 .form-field-input-check {
4370 border: 1px solid #ccc;
4374 .form-field-input-check > input[type="checkbox"] {
4379 .form-field-input-check > span {
4382 .form-field-input-check > .reverser.button {
4384 background-color: #eff2f7;
4385 border: 1px solid #ccd5e3;
4389 .form-field-input-check > .reverser.button.hide {
4393 .form-field-input-check:hover {
4394 background: #f1f1f1;
4396 .form-field-input-check .set {
4399 .form-field-input-check label:not(.set) input[type="checkbox"] {
4404 /* Field - Radio button
4405 ------------------------------------------------------- */
4406 .form-field-input-radio {
4409 flex-flow: row wrap;
4411 .form-field-input-radio > label {
4414 flex-flow: row nowrap;
4418 background-color: #fff;
4422 .form-field-input-radio > label:last-child {
4423 border-radius: 0 0 4px 4px;
4425 .form-field-input-radio > label:hover {
4426 background-color: #ececec;
4428 .form-field-input-radio > label.active {
4429 background-color: #e8ebff;
4431 .form-field-input-radio > label:not(:last-of-type) {
4432 border-bottom: 1px solid #ccc;
4434 .form-field-input-radio > label > input[type="radio"] {
4438 .form-field-input-radio > label > span {
4441 white-space: nowrap;
4442 text-overflow: ellipsis;
4445 /* Hide placeholder for radio buttons if another is active, or not in hover state */
4446 .form-field-input-radio label.active ~ .placeholder,
4447 .form-field-input-radio .placeholder {
4458 ------------------------------------------------------- */
4459 .form-field-input-maxspeed > input:first-of-type {
4460 border-radius: 0 0 0 4px;
4462 [dir='rtl'] .form-field-input-maxspeed > input:first-of-type {
4463 border-radius: 0 0 4px 0;
4465 .form-field-input-maxspeed > input:last-of-type { /* unit field */
4469 border-radius: 0 0 4px 0;
4471 [dir='rtl'] .form-field-input-maxspeed > input:last-of-type {
4473 border-radius: 0 0 0 4px;
4477 /* Field - Localized Name
4478 ------------------------------------------------------- */
4479 .form-field-input-localized > input.localized-main {
4480 border-radius: 0 0 0 4px;
4482 [dir='rtl'] .form-field-input-localized > input.localized-main {
4483 border-radius: 0 0 4px 0;
4485 .form-field-input-localized > button.localized-add {
4486 border-radius: 0 0 4px 0;
4488 [dir='rtl'] .form-field-input-localized > button.localized-add {
4489 border-radius: 0 0 0 4px;
4492 .form-field-input-localized button.localized-add.disabled,
4493 .form-field-input-localized input.localized-main.disabled,
4494 .form-field-input-localized input.localized-lang.disabled,
4495 .form-field-input-localized input.localized-value.disabled {
4497 background-color: #eee;
4498 cursor: not-allowed;
4501 /* nested subfields for name in different languages */
4502 .localized-multilingual {
4506 .localized-multilingual .entry {
4511 /* draws a little line connecting the multilingual field up to the name field */
4512 .localized-multilingual .entry::before {
4525 .localized-multilingual .entry .localized-lang {
4527 border-top-width: 0;
4530 .localized-multilingual .entry .localized-value {
4531 border-top-width: 0;
4532 border-radius: 0 0 4px 4px;
4538 ------------------------------------------------------- */
4539 .form-field-input-address {
4542 flex-flow: row wrap;
4543 border: 1px solid #ccc;
4560 [dir='rtl'] .addr-row input {
4561 border-right: 1px solid #ccc;
4565 .addr-row:first-of-type input {
4568 .addr-row input:first-of-type {
4571 [dir='rtl'] .addr-row input:first-of-type {
4574 .addr-row:last-of-type input:first-of-type {
4575 border-radius: 0 0 0 4px;
4577 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
4578 border-radius: 0 0 4px 0;
4580 .addr-row:last-of-type input:last-of-type {
4581 border-radius: 0 0 4px 0;
4583 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
4584 border-radius: 0 0 0 4px;
4588 /* Field - Wikipedia
4589 ------------------------------------------------------- */
4590 .form-field-input-wikipedia {
4592 flex-flow: row wrap;
4596 .wiki-lang-container,
4597 .wiki-title-container {
4599 flex-flow: row nowrap;
4604 .wiki-lang-container > input.wiki-lang,
4605 .wiki-title-container > input.wiki-title {
4610 .wiki-title-container > input.wiki-title {
4611 border-radius: 0 0 0 4px;
4613 [dir='rtl'] .wiki-title-container > input.wiki-title {
4614 border-radius: 0 0 4px 0;
4616 .wiki-title-container > button.wiki-link {
4617 border-radius: 0 0 4px 0;
4619 [dir='rtl'] .wiki-title-container > button.wiki-link {
4620 border-radius: 0 0 0 4px;
4624 /* Field - Restriction Editor
4625 ------------------------------------------------------- */
4626 .form-field-input-restrictions {
4628 border: 1px solid #ccc;
4630 border-radius: 0 0 4px 4px;
4633 .form-field-input-restrictions .restriction-controls-container {
4634 background-color: #fff;
4637 border-top: 1px solid #ccc;
4638 border-radius: 0 0 4px 4px;
4641 .restriction-controls-container .restriction-controls {
4643 -moz-user-select: none;
4644 -webkit-user-select: none;
4645 -ms-user-select: none;
4649 .restriction-controls .restriction-control {
4655 .restriction-control input,
4656 .restriction-control span {
4657 display: table-cell;
4662 .restriction-control span.restriction-control-label {
4666 .restriction-control input {
4670 vertical-align: middle;
4673 .form-field-input-restrictions .restriction-container {
4677 /* zero width space, so container takes up space */
4678 .form-field-input-restrictions .restriction-container:after {
4682 .form-field-input-restrictions svg.surface {
4687 .restriction-container .restriction-help {
4694 background-color: rgba(255, 255, 255, .8);
4697 pointer-events: none;
4699 -moz-user-select: none;
4700 -webkit-user-select: none;
4701 -ms-user-select: none;
4705 .restriction-help span {
4709 .restriction-help .qualifier {
4713 .restriction-help .qualifier.allow {
4716 .restriction-help .qualifier.restrict {
4719 .restriction-help .qualifier.only {
4724 /* Field - Changeset Comment
4725 ------------------------------------------------------- */
4726 .form-field-comment:not(.present) #preset-input-comment {
4727 border-color: rgb(230, 100, 100);
4729 .form-field-comment:not(.present) .form-field-label {
4730 border-color: rgb(230, 100, 100);
4731 background: rgba(230, 100, 100, 0.2);
4733 .form-field-comment:not(.present) button {
4734 border-color: rgb(230, 100, 100);
4739 ------------------------------------------------------- */
4743 box-shadow: 0 4px 10px 1px rgba(0,0,0,.2);
4749 border: 1px solid #ccc;
4750 border-radius: 0 0 4px 4px;
4756 border-top: 1px solid #ccc;
4757 text-overflow: ellipsis;
4758 white-space: nowrap;
4762 .combobox a.selected,
4764 background: #ececec;
4767 .combobox a:first-child {
4773 display: inline-block;
4778 vertical-align: top;
4781 [dir='rtl'] .combobox-caret {
4783 margin-right: -30px;
4786 .combobox-caret::after {
4788 height: 0; width: 0;
4790 left: 0; right: 0; bottom: 0; top: 0;
4792 border-top: 5px solid #ccc;
4793 border-left: 5px solid transparent;
4794 border-right: 5px solid transparent;
4797 /* Remove the field's bottom border radius when combobox is open */
4798 /* For some reason this stops the combobox from overlapping the bottom of the field */
4799 .combobox + * textarea:focus,
4800 .combobox + * input:focus {
4801 border-bottom-left-radius: 0 !important;
4802 border-bottom-right-radius: 0 !important;
4807 ------------------------------------------------------- */
4816 border: 1px solid #ccc;
4818 border-radius: 0 0 4px 4px;
4820 background: rgba(255,255,255,0.95);
4821 box-shadow: 0 0 30px 5px rgba(0,0,0,.4);
4824 .field-help-title h2 {
4829 .field-help-title button {
4838 margin-bottom: 10px;
4840 .field-help-nav-item {
4841 display: inline-block;
4846 .field-help-nav-item.active {
4848 border-bottom: 2px solid;
4850 .field-help-nav-item:hover {
4852 background-color: #efefef;
4855 .field-help-content {
4860 .field-help-content h3 {
4864 .field-help-content p {
4865 margin-bottom: 15px;
4867 .field-help-content ul li {
4872 .field-help-content .field-help-image {
4874 margin-bottom: 15px;
4877 .field-help-content svg.turn {
4881 .field-help-content svg.shadow {
4886 .field-help-content svg.from {
4889 .field-help-content svg.allow {
4892 .field-help-content svg.restrict {
4895 .field-help-content svg.only {
4899 .field-help-content p.from_shadow,
4900 .field-help-content p.allow_shadow,
4901 .field-help-content p.restrict_shadow,
4902 .field-help-content p.allow_turn,
4903 .field-help-content p.restrict_turn {
4908 /* More Fields dropdown
4909 ------------------------------------------------------- */
4911 padding: 0 20px 20px 20px;
4914 .changeset-editor .more-fields {
4915 padding: 15px 20px 0 20px;
4918 .more-fields label {
4920 flex-flow: row nowrap;
4921 justify-content: space-between;
4922 align-items: center;
4925 .more-fields input {
4929 [dir='rtl'] .more-fields input {
4934 .form-field-input-wrap .label {
4936 background: #f6f6f6;
4942 ------------------------------------------------------- */
4950 .tag-row .inner-wrap {
4952 flex-flow: row nowrap;
4957 .tag-row .value-wrap {
4962 .tag-row.readonly input.key,
4963 .tag-row.readonly input.value,
4964 .tag-row.readonly button.remove {
4966 background-color: #eee;
4967 cursor: not-allowed;
4974 border-bottom: 1px solid #ccc;
4975 border-left: 1px solid #ccc;
4978 [dir='rtl'] .tag-row input {
4980 border-right: 1px solid #ccc;
4984 .tag-row input.key {
4986 background-color: #f6f6f6;
4989 .tag-row input.value {
4990 border-right: 1px solid #ccc;
4992 [dir='rtl'] .tag-row input.value {
4993 border-left: 1px solid #ccc;
4996 .tag-row:first-child input.key {
4997 border-top: 1px solid #ccc;
4998 border-top-left-radius: 4px;
5000 [dir='rtl'] .tag-row:first-child input.key {
5001 border-top-left-radius: 0;
5002 border-top-right-radius: 4px;
5005 .tag-row:first-child input.value {
5006 border-top: 1px solid #ccc;
5012 border: 1px solid #ccc;
5013 border-top-width: 0;
5014 border-left-width: 0;
5016 [dir='rtl'] .tag-row button {
5017 border-left-width: 1px;
5018 border-right-width: 0;
5021 .tag-row button:hover {
5022 background: #f1f1f1;
5024 .tag-row button .icon {
5027 .tag-row:first-child button {
5028 border-top-width: 1px;
5031 .tag-row:first-child .tag-reference-button {
5032 border-top-right-radius: 4px;
5034 [dir='rtl'] .tag-row:first-child .tag-reference-button {
5035 border-top-left-radius: 4px;
5036 border-top-right-radius: 0;
5039 .tag-row:last-child .tag-reference-button {
5040 border-bottom-right-radius: 4px;
5042 [dir='rtl'] .tag-row:last-child .tag-reference-button {
5043 border-bottom-left-radius: 4px;
5044 border-bottom-right-radius: 0;
5047 .tag-row .tag-reference-button {
5050 [dir='rtl'] .tag-row .tag-reference-button {
5051 border-left-width: 1px;
5052 border-right-width: 0;
5056 .tag-reference-loading {
5057 background-color: #f5f5f5;
5059 .tag-reference-loading .icon {
5060 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
5061 background-position: 0 0;
5064 .tag-reference-body {
5069 .tag-reference-body .tag-reference-description {
5070 margin: 10px 5px 0 5px;
5072 .tag-reference-body a {
5075 .tag-reference-body .tag-reference-description:last-child,
5076 .tag-reference-body a:last-child {
5077 margin-bottom: 15px;
5080 .preset-list .tag-reference-body {
5084 .raw-tag-editor .tag-reference-body {
5087 .raw-tag-editor .tag-row.readonly .tag-reference-body {
5088 background: #f6f6f6;
5091 .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body.expanded {
5092 border-bottom: 1px solid #ccc;
5094 .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
5095 border-top: 1px solid #ccc;
5099 /* Raw Member / Membership Editor
5100 ------------------------------------------------------- */
5101 .raw-member-editor .member-list li:first-child,
5102 .raw-membership-editor .member-list li:first-child {
5105 .raw-member-editor .member-row .member-entity-name,
5106 .raw-membership-editor .member-row .member-entity-name {
5107 font-weight: normal;
5111 [dir='rtl'] .raw-member-editor .member-row .member-entity-name,
5112 [dir='rtl'] .raw-membership-editor .member-row .member-entity-name {
5114 padding-right: 10px;
5117 .form-field-input-member > input.member-role {
5118 border-radius: 0 0 0 4px;
5120 [dir='rtl'] .form-field-input-member > input.member-role {
5121 border-radius: 0 0 4px 0;
5124 .member-incomplete .form-field-input-member > input.member-role,
5125 [dir='rtl'] .member-incomplete .form-field-input-member > input.member-role {
5126 border-radius: 0 0 4px 4px;
5129 .member-incomplete .member-delete {
5133 .member-row-new .member-entity-input {
5135 border-radius: 4px 4px 0 0;
5139 /* preserve extra space at bottom of inspector to allow for dropdown options - #5280 */
5140 .raw-membership-editor.inspector-inner {
5141 margin-bottom: 150px;
5144 /* hidden field to prevent user from tabbing out of the sidebar */
5149 border: 1px solid rgba(0,0,0,0);
5153 /* add tag, add relation buttons */
5157 flex-flow: row nowrap;
5160 .add-row .add-relation,
5161 .add-row .space-value {
5164 .add-row .space-buttons {
5169 background: rgba(0,0,0,.5);
5171 .add-row button:focus,
5172 .add-row button:hover {
5173 background: rgba(0,0,0,.8);
5177 border-radius: 0 0 4px 4px;
5185 /* Inspector (hover styles)
5186 ------------------------------------------------------- */
5187 .inspector-hover .form-field-input-wrap .label,
5188 .inspector-hover .form-field-input-multicombo .chiplist,
5189 .inspector-hover .form-field-button,
5190 .inspector-hover .structure-extras-wrap,
5191 .inspector-hover .comments-container .comment,
5192 .inspector-hover button,
5193 .inspector-hover input,
5194 .inspector-hover textarea,
5195 .inspector-hover label {
5196 background: #ececec;
5198 .inspector-hover .preset-list-button,
5199 .inspector-hover .tag-row input {
5200 background: #f6f6f6;
5204 .inspector-hover .form-field-input-multicombo .chips,
5205 .inspector-hover .form-field-input-check span {
5209 .inspector-hover .form-field-input-multicombo .chips {
5211 border: 1px solid #ccc;
5215 .inspector-hover div {
5220 /* hide and remove from layout */
5222 .inspector-hover .preset-list-button-wrap .tag-reference-button,
5223 .inspector-hover label input[type="checkbox"],
5224 .inspector-hover label input[type="radio"],
5225 .inspector-hover .form-field-input-multicombo .input-wrap,
5226 .inspector-hover .form-field-input-radio label,
5227 .inspector-hover .form-field-input-radio label span,
5228 .inspector-hover .form-field-input-radio label.remove .icon,
5229 .inspector-hover .inspector-inner .add-row {
5233 /* hide but preserve in layout */
5234 .inspector-hover .combobox-caret,
5235 .inspector-hover .header button,
5236 .inspector-hover .quick-links,
5237 .inspector-hover .form-field-input-multicombo .chips .remove,
5238 .inspector-hover .hide-toggle:before,
5239 .inspector-hover .more-fields,
5240 .inspector-hover .form-field-label button,
5241 .inspector-hover .tag-row button,
5242 .inspector-hover .footer * {
5246 /* Styles for raw tag inspector on hover */
5247 .inspector-hover .tag-row .key-wrap,
5248 .inspector-hover .tag-row .value-wrap {
5252 .inspector-hover .tag-row:first-child input.value {
5253 border-top-right-radius: 4px;
5255 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
5256 border-top-right-radius: 0;
5257 border-top-left-radius: 4px;
5260 .inspector-hover .tag-row:last-child input.value {
5261 border-bottom-right-radius: 4px;
5263 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
5264 border-bottom-right-radius: 0;
5265 border-bottom-left-radius: 4px;
5268 .inspector-hover .tag-row:last-child input.key {
5269 border-bottom-left-radius: 4px;
5271 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
5272 border-bottom-left-radius: 0;
5273 border-bottom-right-radius: 4px;
5276 .inspector-hover .more-fields {
5278 margin-bottom: -10px;
5281 /* Unstyle button fields */
5282 .inspector-hover .form-field-input-radio label.active,
5283 .inspector-hover .entity-editor-pane a.hide-toggle {
5285 background-color: transparent;
5290 .inspector-hover .form-field-input-radio button.active {
5294 /* Show placeholder on hover for radio buttons */
5295 .inspector-hover .form-field-input-radio {
5296 border: 1px solid #ccc;
5298 border-radius: 0 0 4px 4px;
5300 .inspector-hover .form-field-input-radio .placeholder {
5308 .inspector-hover .form-field-input-radio .structure-extras-wrap {
5313 /* OSM Note / KeepRight Editors
5314 ------------------------------------------------------- */
5317 background-color: #f6f6f6;
5319 border: 1px solid #ccc;
5321 flex-flow: row nowrap;
5322 align-items: center;
5326 .kr_error-header-icon {
5327 background-color: #fff;
5333 border-right: 1px solid #ccc;
5334 border-radius: 5px 0 0 5px;
5336 [dir='rtl'] .note-header-icon,
5337 [dir='rtl'] .kr_error-header-icon {
5338 border-right: unset;
5339 border-left: 1px solid #ccc;
5340 border-radius: 0 5px 5px 0;
5343 .note-header-icon .icon-wrap,
5344 .kr_error-header-icon .icon-wrap {
5350 .kr_error-header-label {
5351 background-color: #f6f6f6;
5356 border-radius: 0 5px 5px 0;
5358 [dir='rtl'] .note-header-label,
5359 [dir='rtl'] .kr_error-header-label {
5360 border-radius: 5px 0 0 5px;
5367 .comments-container {
5368 background: #ececec;
5375 background-color: #fff;
5377 border: 1px solid #ccc;
5380 flex-flow: row nowrap;
5386 .comment-avatar .icon.comment-avatar-icon {
5390 border: 1px solid #ccc;
5391 border-radius: 20px;
5394 padding: 10px 10px 10px 0;
5396 flex-flow: column nowrap;
5398 overflow-wrap: break-word;
5400 [dir='rtl'] .comment-main {
5401 padding: 10px 0 10px 10px;
5405 flex-flow: row nowrap;
5406 justify-content: space-between;
5421 .comment-text::-webkit-scrollbar {
5430 .kr_error-comment-container {
5434 .keepRight-save .new-comment-input,
5435 .note-save .new-comment-input {
5442 .keepRight-save .detail-section,
5443 .note-save .detail-section {
5451 .kr_error-details-container {
5452 background: #ececec;
5456 border: 1px solid #ccc;
5459 .kr_error-details-description {
5460 margin-bottom: 10px;
5462 .kr_error-details-description-text::first-letter {
5463 text-transform: capitalize;
5467 /* Custom Data Editor
5468 ------------------------------------------------------- */
5470 background-color: #f6f6f6;
5472 border: 1px solid #ccc;
5474 flex-flow: row nowrap;
5475 align-items: center;
5479 background-color: #fff;
5485 border-right: 1px solid #ccc;
5486 border-radius: 5px 0 0 5px;
5488 [dir='rtl'] .data-header-icon {
5489 border-right: unset;
5490 border-left: 1px solid #ccc;
5491 border-radius: 0 5px 5px 0;
5494 .data-header-icon .icon-wrap {
5499 .data-header-label {
5500 background-color: #f6f6f6;
5505 border-radius: 0 5px 5px 0;
5507 [dir='rtl'] .data-header-label {
5508 border-radius: 5px 0 0 5px;
5511 /* tag editor - no buttons */
5512 .data-editor.raw-tag-editor button {
5515 .data-editor.raw-tag-editor .tag-row .key-wrap,
5516 .data-editor.raw-tag-editor .tag-row .value-wrap {
5522 ------------------------------------------------------- */
5530 [dir='rtl'] .map-controls {
5535 .map-control > button {
5537 background: rgba(0,0,0,.5);
5541 .map-control > button:hover {
5542 background: rgba(0, 0, 0, .8);
5545 .map-control > button.active,
5546 .map-control > button.active:hover {
5547 background: #7092ff;
5551 /* Fullscreen Button (disabled)
5552 ------------------------------------------------------- */
5554 display: inline-block;
5560 div.full-screen .tooltip {
5564 div.full-screen > button, div.full-screen > button.active {
5567 background: transparent;
5570 div.full-screen > button:hover {
5571 background-color: rgba(0, 0, 0, .8);
5576 ------------------------------------------------------- */
5577 .zoombuttons > button.zoom-in {
5578 border-radius: 4px 0 0 0;
5580 [dir='rtl'] .zoombuttons > button.zoom-in {
5581 border-radius: 0 4px 0 0;
5586 ------------------------------------------------------- */
5587 .geolocate-control {
5588 margin-bottom: 10px;
5590 .geolocate-control > button {
5591 border-radius: 0 0 0 4px;
5593 [dir='rtl'] .geolocate-control > button {
5594 border-radius: 0 0 4px 0;
5598 /* Background / Map Data / Help Pane buttons
5599 ------------------------------------------------------- */
5600 .help-control > button {
5601 border-radius: 0 0 0 4px;
5603 [dir='rtl'] .help-control > button {
5604 border-radius: 0 0 4px 0;
5607 .map-data-control button {
5611 .background-control > button {
5612 border-radius: 4px 0 0 0;
5614 [dir='rtl'] .background-control > button {
5615 border-radius: 0 4px 0 0;
5619 /* Background / Map Data Settings
5620 ------------------------------------------------------- */
5622 .background-control {
5627 margin-bottom: 10px;
5628 white-space: nowrap;
5631 .layer-list, .controls-list {
5632 margin-bottom: 10px;
5633 border: 1px solid #ccc;
5640 background-color: #fff;
5648 .layer-list > li:first-child {
5649 border-radius: 3px 3px 0 0;
5651 .layer-list > li:last-child {
5652 border-radius: 0 0 3px 3px;
5654 .layer-list > li:only-child {
5657 .layer-list li:not(:last-child) {
5658 border-bottom: 1px solid #ccc;
5660 .layer-list li:hover {
5661 background-color: #ececec;
5664 .layer-list li.active button,
5665 .layer-list li.switch button,
5666 .layer-list li.active,
5667 .layer-list li.switch {
5668 background: #e8ebff;
5671 .layer-list li.best > div.best {
5672 display: inline-block;
5677 [dir='rtl'] .list-item-data-browse svg {
5678 transform: rotateY(180deg);
5681 /* make sure tooltip fits in map-control panel */
5682 /* if too wide, placement will be wrong the first time it displays */
5683 .layer-list li.best .tooltip-inner {
5693 .layer-list label > span {
5696 white-space: nowrap;
5697 text-overflow: ellipsis;
5700 .map-data-control .layer-list button,
5701 .background-control .layer-list button {
5705 border-left: 1px solid #ccc;
5708 [dir='rtl'] .map-data-control .layer-list button,
5709 [dir='rtl'] .background-control .layer-list button {
5712 border-right: 1px solid #ccc;
5715 .map-data-control .layer-list button .icon,
5716 .background-control .layer-list button .icon {
5720 .map-data-control .layer-list button:first-of-type,
5721 .background-control .layer-list button:first-of-type {
5722 border-radius: 0 3px 3px 0;
5724 [dir='rtl'] .map-data-control .layer-list button:first-of-type,
5725 [dir='rtl'] .background-control .layer-list button:first-of-type {
5726 border-radius: 3px 0 0 3px;
5729 .map-data-control .vectortile-container .vectortile-header {
5730 padding-bottom: 5px;
5732 .map-data-control .vectortile-container .vectortile-footer {
5733 padding-bottom: 10px;
5737 /* Background - Display Options Sliders
5738 ------------------------------------------------------- */
5739 .display-options-container {
5743 .display-control h5 {
5748 .display-control h5 span {
5752 .display-control .display-option-input {
5757 .display-control button {
5762 vertical-align: text-bottom;
5765 [dir='rtl'] .display-control button {
5771 /* Background - Adjust Alignment
5772 ------------------------------------------------------- */
5773 .background-control .nudge-container {
5774 border: 1px solid #ccc;
5779 .nudge-container .nudge-instructions {
5780 padding-bottom: 15px;
5783 .nudge-container .nudge-outer-rect {
5784 background-color: #eee;
5785 border: 1px solid #ccc;
5790 justify-content: center;
5791 align-items: center;
5797 .nudge-container .nudge-inner-rect {
5798 background-color: #fff;
5799 border: 1px solid #ccc;
5805 .nudge-container .nudge::after {
5810 left: 0; right: 0; top: 0; bottom: 0;
5815 .nudge-container input {
5822 .nudge-container input.error {
5823 border: 1px solid #ff7878;
5828 .nudge-container input:focus {
5829 background-color: transparent;
5832 .nudge-container button {
5837 background-color: transparent;
5840 .nudge-container button.right {
5845 .nudge-container button.left {
5850 .nudge-container button.top {
5855 .nudge-container button.bottom {
5859 .nudge-container button.nudge-reset {
5870 background-color: transparent;
5874 .background-control .nudge.right::after {
5875 border-top: 5px solid transparent;
5876 border-bottom: 5px solid transparent;
5877 border-left: 5px solid #222;
5880 .background-control .nudge.left::after {
5881 border-top: 5px solid transparent;
5882 border-bottom: 5px solid transparent;
5883 border-right: 5px solid #222;
5886 .background-control .nudge.top::after {
5887 border-right: 5px solid transparent;
5888 border-left: 5px solid transparent;
5889 border-bottom: 5px solid #222;
5892 .background-control .nudge.bottom::after {
5893 border-right: 5px solid transparent;
5894 border-left: 5px solid transparent;
5895 border-top: 5px solid #222;
5899 /* Side Panes - Background / Map Data / Help
5900 ------------------------------------------------------- */
5908 padding-bottom: 50px;
5912 [dir='rtl'] .map-pane {
5914 right: auto !important;
5917 .map-pane.help-wrap {
5924 flex-flow: row nowrap;
5925 justify-content: space-between;
5926 border-bottom: 1px solid #ccc;
5933 .pane-heading button {
5941 padding: 10px 50px 20px 20px;
5945 [dir='rtl'] .pane-content {
5946 padding: 10px 20px 20px 50px;
5949 .pane-content > div {
5950 padding-bottom: 15px;
5955 ------------------------------------------------------- */
5958 margin-bottom: 20px;
5961 .help-wrap .left-content .body p code {
5965 vertical-align: baseline;
5966 background-color: #f6f6f6;
5967 border: solid 1px #ccc;
5969 border-bottom-color: #bbb;
5971 box-shadow: inset 0 -1px 0 #bbb;
5974 .help-wrap .left-content .icon.pre-text {
5975 vertical-align: text-top;
5978 display: inline-block;
5985 margin-bottom: 20px;
5989 .help-wrap .toc li a,
5992 border: 1px solid #ccc;
5996 .help-wrap .toc li a {
6000 .help-wrap .toc li a:hover,
6001 .help-wrap .nav a:hover {
6002 background: #ececec;
6005 .help-wrap .toc li a.selected {
6006 background: #e8ebff;
6009 .help-wrap .toc li:first-child a {
6010 border-radius: 4px 4px 0 0;
6013 .help-wrap .toc li:nth-last-child(3) a {
6014 border-bottom: 1px solid #ccc;
6015 border-radius: 0 0 4px 4px
6018 .help-wrap .toc li.shortcuts a,
6019 .help-wrap .toc li.walkthrough a {
6022 border-bottom: 1px solid #ccc;
6026 .help-wrap .toc li.walkthrough a {
6032 padding-bottom: 30px;
6041 .help-wrap .nav a:first-child {
6042 border-radius: 4px 0 0 4px;
6045 .help-wrap .nav a:last-child:not(:only-child) {
6046 border-radius: 0 4px 4px 0;
6050 .help-wrap .nav a:only-child {
6056 /* Raster Background Tiles
6057 ------------------------------------------------------- */
6060 transform-origin: 0 0;
6061 -ms-transform-origin: 0 0;
6062 -webkit-transform-origin: 0 0;
6063 -moz-transform-origin: 0 0;
6064 -o-transform-origin: 0 0;
6066 -moz-user-select: none;
6067 -webkit-user-select: none;
6068 -ms-user-select: none;
6073 -webkit-transition: opacity 200ms linear;
6074 -moz-transition: opacity 200ms linear;
6075 transition: opacity 200ms linear;
6088 background: rgba(0, 0, 0, 0.7);
6098 transform-origin: 0 0;
6099 -ms-transform-origin: 0 0;
6100 -webkit-transform-origin: 0 0;
6101 -moz-transform-origin: 0 0;
6102 -o-transform-origin: 0 0;
6104 -moz-user-select: none;
6105 -webkit-user-select: none;
6106 -ms-user-select: none;
6111 outline: 1px solid red;
6116 ------------------------------------------------------- */
6122 -moz-user-select: none;
6123 -webkit-user-select: none;
6124 -ms-user-select: none;
6129 transform-origin: 0 0;
6130 -ms-transform-origin: 0 0;
6131 -webkit-transform-origin: 0 0;
6132 -moz-transform-origin: 0 0;
6133 -o-transform-origin: 0 0;
6136 #supersurface, .layer {
6146 ------------------------------------------------------- */
6155 border: #aaa 1px solid;
6156 box-shadow: 0 0 2em black;
6160 transform-origin: 0 0;
6161 -ms-transform-origin: 0 0;
6162 -webkit-transform-origin: 0 0;
6163 -moz-transform-origin: 0 0;
6164 -o-transform-origin: 0 0;
6166 -moz-user-select: none;
6167 -webkit-user-select: none;
6168 -ms-user-select: none;
6172 .map-in-map-viewport,
6181 .map-in-map-viewport {
6192 stroke: rgba(255, 255, 0, 0.75);
6194 shape-rendering: crispEdges;
6197 .map-in-map-bbox.thick {
6203 ------------------------------------------------------- */
6205 stroke: currentColor;
6209 .map-in-map-data .debug {
6213 .nocolor { color: rgba(0, 0, 0, 0); }
6214 .red { color: rgba(255, 0, 0, 0.75); }
6215 .green { color: rgba(0, 255, 0, 0.75); }
6216 .blue { color: rgba(176, 176, 255, 0.75); }
6217 .yellow { color: rgba(255, 255, 0, 0.75); }
6218 .cyan { color: rgba(0, 255, 255, 0.75); }
6219 .magenta { color: rgba(255, 0, 255, 0.75); }
6220 .orange { color: rgba(255, 153, 0, 0.75); }
6221 .pink { color: rgba(255, 0, 153, 0.75); }
6222 .purple { color: rgba(153, 0, 255, 0.75); }
6230 pointer-events: none;
6233 .debug-legend-item {
6236 .debug-legend-item:before {
6242 /* Information Panels
6243 ------------------------------------------------------- */
6246 flex-flow: row-reverse wrap-reverse;
6251 -ms-user-select: element;
6259 display: inline-block;
6271 margin: 2px 0 0 2px;
6273 border: 1px solid rgba(0, 0, 0, 0.75);
6274 padding-bottom: 10px;
6278 .panel-container .panel-title {
6279 border-radius: 4px 4px 0 0;
6286 .panel-title button.close {
6292 [dir='rtl'] .panel-title button.close {
6296 .panel-title button.close:hover {
6299 .panel-title button.close .icon {
6309 .panel-content li span {
6310 display: inline-block;
6311 white-space: nowrap;
6315 .panel-content .button {
6316 display: inline-block;
6317 background: #7092ff;
6324 [dir='rtl'] .panel-content .button {
6329 .panel-content-history .links a {
6332 [dir='rtl'] .panel-content-history .links a {
6337 .panel-content-history .view-history-on-osm {
6342 .panel-content-location .location-info {
6347 /* About Section, Attribution, Footer
6348 ------------------------------------------------------- */
6355 pointer-events: none;
6357 flex-direction: column;
6358 -ms-user-select: element;
6367 #attrib * { pointer-events: all; }
6369 .base-layer-attribution,
6370 .overlay-layer-attribution {
6376 .base-layer-attribution {
6380 .overlay-layer-attribution {
6384 .overlay-layer-attribution .attribution:not(:last-child):after {
6389 .attribution a:visited {
6393 .attribution a:hover {
6397 .attribution .source-image {
6399 vertical-align: middle;
6408 pointer-events: all;
6414 /* Footer - Flash messages
6415 ------------------------------------------------------- */
6419 flex-flow: row nowrap;
6420 justify-content: space-between;
6430 flex-flow: row nowrap;
6431 align-items: center;
6443 .flash-icon circle {
6446 .flash-icon.disabled circle {
6448 fill: rgba(255,255,255,0.7);
6454 .flash-icon.disabled use {
6455 color: rgba(32,32,32,0.7);
6458 .flash-icon.operation use {
6462 .flash-icon.operation.disabled use {
6463 fill: rgba(32,32,32,0.7);
6464 color: rgba(40,40,40,0.7);
6474 flex-flow: row nowrap;
6475 justify-content: space-between;
6484 transition: bottom 75ms linear;
6485 -moz-transition: bottom 75ms linear;
6486 -webkit-transition: bottom 75ms linear;
6491 transition: bottom 75ms linear;
6492 -moz-transition: bottom 75ms linear;
6493 -webkit-transition: bottom 75ms linear;
6497 /* Footer - Scale bar, About, Source Switcher
6498 ------------------------------------------------------- */
6500 vertical-align: bottom;
6504 -moz-user-select: none;
6505 -webkit-user-select: none;
6506 -ms-user-select: none;
6519 [dir='rtl'] #scale {
6520 transform: scaleX(-1);
6528 font: 12px sans-serif;
6533 [dir='rtl'] #scale text {
6534 transform: scaleX(-1);
6541 shape-rendering: crispEdges;
6550 [dir='rtl'] #about-list {
6559 border-left: 1px solid rgba(255,255,255,.5);
6560 padding: 5px 0 5px 5px;
6563 [dir='rtl'] #about-list li {
6566 border-right: 1px solid rgba(255,255,255,.5);
6569 padding: 5px 5px 5px 0;
6572 #about-list li:last-child {
6577 [dir='rtl'] #about-list li:last-child {
6582 padding: 2px 4px 4px 4px;
6585 .source-switch a.live {
6586 background: #d32232;
6590 .feature-warning a {
6591 background: #1e90ff;
6592 padding: 2px 4px 4px 4px;
6597 .user-list a:not(:last-child):after {
6607 [dir='rtl'] .api-status {
6611 .api-status.offline,
6612 .api-status.readonly,
6620 .api-status-login:hover {
6624 /* Notification Badges
6625 ------------------------------------------------------- */
6626 /* For an icon (e.g. new version) */
6628 display: inline-block;
6629 background: #d32232;
6632 border-radius: 11px;
6635 [dir='rtl'] .badge {
6642 [dir='rtl'] .badge a {
6647 vertical-align: baseline;
6653 /* For text (e.g. upcoming events) */
6655 display: inline-block;
6666 [dir='rtl'] .badge-text {
6673 ------------------------------------------------------- */
6676 display: inline-block;
6687 margin-bottom: 10px;
6689 .modal .description {
6704 background: rgba(0,0,0,0.5);
6706 left: 0px; right: 0px; top: 0px; bottom: 0px;
6711 border-bottom: 1px solid #ccc;
6713 .modal-section.header h3 {
6716 .modal-section.buttons {
6720 .modal-section.buttons button {
6724 .modal-section.buttons .action {
6725 display: inline-block;
6728 vertical-align: middle;
6731 .save-section .buttons {
6734 justify-content: space-around;
6735 margin-bottom: 30px;
6738 .save-section .buttons .action,
6739 .save-section .buttons .secondary-action {
6743 vertical-align: middle;
6750 .modal-actions button {
6751 font-weight: normal;
6753 border-bottom: 1px solid #ccc;
6757 display: inline-block;
6759 .modal-actions button:hover {
6760 background-color: #ececec;
6776 .modal-actions > :first-child {
6777 border-right: 1px solid #ccc;
6780 .modal-section:last-child {
6785 ------------------------------------------------------- */
6786 .modal-actions .logo-restore {
6789 .modal-actions .logo-reset {
6793 /* Success Screen / Community Index
6794 ------------------------------------------------------- */
6795 .save-success.body {
6800 .save-success .link-out {
6802 white-space: nowrap;
6806 .save-communityLinks {
6807 padding: 0px 20px 15px 20px;
6810 .save-communityLinks {
6811 border-top: 1px solid #ccc;
6814 .save-success table,
6825 vertical-align: top;
6827 .save-success td.cell-icon {
6830 .save-success td.cell-detail {
6833 .save-success td.community-detail {
6834 padding-bottom: 15px;
6837 .summary-view-on-osm,
6842 .community-languages {
6846 .community-languages:only-child {
6850 .community-detail a.hide-toggle,
6851 .community-detail a:visited.hide-toggle {
6853 font-weight: normal;
6856 .community-detail .hide-toggle svg.icon.pre-text {
6867 background-color: #efefef;
6873 .community-event-name {
6877 .community-event-when {
6881 .community-missing {
6888 ------------------------------------------------------- */
6889 .modal-actions .logo-walkthrough,
6890 .modal-actions .logo-features {
6896 ------------------------------------------------------- */
6902 .modal-shortcuts .modal-section:last-child {
6907 .modal-shortcuts .tabs-bar {
6909 padding-bottom: 5px;
6914 .modal-shortcuts .tab {
6915 display: inline-block;
6921 .modal-shortcuts .tab.active {
6923 border-bottom: 2px solid;
6925 .modal-shortcuts .tab:hover {
6927 background-color: #efefef;
6930 .modal-shortcuts .shortcut-tab {
6932 flex-flow: row wrap;
6935 .modal-shortcuts .shortcut-column {
6940 .modal-shortcuts .shortcut-tab-tools .shortcut-column {
6945 .modal-shortcuts td {
6946 padding-bottom: 5px;
6949 .modal-shortcuts .shortcut-section {
6950 padding: 20px 0 10px 0;
6953 .modal-shortcuts .shortcut-keys {
6958 [dir='rtl'] .modal-shortcuts .shortcut-keys {
6962 .modal-shortcuts .shortcut-keys kbd {
6963 display: inline-block;
6970 vertical-align: baseline;
6971 background-color: #fcfcfc;
6972 border: solid 1px #ccc;
6974 border-bottom-color: #bbb;
6976 box-shadow: inset 0 -1px 0 #bbb;
6979 svg.mouseclick use.left {
6980 fill: rgba(112, 146, 255, 1);
6981 color: rgba(112, 146, 255, 0);
6983 svg.mouseclick use.right {
6984 fill: rgba(112, 146, 255, 0);
6985 color: rgba(112, 146, 255, 1);
6988 .modal-shortcuts .shortcut-keys .gesture {
6995 ------------------------------------------------------- */
6996 .settings-modal textarea {
7001 .settings-custom-background .instructions-template {
7002 margin-bottom: 20px;
7005 .settings-custom-data .instructions-url {
7006 margin-bottom: 10px;
7008 .settings-custom-data .field-file,
7009 .settings-custom-data .instructions-template {
7010 margin-bottom: 20px;
7015 ------------------------------------------------------- */
7016 .mode-save a.user-info {
7017 display: inline-block;
7020 .mode-save .commit-form {
7024 .mode-save .user-info img {
7028 .mode-save h3 small.count {
7036 border-radius: 24px;
7038 background: #7092ff;
7042 .note-save .field-warning,
7043 .mode-save .field-warning {
7045 border: 1px solid #ccc;
7050 .note-save .field-warning:empty,
7051 .mode-save .field-warning:empty {
7055 .mode-save .field-warning,
7056 .mode-save .changeset-info,
7057 .mode-save .request-review,
7058 .mode-save .commit-info {
7059 margin-bottom: 10px;
7062 .mode-save .request-review label {
7066 .mode-save .changeset-list {
7067 border: 1px solid #ccc;
7070 margin-bottom: 10px;
7073 .mode-save .warning-section {
7077 .mode-save .error-section {
7078 background: #ffa5a5;
7081 .mode-save .warning-section .changeset-list button {
7082 border-left: 1px solid #ccc;
7085 .mode-save .changeset-list li {
7087 border-top: 1px solid #ccc;
7092 .mode-save .changeset-list li:hover {
7093 background-color: #ececec;
7096 .mode-save .changeset-list .alert {
7100 .changeset-list li span.count {
7105 .mode-save .commit-section .changeset-list button {
7106 border-left: 1px solid #ccc;
7109 .changeset-list li span.count:before { content: '('; }
7111 .changeset-list li span.count:after { content: ')'; }
7113 .changeset-list li:first-child { border-top: 0;}
7116 /* Conflict resolution
7117 ------------------------------------------------------- */
7120 background-color: #ffffbb;
7121 border-bottom: 1px solid #ccc;
7124 .conflicts-buttons {
7128 .mode-save button.conflicts-button {
7132 .conflict-container {
7133 border-bottom: 1px solid #ccc;
7136 .conflict-description {
7142 padding: 20px 20px 0 20px;
7145 .conflict-detail-container {
7157 .conflict-nav-buttons {
7158 padding: 10px 0 20px 0;
7161 .conflict-nav-button {
7166 /* Notices (Zoom in to Edit)
7167 ------------------------------------------------------- */
7184 .notice .zoom-to:hover {
7185 background: rgba(0,0,0,0.6);
7188 .notice .zoom-to .icon {
7191 vertical-align: middle;
7194 [dir='rtl'] .notice .zoom-to .icon {
7201 ------------------------------------------------------- */
7207 white-space: initial;
7233 display: inline-block;
7238 font-weight: normal;
7239 background-color: #fff;
7245 pointer-events: none;
7249 background: transparent;
7256 border-color: transparent;
7257 border-style: solid;
7261 border-left-color: #fff;
7262 border-width: 5px 0 5px 5px;
7281 border-color: transparent;
7282 border-style: solid;
7286 border-right-color: #fff;
7287 border-width: 5px 5px 5px 0;
7294 border-color: transparent;
7295 border-style: solid;
7297 .tooltip.top .tooltip-arrow {
7301 border-top-color: #fff;
7302 border-width: 5px 5px 0;
7304 .tooltip.right .tooltip-arrow {
7308 border-right-color: #fff;
7309 border-width: 5px 5px 5px 0;
7311 .tooltip.left .tooltip-arrow {
7315 border-left-color: #fff;
7316 border-width: 5px 0 5px 5px;
7318 .tooltip.bottom .tooltip-arrow {
7322 border-bottom-color: #fff;
7323 border-width: 0 5px 5px;
7328 background: #f6f6f6;
7330 margin: -10px -10px 10px -10px;
7331 border-radius: 3px 3px 0 0;
7336 background: #f6f6f6;
7338 margin: 10px -10px -10px -10px;
7339 border-radius: 0 0 3px 3px;
7341 .tooltip-inner .keyhint {
7346 [dir='rtl'] .tooltip-inner .keyhint {
7351 /* dark tooltips for sidebar / panels */
7352 .map-pane .tooltip.top .tooltip-arrow,
7353 #sidebar .tooltip.top .tooltip-arrow {
7354 border-top-color: #000;
7356 .map-pane .tooltip.bottom .tooltip-arrow,
7357 #sidebar .tooltip.bottom .tooltip-arrow {
7358 border-bottom-color: #000;
7360 .map-pane .tooltip.left .tooltip-arrow,
7361 #sidebar .tooltip.left .tooltip-arrow {
7362 border-left-color: #000;
7364 .map-pane .tooltip.right .tooltip-arrow,
7365 #sidebar .tooltip.right .tooltip-arrow {
7366 border-right-color: #000;
7368 .map-pane .tooltip-inner,
7369 .map-pane .tooltip-heading,
7370 .map-pane .keyhint-wrap,
7371 #sidebar .tooltip-inner,
7372 #sidebar .tooltip-heading,
7373 #sidebar .keyhint-wrap {
7378 /* Exceptions for tooltip layouts */
7380 /* commit warning tooltips need to be closer */
7381 .warning-section .tooltip.top {
7385 /* Uncramp map-control tooltips */
7386 .map-control .tooltip {
7389 .map-control .shortcuts .tooltip {
7393 /* Move over tooltips that are near the edge of screen */
7394 button.sidebar-toggle .tooltip .tooltip-arrow {
7397 [dir='rtl'] button.sidebar-toggle .tooltip .tooltip-arrow {
7402 li:first-of-type .badge .tooltip,
7403 li.hide + li.version .badge .tooltip {
7404 left: auto !important;
7405 right: 5px !important;
7407 [dir='rtl'] li:first-of-type .badge .tooltip,
7408 [dir='rtl'] li.hide + li.version .badge .tooltip {
7409 left: 5px !important;
7410 right: auto !important;
7412 li:first-of-type .badge .tooltip .tooltip-arrow,
7413 li.hide + li.version .badge .tooltip .tooltip-arrow {
7414 right: 15px !important;
7415 left: auto !important;
7417 [dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
7418 [dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
7419 left: 15px !important;
7420 right: auto !important;
7424 /* Contextual Radial Menu (deprecated)
7425 ------------------------------------------------------- */
7426 .radial-menu-tooltip {
7433 .radial-menu-background {
7436 stroke-opacity: 0.5;
7439 .radial-menu-item circle {
7443 .radial-menu-item circle:active,
7444 .radial-menu-item circle:hover {
7448 .radial-menu-item.disabled circle {
7450 fill: rgba(255,255,255,.5);
7453 .radial-menu-item use {
7458 .radial-menu-item.disabled use {
7459 fill: rgba(32,32,32,.5);
7460 color: rgba(40,40,40,.5);
7464 /* Contextual Edit Menu
7465 ------------------------------------------------------- */
7466 .edit-menu-tooltip {
7472 .edit-menu-background {
7476 .edit-menu-item rect {
7481 .edit-menu-item rect:active,
7482 .edit-menu-item rect:hover {
7486 .edit-menu-item.disabled rect {
7487 cursor: not-allowed;
7489 .edit-menu-item.disabled rect:hover {
7490 cursor: not-allowed;
7494 .edit-menu-item use {
7497 pointer-events: none;
7499 .edit-menu-item.disabled use {
7500 fill: rgba(32,32,32,.2);
7501 color: rgba(40,40,40,.2);
7506 ------------------------------------------------------- */
7512 stroke-dasharray: 5, 5;
7517 ----------------------------------------------------- */
7518 ::-webkit-scrollbar {
7523 border-left: 1px solid #DDD;
7526 ::-webkit-scrollbar-track {
7527 background-clip: padding-box;
7528 border: solid transparent;
7532 ::-webkit-scrollbar-thumb {
7533 background-color: rgba(0,0,0,.2);
7534 background-clip: padding-box;
7535 border: solid transparent;
7536 border-width: 3px 3px 3px 4px;
7539 ::-webkit-scrollbar-track:hover,
7540 ::-webkit-scrollbar-track:active {
7541 background-color: rgba(0,0,0,.05);
7545 /* Intro walkthrough
7546 ----------------------------------------------------- */
7548 pointer-events: all;
7556 flex-direction: row;
7565 .intro-nav-wrap .intro-nav-wrap-logo {
7571 vertical-align: middle;
7574 .intro-nav-wrap .joined {
7577 flex-direction: row;
7580 .intro-nav-wrap button.chapter {
7585 .intro-nav-wrap button.chapter.next {
7586 animation-duration: 1s;
7587 animation-name: pulse;
7588 animation-iteration-count: infinite;
7589 animation-direction: alternate;
7592 from { background: #7092ff; }
7593 to { background: #c6d4ff; }
7596 .intro-nav-wrap button.chapter.finished {
7597 background: #8cd05f;
7600 .intro-nav-wrap button.chapter .status {
7604 .intro-nav-wrap button.chapter.finished .status {
7605 display: inline-block;
7608 .curtain-tooltip.tooltip.in {
7611 .curtain-tooltip.tooltip {
7614 [dir='rtl'] .curtain-tooltip.tooltip {
7618 .curtain-tooltip .tooltip-inner {
7624 .curtain-tooltip .tooltip-inner .button-section,
7625 .curtain-tooltip .tooltip-inner .instruction {
7628 border-top: 1px solid #ccc;
7631 margin-right: -20px;
7632 padding: 10px 20px 0 20px;
7635 [dir='rtl'] .curtain-tooltip .tooltip-inner .button-section button.col8 {
7639 .curtain-tooltip .tooltip-inner .instruction:only-child {
7645 .curtain-tooltip .tooltip-inner .icon.pre-text {
7646 vertical-align: text-top;
7649 display: inline-block;
7652 .curtain-tooltip.intro-points-describe ,
7653 .curtain-tooltip.intro-lines-name_road {
7654 top: 133px !important;
7657 .tooltip-illustration {
7663 [dir='rtl'] .tooltip-illustration {
7665 margin-right: -20px;
7668 .curtain-tooltip.intro-mouse {
7669 -moz-user-select: none;
7670 -webkit-user-select: none;
7671 -ms-user-select: none;
7675 .curtain-tooltip.intro-mouse .counter {
7686 .curtain-tooltip.intro-mouse .tooltip-illustration use {
7687 fill: rgba(112, 146, 255, 0);
7688 color: rgba(112, 146, 255, 0);
7690 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
7691 fill: rgba(112, 146, 255, 1);
7693 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
7694 color: rgba(112, 146, 255, 1);
7697 .huge-modal-button {
7703 .huge-modal-button .illustration {