1 /* http://meyerweb.com/eric/tools/css/reset/
3 License: none (public domain)
6 html, body, div, span, applet, object, iframe,
7 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8 a, abbr, acronym, address, big, cite, code,
9 del, dfn, em, img, ins, kbd, q, s, samp,
10 small, strike, strong, sub, sup, tt, var,
12 dl, dt, dd, ol, ul, li,
13 fieldset, form, label, legend,
14 table, caption, tbody, tfoot, thead, tr, th, td,
15 article, aside, canvas, details, embed,
16 figure, figcaption, footer, header, hgroup,
17 menu, nav, output, ruby, section, summary,
18 time, mark, audio, video {
24 vertical-align: baseline;
26 /* HTML5 display-role reset for older browsers */
27 article, aside, details, figcaption, figure,
28 footer, header, hgroup, menu, nav, section {
40 blockquote:before, blockquote:after,
46 border-collapse: collapse;
49 a { text-decoration: none;}
51 * 1. Corrects font family not being inherited in all browsers.
52 * 2. Corrects font size not being inherited in all browsers.
53 * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
60 font-family: inherit; /* 1 */
61 font-size: 100%; /* 2 */
67 * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
76 /* Hide default number spinner controls */
77 input[type="number"]::-webkit-inner-spin-button,
78 input[type="number"]::-webkit-outer-spin-button {
83 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
84 * and `video` controls.
85 * 2. Corrects inability to style clickable `input` types in iOS.
86 * 3. Improves usability and consistency of cursor style between image-type
91 html input[type="button"], /* 1 */
93 input[type="submit"] {
94 -webkit-appearance: button; /* 2 */
95 cursor: pointer; /* 3 */
99 * Re-set default cursor for disabled elements.
108 * 1. Addresses box sizing set to `content-box` in IE 8/9.
109 * 2. Removes excess padding in IE 8/9.
112 input[type="checkbox"],
113 input[type="radio"] {
114 box-sizing: border-box; /* 1 */
119 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
120 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
121 * (include `-moz` to future-proof).
124 input[type="search"] {
125 -webkit-appearance: textfield; /* 1 */
126 -moz-box-sizing: border-box;
127 -webkit-box-sizing: border-box; /* 2 */
128 box-sizing: border-box;
132 * Removes inner padding and search cancel button in Safari 5 and Chrome
136 input[type="search"]::-webkit-search-cancel-button,
137 input[type="search"]::-webkit-search-decoration {
138 -webkit-appearance: none;
142 * Removes inner padding and border in Firefox 4+.
145 button::-moz-focus-inner,
146 input::-moz-focus-inner {
152 ** Markup free clearing
153 ** Details: http://www.positioniseverything.net/easyclearing.html
157 content: " "; /* 1 */
158 display: table; /* 2 */
165 .layer-osm path:not(.oneway-marker-path) { /* IE/Edge needs :not(.oneway) */
168 .layer-osm path.viewfield-marker-path { /* IE/Edge rule for <use> marker style */
173 stroke-opacity: 0.75;
175 .fill-wireframe .layer-osm path.viewfield-marker-path { /* IE/Edge rule for <use> marker style */
179 /* the above fill: none rule affects paths in <use> shadow dom only in Firefox */
180 .layer-osm use.icon path { fill: #333; } /* FF svg Maki icons */
181 .layer-osm .turn use path { fill: #000; } /* FF turn restriction icons */
182 #turn-only-shape2, #turn-only-u-shape2 { fill: #7092ff; } /* FF turn-only, turn-only-u */
183 #turn-no-shape2, #turn-no-u-shape2 { fill: #e06d5f; } /* FF turn-no, turn-no-u */
184 #turn-yes-shape2, #turn-yes-u-shape2 { fill: #8cd05f; } /* FF turn-yes, turn-yes-u */
187 /* No interactivity except what we specifically allow */
189 pointer-events: none;
192 /* `.target` objects are interactive */
193 /* They can be picked up, clicked, hovered, or things can connect to them */
195 pointer-events: fill;
202 pointer-events: stroke;
206 stroke: currentColor;
207 stroke-linecap: round;
208 stroke-linejoin: round;
211 /* `.target-nope` objects are explicitly forbidden to join to */
212 .surface:not(.nope-disabled) .node.target.target-nope,
213 .surface:not(.nope-disabled) .way.target.target-nope {
218 /* `.active` objects (currently being drawn or dragged) are not interactive */
219 /* This is important to allow the events to drop through to whatever is */
220 /* below them on the map, so you can still hover and connect to other things. */
222 pointer-events: none !important;
241 g.point.related:not(.selected) .shadow,
242 g.point.hover:not(.selected) .shadow {
246 g.point.selected .shadow {
250 g.point ellipse.stroke {
254 .mode-drag-node g.point.active ellipse.stroke {
259 /* vertices and midpoints */
271 g.vertex.shared .stroke {
289 g.vertex.related:not(.selected) .shadow,
290 g.vertex.hover:not(.selected) .shadow,
291 g.midpoint.related:not(.selected) .shadow,
292 g.midpoint.hover:not(.selected) .shadow {
296 g.vertex.selected .shadow {
303 .preset-icon .icon.other-line {
309 stroke-linecap: round;
310 stroke-linejoin: round;
324 path.shadow.related:not(.selected),
325 path.shadow.hover:not(.selected) {
329 path.shadow.selected {
339 /* Labels / Markers */
347 .oneway .textpath.tag-waterway {
351 .onewaygroup path.oneway,
352 .viewfieldgroup path.viewfield {
358 text.pointlabel-halo,
362 dominant-baseline: middle;
367 -webkit-transition: opacity 100ms linear;
368 transition: opacity 100ms linear;
369 -moz-transition: opacity 100ms linear;
372 /* Opera doesn't support dominant-baseline. See #715 */
373 /* Safari 10 seems to have regressed too */
374 .linelabel-halo .textpath,
375 .linelabel .textpath {
376 baseline-shift: -33%;
377 dominant-baseline: auto;
380 .layer-labels-halo text {
384 stroke-miterlimit: 1;
395 .icon.areaicon-halo {
399 stroke-miterlimit: 1;
416 .form-field-restrictions .vertex {
417 cursor: auto !important;
418 pointer-events: none;
422 pointer-events: visibleStroke;
428 pointer-events: none;
441 dominant-baseline: middle;
452 stroke-miterlimit: 1;
456 /* Default - light gray */
463 stroke: rgba(255, 255, 255, 0.3);
464 fill: rgba(255, 255, 255, 0.3);
467 .preset-icon-fill-area {
468 border: 1px solid rgb(170, 170, 170);
469 background-color: rgba(170, 170, 170, 0.3);
472 path.shadow.old-multipolygon,
473 path.stroke.old-multipolygon {
474 stroke-dasharray: 100, 5;
475 stroke-linecap: butt;
479 path.stroke.tag-landuse,
480 path.stroke.tag-natural,
481 path.stroke.tag-leisure-nature_reserve,
482 path.stroke.tag-leisure-pitch,
483 path.stroke.tag-leisure-park {
484 stroke: rgb(140, 208, 95);
486 path.fill.tag-landuse,
487 path.fill.tag-natural,
488 path.fill.tag-leisure-nature_reserve,
489 path.fill.tag-leisure-pitch,
490 path.fill.tag-leisure-park {
491 stroke: rgba(140, 208, 95, 0.3);
492 fill: rgba(140, 208, 95, 0.3);
494 .preset-icon-fill-area.tag-landuse,
495 .preset-icon-fill-area.tag-natural,
496 .preset-icon-fill-area.tag-leisure-nature_reserve,
497 .preset-icon-fill-area.tag-leisure-pitch,
498 .preset-icon-fill-area.tag-leisure-park {
499 border-color: rgb(140, 208, 95);
500 background-color: rgba(140, 208, 95, 0.3);
504 path.stroke.tag-amenity-swimming_pool,
505 path.stroke.tag-leisure-swimming_pool,
506 path.stroke.tag-natural-water,
507 path.stroke.tag-landuse-aquaculture,
508 path.stroke.tag-landuse-basin,
509 path.stroke.tag-landuse-harbour,
510 path.stroke.tag-landuse-reservoir {
511 stroke: rgb(119, 211, 222);
513 path.fill.tag-amenity-swimming_pool,
514 path.fill.tag-leisure-swimming_pool,
515 path.fill.tag-landuse-aquaculture,
516 path.fill.tag-landuse-basin,
517 path.fill.tag-landuse-harbour,
518 path.fill.tag-landuse-reservoir,
519 path.fill.tag-natural-water {
520 stroke: rgba(119, 211, 222, 0.3);
521 fill: rgba(119, 211, 222, 0.3);
523 .preset-icon-fill-area.tag-amenity-swimming_pool,
524 .preset-icon-fill-area.tag-leisure-swimming_pool,
525 .preset-icon-fill-area.tag-landuse-aquaculture,
526 .preset-icon-fill-area.tag-landuse-basin,
527 .preset-icon-fill-area.tag-landuse-harbour,
528 .preset-icon-fill-area.tag-landuse-reservoir,
529 .preset-icon-fill-area.tag-natural-water {
530 border-color: rgb(119, 211, 222);
531 background-color: rgba(119, 211, 222, 0.3);
535 .pattern-color-beach,
537 .pattern-color-scrub {
538 fill: rgba(255, 255, 148, 0.2);
540 path.stroke.tag-leisure-pitch.tag-sport-beachvolleyball,
541 path.stroke.tag-natural-beach,
542 path.stroke.tag-natural-sand,
543 path.stroke.tag-natural-scrub,
544 path.stroke.tag-amenity-childcare,
545 path.stroke.tag-amenity-kindergarten,
546 path.stroke.tag-amenity-school,
547 path.stroke.tag-amenity-college,
548 path.stroke.tag-amenity-university {
549 stroke: rgba(255, 255, 148, 0.75);
551 path.fill.tag-leisure-pitch.tag-sport-beachvolleyball,
552 path.fill.tag-natural-beach,
553 path.fill.tag-natural-sand,
554 path.fill.tag-natural-scrub,
555 path.fill.tag-amenity-childcare,
556 path.fill.tag-amenity-kindergarten,
557 path.fill.tag-amenity-school,
558 path.fill.tag-amenity-college,
559 path.fill.tag-amenity-university {
560 stroke: rgba(255, 255, 148, 0.15);
561 fill: rgba(255, 255, 148, 0.15);
563 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-beachvolleyball,
564 .preset-icon-fill-area.tag-natural-beach,
565 .preset-icon-fill-area.tag-natural-sand,
566 .preset-icon-fill-area.tag-natural-scrub,
567 .preset-icon-fill-area.tag-amenity-childcare,
568 .preset-icon-fill-area.tag-amenity-kindergarten,
569 .preset-icon-fill-area.tag-amenity-school,
570 .preset-icon-fill-area.tag-amenity-college,
571 .preset-icon-fill-area.tag-amenity-university {
572 border-color: rgb(232, 232, 0);
573 background-color: rgba(255, 255, 148, 0.15);
577 .pattern-color-construction {
578 fill: rgba(196, 189, 25, 0.3);
580 path.stroke.tag-landuse-residential,
581 path.stroke.tag-landuse.tag-status,
582 path.stroke.tag-landuse-construction {
583 stroke: rgb(196, 189, 25);
585 path.fill.tag-landuse-residential {
586 stroke: rgba(196, 189, 25, 0.3);
587 fill: rgba(196, 189, 25, 0.3);
589 .preset-icon-fill-area.tag-landuse-residential,
590 .preset-icon-fill-area.tag-landuse.tag-status,
591 .preset-icon-fill-area.tag-landuse-construction {
592 border-color: rgb(196, 189, 25);
593 background: rgba(196, 189, 25, 0.3);
597 path.stroke.tag-landuse-retail,
598 path.stroke.tag-landuse-commercial,
599 path.stroke.tag-landuse-landfill,
600 path.stroke.tag-military,
601 path.stroke.tag-landuse-military {
602 stroke: rgb(214, 136, 26);
604 path.fill.tag-landuse-retail,
605 path.fill.tag-landuse-commercial,
606 path.fill.tag-landuse-landfill,
607 path.fill.tag-military,
608 path.fill.tag-landuse-military {
609 stroke: rgba(214, 136, 26, 0.3);
610 fill: rgba(214, 136, 26, 0.3);
612 .preset-icon-fill-area.tag-landuse-retail,
613 .preset-icon-fill-area.tag-landuse-commercial,
614 .preset-icon-fill-area.tag-landuse-landfill,
615 .preset-icon-fill-area.tag-military,
616 .preset-icon-fill-area.tag-landuse-military {
617 border-color: rgb(214, 136, 26);
618 background-color: rgba(214, 136, 26, 0.3);
622 path.stroke.tag-landuse-industrial,
623 path.stroke.tag-power-plant {
624 stroke: rgb(228, 164, 245);
626 path.fill.tag-landuse-industrial,
627 path.fill.tag-power-plant {
628 stroke: rgba(228, 164, 245, 0.3);
629 fill: rgba(228, 164, 245, 0.3);
631 .preset-icon-fill-area.tag-landuse-industrial,
632 .preset-icon-fill-area.tag-power-plant {
633 border-color: rgb(228, 164, 245);
634 background-color: rgba(228, 164, 245, 0.3);
638 .pattern-color-wetland {
639 fill: rgba(153, 225, 170, 0.3);
641 path.stroke.tag-natural-wetland {
642 stroke: rgb(153, 225, 170);
644 .preset-icon-fill-area.tag-natural-wetland {
645 border-color: rgb(153, 225, 170);
646 background-color: rgba(153, 225, 170, 0.2);
649 /* Light Green things */
650 .pattern-color-cemetery,
651 .pattern-color-orchard,
652 .pattern-color-meadow,
654 .pattern-color-farmland {
655 fill: rgba(191, 232, 63, 0.2);
657 path.stroke.tag-landuse-cemetery,
658 path.stroke.tag-landuse-orchard,
659 path.stroke.tag-landuse-meadow,
660 path.stroke.tag-landuse-farm,
661 path.stroke.tag-landuse-farmland {
662 stroke: rgb(191, 232, 63);
664 .preset-icon-fill-area.tag-landuse-cemetery,
665 .preset-icon-fill-area.tag-landuse-orchard,
666 .preset-icon-fill-area.tag-landuse-meadow,
667 .preset-icon-fill-area.tag-landuse-farm,
668 .preset-icon-fill-area.tag-landuse-farmland {
669 background-color: rgba(191, 232, 63, 0.2);
673 path.stroke.tag-landuse-farmyard {
674 stroke: rgb(245, 220, 186);
676 path.fill.tag-landuse-farmyard {
677 stroke: rgba(245, 220, 186, 0.3);
678 fill: rgba(245, 220, 186, 0.3);
680 .preset-icon-fill-area.tag-landuse-farmyard {
681 border-color: rgb(226, 177, 111);
682 background: rgba(245, 220, 186, 0.3);
685 /* Dark Gray things */
686 path.stroke.tag-amenity-parking,
687 path.stroke.tag-leisure-pitch.tag-sport-basketball,
688 path.stroke.tag-leisure-pitch.tag-sport-skateboard,
689 path.stroke.tag-natural-bare_rock,
690 path.stroke.tag-natural-scree,
691 path.stroke.tag-landuse-railway,
692 path.stroke.tag-landuse-quarry {
695 path.fill.tag-amenity-parking,
696 path.fill.tag-leisure-pitch.tag-sport-basketball,
697 path.fill.tag-leisure-pitch.tag-sport-skateboard,
698 path.fill.tag-natural-bare_rock,
699 path.fill.tag-natural-scree,
700 path.fill.tag-landuse-railway,
701 path.fill.tag-landuse-quarry {
702 stroke: rgba(140, 140, 140, 0.5);
703 fill: rgba(140, 140, 140, 0.5);
705 .preset-icon-fill-area.tag-amenity-parking,
706 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-basketball,
707 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-skateboard,
708 .preset-icon-fill-area.tag-natural-bare_rock,
709 .preset-icon-fill-area.tag-natural-scree,
710 .preset-icon-fill-area.tag-landuse-railway,
711 .preset-icon-fill-area.tag-landuse-quarry {
712 border-color: rgb(170, 170, 170);
713 background-color: rgba(140, 140, 140, 0.5);
716 /* Light gray overrides */
717 path.stroke.tag-natural-cave_entrance,
718 path.stroke.tag-natural-glacier {
721 path.fill.tag-natural-cave_entrance,
722 path.fill.tag-natural-glacier {
723 stroke: rgba(255, 255, 255, 0.3);
724 fill: rgba(255, 255, 255, 0.3);
726 .preset-icon-fill-area.tag-natural-cave_entrance,
727 .preset-icon-fill-area.tag-natural-glacier {
728 border-color: rgb(170, 170, 170);
729 background: rgba(170, 170, 170, 0.3);
734 .preset-icon .icon.tag-highway.other-line {
738 path.casing.tag-highway {
741 path.stroke.tag-highway {
747 path.stroke.area.tag-highway,
748 .low-zoom path.stroke.area.tag-highway {
750 stroke-dasharray: none;
756 path.shadow.tag-highway {
759 path.casing.tag-highway {
762 path.stroke.tag-highway {
766 .low-zoom path.shadow.tag-highway {
769 .low-zoom path.casing.tag-highway {
772 .low-zoom path.stroke.tag-highway {
776 .preset-icon .icon.highway-motorway,
777 .preset-icon .icon.highway-motorway-link {
781 path.stroke.tag-highway-motorway,
782 path.stroke.tag-highway-motorway_link,
783 path.stroke.tag-motorway {
786 path.casing.tag-highway-motorway,
787 path.casing.tag-highway-motorway_link,
788 path.casing.tag-motorway {
792 .preset-icon .icon.highway-trunk,
793 .preset-icon .icon.highway-trunk-link {
797 path.stroke.tag-highway-trunk,
798 path.stroke.tag-highway-trunk_link,
799 path.stroke.tag-trunk {
802 path.casing.tag-highway-trunk,
803 path.casing.tag-highway-trunk_link,
804 path.casing.tag-trunk {
808 .preset-icon .icon.highway-primary,
809 .preset-icon .icon.highway-primary-link {
813 path.stroke.tag-highway-primary,
814 path.stroke.tag-highway-primary_link,
815 path.stroke.tag-primary {
818 path.casing.tag-highway-primary,
819 path.casing.tag-highway-primary_link,
820 path.casing.tag-primary {
824 .preset-icon .icon.highway-secondary,
825 .preset-icon .icon.highway-secondary-link {
829 path.stroke.tag-highway-secondary,
830 path.stroke.tag-highway-secondary_link,
831 path.stroke.tag-secondary {
834 path.casing.tag-highway-secondary,
835 path.casing.tag-highway-secondary_link,
836 path.casing.tag-secondary {
840 .preset-icon .icon.highway-tertiary,
841 .preset-icon .icon.highway-tertiary-link {
845 path.stroke.tag-highway-tertiary,
846 path.stroke.tag-highway-tertiary_link,
847 path.stroke.tag-tertiary {
850 path.casing.tag-highway-tertiary,
851 path.casing.tag-highway-tertiary_link,
852 path.casing.tag-tertiary {
856 .legacy-carto .preset-icon .icon.highway-motorway,
857 .legacy-carto .preset-icon .icon.highway-motorway-link {
861 .legacy-carto path.stroke.tag-highway-motorway,
862 .legacy-carto path.stroke.tag-highway-motorway_link,
863 .legacy-carto path.stroke.tag-motorway {
866 .legacy-carto path.casing.tag-highway-motorway,
867 .legacy-carto path.casing.tag-highway-motorway_link,
868 .legacy-carto path.casing.tag-motorway {
872 .legacy-carto .preset-icon .icon.highway-trunk,
873 .legacy-carto .preset-icon .icon.highway-trunk-link {
877 .legacy-carto path.stroke.tag-highway-trunk,
878 .legacy-carto path.stroke.tag-highway-trunk_link,
879 .legacy-carto path.stroke.tag-trunk {
882 .legacy-carto path.casing.tag-highway-trunk,
883 .legacy-carto path.casing.tag-highway-trunk_link,
884 .legacy-carto path.casing.tag-trunk {
888 .legacy-carto .preset-icon .icon.highway-primary,
889 .legacy-carto .preset-icon .icon.highway-primary-link {
893 .legacy-carto path.stroke.tag-highway-primary,
894 .legacy-carto path.stroke.tag-highway-primary_link,
895 .legacy-carto path.stroke.tag-primary {
898 .legacy-carto path.casing.tag-highway-primary,
899 .legacy-carto path.casing.tag-highway-primary_link,
900 .legacy-carto path.casing.tag-primary {
904 .legacy-carto .preset-icon .icon.highway-secondary,
905 .legacy-carto .preset-icon .icon.highway-secondary-link {
909 .legacy-carto path.stroke.tag-highway-secondary,
910 .legacy-carto path.stroke.tag-highway-secondary_link,
911 .legacy-carto path.stroke.tag-secondary {
914 .legacy-carto path.casing.tag-highway-secondary,
915 .legacy-carto path.casing.tag-highway-secondary_link,
916 .legacy-carto path.casing.tag-secondary {
920 .legacy-carto .preset-icon .icon.highway-tertiary,
921 .legacy-carto .preset-icon .icon.highway-tertiary-link {
925 .legacy-carto path.stroke.tag-highway-tertiary,
926 .legacy-carto path.stroke.tag-highway-tertiary_link,
927 .legacy-carto path.stroke.tag-tertiary {
930 .legacy-carto path.casing.tag-highway-tertiary,
931 .legacy-carto path.casing.tag-highway-tertiary_link,
932 .legacy-carto path.casing.tag-tertiary {
936 .preset-icon .icon.highway-residential {
940 path.stroke.tag-highway-residential,
941 path.stroke.tag-residential {
944 path.casing.tag-highway-residential,
945 path.casing.tag-residential {
949 .preset-icon .icon.highway-unclassified {
953 path.stroke.tag-highway-unclassified,
954 path.stroke.tag-unclassified {
957 path.casing.tag-highway-unclassified,
958 path.casing.tag-unclassified {
963 /* narrow highways */
965 path.shadow.tag-highway-living_street,
966 path.shadow.tag-highway-bus_guideway,
967 path.shadow.tag-highway-service,
968 path.shadow.tag-highway-track,
969 path.shadow.tag-highway-road,
970 path.shadow.tag-living_street,
971 path.shadow.tag-service,
972 path.shadow.tag-track,
973 path.shadow.tag-road {
976 path.casing.tag-highway-living_street,
977 path.casing.tag-highway-bus_guideway,
978 path.casing.tag-highway-service,
979 path.casing.tag-highway-track,
980 path.casing.tag-highway-road,
981 path.casing.tag-living_street,
982 path.casing.tag-service,
983 path.casing.tag-track,
984 path.casing.tag-road {
987 path.stroke.tag-highway-living_street,
988 path.stroke.tag-highway-bus_guideway,
989 path.stroke.tag-highway-service,
990 path.stroke.tag-highway-track,
991 path.stroke.tag-highway-road,
992 path.stroke.tag-living_street,
993 path.stroke.tag-service,
994 path.stroke.tag-track,
995 path.stroke.tag-road {
999 path.shadow.tag-highway-path,
1000 path.shadow.tag-highway-footway,
1001 path.shadow.tag-highway-cycleway,
1002 path.shadow.tag-highway-bridleway,
1003 path.shadow.tag-highway-corridor,
1004 path.shadow.tag-highway-pedestrian,
1005 path.shadow.tag-highway-steps,
1006 path.shadow.tag-path,
1007 path.shadow.tag-footway,
1008 path.shadow.tag-cycleway,
1009 path.shadow.tag-bridleway,
1010 path.shadow.tag-corridor,
1011 path.shadow.tag-pedestrian,
1012 path.shadow.tag-steps {
1015 path.casing.tag-highway-path,
1016 path.casing.tag-highway-footway,
1017 path.casing.tag-highway-cycleway,
1018 path.casing.tag-highway-bridleway,
1019 path.casing.tag-highway-corridor,
1020 path.casing.tag-highway-pedestrian,
1021 path.casing.tag-highway-steps,
1022 path.casing.tag-path,
1023 path.casing.tag-footway,
1024 path.casing.tag-cycleway,
1025 path.casing.tag-bridleway,
1026 path.casing.tag-corridor,
1027 path.casing.tag-pedestrian,
1028 path.casing.tag-steps {
1031 path.stroke.tag-highway-path,
1032 path.stroke.tag-highway-footway,
1033 path.stroke.tag-highway-cycleway,
1034 path.stroke.tag-highway-bridleway,
1035 path.stroke.tag-highway-corridor,
1036 path.stroke.tag-highway-pedestrian,
1037 path.stroke.tag-highway-steps,
1038 path.stroke.tag-path,
1039 path.stroke.tag-footway,
1040 path.stroke.tag-cycleway,
1041 path.stroke.tag-bridleway,
1042 path.stroke.tag-corridor,
1043 path.stroke.tag-pedestrian,
1044 path.stroke.tag-steps {
1048 .low-zoom path.shadow.tag-highway-living_street,
1049 .low-zoom path.shadow.tag-highway-bus_guideway,
1050 .low-zoom path.shadow.tag-highway-service,
1051 .low-zoom path.shadow.tag-highway-track,
1052 .low-zoom path.shadow.tag-highway-road,
1053 .low-zoom path.shadow.tag-living_street,
1054 .low-zoom path.shadow.tag-service,
1055 .low-zoom path.shadow.tag-track,
1056 .low-zoom path.shadow.tag-road {
1059 .low-zoom path.casing.tag-highway-living_street,
1060 .low-zoom path.casing.tag-highway-bus_guideway,
1061 .low-zoom path.casing.tag-highway-service,
1062 .low-zoom path.casing.tag-highway-track,
1063 .low-zoom path.casing.tag-highway-road,
1064 .low-zoom path.casing.tag-living_street,
1065 .low-zoom path.casing.tag-service,
1066 .low-zoom path.casing.tag-track,
1067 .low-zoom path.casing.tag-road {
1070 .low-zoom path.stroke.tag-highway-living_street,
1071 .low-zoom path.stroke.tag-highway-bus_guideway,
1072 .low-zoom path.stroke.tag-highway-service,
1073 .low-zoom path.stroke.tag-highway-track,
1074 .low-zoom path.stroke.tag-highway-road,
1075 .low-zoom path.stroke.tag-living_street,
1076 .low-zoom path.stroke.tag-service,
1077 .low-zoom path.stroke.tag-track,
1078 .low-zoom path.stroke.tag-road {
1082 .low-zoom path.shadow.tag-highway-path,
1083 .low-zoom path.shadow.tag-highway-footway,
1084 .low-zoom path.shadow.tag-highway-cycleway,
1085 .low-zoom path.shadow.tag-highway-bridleway,
1086 .low-zoom path.shadow.tag-highway-corridor,
1087 .low-zoom path.shadow.tag-highway-pedestrian,
1088 .low-zoom path.shadow.tag-highway-steps,
1089 .low-zoom path.shadow.tag-path,
1090 .low-zoom path.shadow.tag-footway,
1091 .low-zoom path.shadow.tag-cycleway,
1092 .low-zoom path.shadow.tag-bridleway,
1093 .low-zoom path.shadow.tag-corridor,
1094 .low-zoom path.shadow.tag-pedestrian,
1095 .low-zoom path.shadow.tag-steps {
1098 .low-zoom path.casing.tag-highway-path,
1099 .low-zoom path.casing.tag-highway-footway,
1100 .low-zoom path.casing.tag-highway-cycleway,
1101 .low-zoom path.casing.tag-highway-bridleway,
1102 .low-zoom path.casing.tag-highway-corridor,
1103 .low-zoom path.casing.tag-highway-pedestrian,
1104 .low-zoom path.casing.tag-highway-steps,
1105 .low-zoom path.casing.tag-path,
1106 .low-zoom path.casing.tag-footway,
1107 .low-zoom path.casing.tag-cycleway,
1108 .low-zoom path.casing.tag-bridleway,
1109 .low-zoom path.casing.tag-corridor,
1110 .low-zoom path.casing.tag-pedestrian,
1111 .low-zoom path.casing.tag-steps {
1114 .low-zoom path.stroke.tag-highway-path,
1115 .low-zoom path.stroke.tag-highway-footway,
1116 .low-zoom path.stroke.tag-highway-cycleway,
1117 .low-zoom path.stroke.tag-highway-bridleway,
1118 .low-zoom path.stroke.tag-highway-corridor,
1119 .low-zoom path.stroke.tag-highway-pedestrian,
1120 .low-zoom path.stroke.tag-highway-steps,
1121 .low-zoom path.stroke.tag-path,
1122 .low-zoom path.stroke.tag-footway,
1123 .low-zoom path.stroke.tag-cycleway,
1124 .low-zoom path.stroke.tag-bridleway,
1125 .low-zoom path.stroke.tag-corridor,
1126 .low-zoom path.stroke.tag-pedestrian,
1127 .low-zoom path.stroke.tag-steps {
1132 .preset-icon .icon.highway-living-street {
1136 path.stroke.tag-highway-living_street,
1137 path.stroke.tag-living_street {
1140 path.casing.tag-highway-living_street,
1141 path.casing.tag-living_street {
1145 .preset-icon .icon.highway-footway.tag-highway-corridor,
1146 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
1150 path.stroke.tag-highway-corridor,
1151 path.stroke.tag-highway-pedestrian,
1152 path.stroke.tag-corridor,
1153 path.stroke.tag-pedestrian {
1155 stroke-dasharray: 2, 8;
1157 .low-zoom path.stroke.tag-highway-corridor,
1158 .low-zoom path.stroke.tag-highway-pedestrian,
1159 .low-zoom path.stroke.tag-corridor,
1160 .low-zoom path.stroke.tag-pedestrian {
1161 stroke-dasharray: 1, 4;
1163 path.casing.tag-highway-corridor,
1164 path.casing.tag-highway-pedestrian,
1165 path.casing.tag-corridor,
1166 path.casing.tag-pedestrian,
1167 path.casing.tag-highway-corridor.tag-unpaved,
1168 path.casing.tag-highway-pedestrian.tag-unpaved,
1169 path.casing.tag-corridor.tag-unpaved,
1170 path.casing.tag-pedestrian.tag-unpaved {
1172 stroke-linecap: round;
1173 stroke-dasharray: none;
1176 .preset-icon .icon.highway-road {
1180 path.stroke.tag-highway-road,
1181 path.stroke.tag-road {
1184 path.casing.tag-highway-road,
1185 path.casing.tag-road {
1189 .preset-icon .icon.highway-service {
1193 path.stroke.tag-highway-service,
1194 path.stroke.tag-service {
1197 path.casing.tag-highway-service,
1198 path.casing.tag-service {
1202 /* special service roads and bus guideways */
1203 /* with `service=* tag` (e.g. parking_aisle, alley, drive-through */
1204 .preset-icon .icon.highway-bus_guideway,
1205 .preset-icon .icon.highway-service.tag-service {
1209 path.stroke.tag-highway-bus_guideway,
1210 path.stroke.tag-highway-service.tag-service,
1211 path.stroke.tag-service.tag-service {
1214 path.casing.tag-highway-bus_guideway,
1215 path.casing.tag-highway-service.tag-service,
1216 path.casing.tag-service.tag-service {
1220 .preset-icon .icon.highway-track {
1224 path.stroke.tag-highway-track,
1225 path.stroke.tag-track {
1228 path.casing.tag-highway-track,
1229 path.casing.tag-track {
1233 path.stroke.tag-highway-path,
1234 path.stroke.tag-highway-footway,
1235 path.stroke.tag-highway-cycleway,
1236 path.stroke.tag-highway-bridleway {
1237 stroke-linecap: butt;
1238 stroke-dasharray: 6, 6;
1240 .low-zoom path.stroke.tag-highway-path,
1241 .low-zoom path.stroke.tag-highway-footway,
1242 .low-zoom path.stroke.tag-highway-cycleway,
1243 .low-zoom path.stroke.tag-highway-bridleway {
1244 stroke-linecap: butt;
1245 stroke-dasharray: 3, 3;
1248 path.casing.tag-highway-path,
1249 path.casing.tag-highway-path.tag-unpaved {
1251 stroke-linecap: round;
1252 stroke-dasharray: none;
1254 path.casing.tag-highway-footway,
1255 path.casing.tag-highway-cycleway,
1256 path.casing.tag-highway-bridleway,
1257 path.casing.tag-highway-footway.tag-unpaved,
1258 path.casing.tag-highway-cycleway.tag-unpaved,
1259 path.casing.tag-highway-bridleway.tag-unpaved {
1261 stroke-linecap: round;
1262 stroke-dasharray: none;
1265 .preset-icon .icon.category-path,
1266 .preset-icon .icon.highway-path {
1270 path.stroke.tag-highway-path {
1274 .preset-icon .icon.tag-route-foot,
1275 .preset-icon .icon.tag-route-hiking,
1276 .preset-icon .icon.highway-footway {
1280 path.stroke.tag-highway-footway {
1284 .preset-icon .icon.highway-footway.tag-crossing {
1287 path.stroke.tag-highway-footway.tag-crossing {
1289 stroke-dasharray: 6, 4;
1291 .low-zoom path.stroke.tag-highway-footway.tag-crossing {
1292 stroke-dasharray: 3, 2;
1295 .preset-icon .icon.tag-route-bicycle,
1296 .preset-icon .icon.highway-cycleway {
1300 path.stroke.tag-highway-cycleway {
1304 .preset-icon .icon.tag-route-horse,
1305 .preset-icon .icon.highway-bridleway {
1309 path.stroke.tag-highway-bridleway {
1313 .preset-icon .icon.highway-steps {
1317 path.stroke.tag-highway-steps {
1319 stroke-linecap: butt;
1320 stroke-dasharray: 3, 3;
1322 .low-zoom path.stroke.tag-highway-steps {
1323 stroke-dasharray: 2, 2;
1325 path.casing.tag-highway-steps,
1326 path.casing.tag-highway-steps.tag-unpaved {
1328 stroke-linecap: round;
1329 stroke-dasharray: none;
1332 /* highway midpoints */
1334 g.midpoint.tag-highway-corridor .fill,
1335 g.midpoint.tag-highway-pedestrian .fill,
1336 g.midpoint.tag-highway-steps .fill,
1337 g.midpoint.tag-highway-path .fill,
1338 g.midpoint.tag-highway-footway .fill,
1339 g.midpoint.tag-highway-cycleway .fill,
1340 g.midpoint.tag-highway-bridleway .fill {
1349 path.stroke.area.tag-aeroway,
1350 .low-zoom path.stroke.area.tag-aeroway {
1352 stroke-dasharray: none;
1356 /* narrow aeroways (taxiway) */
1358 path.shadow.tag-aeroway-taxiway,
1359 path.shadow.tag-taxiway {
1362 path.casing.tag-aeroway-taxiway,
1363 path.casing.tag-taxiway {
1366 path.stroke.tag-aeroway-taxiway,
1367 path.stroke.tag-taxiway {
1371 .low-zoom path.shadow.tag-aeroway-taxiway,
1372 .low-zoom path.shadow.tag-taxiway {
1375 .low-zoom path.casing.tag-aeroway-taxiway,
1376 .low-zoom path.casing.tag-taxiway {
1379 .low-zoom path.stroke.tag-aeroway-taxiway,
1380 .low-zoom path.stroke.tag-taxiway {
1384 .preset-icon .icon.tag-aeroway-taxiway,
1385 .preset-icon .icon.tag-taxiway {
1389 path.stroke.tag-aeroway-taxiway,
1390 path.stroke.tag-taxiway {
1393 path.casing.tag-aeroway-taxiway,
1394 path.casing.tag-taxiway {
1399 /* wide aeroways (runway) */
1401 .preset-icon .icon.tag-aeroway-runway,
1402 .preset-icon .icon.tag-runway {
1406 path.shadow.tag-aeroway-runway {
1409 path.casing.tag-aeroway-runway {
1412 stroke-linecap: square;
1414 path.stroke.tag-aeroway-runway {
1417 stroke-linecap: butt;
1418 stroke-dasharray: 24, 48;
1421 .low-zoom path.shadow.tag-aeroway-runway {
1424 .low-zoom path.casing.tag-aeroway-runway {
1427 .low-zoom path.stroke.tag-aeroway-runway {
1429 stroke-dasharray: 12, 24;
1432 path.fill.tag-aeroway-runway {
1433 stroke: rgba(0, 0, 0, 0.6);
1434 fill: rgba(0, 0, 0, 0.6);
1439 .preset-icon .icon.tag-railway.other-line {
1443 .preset-icon .icon.tag-railway {
1450 path.stroke.area.tag-railway,
1451 .low-zoom path.stroke.area.tag-railway {
1454 stroke-dasharray: none;
1457 path.casing.area.tag-railway,
1458 .low-zoom path.casing.area.tag-railway {
1464 path.shadow.tag-railway {
1467 path.casing.tag-railway {
1470 path.stroke.tag-railway {
1472 stroke-linecap: butt;
1473 stroke-dasharray: 12,12;
1476 .low-zoom path.shadow.tag-railway {
1479 .low-zoom path.casing.tag-railway {
1482 .low-zoom path.stroke.tag-railway {
1484 stroke-dasharray: 6,6;
1490 path.casing.tag-railway {
1493 path.stroke.tag-railway {
1498 .preset-icon .icon.tag-railway-disused,
1499 .preset-icon .icon.tag-railway-abandoned {
1503 path.casing.tag-railway-abandoned {
1506 path.stroke.tag-railway-abandoned {
1511 .preset-icon .icon.tag-railway-subway {
1515 path.casing.tag-railway-subway {
1518 path.stroke.tag-railway-subway {
1523 /* railway platforms - like sidewalks */
1525 .preset-icon .icon.highway-footway.tag-railway-platform {
1529 path.shadow.tag-railway-platform {
1532 path.casing.tag-railway-platform {
1535 stroke-linecap: round;
1536 stroke-dasharray: none;
1538 path.stroke.tag-railway-platform {
1541 stroke-linecap: butt;
1542 stroke-dasharray: 6, 6;
1545 .low-zoom path.shadow.tag-railway-platform {
1548 .low-zoom path.casing.tag-railway-platform {
1551 .low-zoom path.stroke.tag-railway-platform {
1553 stroke-linecap: butt;
1554 stroke-dasharray: 3, 3;
1557 g.midpoint.tag-railway-platform .fill {
1565 .preset-icon .icon.tag-waterway.other-line {
1569 .preset-icon .icon.category-water,
1570 .preset-icon .icon.tag-route-ferry,
1571 .preset-icon .icon.tag-type-waterway,
1572 .preset-icon .icon.tag-waterway {
1577 path.fill.tag-waterway {
1578 stroke: rgba(119, 211, 222, 0.3);
1579 fill: rgba(119, 211, 222, 0.3);
1581 path.casing.tag-waterway {
1584 path.stroke.tag-waterway {
1589 /* narrow waterways (default) */
1591 path.shadow.tag-waterway {
1594 path.casing.tag-waterway {
1597 path.stroke.tag-waterway {
1601 .low-zoom path.shadow.tag-waterway {
1604 .low-zoom path.casing.tag-waterway {
1607 .low-zoom path.stroke.tag-waterway {
1612 /* wide waterways (river) */
1614 path.shadow.tag-waterway-river {
1617 path.casing.tag-waterway-river {
1620 path.stroke.tag-waterway-river {
1624 .low-zoom path.shadow.tag-waterway-river {
1627 .low-zoom path.casing.tag-waterway-river {
1630 .low-zoom path.stroke.tag-waterway-river {
1637 .preset-icon .icon.tag-waterway-ditch {
1640 path.stroke.tag-waterway-ditch {
1645 /* waterway areas */
1647 path.area.stroke.tag-waterway-dock,
1648 path.area.stroke.tag-waterway-boatyard,
1649 path.area.stroke.tag-waterway-fuel {
1653 path.area.casing.tag-waterway-dock,
1654 path.area.casing.tag-waterway-boatyard,
1655 path.area.casing.tag-waterway-fuel {
1658 path.area.fill.tag-waterway-dock,
1659 path.area.fill.tag-waterway-boatyard,
1660 path.area.fill.tag-waterway-fuel {
1661 stroke: rgba(255, 255, 255, 0.3);
1662 fill: rgba(255, 255, 255, 0.3);
1666 .preset-icon .icon.tag-man_made-pipeline,
1667 .preset-icon .icon.tag-power {
1672 path.stroke.tag-power {
1676 path.casing.tag-power {
1682 path.stroke.tag-boundary {
1685 stroke-linecap: butt;
1686 stroke-dasharray: 20, 5, 5, 5;
1688 path.casing.tag-boundary {
1693 path.casing.tag-boundary-protected_area,
1694 path.casing.tag-boundary-national_park {
1700 path.stroke.tag-barrier {
1703 stroke-linecap: round;
1704 stroke-dasharray: 15, 5, 1, 5;
1706 .low-zoom path.stroke.tag-barrier {
1708 stroke-linecap: butt;
1709 stroke-dasharray: 8, 2, 2, 2;
1714 path.casing.tag-bridge {
1715 stroke-opacity: 0.6;
1717 stroke-linecap: butt;
1718 stroke-dasharray: none;
1721 path.shadow.tag-bridge {
1724 path.casing.tag-bridge {
1727 .low-zoom path.shadow.tag-bridge {
1730 .low-zoom path.casing.tag-bridge {
1734 path.shadow.line.tag-railway.tag-bridge,
1735 path.shadow.tag-highway-living_street.tag-bridge,
1736 path.shadow.tag-highway-path.tag-bridge,
1737 path.shadow.tag-highway-corridor.tag-bridge,
1738 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1739 path.shadow.tag-highway-service.tag-bridge,
1740 path.shadow.tag-highway-track.tag-bridge,
1741 path.shadow.tag-highway-steps.tag-bridge,
1742 path.shadow.tag-highway-footway.tag-bridge,
1743 path.shadow.tag-highway-cycleway.tag-bridge,
1744 path.shadow.tag-highway-bridleway.tag-bridge {
1747 path.casing.line.tag-railway.tag-bridge,
1748 path.casing.tag-highway-living_street.tag-bridge,
1749 path.casing.tag-highway-path.tag-bridge,
1750 path.casing.tag-highway-corridor.tag-bridge,
1751 path.casing.line.tag-highway-pedestrian.tag-bridge,
1752 path.casing.tag-highway-service.tag-bridge,
1753 path.casing.tag-highway-track.tag-bridge,
1754 path.casing.tag-highway-steps.tag-bridge,
1755 path.casing.tag-highway-footway.tag-bridge,
1756 path.casing.tag-highway-cycleway.tag-bridge,
1757 path.casing.tag-highway-bridleway.tag-bridge {
1761 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1762 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1763 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1764 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1765 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1766 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1767 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1768 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1769 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1770 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1771 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1774 .low-zoom path.casing.line.tag-railway.tag-bridge,
1775 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1776 .low-zoom path.casing.tag-highway-path.tag-bridge,
1777 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1778 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1779 .low-zoom path.casing.tag-highway-service.tag-bridge,
1780 .low-zoom path.casing.tag-highway-track.tag-bridge,
1781 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1782 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1783 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1784 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1790 path.stroke.tag-tunnel {
1791 stroke-opacity: 0.3;
1793 path.casing.tag-tunnel {
1794 stroke-opacity: 0.5;
1795 stroke-linecap: butt;
1796 stroke-dasharray: none;
1800 /* embankments / cuttings */
1801 path.shadow.tag-embankment,
1802 path.shadow.tag-cutting {
1805 path.casing.tag-embankment,
1806 path.casing.tag-cutting {
1807 stroke-opacity: 0.5;
1810 stroke-dasharray: 2, 4;
1811 stroke-linecap: butt;
1814 .low-zoom path.shadow.tag-embankment,
1815 .low-zoom path.shadow.tag-cutting {
1818 .low-zoom path.casing.tag-embankment,
1819 .low-zoom path.casing.tag-cutting {
1824 /* Surface - unpaved */
1825 path.casing.tag-unpaved {
1827 stroke-linecap: butt;
1828 stroke-dasharray: 4, 3;
1830 .low-zoom path.casing.tag-unpaved {
1831 stroke-dasharray: 3, 2;
1833 path.casing.tag-bridge.tag-unpaved {
1835 stroke-dasharray: 4, 3;
1837 .low-zoom path.casing.tag-bridge.tag-unpaved {
1839 stroke-dasharray: 3, 2;
1843 /* Status (e.g. construction, proposed, abandoned) */
1844 path.stroke.tag-status,
1845 path.casing.tag-status {
1846 stroke-linecap: butt;
1847 stroke-dasharray: 7, 3;
1849 .low-zoom path.stroke.tag-status,
1850 .low-zoom path.casing.tag-status {
1851 stroke-dasharray: 5, 2;
1856 path.stroke.tag-building,
1857 path.stroke.tag-amenity-shelter {
1858 stroke: rgb(224, 110, 95);
1860 path.fill.tag-building,
1861 path.fill.tag-amenity-shelter {
1862 stroke: rgba(224, 110, 95, 0.3);
1863 fill: rgba(224, 110, 95, 0.3);
1865 .preset-icon-fill-area.tag-building,
1866 .preset-icon-fill-area.tag-amenity-shelter {
1867 border-color: rgb(224, 110, 95);
1868 background-color: rgba(224, 110, 95, 0.3);
1874 cursor: not-allowed !important;
1879 cursor: auto; /* Opera */
1880 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1883 .mode-browse .point,
1884 .mode-select .point {
1885 cursor: pointer; /* Opera */
1886 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1889 .mode-select .vertex,
1890 .mode-browse .vertex {
1891 cursor: pointer; /* Opera */
1892 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1896 .mode-select .line {
1897 cursor: pointer; /* Opera */
1898 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1902 .mode-browse .area {
1903 cursor: pointer; /* Opera */
1904 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1907 .mode-select .midpoint,
1908 .mode-browse .midpoint {
1909 cursor: pointer; /* Opera */
1910 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1913 .mode-select .behavior-multiselect .point,
1914 .mode-select .behavior-multiselect .vertex,
1915 .mode-select .behavior-multiselect .line,
1916 .mode-select .behavior-multiselect .area {
1917 cursor: pointer; /* Opera */
1918 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1921 .mode-select .behavior-multiselect .selected {
1922 cursor: pointer; /* Opera */
1923 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1926 .mode-draw-line #map,
1927 .mode-draw-area #map,
1928 .mode-add-line #map,
1929 .mode-add-area #map,
1930 .mode-drag-node #map {
1931 cursor: crosshair; /* Opera */
1932 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1935 .mode-draw-line .way.hover,
1936 .mode-draw-area .way.hover,
1937 .mode-add-line .way.hover,
1938 .mode-add-area .way.hover,
1939 .mode-drag-node .way.hover {
1940 cursor: crosshair; /* Opera */
1941 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1944 .mode-draw-line .vertex.hover,
1945 .mode-draw-area .vertex.hover,
1946 .mode-add-line .vertex.hover,
1947 .mode-add-area .vertex.hover,
1948 .mode-drag-node .vertex.hover {
1949 cursor: crosshair; /* Opera */
1950 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1953 .mode-add-point #map,
1954 .mode-browse.lasso #map,
1955 .mode-browse.lasso .way,
1956 .mode-browse.lasso .vertex,
1957 .mode-browse.lasso .midpoint,
1958 .mode-select.lasso #map,
1959 .mode-select.lasso .way,
1960 .mode-select.lasso .vertex,
1961 .mode-select.lasso .midpoint {
1962 cursor: crosshair; /* Opera */
1963 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1970 /* photo viewer div */
1977 background-color: #fff;
1980 #photoviewer button.thumb-hide {
1990 .photo-wrapper img {
1996 .photo-wrapper .photo-attribution {
2007 .photo-attribution a,
2008 .photo-attribution a:visited,
2009 .photo-attribution span {
2014 /* markers and sequences */
2016 pointer-events: visible;
2020 .viewfield-group.selected * {
2021 fill: #ffee00 !important;
2023 .viewfield-group.hovered * {
2024 fill: #eebb00 !important;
2027 .viewfield-group circle {
2030 stroke-opacity: 0.4;
2033 .viewfield-group.highlighted circle {
2035 stroke-opacity: 0.9;
2038 .viewfield-group.highlighted.hovered circle {
2041 stroke-opacity: 0.9;
2044 .viewfield-group.highlighted.selected circle {
2051 .viewfield-group .viewfield {
2056 .viewfield-group.highlighted .viewfield {
2060 .viewfield-group.highlighted.hovered .viewfield {
2064 .viewfield-group.highlighted.selected .viewfield {
2069 .viewfield-group.selected .viewfield-scale {
2070 transform: scale(2,2);
2076 stroke-opacity: 0.4;
2078 .sequence.highlighted,
2079 .sequence.selected {
2085 /* Mapillary Image Layer */
2086 .layer-mapillary-images {
2087 pointer-events: none;
2089 .layer-mapillary-images .viewfield-group * {
2092 .layer-mapillary-images .sequence {
2097 /* Mapillary Sign Layer */
2098 .layer-mapillary-signs {
2099 pointer-events: none;
2101 .layer-mapillary-signs .icon-sign .icon-sign-body {
2105 outline: 2px solid transparent;
2106 pointer-events: visible;
2111 .layer-mapillary-signs .icon-sign:hover .icon-sign-body {
2112 outline: 5px solid #eebb00;
2113 background-color: #eebb00;
2116 .layer-mapillary-signs .icon-sign.selected .icon-sign-body {
2117 outline: 5px solid #ffee00;
2118 background-color: #ffee00;
2123 /* OpenStreetCam Image Layer */
2124 .layer-openstreetcam-images {
2125 pointer-events: none;
2127 .layer-openstreetcam-images .viewfield-group * {
2130 .layer-openstreetcam-images .sequence {
2135 /* Mapillary viewer */
2136 #mly .domRenderer .TagSymbol {
2138 background-color: rgba(0,0,0,0.4);
2143 #mly .domRenderer .Attribution {
2144 /* we will roll our own to avoid async update issues like #4526 */
2148 .mly-wrapper .photo-attribution a:active,
2149 .mly-wrapper .photo-attribution a:hover {
2153 .mly-wrapper .mapillary-js-dom {
2157 /* OpenStreetCam viewer */
2160 background-color: #000;
2161 background-image: url(<%= asset_path("iD/img/loader-black.gif") %>);
2162 background-position: center;
2163 background-repeat: no-repeat;
2166 .osc-wrapper .photo-attribution a:active,
2167 .osc-wrapper .photo-attribution a:hover {
2171 .osc-controls-wrap {
2180 display: inline-block;
2184 .osc-controls button {
2187 background: rgba(0,0,0,0.65);
2191 .osc-controls button:first-of-type {
2192 border-radius: 3px 0 0 3px;
2194 .osc-controls button:last-of-type {
2195 border-radius: 0 3px 3px 0;
2197 .osc-controls button:hover,
2198 .osc-controls button:active,
2199 .osc-controls button:focus {
2200 background: rgba(0,0,0,0.85);
2205 transform-origin:0 0;
2206 -ms-transform-origin:0 0;
2207 -webkit-transform-origin:0 0;
2208 -moz-transform-origin:0 0;
2209 -o-transform-origin:0 0;
2213 .low-zoom.fill-wireframe path.stroke,
2214 .fill-wireframe path.stroke {
2215 stroke-width: 1 !important;
2216 stroke-opacity: 0.5 !important;
2217 stroke-dasharray: none !important;
2218 fill: none !important;
2221 .low-zoom.fill-wireframe path.shadow,
2222 .fill-wireframe path.shadow {
2226 .fill-wireframe path.shadow.related:not(.selected),
2227 .fill-wireframe path.shadow.hover:not(.selected) {
2228 stroke-opacity: 0.4;
2230 .fill-wireframe path.shadow.selected {
2231 stroke-opacity: 0.6;
2234 .fill-wireframe .point,
2235 .fill-wireframe .vertex.active,
2236 .fill-wireframe .areaicon,
2237 .fill-wireframe .areaicon-halo,
2238 .fill-wireframe path.casing,
2239 .fill-wireframe path.fill,
2240 .fill-wireframe path.oneway {
2241 display: none !important;
2244 .fill-partial path.area.fill {
2247 pointer-events: none;
2249 .mode-browse .fill-partial path.area.fill,
2250 .mode-select .fill-partial path.area.fill {
2251 pointer-events: visibleStroke;
2254 ------------------------------------------------------- */
2257 Opera misbehaves when the window is resized vertically unless 100% width + height are
2258 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2266 font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2267 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2268 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2275 -ms-user-select: none;
2280 vertical-align: middle;
2298 -webkit-filter: none !important;
2299 filter: none !important;
2300 -webkit-duration: 200ms;
2301 transition-duration: 200ms;
2305 -webkit-filter: grayscale(80%) brightness(80%);
2306 filter: grayscale(80%) brightness(80%);
2307 -webkit-duration: 200ms;
2308 transition-duration: 200ms;
2311 /* Firefox has its own ideas about fixed positioning when a css filter is active - #4348 */
2312 /* https://stackoverflow.com/questions/37949942/firefox-position-bug-by-parent-with-filter */
2313 @-moz-document url-prefix() {
2317 #content.inactive > #bar > .spacer.col4 {
2320 #content.active > #bar > .spacer.col4 {
2322 transition-duration: 200ms;
2323 transition-timing-function: step-end;
2328 /* Can't be display: none or the clippaths are ignored. */
2348 [dir='rtl'] .spinner {
2359 [dir='rtl'] .spinner img {
2362 -moz-transform: scaleX(-1);
2363 -o-transform: scaleX(-1);
2364 -webkit-transform: scaleX(-1);
2365 transform: scaleX(-1);
2367 -ms-filter: "FlipH";
2371 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
2372 -moz-box-sizing: border-box;
2373 -webkit-box-sizing: border-box;
2374 box-sizing: border-box;
2377 a, button, input, textarea {
2378 -webkit-tap-highlight-color:rgba(0,0,0,0);
2379 -webkit-touch-callout:none;
2384 .checkselect label:hover,
2393 margin-bottom: 20px;
2398 h4:last-child { margin-bottom: 0;}
2404 margin-bottom: 10px;
2410 padding-bottom: 10px;
2414 outline-color: transparent;
2415 outline-style: none;
2445 ------------------------------------------------------- */
2449 font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2450 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2451 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2462 background-color: white;
2464 border:1px solid #ccc;
2465 padding:5px 20px 5px 10px;
2469 text-overflow: ellipsis;
2471 [dir='rtl'] textarea,
2472 [dir='rtl'] input[type=text],
2473 [dir='rtl'] input[type=search],
2474 [dir='rtl'] input[type=number],
2475 [dir='rtl'] input[type=url],
2476 [dir='rtl'] input[type=tel],
2477 [dir='rtl'] input[type=email] {
2478 padding:5px 10px 5px 20px;
2483 background-color: #F1F1F1;
2486 input[type="checkbox"],
2487 input[type="radio"] {
2494 [dir='rtl'] input[type="checkbox"],
2495 [dir='rtl'] input[type="radio"] {
2501 /* remove bottom border radius when combobox is open */
2502 .combobox + * textarea:focus,
2503 .combobox + * input:focus {
2504 border-bottom-left-radius: 0 !important;
2505 border-bottom-right-radius: 0 !important;
2511 background-color: white;
2512 border-collapse: collapse;
2521 table.tags, table.tags td, table.tags th {
2522 border: 1px solid #ccc;
2531 ------------------------------------------------------- */
2533 .col0 { float:left; width:04.1666%; }
2534 .col1 { float:left; width:08.3333%; }
2535 .col2 { float:left; width:16.6666%; }
2536 .col3 { float:left; width:25.0000%; max-width: 300px; }
2537 .col4 { float:left; width:33.3333%; max-width: 400px; }
2538 .col5 { float:left; width:41.6666%; max-width: 500px; }
2539 .col6 { float:left; width:50.0000%; max-width: 600px; }
2540 .col7 { float:left; width:58.3333%; }
2541 .col8 { float:left; width:66.6666%; }
2542 .col9 { float:left; width:75.0000%; }
2543 .col10 { float:left; width:83.3333%; }
2544 .col11 { float:left; width:91.6666%; }
2545 .col12 { float:left; width:100.0000%; }
2548 ------------------------------------------------------- */
2550 ul li { list-style: none;}
2552 .toggle-list > label {
2557 background-color: white;
2562 .toggle-list > label:hover {
2563 background-color: #ececec;
2566 .toggle-list > label:not(:last-child) {
2567 border-bottom: 1px solid #ccc;
2570 .toggle-list > label:last-child {
2571 border-radius: 0 0 3px 3px;
2574 .toggle-list label > span {
2577 white-space: nowrap;
2578 text-overflow: ellipsis;
2581 .toggle-list > label.active {
2582 background: #E8EBFF;
2587 ------------------------------------------------------- */
2594 background: #f6f6f6;
2599 background: #ececec;
2604 background:rgba(0,0,0,.5);
2609 background:rgba(0,0,0,.75);
2614 .fr { float: right;}
2632 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2636 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2637 background-size:5px 5px;
2673 display: inline-block;
2680 background-color: #ececec;
2685 background-color: rgba(255,255,255,.25);
2686 color: rgba(0,0,0,.4);
2691 background: #7092ff;
2701 background-color: #fafafa;
2703 [dir='rtl'] button.minor {
2707 button.minor .icon {
2711 button.minor:hover {
2712 background-color: #f1f1f1;
2716 display: inline-block;
2721 .button-wrap button:only-child {
2725 .button-wrap:last-of-type {
2728 [dir='rtl'] .button-wrap:last-of-type {
2730 padding-right: 10px;
2735 border-right: 1px solid rgba(0,0,0,.5);
2737 [dir='rtl'] .joined button {
2738 border-left: 1px solid rgba(0,0,0,.5);
2742 .fillL .joined button {
2743 border-right: 1px solid white;
2746 .joined button:first-child {
2747 border-radius: 4px 0 0 4px;
2749 [dir='rtl'] .joined button:first-child {
2750 border-radius: 0 4px 4px 0;
2753 .joined button:last-child {
2754 border-right-width: 0;
2755 border-radius: 0 4px 4px 0;
2757 [dir='rtl'] .joined button:last-child {
2758 border-radius: 4px 0 0 4px;
2762 background: #7092ff;
2766 button[disabled].action,
2767 button[disabled].action:hover {
2768 background: #cccccc;
2772 button.action:focus,
2773 button.action:hover {
2774 background: #597BE7;
2777 button.secondary-action {
2778 background: #ececec;
2781 button.secondary-action:focus,
2782 button.secondary-action:hover {
2783 background: #cccccc;
2786 button.save .count {
2790 button.save.has-count .count {
2803 margin-left: 9.3333%;
2805 [dir='rtl'] button.save.has-count .count {
2810 button.save.has-count .count::before {
2819 border-top: 6px solid transparent;
2820 border-bottom: 6px solid transparent;
2821 border-right-width: 6px;
2822 border-right-style: solid;
2823 border-right-color: inherit;
2825 [dir='rtl'] button.save.has-count .count::before {
2826 border-left: 6px solid rgba(255,255,255,.5);
2835 vertical-align: top;
2841 vertical-align: text-top;
2850 [dir='rtl'] .icon.pre-text {
2880 /* ToolBar / Persistent UI Elements
2881 ------------------------------------------------------- */
2894 [dir='rtl'] #bar .spacer,
2895 [dir='rtl'] #bar .button-wrap,
2896 [dir='rtl'] #bar .button-wrap button {
2901 /* Header for modals / panes
2902 ------------------------------------------------------- */
2905 border-bottom: 1px solid #ccc;
2913 white-space: nowrap;
2914 text-overflow: ellipsis;
2916 padding: 20px 20px 20px 40px;
2918 [dir='rtl'] .header h3 {
2920 padding: 20px 40px 20px 20px;
2936 .entity-editor-pane .header button.preset-close,
2937 .preset-list-pane .header button.preset-choose {
2942 [dir='rtl'] .entity-editor-pane .header button.preset-close,
2943 [dir='rtl'] .preset-list-pane .header button.preset-choose {
2948 .entity-editor-pane .header button.preset-choose {
2953 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
2971 [dir='rtl'] .modal > button {
2979 padding: 5px 20px 5px 20px;
2980 border-top: 1px solid #ccc;
2981 background-color: #fafafa;
2986 .sidebar-component .body {
2996 ------------------------------------------------------- */
2998 .hide-toggle .icon.pre-text {
2999 vertical-align: text-top;
3004 [dir='rtl'] .hide-toggle .icon.pre-text {
3009 a:visited.hide-toggle,
3011 display: inline-block;
3014 padding-bottom: 5px;
3019 ------------------------------------------------------- */
3027 background: #f6f6f6;
3028 -ms-user-select: element;
3030 [dir='rtl'] #sidebar {
3034 .sidebar-component {
3060 .feature-list-pane .inspector-body {
3064 .preset-list-pane .inspector-body {
3068 .entity-editor-pane .inspector-body {
3072 .selection-list-pane .inspector-body {
3081 #sidebar .search-header .icon {
3086 pointer-events: none;
3088 [dir='rtl'] #sidebar .search-header .icon {
3093 #sidebar .search-header input {
3101 border-bottom-width: 1px;
3115 .feature-list-item {
3118 border-bottom: 1px solid #ccc;
3122 .feature-list-item {
3123 background-color: white;
3129 .feature-list-item:hover {
3130 background-color: #ececec;
3133 .feature-list-item button {
3134 background: transparent;
3137 .feature-list-item .label {
3140 white-space: nowrap;
3141 text-overflow: ellipsis;
3143 border-left: 1px solid rgba(0, 0, 0, .1);
3145 [dir='rtl'] .feature-list-item .label {
3149 .feature-list-item .label .icon {
3153 .feature-list-item .close {
3158 .feature-list-item .close .icon {
3162 .feature-list-item .entity-type {
3166 .feature-list-item:hover .entity-type {
3170 .feature-list-item .entity-name {
3171 font-weight: normal;
3175 [dir='rtl'] .feature-list-item .entity-name {
3177 padding-right: 10px;
3182 ------------------------------------------------------- */
3188 padding: 20px 20px 10px 20px;
3189 border-bottom: 1px solid #ccc;
3192 .preset-list-button-wrap {
3194 margin-bottom: 10px;
3198 .preset-list-button {
3202 border: 1px solid #ccc;
3205 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
3206 background: #ececec;
3209 .preset-icon-fill-area {
3219 .preset-icon-fill-vertex {
3226 border: 1.5px solid #333;
3227 border-radius: 20px;
3228 background-color: #efefef;
3229 backface-visibility: hidden;
3232 [dir='rtl'] .preset-icon-fill-vertex,
3233 [dir='rtl'] .preset-icon-fill-area {
3238 .preset-icon-frame {
3246 [dir='rtl'] .preset-icon-frame {
3251 .preset-icon-frame .icon {
3263 .preset-icon-60 .icon {
3275 .preset-icon-44 .icon {
3287 .preset-icon-28 .icon {
3299 .preset-icon-24 .icon {
3304 [dir='rtl'] .preset-list-button-wrap .preset-icon {
3309 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
3313 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
3317 .preset-list-button .label {
3318 background-color: #f6f6f6;
3327 white-space: nowrap;
3328 text-overflow: ellipsis;
3330 border-left: 1px solid rgba(0, 0, 0, .1);
3331 border-radius: 0 3px 3px 0;
3333 [dir='rtl'] .preset-list-button .label {
3338 border-right: 1px solid rgba(0, 0, 0, .1);
3339 border-radius: 3px 0 0 3px;
3342 .preset-list-button:hover .label {
3343 background-color: #ececec;
3346 .preset-list-item button.tag-reference-button {
3348 border: 1px solid #ccc;
3349 border-radius: 0 3px 3px 0;
3354 background: #fafafa;
3356 [dir='rtl'] .preset-list-item button.tag-reference-button {
3359 border-radius: 3px 0 0 3px;
3362 .preset-list-item button.tag-reference-button:hover {
3363 background: #f1f1f1;
3366 .preset-list-item button.tag-reference-button .icon {
3370 .current .preset-list-button,
3371 .current .preset-list-button .label {
3372 background-color: #E8EBFF;
3375 .category .preset-list-button:after,
3376 .category .preset-list-button:before {
3380 left: -1px; right: -1px;
3381 border: 1px solid #ccc;
3382 border-bottom: none;
3383 border-radius: 6px 6px 0 0;
3387 .category .preset-list-button:before {
3391 .subgrid .preset-list {
3392 padding: 10px 10px 0 10px;
3396 width: -webkit-calc(100% + 20px);
3401 border: solid rgba(0, 0, 0, 0);
3403 border-bottom-color: #f1f1f1;
3407 margin-left: -webkit-calc(50% - 10px);
3412 /* preset form basics */
3416 padding-bottom: 10px;
3419 .preset-editor a.hide-toggle {
3420 margin: 0 20px 5px 20px;
3423 .preset-editor .form-fields-container {
3425 margin: 0 10px 10px 10px;
3429 .preset-editor .form-fields-container:empty {
3433 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
3438 margin-bottom: 10px;
3440 -webkit-transition: margin-bottom 200ms;
3441 -moz-transition: margin-bottom 200ms;
3442 -o-transition: margin-bottom 200ms;
3443 transition: margin-bottom 200ms;
3447 .wrap-form-field:last-child .form-field {
3454 border: 1px solid #cfcfcf;
3455 padding: 5px 0 5px 10px;
3456 background: #f6f6f6;
3458 border-radius: 4px 4px 0 0;
3461 [dir='rtl'] .form-label {
3462 padding: 5px 10px 5px 0;
3465 .form-label-button-wrap {
3471 background: transparent;
3474 [dir='rtl'] .form-label-button-wrap {
3478 .form-label-button-wrap .tag-reference-button {
3479 border-radius: 0 3px 0 0;
3482 .form-label-button-wrap .icon {
3486 .form-label button {
3487 border-left: 1px solid #ccc;
3491 background: #f6f6f6;
3493 [dir='rtl'] .form-label button {
3495 border-right: 1px solid #ccc;
3496 border-radius: 4px 0 0 0;
3499 .form-label button:hover {
3500 background: #f1f1f1;
3503 .form-label .modified-icon,
3504 .form-field .remove-icon {
3508 .modified .form-label .modified-icon,
3509 .present .form-label .remove-icon {
3510 display: inline-block;
3513 .form-field > input,
3514 .form-field > textarea,
3515 .form-field .preset-input-wrap {
3516 border: 1px solid #ccc;
3519 border-radius: 0 0 4px 4px;
3523 .form-field textarea {
3528 border-bottom: 1px solid #ccc
3531 /* Preset form (hover mode) */
3533 .inspector-hover .checkselect label:last-of-type,
3534 .inspector-hover .preset-input-wrap .label,
3535 .inspector-hover .form-field-multicombo,
3536 .inspector-hover .structure-extras-wrap,
3537 .inspector-hover input,
3538 .inspector-hover textarea,
3539 .inspector-hover label {
3540 background: #ececec;
3544 .inspector-hover .form-field-multicombo .chips,
3545 .inspector-hover .checkselect label:last-of-type {
3549 .inspector-hover .form-field-multicombo .chips {
3551 border: 1px solid #ccc;
3554 /* hide and remove from layout */
3556 .inspector-hover label input[type="checkbox"],
3557 .inspector-hover label input[type="radio"],
3558 .inspector-hover .toggle-list label,
3559 .inspector-hover .toggle-list label span,
3560 .inspector-hover .inspector-inner .add-tag,
3561 .inspector-hover .inspector-inner .add-relation,
3562 .inspector-hover .form-field-multicombo .combobox-input,
3563 .inspector-hover .toggle-list label.remove .icon {
3567 opacity: 0 !important;
3573 /* hide but preserve in layout */
3574 .inspector-hover .entity-editor-pane button.minor,
3575 .inspector-hover .combobox-caret,
3576 .inspector-hover .entity-editor-pane .header button,
3577 .inspector-hover .spin-control,
3578 .inspector-hover .form-field-multicombo .chips .remove,
3579 .inspector-hover .hide-toggle:before,
3580 .inspector-hover .more-fields,
3581 .inspector-hover .form-label-button-wrap,
3582 .inspector-hover .tag-reference-button,
3583 .inspector-hover .view-on-osm {
3587 /* Styles for raw tag inspector on hover */
3588 .inspector-hover .tag-row .key-wrap,
3589 .inspector-hover .tag-row .form-field.input-wrap-position {
3593 .inspector-hover .tag-row:first-child input.value {
3594 border-top-right-radius: 4px;
3596 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
3597 border-top-right-radius: 0;
3598 border-top-left-radius: 4px;
3601 .inspector-hover .tag-row:last-child input.value {
3602 border-bottom-right-radius: 4px;
3604 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
3605 border-bottom-right-radius: 0;
3606 border-bottom-left-radius: 4px;
3609 .inspector-hover .tag-row:last-child input.key {
3610 border-bottom-left-radius: 4px;
3612 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
3613 border-bottom-left-radius: 0;
3614 border-bottom-right-radius: 4px;
3617 .inspector-hover .more-fields {
3619 margin-bottom: -10px;
3622 /* Unstyle button fields */
3623 .inspector-hover .toggle-list label.active,
3624 .inspector-hover .entity-editor-pane a.hide-toggle {
3626 background-color: transparent;
3632 .inspector-hover .toggle-list button.active {
3636 /* Add placeholder only on hover for radio buttons */
3637 .inspector-hover .toggle-list .placeholder {
3645 /* Hide placeholder for radio buttons if another is active, or not in hover state */
3646 .toggle-list label.active ~ .placeholder,
3647 .toggle-list .placeholder {
3656 /* adding additional preset fields */
3659 padding: 0 20px 20px 20px;
3662 .changeset-editor .more-fields {
3663 padding: 15px 20px 0 20px;
3666 .more-fields label {
3668 flex-flow: row nowrap;
3669 justify-content: space-between;
3670 align-items: center;
3673 .more-fields input {
3677 [dir='rtl'] .more-fields input {
3682 .preset-input-wrap .label {
3684 background: #F6F6F6;
3688 [dir='rtl'] .preset-input-wrap .col6 {
3693 /* preset form access */
3694 /* preset form cycleway */
3695 /* preset form structure extras */
3697 .structure-extras-wrap li,
3698 .form-field-cycleway .preset-input-wrap li,
3699 .form-field-access .preset-input-wrap li {
3700 border-bottom: 1px solid #ccc;
3702 .structure-extras-wrap li:last-child,
3703 .form-field-cycleway .preset-input-wrap li:last-child,
3704 .form-field-access .preset-input-wrap li:last-child {
3707 .structure-input-type-wrap input,
3708 .structure-input-layer-wrap input,
3709 .preset-input-cycleway-wrap input,
3710 .preset-input-access-wrap input {
3713 border-left-width: 1px;
3715 [dir='rtl'] .structure-input-type-wrap input,
3716 [dir='rtl'] .structure-input-layer-wrap input,
3717 [dir='rtl'] .preset-input-cycleway-wrap input,
3718 [dir='rtl'] .preset-input-access-wrap input {
3719 border-left-width: 0;
3720 border-right-width: 1px;
3723 .preset-input-wrap li:last-child input {
3724 border-bottom-right-radius: 4px;
3727 .structure-extras-wrap {
3731 .structure-extras-wrap ul {
3732 border: 1px solid #ccc;
3735 .structure-extras-wrap li:first-child span {
3736 border-top-left-radius: 4px;
3738 .structure-extras-wrap li:first-child input {
3739 border-top-right-radius: 4px;
3741 .structure-extras-wrap li:last-child span {
3742 border-bottom-left-radius: 4px;
3744 .structure-extras-wrap li:last-child input {
3745 border-bottom-right-radius: 4px;
3747 [dir='rtl'] .structure-extras-wrap li:first-child span {
3748 border-top-left-radius: 0;
3749 border-top-right-radius: 4px;
3751 [dir='rtl'] .structure-extras-wrap li:first-child input {
3752 border-top-right-radius: 0;
3753 border-top-left-radius: 4px;
3755 [dir='rtl'] .structure-extras-wrap li:last-child span {
3756 border-bottom-left-radius: 0;
3757 border-bottom-right-radius: 4px;
3759 [dir='rtl'] .structure-extras-wrap li:last-child input {
3760 border-bottom-right-radius: 0;
3761 border-bottom-left-radius: 4px;
3765 /* preset form multicombo */
3767 .form-field-multicombo {
3768 border: 1px solid #cfcfcf;
3770 padding: 5px 0 5px 10px;
3773 border-radius: 0 0 4px 4px;
3777 .form-field-multicombo:focus {
3781 .form-field-multicombo.active {
3782 border-bottom-left-radius: 0px;
3783 border-bottom-right-radius: 0px;
3786 .form-field-multicombo li {
3787 display: inline-flex;
3788 flex-flow: row nowrap;
3789 align-items: center;
3790 background-color: #eff2f7;
3791 border: 1px solid #ccd5e3;
3798 .form-field-multicombo a {
3799 font-family: Arial, Helvetica, sans-serif !important;
3800 font-size: 16px !important;
3803 margin: 1px 0 0 5px;
3809 .form-field-multicombo input {
3810 border: 1px solid #ddd;
3816 .form-field-multicombo .combobox-caret {
3817 margin: 3px 3px 3px -30px;
3820 .form-field-multicombo input:focus {
3821 border-radius: 4px !important;
3825 /* preset form numbers */
3827 input[type=number] {
3835 display: inline-block;
3837 margin-bottom: -11px;
3840 [dir='rtl'] .spin-control{
3842 margin-right: -64px;
3845 .spin-control button {
3851 border-left: 1px solid #ccc;
3853 background: rgba(0, 0, 0, 0);
3855 [dir='rtl'] .spin-control button{
3857 border-right: 1px solid #ccc;
3860 .spin-control button.decrement {
3861 border-bottom-right-radius: 3px;
3863 [dir='rtl'] .spin-control button.decrement {
3864 border-bottom-right-radius: 0;
3866 [dir='rtl'] .spin-control button.increment {
3867 border-bottom-left-radius: 3px;
3871 .spin-control button.decrement::after,
3872 .spin-control button.increment::after {
3874 height: 0; width: 0;
3876 left: 0; right: 0; bottom: 0; top: 0;
3880 .spin-control button.decrement::after {
3881 border-top: 5px solid #ccc;
3882 border-left: 5px solid transparent;
3883 border-right: 5px solid transparent;
3886 .spin-control button.increment::after {
3887 border-bottom: 5px solid #ccc;
3888 border-left: 5px solid transparent;
3889 border-right: 5px solid transparent;
3893 /* preset form checkbox */
3895 .checkselect label:last-of-type {
3902 .checkselect label:hover {
3903 background: #f1f1f1;
3910 .checkselect label:not(.set) input[type="checkbox"] {
3914 .checkselect .reverser.button {
3917 background-color: #eff2f7;
3918 border: 1px solid #ccd5e3;
3922 [dir='rtl'] .checkselect .reverser.button {
3925 .checkselect .reverser.button.hide {
3929 /* Preset form radio button */
3931 .toggle-list button.remove {
3932 border-radius: 0 0 3px 3px;
3935 .toggle-list button.remove .icon {
3940 .toggle-list button.remove::before {
3944 #preset-input-maxspeed {
3946 border-radius: 0 0 0 4px;
3949 [dir='rtl'] #preset-input-maxspeed {
3950 border-right: 1px solid #ccc;
3951 border-radius: 0 0 4px 0;
3954 .form-field .maxspeed-unit {
3955 border-radius: 0 0 4px 0;
3958 [dir='rtl'] .form-field .maxspeed-unit {
3960 border-radius: 0 0 0 4px;
3963 /* Wikipedia field */
3964 .form-field .wiki-lang {
3967 .form-field .wiki-title {
3970 [dir='rtl'] .form-field .wiki-title {
3972 padding-right: 10px;
3975 .form-field .wiki-title ~ .combobox-caret {
3978 [dir='rtl'] .form-field .wiki-title ~ .combobox-caret {
3983 /* Localized field */
3984 .form-field .localized-main {
3987 [dir='rtl'] .form-field .localized-main {
3989 padding-right: 10px;
3992 .form-field .button-input-action {
3997 border: 1px solid #ccc;
3998 border-top-width: 0;
3999 border-right-width: 0;
4000 border-radius: 0 0 4px 0;
4002 vertical-align: top;
4004 [dir='rtl'] .form-field .button-input-action {
4006 margin-right: -32px;
4007 border-right-width: 1px;
4008 border-radius: 0 0 0 4px;
4011 .form-field .localized-wrap {
4015 .form-field .localized-wrap .entry {
4020 .form-field .localized-wrap .entry::before {
4033 .form-field .localized-wrap .entry .localized-lang {
4035 border-top-width: 0;
4038 .form-field .localized-wrap .entry .localized-value {
4039 border-top-width: 0;
4040 border-radius: 0 0 4px 4px;
4043 .form-field .localized-wrap .form-label button {
4044 border-top-right-radius: 3px;
4047 /* Preset form address */
4053 [dir='rtl'] .addr-row input {
4054 border-right: 1px solid #ccc;
4058 .addr-row:first-of-type input {
4062 .addr-row input:first-of-type {
4065 [dir='rtl'] .addr-row input:first-of-type {
4073 .addr-row:last-of-type input:first-of-type {
4074 border-radius: 0 0 0 4px;
4076 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
4077 border-radius: 0 0 4px 0;
4080 .addr-row:last-of-type input:last-of-type {
4081 border-radius: 0 0 4px 0;
4083 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
4084 border-radius: 0 0 0 4px;
4087 /* Restrictions editor */
4089 .form-field-restrictions .preset-input-wrap {
4094 .form-field-restrictions svg.surface {
4099 .form-field-restrictions .restriction-help {
4106 background-color: rgba(255, 255, 255, .8);
4111 /* Changeset editor while comment text is empty */
4113 .form-field-comment:not(.present) #preset-input-comment {
4114 border-color: rgb(230, 100, 100);
4117 .form-field-comment:not(.present) .form-label {
4118 border-color: rgb(230, 100, 100);
4119 background: rgba(230, 100, 100, 0.2);
4122 .form-field-comment:not(.present) .form-label {
4125 .form-field-comment:not(.present) .form-label-button-wrap {
4126 border-color: rgb(230, 100, 100);
4129 .form-field-comment:not(.present) button {
4130 border-color: rgb(230, 100, 100);
4133 /* combobox dropdown */
4138 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
4144 border: 1px solid #ccc;
4145 border-radius: 0 0 4px 4px;
4151 border-top:1px solid #ccc;
4152 text-overflow: ellipsis;
4153 white-space: nowrap;
4157 .combobox a.selected,
4159 background: #ececec;
4162 .combobox a:first-child {
4167 display: inline-block;
4172 vertical-align: top;
4174 [dir='rtl'] .combobox-caret {
4176 margin-right: -30px;
4179 .combobox-caret::after {
4181 height: 0; width: 0;
4183 left: 0; right: 0; bottom: 0; top: 0;
4185 border-top: 5px solid #ccc;
4186 border-left: 5px solid transparent;
4187 border-right: 5px solid transparent;
4190 /* Raw Tag Editor */
4203 .tag-row.readonly input.key,
4204 .tag-row.readonly input.value,
4205 .tag-row.readonly button.remove {
4207 background-color: #eee;
4208 cursor: not-allowed;
4215 border-bottom: 1px solid #ccc;
4216 border-left: 1px solid #ccc;
4218 [dir='rtl'] .tag-row input {
4220 border-right: 1px solid #ccc;
4224 .tag-row .input-wrap-position {
4229 [dir='rtl'] .tag-row .key-wrap,
4230 [dir='rtl'] .tag-row .input-wrap-position {
4234 .tag-row input.key {
4236 background-color: #f6f6f6;
4239 .tag-row input.value {
4240 border-right: 1px solid #ccc;
4242 [dir='rtl'] .tag-row input.value {
4243 border-left: 1px solid #ccc;
4246 .tag-row:first-child input.key {
4247 border-top: 1px solid #ccc;
4248 border-top-left-radius: 4px;
4250 [dir='rtl'] .tag-row:first-child input.key {
4251 border-top-left-radius: 0;
4252 border-top-right-radius: 4px;
4255 .tag-row:first-child input.value {
4256 border-top: 1px solid #ccc;
4263 border: 1px solid #ccc;
4264 border-top-width: 0;
4265 border-left-width: 0;
4267 [dir='rtl'] .tag-row button {
4269 border-left-width: 1px;
4270 border-right-width: 0;
4273 .tag-row button:hover {
4274 background: #f1f1f1;
4277 .tag-row button .icon {
4281 .tag-row:first-child button {
4282 border-top-width: 1px;
4285 .tag-row:first-child .tag-reference-button {
4286 border-top-right-radius: 4px;
4288 [dir='rtl'] .tag-row:first-child .tag-reference-button {
4289 border-top-left-radius: 4px;
4290 border-top-right-radius: 0;
4293 .tag-row:last-child .tag-reference-button {
4294 border-bottom-right-radius: 4px;
4296 [dir='rtl'] .tag-row:last-child .tag-reference-button {
4297 border-bottom-left-radius: 4px;
4298 border-bottom-right-radius: 0;
4301 .tag-row .tag-reference-button {
4306 background: #fafafa;
4308 [dir='rtl'] .tag-row .tag-reference-button {
4312 border-left-width: 1px;
4313 border-right-width: 0;
4316 /* Adding form fields to tag editor */
4318 .raw-tag-editor .add-tag {
4322 background: rgba(0,0,0,.5);
4323 border-radius: 0 0 4px 4px;
4326 .raw-tag-editor .add-tag:hover {
4327 background: rgba(0,0,0,.8);
4330 .raw-tag-editor .add-tag .label {
4336 button.minor.tag-reference-loading {
4337 background-color: #f5f5f5;
4340 .tag-reference-loading .icon {
4341 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
4342 background-position: 0 0;
4345 .tag-reference-body {
4350 .tag-reference-body .tag-reference-description {
4351 margin: 10px 5px 0 5px;
4354 .tag-reference-body a {
4358 .tag-reference-body .tag-reference-description:last-child,
4359 .tag-reference-body a:last-child {
4360 margin-bottom: 15px;
4363 .preset-list .tag-reference-body {
4368 .raw-tag-editor .tag-reference-body {
4373 .raw-tag-editor .tag-row.readonly .tag-reference-body {
4374 background: #f6f6f6;
4378 .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body {
4379 border-bottom: 1px solid #ccc;
4382 .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
4383 border-top: 1px solid #ccc;
4386 img.tag-reference-wiki-image {
4389 width: -webkit-calc(33.3333% - 10px);
4390 width: calc(33.3333% - 10px);
4393 margin: 10px 5px 15px 20px;
4397 /* Raw relation membership editor */
4399 .raw-member-editor .member-list li:first-child,
4400 .raw-membership-editor .member-list li:first-child {
4404 .raw-member-editor .member-row,
4405 .raw-membership-editor .member-row {
4409 .raw-member-editor .member-row .member-entity-name,
4410 .raw-membership-editor .member-row .member-entity-name {
4411 font-weight: normal;
4415 .member-incomplete .member-delete {
4419 .member-row-new .member-entity-input {
4420 border-radius: 4px 4px 0 0;
4421 border: 1px solid #cfcfcf;
4427 background: rgba(0,0,0,.5);
4432 .add-relation:hover {
4433 background: rgba(0,0,0,.8);
4436 /* hidden field to prevent user from tabbing out of the sidebar */
4441 border: 1px solid rgba(0,0,0,0);
4444 /* Fullscreen button */
4451 div.full-screen .tooltip {
4455 div.full-screen > button, div.full-screen > button.active {
4458 background: transparent;
4461 div.full-screen > button:hover {
4462 background-color: rgba(0, 0, 0, .8);
4474 [dir='rtl'] .map-controls {
4479 .map-control > button {
4481 background: rgba(0,0,0,.5);
4485 .map-control > button:hover {
4486 background: rgba(0, 0, 0, .8);
4489 .map-control > button.active,
4490 .map-control > button.active:hover {
4491 background: #7092ff;
4496 .zoombuttons button.zoom-in {
4497 border-radius: 4px 0 0 0;
4499 [dir='rtl'] .zoombuttons button.zoom-in {
4500 border-radius: 0 4px 0 0;
4503 /* Background / Map Data Settings */
4505 .map-data-control button {
4509 .background-control button {
4510 border-radius: 4px 0 0 0;
4512 [dir='rtl'] .background-control button {
4513 border-radius: 0 4px 0 0;
4517 .background-control {
4522 margin-bottom: 10px;
4523 white-space: nowrap;
4526 .layer-list, .controls-list {
4527 margin-bottom: 10px;
4528 border: 1px solid #ccc;
4535 background-color: white;
4543 .layer-list > li:first-child {
4544 border-radius: 3px 3px 0 0;
4547 .layer-list > li:last-child {
4548 border-radius: 0 0 3px 3px;
4551 .layer-list > li:only-child {
4555 .layer-list li:not(:last-child) {
4556 border-bottom: 1px solid #ccc;
4559 .layer-list li:hover {
4560 background-color: #ececec;
4563 .layer-list li.active,
4564 .layer-list li.switch {
4565 background: #e8ebff;
4568 .layer-list li.best > div.best {
4569 display: inline-block;
4574 [dir='rtl'] .list-item-gpx-browse svg {
4575 transform: rotateY(180deg);
4578 /* make sure tooltip fits in map-control panel */
4579 /* if too wide, placement will be wrong the first time it displays */
4580 .layer-list li.best .tooltip-inner {
4590 .layer-list label > span {
4593 white-space: nowrap;
4594 text-overflow: ellipsis;
4598 /* Background Display Options */
4600 .display-options-container {
4604 .display-control h5 {
4609 .display-control h5 span {
4613 .display-control .display-option-input {
4618 .display-control button {
4623 vertical-align: text-bottom;
4626 [dir='rtl'] .display-control button {
4632 /* Adjust Alignment controls */
4634 .background-control .nudge-container {
4635 border: 1px solid #ccc;
4640 .nudge-container .nudge-instructions {
4641 padding-bottom: 15px;
4644 .nudge-container .nudge-outer-rect {
4645 background-color: #eee;
4646 border: 1px solid #ccc;
4651 justify-content: center;
4652 align-items: center;
4658 .nudge-container .nudge-inner-rect {
4659 background-color: #fff;
4660 border: 1px solid #ccc;
4666 .nudge-container .nudge::after {
4671 left: 0; right: 0; top: 0; bottom: 0;
4676 .nudge-container input {
4683 .nudge-container input.error {
4684 border: 1px solid #ff7878;
4689 .nudge-container input:focus {
4690 background-color: transparent;
4693 .nudge-container button {
4698 background-color: transparent;
4701 .nudge-container button.right {
4706 .nudge-container button.left {
4711 .nudge-container button.top {
4716 .nudge-container button.bottom {
4720 .nudge-container button.nudge-reset {
4731 background-color: transparent;
4735 .background-control .nudge.right::after {
4736 border-top: 5px solid transparent;
4737 border-bottom: 5px solid transparent;
4738 border-left: 5px solid #222;
4741 .background-control .nudge.left::after {
4742 border-top: 5px solid transparent;
4743 border-bottom: 5px solid transparent;
4744 border-right: 5px solid #222;
4747 .background-control .nudge.top::after {
4748 border-right: 5px solid transparent;
4749 border-left: 5px solid transparent;
4750 border-bottom: 5px solid #222;
4753 .background-control .nudge.bottom::after {
4754 border-right: 5px solid transparent;
4755 border-left: 5px solid transparent;
4756 border-top: 5px solid #222;
4760 .map-data-control .layer-list button,
4761 .background-control .layer-list button {
4765 border-left: 1px solid #ccc;
4768 [dir='rtl'] .map-data-control .layer-list button,
4769 [dir='rtl'] .background-control .layer-list button {
4772 border-right: 1px solid #ccc;
4775 .map-data-control .layer-list button .icon,
4776 .background-control .layer-list button .icon {
4780 .map-data-control .layer-list button:first-of-type,
4781 .background-control .layer-list button:first-of-type {
4782 border-radius: 0 3px 3px 0;
4784 [dir='rtl'] .map-data-control .layer-list button:first-of-type,
4785 [dir='rtl'] .background-control .layer-list button:first-of-type {
4786 border-radius: 3px 0 0 3px;
4789 .map-data-control .map-overlay,
4790 .background-control .map-overlay,
4791 .help-control .map-overlay {
4797 .geolocate-control {
4798 margin-bottom: 10px;
4801 .geolocate-control button {
4802 border-radius: 0 0 0 4px;
4804 [dir='rtl'] .geolocate-control button {
4805 border-radius: 0 0 4px 0;
4808 .map-overlay.content {
4812 padding: 20px 50px 20px 20px;
4816 [dir='rtl'] .map-overlay.content {
4817 padding: 20px 20px 20px 50px;
4819 right: auto !important;
4822 .map-overlay.content > div {
4823 padding-bottom: 15px;
4828 .help-control button {
4829 border-radius: 0 0 0 4px;
4831 [dir='rtl'] .help-control button {
4832 border-radius: 0 0 4px 0;
4837 margin-bottom: 20px;
4840 .help-wrap .left-content .body p code {
4844 vertical-align: baseline;
4845 background-color: #f6f6f6;
4846 border: solid 1px #ccc;
4848 border-bottom-color: #bbb;
4850 box-shadow: inset 0 -1px 0 #bbb;
4853 .help-wrap .left-content .icon.pre-text {
4854 vertical-align: text-top;
4857 display: inline-block;
4864 margin-bottom: 20px;
4868 .help-wrap .toc li a,
4871 border: 1px solid #ccc;
4875 .help-wrap .toc li a {
4879 .help-wrap .toc li a:hover,
4880 .help-wrap .nav a:hover {
4881 background: #ececec;
4884 .help-wrap .toc li a.selected {
4885 background: #e8ebff;
4888 .help-wrap .toc li:first-child a {
4889 border-radius: 4px 4px 0 0;
4892 .help-wrap .toc li:nth-last-child(3) a {
4893 border-bottom: 1px solid #ccc;
4894 border-radius: 0 0 4px 4px
4897 .help-wrap .toc li.shortcuts a,
4898 .help-wrap .toc li.walkthrough a {
4901 border-bottom: 1px solid #ccc;
4905 .help-wrap .toc li.walkthrough a {
4919 .help-wrap .nav a:first-child {
4920 border-radius: 4px 0 0 4px;
4923 .help-wrap .nav a:last-child:not(:only-child) {
4924 border-radius: 0 4px 4px 0;
4928 .help-wrap .nav a:only-child {
4935 ------------------------------------------------------- */
4939 transform-origin: 0 0;
4940 -ms-transform-origin: 0 0;
4941 -webkit-transform-origin: 0 0;
4942 -moz-transform-origin: 0 0;
4943 -o-transform-origin: 0 0;
4945 -moz-user-select: none;
4946 -webkit-user-select: none;
4947 -ms-user-select: none;
4952 -webkit-transition: opacity 200ms linear;
4953 -moz-transition: opacity 200ms linear;
4954 transition: opacity 200ms linear;
4967 background: rgba(0, 0, 0, 0.7);
4977 transform-origin: 0 0;
4978 -ms-transform-origin: 0 0;
4979 -webkit-transform-origin: 0 0;
4980 -moz-transform-origin: 0 0;
4981 -o-transform-origin: 0 0;
4983 -moz-user-select: none;
4984 -webkit-user-select: none;
4985 -ms-user-select: none;
4990 outline: 1px solid red;
4995 ------------------------------------------------------- */
5002 -moz-user-select: none;
5003 -webkit-user-select: none;
5004 -ms-user-select: none;
5009 transform-origin: 0 0;
5010 -ms-transform-origin: 0 0;
5011 -webkit-transform-origin: 0 0;
5012 -moz-transform-origin: 0 0;
5013 -o-transform-origin: 0 0;
5016 #supersurface, .layer {
5025 ------------------------------------------------------- */
5034 border: #aaa 1px solid;
5035 box-shadow: 0 0 2em black;
5039 transform-origin:0 0;
5040 -ms-transform-origin:0 0;
5041 -webkit-transform-origin:0 0;
5042 -moz-transform-origin:0 0;
5043 -o-transform-origin:0 0;
5045 -moz-user-select: none;
5046 -webkit-user-select: none;
5047 -ms-user-select: none;
5051 .map-in-map-viewport,
5060 .map-in-map-viewport {
5071 stroke: rgba(255, 255, 0, 0.75);
5073 shape-rendering: crispEdges;
5076 .map-in-map-bbox.thick {
5082 ------------------------------------------------------- */
5084 stroke: currentColor;
5088 .map-in-map-data .debug {
5092 .nocolor { color: rgba(0, 0, 0, 0); }
5093 .red { color: rgba(255, 0, 0, 0.75); }
5094 .green { color: rgba(0, 255, 0, 0.75); }
5095 .blue { color: rgba(0, 0, 255, 0.75); }
5096 .yellow { color: rgba(255, 255, 0, 0.75); }
5097 .cyan { color: rgba(0, 255, 255, 0.75); }
5098 .magenta { color: rgba(255, 0, 255, 0.75); }
5099 .orange { color: rgba(255, 153, 0, 0.75); }
5100 .pink { color: rgba(255, 0, 153, 0.75); }
5101 .purple { color: rgba(153, 0, 255, 0.75); }
5109 pointer-events: none;
5112 .debug-legend-item {
5115 .debug-legend-item:before {
5121 ------------------------------------------------------- */
5124 flex-flow: row-reverse wrap-reverse;
5129 -ms-user-select: element;
5137 display: inline-block;
5149 margin: 2px 0 0 2px;
5151 border: 1px solid rgba(0, 0, 0, 0.75);
5152 padding-bottom: 10px;
5156 .panel-container .panel-title {
5157 border-radius: 4px 4px 0 0;
5164 .panel-title button.close {
5170 [dir='rtl'] .panel-title button.close {
5174 .panel-title button.close:hover {
5178 .panel-title button.close .icon {
5188 .panel-content li span {
5189 display: inline-block;
5190 white-space: nowrap;
5194 .panel-content .button {
5195 display: inline-block;
5196 background: #7092ff;
5203 [dir='rtl'] .panel-content .button {
5208 .panel-content-history .links a {
5211 [dir='rtl'] .panel-content-history .links a {
5216 .panel-content-history .view-history-on-osm {
5221 .panel-content-location .location-info {
5227 ------------------------------------------------------- */
5235 pointer-events: none;
5237 flex-direction: column;
5238 -ms-user-select: element;
5247 #attrib * { pointer-events: all; }
5249 .base-layer-attribution,
5250 .overlay-layer-attribution {
5256 .base-layer-attribution {
5260 .overlay-layer-attribution {
5264 .overlay-layer-attribution .attribution:not(:last-child):after {
5269 .attribution a:visited {
5273 .attribution a:hover {
5277 .attribution .source-image {
5279 vertical-align: middle;
5288 pointer-events: all;
5293 /* footer flash message */
5298 flex-flow: row nowrap;
5299 justify-content: space-between;
5309 flex-flow: row nowrap;
5310 align-items: center;
5322 .flash-icon circle {
5325 .flash-icon.disabled circle {
5327 fill: rgba(255,255,255,0.7);
5333 .flash-icon.disabled use {
5334 color: rgba(32,32,32,0.7);
5337 .flash-icon.operation use {
5341 .flash-icon.operation.disabled use {
5342 fill: rgba(32,32,32,0.7);
5343 color: rgba(40,40,40,0.7);
5353 flex-flow: row nowrap;
5354 justify-content: space-between;
5363 transition: bottom 75ms linear;
5364 -moz-transition: bottom 75ms linear;
5365 -webkit-transition: bottom 75ms linear;
5370 transition: bottom 75ms linear;
5371 -moz-transition: bottom 75ms linear;
5372 -webkit-transition: bottom 75ms linear;
5379 vertical-align: bottom;
5383 -moz-user-select: none;
5384 -webkit-user-select: none;
5385 -ms-user-select: none;
5398 [dir='rtl'] #scale {
5399 transform: scaleX(-1);
5407 font: 12px sans-serif;
5412 [dir='rtl'] #scale text {
5413 transform: scaleX(-1);
5420 shape-rendering: crispEdges;
5430 [dir='rtl'] #about-list {
5439 border-left: 1px solid rgba(255,255,255,.5);
5440 padding: 5px 0 5px 5px;
5443 [dir='rtl'] #about-list li {
5446 border-right: 1px solid rgba(255,255,255,.5);
5449 padding: 5px 5px 5px 0;
5453 #about-list li:last-child {
5458 [dir='rtl'] #about-list li:last-child {
5463 padding: 2px 4px 4px 4px;
5466 .source-switch a.live {
5467 background: #d32232;
5471 .feature-warning a {
5472 background: #1e90ff;
5473 padding: 2px 4px 4px 4px;
5478 .user-list a:not(:last-child):after {
5488 [dir='rtl'] .api-status {
5492 .api-status.offline,
5493 .api-status.readonly,
5501 .api-status-login:hover {
5506 display: inline-block;
5507 background: #d32232;
5510 border-radius: 11px;
5513 [dir='rtl'] .badge {
5520 [dir='rtl'] .badge a {
5525 vertical-align: baseline;
5533 ------------------------------------------------------- */
5537 display: inline-block;
5548 margin-bottom: 10px;
5551 .modal .description {
5567 background:rgba(0,0,0,0.5);
5569 left:0px; right:0px; top:0px; bottom:0px;
5574 border-bottom: 1px solid #ccc;
5577 .modal-section.header h3 {
5581 .modal-section.buttons {
5585 .modal-section.buttons .action {
5586 display: inline-block;
5589 vertical-align: middle;
5592 .save-section .buttons .action,
5593 .save-section .buttons .secondary-action {
5594 display: inline-block;
5597 vertical-align: middle;
5604 .modal-actions button,
5605 .save-success a.button {
5606 font-weight: normal;
5608 border-bottom: 1px solid #ccc;
5612 display: inline-block;
5615 .modal-actions button:hover
5616 .save-success a.button:hover {
5617 background-color: #ececec;
5627 .modal-actions > :first-child {
5628 border-right: 1px solid #ccc;
5631 .modal-section:last-child {
5636 ------------------------------------------------------- */
5637 .modal-actions .logo-restore {
5640 .modal-actions .logo-reset {
5645 ------------------------------------------------------- */
5647 padding: 15px 15px 0 15px;
5649 .save-success a.details {
5652 .save-success .button {
5655 .save-success .logo-osm {
5657 margin-bottom: 10px;
5659 .save-success a.button.social {
5661 border-bottom: none;
5663 .save-success .icon.social {
5670 ------------------------------------------------------- */
5671 .modal-actions .logo-walkthrough,
5672 .modal-actions .logo-features {
5678 ------------------------------------------------------- */
5684 .modal-shortcuts .modal-section:last-child {
5689 .modal-shortcuts .tabs-bar {
5691 padding-bottom: 5px;
5696 .modal-shortcuts .tab {
5697 display: inline-block;
5703 .modal-shortcuts .tab.active {
5706 .modal-shortcuts .tab:hover {
5708 background-color: #efefef;
5711 .modal-shortcuts .shortcut-tab {
5713 flex-flow: row wrap;
5716 .modal-shortcuts .shortcut-column {
5721 .modal-shortcuts .shortcut-tab-tools .shortcut-column {
5726 .modal-shortcuts td {
5727 padding-bottom: 5px;
5730 .modal-shortcuts .shortcut-section {
5731 padding: 20px 0 10px 0;
5734 .modal-shortcuts .shortcut-keys {
5735 padding-right: 10px;
5739 [dir='rtl'] .modal-shortcuts .shortcut-keys {
5740 padding-right: auto;
5745 .modal-shortcuts .shortcut-keys kbd {
5746 display: inline-block;
5753 vertical-align: baseline;
5754 background-color: #fcfcfc;
5755 border: solid 1px #ccc;
5757 border-bottom-color: #bbb;
5759 box-shadow: inset 0 -1px 0 #bbb;
5762 svg.mouseclick use.left {
5763 fill: rgba(112, 146, 255, 1);
5764 color: rgba(112, 146, 255, 0);
5766 svg.mouseclick use.right {
5767 fill: rgba(112, 146, 255, 0);
5768 color: rgba(112, 146, 255, 1);
5771 .modal-shortcuts .shortcut-keys .gesture {
5779 ------------------------------------------------------- */
5780 .mode-save a.user-info {
5781 display: inline-block;
5784 .mode-save .commit-form {
5788 .mode-save .user-info img {
5792 .mode-save h3 small.count {
5800 border-radius: 24px;
5802 background: #7092ff;
5806 .mode-save .field-warning {
5808 border: 1px solid #ccc;
5813 .mode-save .field-warning:empty {
5817 .mode-save .field-warning,
5818 .mode-save .changeset-info,
5819 .mode-save .request-review,
5820 .mode-save .commit-info {
5821 margin-bottom: 10px;
5824 .mode-save .request-review label {
5828 .mode-save .changeset-list {
5829 border: 1px solid #ccc;
5832 margin-bottom: 10px;
5835 .mode-save .warning-section {
5839 .mode-save .warning-section .changeset-list button {
5840 border-left: 1px solid #ccc;
5843 .mode-save .changeset-list li {
5845 border-top: 1px solid #ccc;
5850 .mode-save .changeset-list li:hover {
5851 background-color: #ececec;
5854 .mode-save .changeset-list .alert {
5858 .changeset-list li span.count {
5863 .mode-save .commit-section .changeset-list button {
5864 border-left: 1px solid #ccc;
5867 .changeset-list li span.count:before { content: '('; }
5869 .changeset-list li span.count:after { content: ')'; }
5871 .changeset-list li:first-child { border-top: 0;}
5873 /* Conflict resolution
5874 ------------------------------------------------------- */
5878 background-color: #ffffbb;
5879 border-bottom: 1px solid #ccc;
5882 .conflicts-buttons {
5886 .mode-save button.conflicts-button {
5890 .conflict-container {
5891 border-bottom: 1px solid #ccc;
5894 .conflict-description {
5900 padding: 20px 20px 0 20px;
5903 .conflict-detail-container {
5915 .conflict-nav-buttons {
5916 padding: 10px 0 20px 0;
5919 .conflict-nav-button {
5924 ------------------------------------------------------- */
5942 .notice .zoom-to:hover {
5943 background: rgba(0,0,0,0.6);
5946 .notice .zoom-to .icon {
5949 vertical-align: middle;
5952 [dir='rtl'] .notice .zoom-to .icon {
5958 ------------------------------------------------------- */
5995 display: inline-block;
6000 font-weight: normal;
6001 background-color: white;
6007 pointer-events: none;
6011 background: transparent;
6019 border-color: transparent;
6020 border-style: solid;
6024 border-left-color: white;
6025 border-width: 5px 0 5px 5px;
6044 border-color: transparent;
6045 border-style: solid;
6049 border-right-color: white;
6050 border-width: 5px 5px 5px 0;
6057 border-color: transparent;
6058 border-style: solid;
6061 .tooltip.top .tooltip-arrow {
6065 border-top-color: white;
6066 border-width: 5px 5px 0;
6069 .tooltip.right .tooltip-arrow {
6073 border-right-color: white;
6074 border-width: 5px 5px 5px 0;
6077 .tooltip.left .tooltip-arrow {
6081 border-left-color: white;
6082 border-width: 5px 0 5px 5px;
6085 .tooltip.bottom .tooltip-arrow {
6089 border-bottom-color: white;
6090 border-width: 0 5px 5px;
6095 background: #F6F6F6;
6097 margin: -10px -10px 10px -10px;
6098 border-radius: 3px 3px 0 0;
6103 background: #F6F6F6;
6105 margin: 10px -10px -10px -10px;
6106 border-radius: 0 0 3px 3px;
6109 .tooltip-inner .keyhint {
6114 /* Exceptions for tooltip layouts */
6116 /* make tooltips in panels dark */
6117 .map-overlay .tooltip.top .tooltip-arrow,
6118 .entity-editor-pane .tooltip.top .tooltip-arrow,
6119 .warning-section .tooltip.top .tooltip-arrow {
6120 border-top-color: #000;
6123 .map-overlay .tooltip.bottom .tooltip-arrow,
6124 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
6125 .warning-section .tooltip.bottom .tooltip-arrow {
6126 border-bottom-color: #000;
6129 .map-overlay .tooltip.left .tooltip-arrow,
6130 .entity-editor-pane .tooltip.left .tooltip-arrow,
6131 .warning-section .tooltip.left .tooltip-arrow {
6132 border-left-color: #000;
6135 .map-overlay .tooltip.right .tooltip-arrow,
6136 .entity-editor-pane .tooltip.right .tooltip-arrow,
6137 .warning-section .tooltip.right .tooltip-arrow {
6138 border-right-color: #000;
6141 .map-overlay .tooltip-inner,
6142 .map-overlay .tooltip-heading,
6143 .map-overlay .keyhint-wrap,
6144 .entity-editor-pane .tooltip-inner,
6145 .warning-section .tooltip-inner {
6149 /* commit warning tooltips need to be closer */
6150 .warning-section .tooltip.top {
6154 /* Uncramp map-control tooltips */
6155 .map-control .tooltip {
6158 .map-control .shortcuts .tooltip {
6162 /* Move over tooltips that are near the edge of screen */
6163 .add-point .tooltip {
6164 left: 33.3333% !important;
6166 [dir='rtl'] .add-point .tooltip {
6167 left: inherit !important;
6170 .add-point .tooltip .tooltip-arrow {
6173 [dir='rtl'] .add-point .tooltip .tooltip-arrow {
6178 li:first-of-type .badge .tooltip,
6179 li.hide + li.version .badge .tooltip {
6180 left: auto !important;
6181 right: 5px !important;
6183 [dir='rtl'] li:first-of-type .badge .tooltip,
6184 [dir='rtl'] li.hide + li.version .badge .tooltip {
6185 left: 5px !important;
6186 right: auto !important;
6188 li:first-of-type .badge .tooltip .tooltip-arrow,
6189 li.hide + li.version .badge .tooltip .tooltip-arrow {
6190 right: 15px !important;
6191 left: auto !important;
6193 [dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
6194 [dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
6195 left: 15px !important;
6196 right: auto !important;
6200 /* radial menu (deprecated) */
6202 .radial-menu-tooltip {
6209 .radial-menu-background {
6212 stroke-opacity: 0.5;
6215 .radial-menu-item circle {
6219 .radial-menu-item circle:active,
6220 .radial-menu-item circle:hover {
6224 .radial-menu-item.disabled circle {
6226 fill: rgba(255,255,255,.5);
6229 .radial-menu-item use {
6234 .radial-menu-item.disabled use {
6235 fill: rgba(32,32,32,.5);
6236 color: rgba(40,40,40,.5);
6241 .edit-menu-tooltip {
6247 .edit-menu-background {
6251 .edit-menu-item rect {
6256 .edit-menu-item rect:active,
6257 .edit-menu-item rect:hover {
6261 .edit-menu-item.disabled rect {
6262 cursor: not-allowed;
6264 .edit-menu-item.disabled rect:hover {
6265 cursor: not-allowed;
6269 .edit-menu-item use {
6272 pointer-events: none;
6275 .edit-menu-item.disabled use {
6276 fill: rgba(32,32,32,.2);
6277 color: rgba(40,40,40,.2);
6286 stroke-dasharray: 5, 5;
6290 ------------------------------------------------------- */
6292 @media only screen and (max-width: 840px) {
6293 /* override hide for save button */
6294 #bar .save .label { display: block;}
6297 @media screen and (max-width: 1200px) {
6298 .user-list { display: none !important; }
6301 @media screen and (max-width: 1000px) {
6302 #userLink { display: none !important; }
6305 @media screen and (max-width: 900px) {
6306 #scale-block { display: none !important; }
6311 ----------------------------------------------------- */
6313 ::-webkit-scrollbar {
6318 border-left: 1px solid #DDD;
6321 ::-webkit-scrollbar-track {
6322 background-clip: padding-box;
6323 border: solid transparent;
6327 ::-webkit-scrollbar-thumb {
6328 background-color: rgba(0,0,0,.2);
6329 background-clip: padding-box;
6330 border: solid transparent;
6331 border-width: 3px 3px 3px 4px;
6334 ::-webkit-scrollbar-track:hover,
6335 ::-webkit-scrollbar-track:active {
6336 background-color: rgba(0,0,0,.05);
6339 /* Intro walkthrough
6340 ----------------------------------------------------- */
6343 pointer-events: all;
6351 flex-direction: row;
6360 .intro-nav-wrap .intro-nav-wrap-logo {
6366 vertical-align: middle;
6369 .intro-nav-wrap .joined {
6372 flex-direction: row;
6375 .intro-nav-wrap button.chapter {
6380 .intro-nav-wrap button.chapter.next {
6381 animation-duration: 1s;
6382 animation-name: pulse;
6383 animation-iteration-count: infinite;
6384 animation-direction: alternate;
6387 from { background: #7092ff; }
6388 to { background: #c6d4ff; }
6391 .intro-nav-wrap button.chapter.finished {
6392 background: #8cd05f;
6395 .intro-nav-wrap button.chapter .status {
6399 .intro-nav-wrap button.chapter.finished .status {
6400 display: inline-block;
6403 .curtain-tooltip.tooltip.in {
6406 .curtain-tooltip.tooltip {
6409 [dir='rtl'] .curtain-tooltip.tooltip {
6413 .curtain-tooltip .tooltip-inner {
6419 .curtain-tooltip .tooltip-inner .button-section,
6420 .curtain-tooltip .tooltip-inner .instruction {
6423 border-top: 1px solid #ccc;
6426 margin-right: -20px;
6427 padding: 10px 20px 0 20px;
6430 [dir='rtl'] .curtain-tooltip .tooltip-inner .button-section button.col8 {
6434 .curtain-tooltip .tooltip-inner .instruction:only-child {
6440 .curtain-tooltip .tooltip-inner .icon.pre-text {
6441 vertical-align: text-top;
6444 display: inline-block;
6447 .curtain-tooltip.intro-points-describe ,
6448 .curtain-tooltip.intro-lines-name_road {
6449 top: 133px !important;
6452 .tooltip-illustration {
6458 [dir='rtl'] .tooltip-illustration {
6460 margin-right: -20px;
6463 .curtain-tooltip.intro-mouse {
6464 -moz-user-select: none;
6465 -webkit-user-select: none;
6466 -ms-user-select: none;
6470 .curtain-tooltip.intro-mouse .counter {
6481 .curtain-tooltip.intro-mouse .tooltip-illustration use {
6482 fill: rgba(112, 146, 255, 0);
6483 color: rgba(112, 146, 255, 0);
6485 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
6486 fill: rgba(112, 146, 255, 1);
6488 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
6489 color: rgba(112, 146, 255, 1);
6492 .huge-modal-button {
6498 .huge-modal-button .illustration {