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;
193 pointer-events: visibleStroke;
197 /* `.target` objects are interactive */
198 /* They can be picked up, clicked, hovered, or things can connect to them */
200 pointer-events: fill;
207 pointer-events: stroke;
211 stroke: currentColor;
212 stroke-linecap: round;
213 stroke-linejoin: round;
216 /* `.target-nope` objects are explicitly forbidden to join to */
217 .surface:not(.nope-disabled) .node.target.target-nope,
218 .surface:not(.nope-disabled) .way.target.target-nope {
223 /* `.active` objects (currently being drawn or dragged) are not interactive */
224 /* This is important to allow the events to drop through to whatever is */
225 /* below them on the map, so you can still hover and connect to other things. */
227 pointer-events: none !important;
246 g.point.related:not(.selected) .shadow,
247 g.point.hover:not(.selected) .shadow {
251 g.point.selected .shadow {
255 g.point ellipse.stroke {
259 .mode-drag-node g.point.active ellipse.stroke {
264 /* vertices and midpoints */
276 g.vertex.shared .stroke {
294 g.vertex.related:not(.selected) .shadow,
295 g.vertex.hover:not(.selected) .shadow,
296 g.midpoint.related:not(.selected) .shadow,
297 g.midpoint.hover:not(.selected) .shadow {
301 g.vertex.selected .shadow {
308 .preset-icon .icon.other-line {
314 stroke-linecap: round;
315 stroke-linejoin: round;
329 path.shadow.related:not(.selected),
330 path.shadow.hover:not(.selected) {
334 path.shadow.selected {
344 /* Labels / Markers */
352 .oneway .textpath.tag-waterway {
356 .onewaygroup path.oneway,
357 .viewfieldgroup path.viewfield {
363 text.pointlabel-halo,
367 dominant-baseline: middle;
372 -webkit-transition: opacity 100ms linear;
373 transition: opacity 100ms linear;
374 -moz-transition: opacity 100ms linear;
377 /* Opera doesn't support dominant-baseline. See #715 */
378 /* Safari 10 seems to have regressed too */
379 .linelabel-halo .textpath,
380 .linelabel .textpath {
381 baseline-shift: -33%;
382 dominant-baseline: auto;
385 .layer-labels-halo text {
389 stroke-miterlimit: 1;
400 .icon.areaicon-halo {
404 stroke-miterlimit: 1;
413 /* Turn Restrictions */
421 .form-field-restrictions .vertex {
422 cursor: auto !important;
423 pointer-events: none;
426 /* Turn restriction paths and vertices */
427 .surface.tr .way.target,
428 .surface.tr path.shadow.selected,
429 .surface.tr path.shadow.related {
433 .surface.tr path.shadow.selected,
434 .surface.tr path.shadow.related,
435 .surface.tr g.vertex.selected .shadow,
436 .surface.tr g.vertex.related .shadow {
440 .surface.tr path.shadow.related.allow,
441 .surface.tr g.vertex.related.allow .shadow {
444 .surface.tr path.shadow.related.restrict,
445 .surface.tr g.vertex.related.restrict .shadow {
448 .surface.tr path.shadow.related.only,
449 .surface.tr g.vertex.related.only .shadow {
457 pointer-events: none;
470 dominant-baseline: middle;
481 stroke-miterlimit: 1;
485 /* Default - light gray */
492 stroke: rgba(255, 255, 255, 0.3);
493 fill: rgba(255, 255, 255, 0.3);
496 .preset-icon-fill-area {
497 border: 1px solid rgb(170, 170, 170);
498 background-color: rgba(170, 170, 170, 0.3);
501 path.shadow.old-multipolygon,
502 path.stroke.old-multipolygon {
503 stroke-dasharray: 100, 5;
504 stroke-linecap: butt;
508 path.stroke.tag-landuse,
509 path.stroke.tag-natural,
510 path.stroke.tag-leisure-nature_reserve,
511 path.stroke.tag-leisure-pitch,
512 path.stroke.tag-leisure-park {
513 stroke: rgb(140, 208, 95);
515 path.fill.tag-landuse,
516 path.fill.tag-natural,
517 path.fill.tag-leisure-nature_reserve,
518 path.fill.tag-leisure-pitch,
519 path.fill.tag-leisure-park {
520 stroke: rgba(140, 208, 95, 0.3);
521 fill: rgba(140, 208, 95, 0.3);
523 .preset-icon-fill-area.tag-landuse,
524 .preset-icon-fill-area.tag-natural,
525 .preset-icon-fill-area.tag-leisure-nature_reserve,
526 .preset-icon-fill-area.tag-leisure-pitch,
527 .preset-icon-fill-area.tag-leisure-park {
528 border-color: rgb(140, 208, 95);
529 background-color: rgba(140, 208, 95, 0.3);
533 path.stroke.tag-amenity-swimming_pool,
534 path.stroke.tag-leisure-swimming_pool,
535 path.stroke.tag-natural-water,
536 path.stroke.tag-landuse-aquaculture,
537 path.stroke.tag-landuse-basin,
538 path.stroke.tag-landuse-harbour,
539 path.stroke.tag-landuse-reservoir {
540 stroke: rgb(119, 211, 222);
542 path.fill.tag-amenity-swimming_pool,
543 path.fill.tag-leisure-swimming_pool,
544 path.fill.tag-landuse-aquaculture,
545 path.fill.tag-landuse-basin,
546 path.fill.tag-landuse-harbour,
547 path.fill.tag-landuse-reservoir,
548 path.fill.tag-natural-water {
549 stroke: rgba(119, 211, 222, 0.3);
550 fill: rgba(119, 211, 222, 0.3);
552 .preset-icon-fill-area.tag-amenity-swimming_pool,
553 .preset-icon-fill-area.tag-leisure-swimming_pool,
554 .preset-icon-fill-area.tag-landuse-aquaculture,
555 .preset-icon-fill-area.tag-landuse-basin,
556 .preset-icon-fill-area.tag-landuse-harbour,
557 .preset-icon-fill-area.tag-landuse-reservoir,
558 .preset-icon-fill-area.tag-natural-water {
559 border-color: rgb(119, 211, 222);
560 background-color: rgba(119, 211, 222, 0.3);
564 .pattern-color-beach,
566 .pattern-color-scrub {
567 fill: rgba(255, 255, 148, 0.2);
569 path.stroke.tag-leisure-pitch.tag-sport-beachvolleyball,
570 path.stroke.tag-natural-beach,
571 path.stroke.tag-natural-sand,
572 path.stroke.tag-natural-scrub,
573 path.stroke.tag-amenity-childcare,
574 path.stroke.tag-amenity-kindergarten,
575 path.stroke.tag-amenity-school,
576 path.stroke.tag-amenity-college,
577 path.stroke.tag-amenity-university {
578 stroke: rgba(255, 255, 148, 0.75);
580 path.fill.tag-leisure-pitch.tag-sport-beachvolleyball,
581 path.fill.tag-natural-beach,
582 path.fill.tag-natural-sand,
583 path.fill.tag-natural-scrub,
584 path.fill.tag-amenity-childcare,
585 path.fill.tag-amenity-kindergarten,
586 path.fill.tag-amenity-school,
587 path.fill.tag-amenity-college,
588 path.fill.tag-amenity-university {
589 stroke: rgba(255, 255, 148, 0.15);
590 fill: rgba(255, 255, 148, 0.15);
592 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-beachvolleyball,
593 .preset-icon-fill-area.tag-natural-beach,
594 .preset-icon-fill-area.tag-natural-sand,
595 .preset-icon-fill-area.tag-natural-scrub,
596 .preset-icon-fill-area.tag-amenity-childcare,
597 .preset-icon-fill-area.tag-amenity-kindergarten,
598 .preset-icon-fill-area.tag-amenity-school,
599 .preset-icon-fill-area.tag-amenity-college,
600 .preset-icon-fill-area.tag-amenity-university {
601 border-color: rgb(232, 232, 0);
602 background-color: rgba(255, 255, 148, 0.15);
606 .pattern-color-construction {
607 fill: rgba(196, 189, 25, 0.3);
609 path.stroke.tag-landuse-residential,
610 path.stroke.tag-landuse.tag-status,
611 path.stroke.tag-landuse-construction {
612 stroke: rgb(196, 189, 25);
614 path.fill.tag-landuse-residential {
615 stroke: rgba(196, 189, 25, 0.3);
616 fill: rgba(196, 189, 25, 0.3);
618 .preset-icon-fill-area.tag-landuse-residential,
619 .preset-icon-fill-area.tag-landuse.tag-status,
620 .preset-icon-fill-area.tag-landuse-construction {
621 border-color: rgb(196, 189, 25);
622 background: rgba(196, 189, 25, 0.3);
626 path.stroke.tag-landuse-retail,
627 path.stroke.tag-landuse-commercial,
628 path.stroke.tag-landuse-landfill,
629 path.stroke.tag-military,
630 path.stroke.tag-landuse-military {
631 stroke: rgb(214, 136, 26);
633 path.fill.tag-landuse-retail,
634 path.fill.tag-landuse-commercial,
635 path.fill.tag-landuse-landfill,
636 path.fill.tag-military,
637 path.fill.tag-landuse-military {
638 stroke: rgba(214, 136, 26, 0.3);
639 fill: rgba(214, 136, 26, 0.3);
641 .preset-icon-fill-area.tag-landuse-retail,
642 .preset-icon-fill-area.tag-landuse-commercial,
643 .preset-icon-fill-area.tag-landuse-landfill,
644 .preset-icon-fill-area.tag-military,
645 .preset-icon-fill-area.tag-landuse-military {
646 border-color: rgb(214, 136, 26);
647 background-color: rgba(214, 136, 26, 0.3);
651 path.stroke.tag-landuse-industrial,
652 path.stroke.tag-power-plant {
653 stroke: rgb(228, 164, 245);
655 path.fill.tag-landuse-industrial,
656 path.fill.tag-power-plant {
657 stroke: rgba(228, 164, 245, 0.3);
658 fill: rgba(228, 164, 245, 0.3);
660 .preset-icon-fill-area.tag-landuse-industrial,
661 .preset-icon-fill-area.tag-power-plant {
662 border-color: rgb(228, 164, 245);
663 background-color: rgba(228, 164, 245, 0.3);
667 .pattern-color-wetland {
668 fill: rgba(153, 225, 170, 0.3);
670 path.stroke.tag-natural-wetland {
671 stroke: rgb(153, 225, 170);
673 .preset-icon-fill-area.tag-natural-wetland {
674 border-color: rgb(153, 225, 170);
675 background-color: rgba(153, 225, 170, 0.2);
678 /* Light Green things */
679 .pattern-color-cemetery,
680 .pattern-color-orchard,
681 .pattern-color-meadow,
683 .pattern-color-farmland {
684 fill: rgba(191, 232, 63, 0.2);
686 path.stroke.tag-landuse-cemetery,
687 path.stroke.tag-landuse-orchard,
688 path.stroke.tag-landuse-meadow,
689 path.stroke.tag-landuse-farm,
690 path.stroke.tag-landuse-farmland {
691 stroke: rgb(191, 232, 63);
693 .preset-icon-fill-area.tag-landuse-cemetery,
694 .preset-icon-fill-area.tag-landuse-orchard,
695 .preset-icon-fill-area.tag-landuse-meadow,
696 .preset-icon-fill-area.tag-landuse-farm,
697 .preset-icon-fill-area.tag-landuse-farmland {
698 background-color: rgba(191, 232, 63, 0.2);
702 path.stroke.tag-landuse-farmyard {
703 stroke: rgb(245, 220, 186);
705 path.fill.tag-landuse-farmyard {
706 stroke: rgba(245, 220, 186, 0.3);
707 fill: rgba(245, 220, 186, 0.3);
709 .preset-icon-fill-area.tag-landuse-farmyard {
710 border-color: rgb(226, 177, 111);
711 background: rgba(245, 220, 186, 0.3);
714 /* Dark Gray things */
715 path.stroke.tag-amenity-parking,
716 path.stroke.tag-leisure-pitch.tag-sport-basketball,
717 path.stroke.tag-leisure-pitch.tag-sport-skateboard,
718 path.stroke.tag-natural-bare_rock,
719 path.stroke.tag-natural-scree,
720 path.stroke.tag-landuse-railway,
721 path.stroke.tag-landuse-quarry {
724 path.fill.tag-amenity-parking,
725 path.fill.tag-leisure-pitch.tag-sport-basketball,
726 path.fill.tag-leisure-pitch.tag-sport-skateboard,
727 path.fill.tag-natural-bare_rock,
728 path.fill.tag-natural-scree,
729 path.fill.tag-landuse-railway,
730 path.fill.tag-landuse-quarry {
731 stroke: rgba(140, 140, 140, 0.5);
732 fill: rgba(140, 140, 140, 0.5);
734 .preset-icon-fill-area.tag-amenity-parking,
735 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-basketball,
736 .preset-icon-fill-area.tag-leisure-pitch.tag-sport-skateboard,
737 .preset-icon-fill-area.tag-natural-bare_rock,
738 .preset-icon-fill-area.tag-natural-scree,
739 .preset-icon-fill-area.tag-landuse-railway,
740 .preset-icon-fill-area.tag-landuse-quarry {
741 border-color: rgb(170, 170, 170);
742 background-color: rgba(140, 140, 140, 0.5);
745 /* Light gray overrides */
746 path.stroke.tag-natural-cave_entrance,
747 path.stroke.tag-natural-glacier {
750 path.fill.tag-natural-cave_entrance,
751 path.fill.tag-natural-glacier {
752 stroke: rgba(255, 255, 255, 0.3);
753 fill: rgba(255, 255, 255, 0.3);
755 .preset-icon-fill-area.tag-natural-cave_entrance,
756 .preset-icon-fill-area.tag-natural-glacier {
757 border-color: rgb(170, 170, 170);
758 background: rgba(170, 170, 170, 0.3);
763 .preset-icon .icon.tag-highway.other-line {
767 path.casing.tag-highway {
770 path.stroke.tag-highway {
776 path.stroke.area.tag-highway,
777 .low-zoom path.stroke.area.tag-highway {
779 stroke-dasharray: none;
785 path.shadow.tag-highway {
788 path.casing.tag-highway {
791 path.stroke.tag-highway {
795 .low-zoom path.shadow.tag-highway {
798 .low-zoom path.casing.tag-highway {
801 .low-zoom path.stroke.tag-highway {
805 .preset-icon .icon.highway-motorway,
806 .preset-icon .icon.highway-motorway-link {
810 path.stroke.tag-highway-motorway,
811 path.stroke.tag-highway-motorway_link,
812 path.stroke.tag-motorway {
815 path.casing.tag-highway-motorway,
816 path.casing.tag-highway-motorway_link,
817 path.casing.tag-motorway {
821 .preset-icon .icon.highway-trunk,
822 .preset-icon .icon.highway-trunk-link {
826 path.stroke.tag-highway-trunk,
827 path.stroke.tag-highway-trunk_link,
828 path.stroke.tag-trunk {
831 path.casing.tag-highway-trunk,
832 path.casing.tag-highway-trunk_link,
833 path.casing.tag-trunk {
837 .preset-icon .icon.highway-primary,
838 .preset-icon .icon.highway-primary-link {
842 path.stroke.tag-highway-primary,
843 path.stroke.tag-highway-primary_link,
844 path.stroke.tag-primary {
847 path.casing.tag-highway-primary,
848 path.casing.tag-highway-primary_link,
849 path.casing.tag-primary {
853 .preset-icon .icon.highway-secondary,
854 .preset-icon .icon.highway-secondary-link {
858 path.stroke.tag-highway-secondary,
859 path.stroke.tag-highway-secondary_link,
860 path.stroke.tag-secondary {
863 path.casing.tag-highway-secondary,
864 path.casing.tag-highway-secondary_link,
865 path.casing.tag-secondary {
869 .preset-icon .icon.highway-tertiary,
870 .preset-icon .icon.highway-tertiary-link {
874 path.stroke.tag-highway-tertiary,
875 path.stroke.tag-highway-tertiary_link,
876 path.stroke.tag-tertiary {
879 path.casing.tag-highway-tertiary,
880 path.casing.tag-highway-tertiary_link,
881 path.casing.tag-tertiary {
885 .legacy-carto .preset-icon .icon.highway-motorway,
886 .legacy-carto .preset-icon .icon.highway-motorway-link {
890 .legacy-carto path.stroke.tag-highway-motorway,
891 .legacy-carto path.stroke.tag-highway-motorway_link,
892 .legacy-carto path.stroke.tag-motorway {
895 .legacy-carto path.casing.tag-highway-motorway,
896 .legacy-carto path.casing.tag-highway-motorway_link,
897 .legacy-carto path.casing.tag-motorway {
901 .legacy-carto .preset-icon .icon.highway-trunk,
902 .legacy-carto .preset-icon .icon.highway-trunk-link {
906 .legacy-carto path.stroke.tag-highway-trunk,
907 .legacy-carto path.stroke.tag-highway-trunk_link,
908 .legacy-carto path.stroke.tag-trunk {
911 .legacy-carto path.casing.tag-highway-trunk,
912 .legacy-carto path.casing.tag-highway-trunk_link,
913 .legacy-carto path.casing.tag-trunk {
917 .legacy-carto .preset-icon .icon.highway-primary,
918 .legacy-carto .preset-icon .icon.highway-primary-link {
922 .legacy-carto path.stroke.tag-highway-primary,
923 .legacy-carto path.stroke.tag-highway-primary_link,
924 .legacy-carto path.stroke.tag-primary {
927 .legacy-carto path.casing.tag-highway-primary,
928 .legacy-carto path.casing.tag-highway-primary_link,
929 .legacy-carto path.casing.tag-primary {
933 .legacy-carto .preset-icon .icon.highway-secondary,
934 .legacy-carto .preset-icon .icon.highway-secondary-link {
938 .legacy-carto path.stroke.tag-highway-secondary,
939 .legacy-carto path.stroke.tag-highway-secondary_link,
940 .legacy-carto path.stroke.tag-secondary {
943 .legacy-carto path.casing.tag-highway-secondary,
944 .legacy-carto path.casing.tag-highway-secondary_link,
945 .legacy-carto path.casing.tag-secondary {
949 .legacy-carto .preset-icon .icon.highway-tertiary,
950 .legacy-carto .preset-icon .icon.highway-tertiary-link {
954 .legacy-carto path.stroke.tag-highway-tertiary,
955 .legacy-carto path.stroke.tag-highway-tertiary_link,
956 .legacy-carto path.stroke.tag-tertiary {
959 .legacy-carto path.casing.tag-highway-tertiary,
960 .legacy-carto path.casing.tag-highway-tertiary_link,
961 .legacy-carto path.casing.tag-tertiary {
965 .preset-icon .icon.highway-residential {
969 path.stroke.tag-highway-residential,
970 path.stroke.tag-residential {
973 path.casing.tag-highway-residential,
974 path.casing.tag-residential {
978 .preset-icon .icon.highway-unclassified {
982 path.stroke.tag-highway-unclassified,
983 path.stroke.tag-unclassified {
986 path.casing.tag-highway-unclassified,
987 path.casing.tag-unclassified {
992 /* narrow highways */
994 path.shadow.tag-highway-living_street,
995 path.shadow.tag-highway-bus_guideway,
996 path.shadow.tag-highway-service,
997 path.shadow.tag-highway-track,
998 path.shadow.tag-highway-road,
999 path.shadow.tag-living_street,
1000 path.shadow.tag-service,
1001 path.shadow.tag-track,
1002 path.shadow.tag-road {
1005 path.casing.tag-highway-living_street,
1006 path.casing.tag-highway-bus_guideway,
1007 path.casing.tag-highway-service,
1008 path.casing.tag-highway-track,
1009 path.casing.tag-highway-road,
1010 path.casing.tag-living_street,
1011 path.casing.tag-service,
1012 path.casing.tag-track,
1013 path.casing.tag-road {
1016 path.stroke.tag-highway-living_street,
1017 path.stroke.tag-highway-bus_guideway,
1018 path.stroke.tag-highway-service,
1019 path.stroke.tag-highway-track,
1020 path.stroke.tag-highway-road,
1021 path.stroke.tag-living_street,
1022 path.stroke.tag-service,
1023 path.stroke.tag-track,
1024 path.stroke.tag-road {
1028 path.shadow.tag-highway-path,
1029 path.shadow.tag-highway-footway,
1030 path.shadow.tag-highway-cycleway,
1031 path.shadow.tag-highway-bridleway,
1032 path.shadow.tag-highway-corridor,
1033 path.shadow.tag-highway-pedestrian,
1034 path.shadow.tag-highway-steps,
1035 path.shadow.tag-path,
1036 path.shadow.tag-footway,
1037 path.shadow.tag-cycleway,
1038 path.shadow.tag-bridleway,
1039 path.shadow.tag-corridor,
1040 path.shadow.tag-pedestrian,
1041 path.shadow.tag-steps {
1044 path.casing.tag-highway-path,
1045 path.casing.tag-highway-footway,
1046 path.casing.tag-highway-cycleway,
1047 path.casing.tag-highway-bridleway,
1048 path.casing.tag-highway-corridor,
1049 path.casing.tag-highway-pedestrian,
1050 path.casing.tag-highway-steps,
1051 path.casing.tag-path,
1052 path.casing.tag-footway,
1053 path.casing.tag-cycleway,
1054 path.casing.tag-bridleway,
1055 path.casing.tag-corridor,
1056 path.casing.tag-pedestrian,
1057 path.casing.tag-steps {
1060 path.stroke.tag-highway-path,
1061 path.stroke.tag-highway-footway,
1062 path.stroke.tag-highway-cycleway,
1063 path.stroke.tag-highway-bridleway,
1064 path.stroke.tag-highway-corridor,
1065 path.stroke.tag-highway-pedestrian,
1066 path.stroke.tag-highway-steps,
1067 path.stroke.tag-path,
1068 path.stroke.tag-footway,
1069 path.stroke.tag-cycleway,
1070 path.stroke.tag-bridleway,
1071 path.stroke.tag-corridor,
1072 path.stroke.tag-pedestrian,
1073 path.stroke.tag-steps {
1077 .low-zoom path.shadow.tag-highway-living_street,
1078 .low-zoom path.shadow.tag-highway-bus_guideway,
1079 .low-zoom path.shadow.tag-highway-service,
1080 .low-zoom path.shadow.tag-highway-track,
1081 .low-zoom path.shadow.tag-highway-road,
1082 .low-zoom path.shadow.tag-living_street,
1083 .low-zoom path.shadow.tag-service,
1084 .low-zoom path.shadow.tag-track,
1085 .low-zoom path.shadow.tag-road {
1088 .low-zoom path.casing.tag-highway-living_street,
1089 .low-zoom path.casing.tag-highway-bus_guideway,
1090 .low-zoom path.casing.tag-highway-service,
1091 .low-zoom path.casing.tag-highway-track,
1092 .low-zoom path.casing.tag-highway-road,
1093 .low-zoom path.casing.tag-living_street,
1094 .low-zoom path.casing.tag-service,
1095 .low-zoom path.casing.tag-track,
1096 .low-zoom path.casing.tag-road {
1099 .low-zoom path.stroke.tag-highway-living_street,
1100 .low-zoom path.stroke.tag-highway-bus_guideway,
1101 .low-zoom path.stroke.tag-highway-service,
1102 .low-zoom path.stroke.tag-highway-track,
1103 .low-zoom path.stroke.tag-highway-road,
1104 .low-zoom path.stroke.tag-living_street,
1105 .low-zoom path.stroke.tag-service,
1106 .low-zoom path.stroke.tag-track,
1107 .low-zoom path.stroke.tag-road {
1111 .low-zoom path.shadow.tag-highway-path,
1112 .low-zoom path.shadow.tag-highway-footway,
1113 .low-zoom path.shadow.tag-highway-cycleway,
1114 .low-zoom path.shadow.tag-highway-bridleway,
1115 .low-zoom path.shadow.tag-highway-corridor,
1116 .low-zoom path.shadow.tag-highway-pedestrian,
1117 .low-zoom path.shadow.tag-highway-steps,
1118 .low-zoom path.shadow.tag-path,
1119 .low-zoom path.shadow.tag-footway,
1120 .low-zoom path.shadow.tag-cycleway,
1121 .low-zoom path.shadow.tag-bridleway,
1122 .low-zoom path.shadow.tag-corridor,
1123 .low-zoom path.shadow.tag-pedestrian,
1124 .low-zoom path.shadow.tag-steps {
1127 .low-zoom path.casing.tag-highway-path,
1128 .low-zoom path.casing.tag-highway-footway,
1129 .low-zoom path.casing.tag-highway-cycleway,
1130 .low-zoom path.casing.tag-highway-bridleway,
1131 .low-zoom path.casing.tag-highway-corridor,
1132 .low-zoom path.casing.tag-highway-pedestrian,
1133 .low-zoom path.casing.tag-highway-steps,
1134 .low-zoom path.casing.tag-path,
1135 .low-zoom path.casing.tag-footway,
1136 .low-zoom path.casing.tag-cycleway,
1137 .low-zoom path.casing.tag-bridleway,
1138 .low-zoom path.casing.tag-corridor,
1139 .low-zoom path.casing.tag-pedestrian,
1140 .low-zoom path.casing.tag-steps {
1143 .low-zoom path.stroke.tag-highway-path,
1144 .low-zoom path.stroke.tag-highway-footway,
1145 .low-zoom path.stroke.tag-highway-cycleway,
1146 .low-zoom path.stroke.tag-highway-bridleway,
1147 .low-zoom path.stroke.tag-highway-corridor,
1148 .low-zoom path.stroke.tag-highway-pedestrian,
1149 .low-zoom path.stroke.tag-highway-steps,
1150 .low-zoom path.stroke.tag-path,
1151 .low-zoom path.stroke.tag-footway,
1152 .low-zoom path.stroke.tag-cycleway,
1153 .low-zoom path.stroke.tag-bridleway,
1154 .low-zoom path.stroke.tag-corridor,
1155 .low-zoom path.stroke.tag-pedestrian,
1156 .low-zoom path.stroke.tag-steps {
1161 .preset-icon .icon.highway-living-street {
1165 path.stroke.tag-highway-living_street,
1166 path.stroke.tag-living_street {
1169 path.casing.tag-highway-living_street,
1170 path.casing.tag-living_street {
1174 .preset-icon .icon.highway-footway.tag-highway-corridor,
1175 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
1179 path.stroke.tag-highway-corridor,
1180 path.stroke.tag-highway-pedestrian,
1181 path.stroke.tag-corridor,
1182 path.stroke.tag-pedestrian {
1184 stroke-dasharray: 2, 8;
1186 .low-zoom path.stroke.tag-highway-corridor,
1187 .low-zoom path.stroke.tag-highway-pedestrian,
1188 .low-zoom path.stroke.tag-corridor,
1189 .low-zoom path.stroke.tag-pedestrian {
1190 stroke-dasharray: 1, 4;
1192 path.casing.tag-highway-corridor,
1193 path.casing.tag-highway-pedestrian,
1194 path.casing.tag-corridor,
1195 path.casing.tag-pedestrian,
1196 path.casing.tag-highway-corridor.tag-unpaved,
1197 path.casing.tag-highway-pedestrian.tag-unpaved,
1198 path.casing.tag-corridor.tag-unpaved,
1199 path.casing.tag-pedestrian.tag-unpaved {
1201 stroke-linecap: round;
1202 stroke-dasharray: none;
1205 .preset-icon .icon.highway-road {
1209 path.stroke.tag-highway-road,
1210 path.stroke.tag-road {
1213 path.casing.tag-highway-road,
1214 path.casing.tag-road {
1218 .preset-icon .icon.highway-service {
1222 path.stroke.tag-highway-service,
1223 path.stroke.tag-service {
1226 path.casing.tag-highway-service,
1227 path.casing.tag-service {
1231 /* special service roads and bus guideways */
1232 /* with `service=* tag` (e.g. parking_aisle, alley, drive-through */
1233 .preset-icon .icon.highway-bus_guideway,
1234 .preset-icon .icon.highway-service.tag-service {
1238 path.stroke.tag-highway-bus_guideway,
1239 path.stroke.tag-highway-service.tag-service,
1240 path.stroke.tag-service.tag-service {
1243 path.casing.tag-highway-bus_guideway,
1244 path.casing.tag-highway-service.tag-service,
1245 path.casing.tag-service.tag-service {
1249 .preset-icon .icon.highway-track {
1253 path.stroke.tag-highway-track,
1254 path.stroke.tag-track {
1257 path.casing.tag-highway-track,
1258 path.casing.tag-track {
1262 path.stroke.tag-highway-path,
1263 path.stroke.tag-highway-footway,
1264 path.stroke.tag-highway-cycleway,
1265 path.stroke.tag-highway-bridleway {
1266 stroke-linecap: butt;
1267 stroke-dasharray: 6, 6;
1269 .low-zoom path.stroke.tag-highway-path,
1270 .low-zoom path.stroke.tag-highway-footway,
1271 .low-zoom path.stroke.tag-highway-cycleway,
1272 .low-zoom path.stroke.tag-highway-bridleway {
1273 stroke-linecap: butt;
1274 stroke-dasharray: 3, 3;
1277 path.casing.tag-highway-path,
1278 path.casing.tag-highway-path.tag-unpaved {
1280 stroke-linecap: round;
1281 stroke-dasharray: none;
1283 path.casing.tag-highway-footway,
1284 path.casing.tag-highway-cycleway,
1285 path.casing.tag-highway-bridleway,
1286 path.casing.tag-highway-footway.tag-unpaved,
1287 path.casing.tag-highway-cycleway.tag-unpaved,
1288 path.casing.tag-highway-bridleway.tag-unpaved {
1290 stroke-linecap: round;
1291 stroke-dasharray: none;
1294 .preset-icon .icon.category-path,
1295 .preset-icon .icon.highway-path {
1299 path.stroke.tag-highway-path {
1303 .preset-icon .icon.tag-route-foot,
1304 .preset-icon .icon.tag-route-hiking,
1305 .preset-icon .icon.highway-footway {
1309 path.stroke.tag-highway-footway {
1313 .preset-icon .icon.highway-footway.tag-crossing {
1316 path.stroke.tag-highway-footway.tag-crossing {
1318 stroke-dasharray: 6, 4;
1320 .low-zoom path.stroke.tag-highway-footway.tag-crossing {
1321 stroke-dasharray: 3, 2;
1324 .preset-icon .icon.tag-route-bicycle,
1325 .preset-icon .icon.highway-cycleway {
1329 path.stroke.tag-highway-cycleway {
1333 .preset-icon .icon.tag-route-horse,
1334 .preset-icon .icon.highway-bridleway {
1338 path.stroke.tag-highway-bridleway {
1342 .preset-icon .icon.highway-steps {
1346 path.stroke.tag-highway-steps {
1348 stroke-linecap: butt;
1349 stroke-dasharray: 3, 3;
1351 .low-zoom path.stroke.tag-highway-steps {
1352 stroke-dasharray: 2, 2;
1354 path.casing.tag-highway-steps,
1355 path.casing.tag-highway-steps.tag-unpaved {
1357 stroke-linecap: round;
1358 stroke-dasharray: none;
1361 /* highway midpoints */
1363 g.midpoint.tag-highway-corridor .fill,
1364 g.midpoint.tag-highway-pedestrian .fill,
1365 g.midpoint.tag-highway-steps .fill,
1366 g.midpoint.tag-highway-path .fill,
1367 g.midpoint.tag-highway-footway .fill,
1368 g.midpoint.tag-highway-cycleway .fill,
1369 g.midpoint.tag-highway-bridleway .fill {
1378 path.stroke.area.tag-aeroway,
1379 .low-zoom path.stroke.area.tag-aeroway {
1381 stroke-dasharray: none;
1385 /* narrow aeroways (taxiway) */
1387 path.shadow.tag-aeroway-taxiway,
1388 path.shadow.tag-taxiway {
1391 path.casing.tag-aeroway-taxiway,
1392 path.casing.tag-taxiway {
1395 path.stroke.tag-aeroway-taxiway,
1396 path.stroke.tag-taxiway {
1400 .low-zoom path.shadow.tag-aeroway-taxiway,
1401 .low-zoom path.shadow.tag-taxiway {
1404 .low-zoom path.casing.tag-aeroway-taxiway,
1405 .low-zoom path.casing.tag-taxiway {
1408 .low-zoom path.stroke.tag-aeroway-taxiway,
1409 .low-zoom path.stroke.tag-taxiway {
1413 .preset-icon .icon.tag-aeroway-taxiway,
1414 .preset-icon .icon.tag-taxiway {
1418 path.stroke.tag-aeroway-taxiway,
1419 path.stroke.tag-taxiway {
1422 path.casing.tag-aeroway-taxiway,
1423 path.casing.tag-taxiway {
1428 /* wide aeroways (runway) */
1430 .preset-icon .icon.tag-aeroway-runway,
1431 .preset-icon .icon.tag-runway {
1435 path.shadow.tag-aeroway-runway {
1438 path.casing.tag-aeroway-runway {
1441 stroke-linecap: square;
1443 path.stroke.tag-aeroway-runway {
1446 stroke-linecap: butt;
1447 stroke-dasharray: 24, 48;
1450 .low-zoom path.shadow.tag-aeroway-runway {
1453 .low-zoom path.casing.tag-aeroway-runway {
1456 .low-zoom path.stroke.tag-aeroway-runway {
1458 stroke-dasharray: 12, 24;
1461 path.fill.tag-aeroway-runway {
1462 stroke: rgba(0, 0, 0, 0.6);
1463 fill: rgba(0, 0, 0, 0.6);
1468 .preset-icon .icon.tag-railway.other-line {
1472 .preset-icon .icon.tag-railway {
1479 path.stroke.area.tag-railway,
1480 .low-zoom path.stroke.area.tag-railway {
1483 stroke-dasharray: none;
1486 path.casing.area.tag-railway,
1487 .low-zoom path.casing.area.tag-railway {
1493 path.shadow.tag-railway {
1496 path.casing.tag-railway {
1499 path.stroke.tag-railway {
1501 stroke-linecap: butt;
1502 stroke-dasharray: 12,12;
1505 .low-zoom path.shadow.tag-railway {
1508 .low-zoom path.casing.tag-railway {
1511 .low-zoom path.stroke.tag-railway {
1513 stroke-dasharray: 6,6;
1519 path.casing.tag-railway {
1522 path.stroke.tag-railway {
1527 .preset-icon .icon.tag-railway-disused,
1528 .preset-icon .icon.tag-railway-abandoned {
1532 path.casing.tag-railway-abandoned {
1535 path.stroke.tag-railway-abandoned {
1540 .preset-icon .icon.tag-railway-subway {
1544 path.casing.tag-railway-subway {
1547 path.stroke.tag-railway-subway {
1552 /* railway platforms - like sidewalks */
1554 .preset-icon .icon.highway-footway.tag-railway-platform {
1558 path.shadow.tag-railway-platform {
1561 path.casing.tag-railway-platform {
1564 stroke-linecap: round;
1565 stroke-dasharray: none;
1567 path.stroke.tag-railway-platform {
1570 stroke-linecap: butt;
1571 stroke-dasharray: 6, 6;
1574 .low-zoom path.shadow.tag-railway-platform {
1577 .low-zoom path.casing.tag-railway-platform {
1580 .low-zoom path.stroke.tag-railway-platform {
1582 stroke-linecap: butt;
1583 stroke-dasharray: 3, 3;
1586 g.midpoint.tag-railway-platform .fill {
1594 .preset-icon .icon.tag-waterway.other-line {
1598 .preset-icon .icon.category-water,
1599 .preset-icon .icon.tag-route-ferry,
1600 .preset-icon .icon.tag-type-waterway,
1601 .preset-icon .icon.tag-waterway {
1606 path.fill.tag-waterway {
1607 stroke: rgba(119, 211, 222, 0.3);
1608 fill: rgba(119, 211, 222, 0.3);
1610 path.casing.tag-waterway {
1613 path.stroke.tag-waterway {
1618 /* narrow waterways (default) */
1620 path.shadow.tag-waterway {
1623 path.casing.tag-waterway {
1626 path.stroke.tag-waterway {
1630 .low-zoom path.shadow.tag-waterway {
1633 .low-zoom path.casing.tag-waterway {
1636 .low-zoom path.stroke.tag-waterway {
1641 /* wide waterways (river) */
1643 path.shadow.tag-waterway-river {
1646 path.casing.tag-waterway-river {
1649 path.stroke.tag-waterway-river {
1653 .low-zoom path.shadow.tag-waterway-river {
1656 .low-zoom path.casing.tag-waterway-river {
1659 .low-zoom path.stroke.tag-waterway-river {
1666 .preset-icon .icon.tag-waterway-ditch {
1669 path.stroke.tag-waterway-ditch {
1674 /* waterway areas */
1676 path.area.stroke.tag-waterway-dock,
1677 path.area.stroke.tag-waterway-boatyard,
1678 path.area.stroke.tag-waterway-fuel {
1682 path.area.casing.tag-waterway-dock,
1683 path.area.casing.tag-waterway-boatyard,
1684 path.area.casing.tag-waterway-fuel {
1687 path.area.fill.tag-waterway-dock,
1688 path.area.fill.tag-waterway-boatyard,
1689 path.area.fill.tag-waterway-fuel {
1690 stroke: rgba(255, 255, 255, 0.3);
1691 fill: rgba(255, 255, 255, 0.3);
1695 .preset-icon .icon.tag-man_made-pipeline,
1696 .preset-icon .icon.tag-power {
1701 path.stroke.tag-power {
1705 path.casing.tag-power {
1711 path.stroke.tag-boundary {
1714 stroke-linecap: butt;
1715 stroke-dasharray: 20, 5, 5, 5;
1717 path.casing.tag-boundary {
1722 path.casing.tag-boundary-protected_area,
1723 path.casing.tag-boundary-national_park {
1729 path.shadow.tag-natural-tree_row {
1732 path.casing.tag-natural-tree_row {
1735 path.stroke.tag-natural-tree_row {
1739 .low-zoom path.shadow.tag-natural-tree_row {
1742 .low-zoom path.casing.tag-natural-tree_row {
1745 .low-zoom path.stroke.tag-natural-tree_row {
1751 path.stroke.tag-barrier {
1754 stroke-linecap: round;
1755 stroke-dasharray: 15, 5, 1, 5;
1757 .low-zoom path.stroke.tag-barrier {
1759 stroke-linecap: butt;
1760 stroke-dasharray: 8, 2, 2, 2;
1765 path.casing.tag-bridge {
1766 stroke-opacity: 0.6;
1768 stroke-linecap: butt;
1769 stroke-dasharray: none;
1772 path.shadow.tag-bridge {
1775 path.casing.tag-bridge {
1778 .low-zoom path.shadow.tag-bridge {
1781 .low-zoom path.casing.tag-bridge {
1785 path.shadow.line.tag-railway.tag-bridge,
1786 path.shadow.tag-highway-living_street.tag-bridge,
1787 path.shadow.tag-highway-path.tag-bridge,
1788 path.shadow.tag-highway-corridor.tag-bridge,
1789 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1790 path.shadow.tag-highway-service.tag-bridge,
1791 path.shadow.tag-highway-track.tag-bridge,
1792 path.shadow.tag-highway-steps.tag-bridge,
1793 path.shadow.tag-highway-footway.tag-bridge,
1794 path.shadow.tag-highway-cycleway.tag-bridge,
1795 path.shadow.tag-highway-bridleway.tag-bridge {
1798 path.casing.line.tag-railway.tag-bridge,
1799 path.casing.tag-highway-living_street.tag-bridge,
1800 path.casing.tag-highway-path.tag-bridge,
1801 path.casing.tag-highway-corridor.tag-bridge,
1802 path.casing.line.tag-highway-pedestrian.tag-bridge,
1803 path.casing.tag-highway-service.tag-bridge,
1804 path.casing.tag-highway-track.tag-bridge,
1805 path.casing.tag-highway-steps.tag-bridge,
1806 path.casing.tag-highway-footway.tag-bridge,
1807 path.casing.tag-highway-cycleway.tag-bridge,
1808 path.casing.tag-highway-bridleway.tag-bridge {
1812 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1813 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1814 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1815 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1816 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1817 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1818 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1819 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1820 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1821 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1822 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1825 .low-zoom path.casing.line.tag-railway.tag-bridge,
1826 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1827 .low-zoom path.casing.tag-highway-path.tag-bridge,
1828 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1829 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1830 .low-zoom path.casing.tag-highway-service.tag-bridge,
1831 .low-zoom path.casing.tag-highway-track.tag-bridge,
1832 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1833 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1834 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1835 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1841 path.stroke.tag-tunnel {
1842 stroke-opacity: 0.3;
1844 path.casing.tag-tunnel {
1845 stroke-opacity: 0.5;
1846 stroke-linecap: butt;
1847 stroke-dasharray: none;
1851 /* embankments / cuttings */
1852 path.shadow.tag-embankment,
1853 path.shadow.tag-cutting {
1856 path.casing.tag-embankment,
1857 path.casing.tag-cutting {
1858 stroke-opacity: 0.5;
1861 stroke-dasharray: 2, 4;
1862 stroke-linecap: butt;
1865 .low-zoom path.shadow.tag-embankment,
1866 .low-zoom path.shadow.tag-cutting {
1869 .low-zoom path.casing.tag-embankment,
1870 .low-zoom path.casing.tag-cutting {
1875 /* Surface - unpaved */
1876 path.casing.tag-unpaved {
1878 stroke-linecap: butt;
1879 stroke-dasharray: 4, 3;
1881 .low-zoom path.casing.tag-unpaved {
1882 stroke-dasharray: 3, 2;
1884 path.casing.tag-bridge.tag-unpaved {
1886 stroke-dasharray: 4, 3;
1888 .low-zoom path.casing.tag-bridge.tag-unpaved {
1890 stroke-dasharray: 3, 2;
1894 /* Status (e.g. construction, proposed, abandoned) */
1895 path.stroke.tag-status,
1896 path.casing.tag-status {
1897 stroke-linecap: butt;
1898 stroke-dasharray: 7, 3;
1900 .low-zoom path.stroke.tag-status,
1901 .low-zoom path.casing.tag-status {
1902 stroke-dasharray: 5, 2;
1907 path.stroke.tag-building,
1908 path.stroke.tag-amenity-shelter {
1909 stroke: rgb(224, 110, 95);
1911 path.fill.tag-building,
1912 path.fill.tag-amenity-shelter {
1913 stroke: rgba(224, 110, 95, 0.3);
1914 fill: rgba(224, 110, 95, 0.3);
1916 .preset-icon-fill-area.tag-building,
1917 .preset-icon-fill-area.tag-amenity-shelter {
1918 border-color: rgb(224, 110, 95);
1919 background-color: rgba(224, 110, 95, 0.3);
1925 cursor: not-allowed !important;
1930 cursor: auto; /* Opera */
1931 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1934 .mode-browse .point,
1935 .mode-select .point {
1936 cursor: pointer; /* Opera */
1937 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1940 .mode-select .vertex,
1941 .mode-browse .vertex {
1942 cursor: pointer; /* Opera */
1943 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1947 .mode-select .line {
1948 cursor: pointer; /* Opera */
1949 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1953 .mode-browse .area {
1954 cursor: pointer; /* Opera */
1955 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1958 .mode-select .midpoint,
1959 .mode-browse .midpoint {
1960 cursor: pointer; /* Opera */
1961 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1964 .mode-select .behavior-multiselect .point,
1965 .mode-select .behavior-multiselect .vertex,
1966 .mode-select .behavior-multiselect .line,
1967 .mode-select .behavior-multiselect .area {
1968 cursor: pointer; /* Opera */
1969 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1972 .mode-select .behavior-multiselect .selected {
1973 cursor: pointer; /* Opera */
1974 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1977 .mode-draw-line #map,
1978 .mode-draw-area #map,
1979 .mode-add-line #map,
1980 .mode-add-area #map,
1981 .mode-drag-node #map {
1982 cursor: crosshair; /* Opera */
1983 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1986 .mode-draw-line .way.target,
1987 .mode-draw-area .way.target,
1988 .mode-add-line .way.target,
1989 .mode-add-area .way.target,
1990 .mode-drag-node .way.target {
1991 cursor: crosshair; /* Opera */
1992 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1995 .mode-draw-line .vertex.target,
1996 .mode-draw-area .vertex.target,
1997 .mode-add-line .vertex.target,
1998 .mode-add-area .vertex.target,
1999 .mode-drag-node .vertex.target {
2000 cursor: crosshair; /* Opera */
2001 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
2004 .mode-add-point #map,
2005 .mode-browse.lasso #map,
2006 .mode-browse.lasso .way,
2007 .mode-browse.lasso .vertex,
2008 .mode-browse.lasso .midpoint,
2009 .mode-select.lasso #map,
2010 .mode-select.lasso .way,
2011 .mode-select.lasso .vertex,
2012 .mode-select.lasso .midpoint {
2013 cursor: crosshair; /* Opera */
2014 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
2021 /* photo viewer div */
2028 background-color: #fff;
2031 #photoviewer button.thumb-hide {
2041 .photo-wrapper img {
2047 .photo-wrapper .photo-attribution {
2058 .photo-attribution a,
2059 .photo-attribution a:visited,
2060 .photo-attribution span {
2065 /* markers and sequences */
2067 pointer-events: visible;
2071 .viewfield-group.selected * {
2072 fill: #ffee00 !important;
2074 .viewfield-group.hovered * {
2075 fill: #eebb00 !important;
2078 .viewfield-group circle {
2081 stroke-opacity: 0.4;
2084 .viewfield-group.highlighted circle {
2086 stroke-opacity: 0.9;
2089 .viewfield-group.highlighted.hovered circle {
2092 stroke-opacity: 0.9;
2095 .viewfield-group.highlighted.selected circle {
2102 .viewfield-group .viewfield {
2107 .viewfield-group.highlighted .viewfield {
2111 .viewfield-group.highlighted.hovered .viewfield {
2115 .viewfield-group.highlighted.selected .viewfield {
2120 .viewfield-group.selected .viewfield-scale {
2121 transform: scale(2,2);
2127 stroke-opacity: 0.4;
2129 .sequence.highlighted,
2130 .sequence.selected {
2136 /* Mapillary Image Layer */
2137 .layer-mapillary-images {
2138 pointer-events: none;
2140 .layer-mapillary-images .viewfield-group * {
2143 .layer-mapillary-images .sequence {
2148 /* Mapillary Sign Layer */
2149 .layer-mapillary-signs {
2150 pointer-events: none;
2152 .layer-mapillary-signs .icon-sign .icon-sign-body {
2156 outline: 2px solid transparent;
2157 pointer-events: visible;
2162 .layer-mapillary-signs .icon-sign:hover .icon-sign-body {
2163 outline: 5px solid #eebb00;
2164 background-color: #eebb00;
2167 .layer-mapillary-signs .icon-sign.selected .icon-sign-body {
2168 outline: 5px solid #ffee00;
2169 background-color: #ffee00;
2174 /* OpenStreetCam Image Layer */
2175 .layer-openstreetcam-images {
2176 pointer-events: none;
2178 .layer-openstreetcam-images .viewfield-group * {
2181 .layer-openstreetcam-images .sequence {
2186 /* Mapillary viewer */
2187 #mly .domRenderer .TagSymbol {
2189 background-color: rgba(0,0,0,0.4);
2194 #mly .domRenderer .Attribution {
2195 /* we will roll our own to avoid async update issues like #4526 */
2199 .mly-wrapper .photo-attribution a:active,
2200 .mly-wrapper .photo-attribution a:hover {
2204 .mly-wrapper .mapillary-js-dom {
2208 /* OpenStreetCam viewer */
2211 background-color: #000;
2212 background-image: url(<%= asset_path("iD/img/loader-black.gif") %>);
2213 background-position: center;
2214 background-repeat: no-repeat;
2217 .osc-wrapper .photo-attribution a:active,
2218 .osc-wrapper .photo-attribution a:hover {
2222 .osc-controls-wrap {
2231 display: inline-block;
2235 .osc-controls button {
2238 background: rgba(0,0,0,0.65);
2242 .osc-controls button:first-of-type {
2243 border-radius: 3px 0 0 3px;
2245 .osc-controls button:last-of-type {
2246 border-radius: 0 3px 3px 0;
2248 .osc-controls button:hover,
2249 .osc-controls button:active,
2250 .osc-controls button:focus {
2251 background: rgba(0,0,0,0.85);
2256 transform-origin:0 0;
2257 -ms-transform-origin:0 0;
2258 -webkit-transform-origin:0 0;
2259 -moz-transform-origin:0 0;
2260 -o-transform-origin:0 0;
2264 .low-zoom.fill-wireframe path.stroke,
2265 .fill-wireframe path.stroke {
2266 stroke-width: 1 !important;
2267 stroke-opacity: 0.5 !important;
2268 stroke-dasharray: none !important;
2269 fill: none !important;
2272 .low-zoom.fill-wireframe path.shadow,
2273 .fill-wireframe path.shadow {
2277 .fill-wireframe path.shadow.related:not(.selected),
2278 .fill-wireframe path.shadow.hover:not(.selected) {
2279 stroke-opacity: 0.4;
2281 .fill-wireframe path.shadow.selected {
2282 stroke-opacity: 0.6;
2285 .fill-wireframe .point,
2286 .fill-wireframe .vertex.active,
2287 .fill-wireframe .areaicon,
2288 .fill-wireframe .areaicon-halo,
2289 .fill-wireframe path.casing,
2290 .fill-wireframe path.fill,
2291 .fill-wireframe path.oneway {
2292 display: none !important;
2295 .fill-partial path.area.fill {
2298 pointer-events: none;
2300 .mode-browse .fill-partial path.area.fill,
2301 .mode-select .fill-partial path.area.fill {
2302 pointer-events: visibleStroke;
2305 ------------------------------------------------------- */
2308 Opera misbehaves when the window is resized vertically unless 100% width + height are
2309 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2317 font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2318 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2319 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2326 -ms-user-select: none;
2331 vertical-align: middle;
2349 -webkit-filter: none !important;
2350 filter: none !important;
2351 -webkit-duration: 200ms;
2352 transition-duration: 200ms;
2356 -webkit-filter: grayscale(80%) brightness(80%);
2357 filter: grayscale(80%) brightness(80%);
2358 -webkit-duration: 200ms;
2359 transition-duration: 200ms;
2362 /* Firefox has its own ideas about fixed positioning when a css filter is active - #4348 */
2363 /* https://stackoverflow.com/questions/37949942/firefox-position-bug-by-parent-with-filter */
2364 @-moz-document url-prefix() {
2368 #content.inactive > #bar > .spacer.col4 {
2371 #content.active > #bar > .spacer.col4 {
2373 transition-duration: 200ms;
2374 transition-timing-function: step-end;
2379 /* Can't be display: none or the clippaths are ignored. */
2399 [dir='rtl'] .spinner {
2410 [dir='rtl'] .spinner img {
2413 -moz-transform: scaleX(-1);
2414 -o-transform: scaleX(-1);
2415 -webkit-transform: scaleX(-1);
2416 transform: scaleX(-1);
2418 -ms-filter: "FlipH";
2422 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
2423 -moz-box-sizing: border-box;
2424 -webkit-box-sizing: border-box;
2425 box-sizing: border-box;
2428 a, button, input, textarea {
2429 -webkit-tap-highlight-color:rgba(0,0,0,0);
2430 -webkit-touch-callout:none;
2435 .checkselect label:hover,
2444 margin-bottom: 20px;
2449 h4:last-child { margin-bottom: 0;}
2455 margin-bottom: 10px;
2461 padding-bottom: 10px;
2465 outline-color: transparent;
2466 outline-style: none;
2469 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
2471 opacity: 1; /* Firefox */
2473 :-ms-input-placeholder { /* Internet Explorer 10-11 */
2476 ::-ms-input-placeholder { /* Microsoft Edge */
2507 ------------------------------------------------------- */
2511 font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2512 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2513 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2524 background-color: white;
2526 border:1px solid #ccc;
2527 padding:5px 20px 5px 10px;
2531 text-overflow: ellipsis;
2533 [dir='rtl'] textarea,
2534 [dir='rtl'] input[type=text],
2535 [dir='rtl'] input[type=search],
2536 [dir='rtl'] input[type=number],
2537 [dir='rtl'] input[type=url],
2538 [dir='rtl'] input[type=tel],
2539 [dir='rtl'] input[type=email] {
2540 padding:5px 10px 5px 20px;
2545 background-color: #F1F1F1;
2548 input[type="checkbox"],
2549 input[type="radio"] {
2556 [dir='rtl'] input[type="checkbox"],
2557 [dir='rtl'] input[type="radio"] {
2563 /* remove bottom border radius when combobox is open */
2564 .combobox + * textarea:focus,
2565 .combobox + * input:focus {
2566 border-bottom-left-radius: 0 !important;
2567 border-bottom-right-radius: 0 !important;
2573 background-color: white;
2574 border-collapse: collapse;
2583 table.tags, table.tags td, table.tags th {
2584 border: 1px solid #ccc;
2593 ------------------------------------------------------- */
2595 .col0 { float:left; width:04.1666%; }
2596 .col1 { float:left; width:08.3333%; }
2597 .col2 { float:left; width:16.6666%; }
2598 .col3 { float:left; width:25.0000%; max-width: 300px; }
2599 .col4 { float:left; width:33.3333%; max-width: 400px; }
2600 .col5 { float:left; width:41.6666%; max-width: 500px; }
2601 .col6 { float:left; width:50.0000%; max-width: 600px; }
2602 .col7 { float:left; width:58.3333%; }
2603 .col8 { float:left; width:66.6666%; }
2604 .col9 { float:left; width:75.0000%; }
2605 .col10 { float:left; width:83.3333%; }
2606 .col11 { float:left; width:91.6666%; }
2607 .col12 { float:left; width:100.0000%; }
2610 ------------------------------------------------------- */
2612 ul li { list-style: none;}
2614 .toggle-list > label {
2619 background-color: white;
2624 .toggle-list > label:hover {
2625 background-color: #ececec;
2628 .toggle-list > label:not(:last-child) {
2629 border-bottom: 1px solid #ccc;
2632 .toggle-list > label:last-child {
2633 border-radius: 0 0 3px 3px;
2636 .toggle-list label > span {
2639 white-space: nowrap;
2640 text-overflow: ellipsis;
2643 .toggle-list > label.active {
2644 background: #E8EBFF;
2649 ------------------------------------------------------- */
2656 background: #f6f6f6;
2661 background: #ececec;
2666 background:rgba(0,0,0,.5);
2671 background:rgba(0,0,0,.75);
2676 .fr { float: right;}
2694 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2698 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2699 background-size:5px 5px;
2735 display: inline-block;
2742 background-color: #ececec;
2747 background-color: rgba(255,255,255,.25);
2748 color: rgba(0,0,0,.4);
2753 background: #7092ff;
2763 background-color: #fafafa;
2765 [dir='rtl'] button.minor {
2769 button.minor .icon {
2773 button.minor:hover {
2774 background-color: #f1f1f1;
2778 display: inline-block;
2783 .button-wrap button:only-child {
2787 .button-wrap:last-of-type {
2790 [dir='rtl'] .button-wrap:last-of-type {
2792 padding-right: 10px;
2797 border-right: 1px solid rgba(0,0,0,.5);
2799 [dir='rtl'] .joined button {
2800 border-left: 1px solid rgba(0,0,0,.5);
2804 .fillL .joined button {
2805 border-right: 1px solid white;
2808 .joined button:first-child {
2809 border-radius: 4px 0 0 4px;
2811 [dir='rtl'] .joined button:first-child {
2812 border-radius: 0 4px 4px 0;
2815 .joined button:last-child {
2816 border-right-width: 0;
2817 border-radius: 0 4px 4px 0;
2819 [dir='rtl'] .joined button:last-child {
2820 border-radius: 4px 0 0 4px;
2824 background: #7092ff;
2828 button[disabled].action,
2829 button[disabled].action:hover {
2830 background: #cccccc;
2834 button.action:focus,
2835 button.action:hover {
2836 background: #597BE7;
2839 button.secondary-action {
2840 background: #ececec;
2843 button.secondary-action:focus,
2844 button.secondary-action:hover {
2845 background: #cccccc;
2848 button.save .count {
2852 button.save.has-count .count {
2865 margin-left: 9.3333%;
2867 [dir='rtl'] button.save.has-count .count {
2872 button.save.has-count .count::before {
2881 border-top: 6px solid transparent;
2882 border-bottom: 6px solid transparent;
2883 border-right-width: 6px;
2884 border-right-style: solid;
2885 border-right-color: inherit;
2887 [dir='rtl'] button.save.has-count .count::before {
2888 border-left: 6px solid rgba(255,255,255,.5);
2897 vertical-align: top;
2903 vertical-align: text-top;
2912 [dir='rtl'] .icon.pre-text {
2942 /* ToolBar / Persistent UI Elements
2943 ------------------------------------------------------- */
2956 [dir='rtl'] #bar .spacer,
2957 [dir='rtl'] #bar .button-wrap,
2958 [dir='rtl'] #bar .button-wrap button {
2963 /* Header for modals / panes
2964 ------------------------------------------------------- */
2967 border-bottom: 1px solid #ccc;
2975 white-space: nowrap;
2976 text-overflow: ellipsis;
2994 .field-help-title button.close,
2995 .entity-editor-pane .header button.preset-close,
2996 .preset-list-pane .header button.preset-choose {
3001 [dir='rtl'] .field-help-title button.close,
3002 [dir='rtl'] .entity-editor-pane .header button.preset-close,
3003 [dir='rtl'] .preset-list-pane .header button.preset-choose {
3008 .entity-editor-pane .header button.preset-choose {
3013 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
3031 [dir='rtl'] .modal > button {
3039 padding: 5px 20px 5px 20px;
3040 border-top: 1px solid #ccc;
3041 background-color: #fafafa;
3046 .sidebar-component .body {
3056 ------------------------------------------------------- */
3058 .hide-toggle .icon.pre-text {
3059 vertical-align: text-top;
3064 [dir='rtl'] .hide-toggle .icon.pre-text {
3069 a:visited.hide-toggle,
3071 display: inline-block;
3074 padding-bottom: 5px;
3079 ------------------------------------------------------- */
3087 background: #f6f6f6;
3088 -ms-user-select: element;
3090 [dir='rtl'] #sidebar {
3094 .sidebar-component {
3120 .feature-list-pane .inspector-body {
3124 .preset-list-pane .inspector-body {
3128 .entity-editor-pane .inspector-body {
3132 .selection-list-pane .inspector-body {
3141 #sidebar .search-header .icon {
3146 pointer-events: none;
3148 [dir='rtl'] #sidebar .search-header .icon {
3153 #sidebar .search-header input {
3161 border-bottom-width: 1px;
3175 .feature-list-item {
3178 border-bottom: 1px solid #ccc;
3182 .feature-list-item {
3183 background-color: white;
3189 .feature-list-item:hover {
3190 background-color: #ececec;
3193 .feature-list-item button {
3194 background: transparent;
3197 .feature-list-item .label {
3200 white-space: nowrap;
3201 text-overflow: ellipsis;
3203 border-left: 1px solid rgba(0, 0, 0, .1);
3205 [dir='rtl'] .feature-list-item .label {
3209 .feature-list-item .label .icon {
3213 .feature-list-item .close {
3218 .feature-list-item .close .icon {
3222 .feature-list-item .entity-type {
3226 .feature-list-item:hover .entity-type {
3230 .feature-list-item .entity-name {
3231 font-weight: normal;
3235 [dir='rtl'] .feature-list-item .entity-name {
3237 padding-right: 10px;
3242 ------------------------------------------------------- */
3248 padding: 20px 20px 10px 20px;
3249 border-bottom: 1px solid #ccc;
3252 .preset-list-button-wrap {
3254 margin-bottom: 10px;
3258 .preset-list-button {
3262 border: 1px solid #ccc;
3265 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
3266 background: #ececec;
3269 .preset-icon-fill-area {
3279 .preset-icon-fill-vertex {
3286 border: 1.5px solid #333;
3287 border-radius: 20px;
3288 background-color: #efefef;
3289 backface-visibility: hidden;
3292 [dir='rtl'] .preset-icon-fill-vertex,
3293 [dir='rtl'] .preset-icon-fill-area {
3298 .preset-icon-frame {
3306 [dir='rtl'] .preset-icon-frame {
3311 .preset-icon-frame .icon {
3323 .preset-icon-60 .icon {
3335 .preset-icon-44 .icon {
3347 .preset-icon-28 .icon {
3359 .preset-icon-24 .icon {
3364 [dir='rtl'] .preset-list-button-wrap .preset-icon {
3369 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
3373 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
3377 .preset-list-button .label {
3378 background-color: #f6f6f6;
3387 white-space: nowrap;
3388 text-overflow: ellipsis;
3390 border-left: 1px solid rgba(0, 0, 0, .1);
3391 border-radius: 0 3px 3px 0;
3393 [dir='rtl'] .preset-list-button .label {
3398 border-right: 1px solid rgba(0, 0, 0, .1);
3399 border-radius: 3px 0 0 3px;
3402 .preset-list-button:hover .label {
3403 background-color: #ececec;
3406 .preset-list-item button.tag-reference-button {
3408 border: 1px solid #ccc;
3409 border-radius: 0 3px 3px 0;
3414 background: #fafafa;
3416 [dir='rtl'] .preset-list-item button.tag-reference-button {
3419 border-radius: 3px 0 0 3px;
3422 .preset-list-item button.tag-reference-button:hover {
3423 background: #f1f1f1;
3426 .preset-list-item button.tag-reference-button .icon {
3430 .current .preset-list-button,
3431 .current .preset-list-button .label {
3432 background-color: #E8EBFF;
3435 .category .preset-list-button:after,
3436 .category .preset-list-button:before {
3440 left: -1px; right: -1px;
3441 border: 1px solid #ccc;
3442 border-bottom: none;
3443 border-radius: 6px 6px 0 0;
3447 .category .preset-list-button:before {
3451 .subgrid .preset-list {
3452 padding: 10px 10px 0 10px;
3456 width: -webkit-calc(100% + 20px);
3461 border: solid rgba(0, 0, 0, 0);
3463 border-bottom-color: #f1f1f1;
3467 margin-left: -webkit-calc(50% - 10px);
3472 /* preset form basics */
3476 padding-bottom: 10px;
3479 .preset-editor a.hide-toggle {
3480 margin: 0 20px 5px 20px;
3483 .preset-editor .form-fields-container {
3485 margin: 0 10px 10px 10px;
3489 .preset-editor .form-fields-container:empty {
3493 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
3498 margin-bottom: 10px;
3500 -webkit-transition: margin-bottom 200ms;
3501 -moz-transition: margin-bottom 200ms;
3502 -o-transition: margin-bottom 200ms;
3503 transition: margin-bottom 200ms;
3507 .wrap-form-field:last-child .form-field {
3514 border: 1px solid #cfcfcf;
3515 padding: 5px 0 5px 10px;
3516 background: #f6f6f6;
3518 border-radius: 4px 4px 0 0;
3521 [dir='rtl'] .form-label {
3522 padding: 5px 10px 5px 0;
3525 .form-label-button-wrap {
3531 background: transparent;
3534 [dir='rtl'] .form-label-button-wrap {
3538 .form-label-button-wrap .tag-reference-button {
3539 border-radius: 0 3px 0 0;
3542 .form-label-button-wrap .icon {
3546 .form-label button {
3547 border-left: 1px solid #ccc;
3551 background: #f6f6f6;
3553 [dir='rtl'] .form-label button {
3555 border-right: 1px solid #ccc;
3556 border-radius: 4px 0 0 0;
3559 .form-label button:hover {
3560 background: #f1f1f1;
3563 .form-label .modified-icon,
3564 .form-field .remove-icon {
3568 .modified .form-label .modified-icon,
3569 .present .form-label .remove-icon {
3570 display: inline-block;
3573 .form-field > input,
3574 .form-field > textarea,
3575 .form-field .preset-input-wrap {
3576 border: 1px solid #ccc;
3579 border-radius: 0 0 4px 4px;
3584 .form-field textarea {
3589 border-bottom: 1px solid #ccc
3592 /* Preset form (hover mode) */
3594 .inspector-hover .checkselect label:last-of-type,
3595 .inspector-hover .preset-input-wrap .label,
3596 .inspector-hover .form-field-multicombo,
3597 .inspector-hover .structure-extras-wrap,
3598 .inspector-hover input,
3599 .inspector-hover textarea,
3600 .inspector-hover label {
3601 background: #ececec;
3605 .inspector-hover .form-field-multicombo .chips,
3606 .inspector-hover .checkselect label:last-of-type {
3610 .inspector-hover .form-field-multicombo .chips {
3612 border: 1px solid #ccc;
3615 /* hide and remove from layout */
3617 .inspector-hover label input[type="checkbox"],
3618 .inspector-hover label input[type="radio"],
3619 .inspector-hover .toggle-list label,
3620 .inspector-hover .toggle-list label span,
3621 .inspector-hover .inspector-inner .add-tag,
3622 .inspector-hover .inspector-inner .add-relation,
3623 .inspector-hover .form-field-multicombo .combobox-input,
3624 .inspector-hover .toggle-list label.remove .icon {
3628 opacity: 0 !important;
3634 /* hide but preserve in layout */
3635 .inspector-hover .entity-editor-pane button.minor,
3636 .inspector-hover .combobox-caret,
3637 .inspector-hover .entity-editor-pane .header button,
3638 .inspector-hover .spin-control,
3639 .inspector-hover .form-field-multicombo .chips .remove,
3640 .inspector-hover .hide-toggle:before,
3641 .inspector-hover .more-fields,
3642 .inspector-hover .form-label-button-wrap,
3643 .inspector-hover .tag-reference-button,
3644 .inspector-hover .view-on-osm {
3648 /* Styles for raw tag inspector on hover */
3649 .inspector-hover .tag-row .key-wrap,
3650 .inspector-hover .tag-row .form-field.input-wrap-position {
3654 .inspector-hover .tag-row:first-child input.value {
3655 border-top-right-radius: 4px;
3657 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
3658 border-top-right-radius: 0;
3659 border-top-left-radius: 4px;
3662 .inspector-hover .tag-row:last-child input.value {
3663 border-bottom-right-radius: 4px;
3665 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
3666 border-bottom-right-radius: 0;
3667 border-bottom-left-radius: 4px;
3670 .inspector-hover .tag-row:last-child input.key {
3671 border-bottom-left-radius: 4px;
3673 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
3674 border-bottom-left-radius: 0;
3675 border-bottom-right-radius: 4px;
3678 .inspector-hover .more-fields {
3680 margin-bottom: -10px;
3683 /* Unstyle button fields */
3684 .inspector-hover .toggle-list label.active,
3685 .inspector-hover .entity-editor-pane a.hide-toggle {
3687 background-color: transparent;
3693 .inspector-hover .toggle-list button.active {
3697 /* Add placeholder only on hover for radio buttons */
3698 .inspector-hover .toggle-list .placeholder {
3706 /* Hide placeholder for radio buttons if another is active, or not in hover state */
3707 .toggle-list label.active ~ .placeholder,
3708 .toggle-list .placeholder {
3717 /* adding additional preset fields */
3720 padding: 0 20px 20px 20px;
3723 .changeset-editor .more-fields {
3724 padding: 15px 20px 0 20px;
3727 .more-fields label {
3729 flex-flow: row nowrap;
3730 justify-content: space-between;
3731 align-items: center;
3734 .more-fields input {
3738 [dir='rtl'] .more-fields input {
3743 .preset-input-wrap .label {
3745 background: #F6F6F6;
3749 [dir='rtl'] .preset-input-wrap .col6 {
3754 /* preset form access */
3755 /* preset form cycleway */
3756 /* preset form structure extras */
3758 .structure-extras-wrap li,
3759 .form-field-cycleway .preset-input-wrap li,
3760 .form-field-access .preset-input-wrap li {
3761 border-bottom: 1px solid #ccc;
3763 .structure-extras-wrap li:last-child,
3764 .form-field-cycleway .preset-input-wrap li:last-child,
3765 .form-field-access .preset-input-wrap li:last-child {
3768 .structure-input-type-wrap input,
3769 .structure-input-layer-wrap input,
3770 .preset-input-cycleway-wrap input,
3771 .preset-input-access-wrap input {
3774 border-left-width: 1px;
3776 [dir='rtl'] .structure-input-type-wrap input,
3777 [dir='rtl'] .structure-input-layer-wrap input,
3778 [dir='rtl'] .preset-input-cycleway-wrap input,
3779 [dir='rtl'] .preset-input-access-wrap input {
3780 border-left-width: 0;
3781 border-right-width: 1px;
3784 .preset-input-wrap li:last-child input {
3785 border-bottom-right-radius: 4px;
3788 .structure-extras-wrap {
3792 .structure-extras-wrap ul {
3793 border: 1px solid #ccc;
3796 .structure-extras-wrap li:first-child span {
3797 border-top-left-radius: 4px;
3799 .structure-extras-wrap li:first-child input {
3800 border-top-right-radius: 4px;
3802 .structure-extras-wrap li:last-child span {
3803 border-bottom-left-radius: 4px;
3805 .structure-extras-wrap li:last-child input {
3806 border-bottom-right-radius: 4px;
3808 [dir='rtl'] .structure-extras-wrap li:first-child span {
3809 border-top-left-radius: 0;
3810 border-top-right-radius: 4px;
3812 [dir='rtl'] .structure-extras-wrap li:first-child input {
3813 border-top-right-radius: 0;
3814 border-top-left-radius: 4px;
3816 [dir='rtl'] .structure-extras-wrap li:last-child span {
3817 border-bottom-left-radius: 0;
3818 border-bottom-right-radius: 4px;
3820 [dir='rtl'] .structure-extras-wrap li:last-child input {
3821 border-bottom-right-radius: 0;
3822 border-bottom-left-radius: 4px;
3826 /* preset form multicombo */
3828 .form-field-multicombo {
3829 border: 1px solid #cfcfcf;
3831 padding: 5px 0 5px 10px;
3834 border-radius: 0 0 4px 4px;
3838 .form-field-multicombo:focus {
3842 .form-field-multicombo.active {
3843 border-bottom-left-radius: 0px;
3844 border-bottom-right-radius: 0px;
3847 .form-field-multicombo li {
3848 display: inline-flex;
3849 flex-flow: row nowrap;
3850 align-items: center;
3851 background-color: #eff2f7;
3852 border: 1px solid #ccd5e3;
3859 .form-field-multicombo a {
3860 font-family: Arial, Helvetica, sans-serif !important;
3861 font-size: 16px !important;
3864 margin: 1px 0 0 5px;
3870 .form-field-multicombo input {
3871 border: 1px solid #ddd;
3877 .form-field-multicombo .combobox-caret {
3878 margin: 3px 3px 3px -30px;
3881 .form-field-multicombo input:focus {
3882 border-radius: 4px !important;
3886 /* preset form numbers */
3888 input[type=number] {
3896 display: inline-block;
3898 margin-bottom: -11px;
3901 [dir='rtl'] .spin-control{
3903 margin-right: -64px;
3906 .spin-control button {
3912 border-left: 1px solid #ccc;
3914 background: rgba(0, 0, 0, 0);
3916 [dir='rtl'] .spin-control button{
3918 border-right: 1px solid #ccc;
3921 .spin-control button.decrement {
3922 border-bottom-right-radius: 3px;
3924 [dir='rtl'] .spin-control button.decrement {
3925 border-bottom-right-radius: 0;
3927 [dir='rtl'] .spin-control button.increment {
3928 border-bottom-left-radius: 3px;
3932 .spin-control button.decrement::after,
3933 .spin-control button.increment::after {
3935 height: 0; width: 0;
3937 left: 0; right: 0; bottom: 0; top: 0;
3941 .spin-control button.decrement::after {
3942 border-top: 5px solid #ccc;
3943 border-left: 5px solid transparent;
3944 border-right: 5px solid transparent;
3947 .spin-control button.increment::after {
3948 border-bottom: 5px solid #ccc;
3949 border-left: 5px solid transparent;
3950 border-right: 5px solid transparent;
3954 /* preset form checkbox */
3956 .checkselect label:last-of-type {
3963 .checkselect label:hover {
3964 background: #f1f1f1;
3971 .checkselect label:not(.set) input[type="checkbox"] {
3975 .checkselect .reverser.button {
3978 background-color: #eff2f7;
3979 border: 1px solid #ccd5e3;
3983 [dir='rtl'] .checkselect .reverser.button {
3986 .checkselect .reverser.button.hide {
3990 /* Preset form radio button */
3992 .toggle-list button.remove {
3993 border-radius: 0 0 3px 3px;
3996 .toggle-list button.remove .icon {
4001 .toggle-list button.remove::before {
4005 #preset-input-maxspeed_advisory,
4006 #preset-input-maxspeed {
4008 border-radius: 0 0 0 4px;
4011 [dir='rtl'] #preset-input-maxspeed_advisory,
4012 [dir='rtl'] #preset-input-maxspeed {
4013 border-right: 1px solid #ccc;
4014 border-radius: 0 0 4px 0;
4017 .form-field .maxspeed-unit {
4018 border-radius: 0 0 4px 0;
4021 [dir='rtl'] .form-field .maxspeed-unit {
4023 border-radius: 0 0 0 4px;
4026 /* Wikipedia field */
4027 .form-field .wiki-lang {
4030 .form-field .wiki-title {
4033 [dir='rtl'] .form-field .wiki-title {
4035 padding-right: 10px;
4038 .form-field .wiki-title ~ .combobox-caret {
4041 [dir='rtl'] .form-field .wiki-title ~ .combobox-caret {
4046 /* Localized field */
4047 .form-field .localized-main {
4050 [dir='rtl'] .form-field .localized-main {
4052 padding-right: 10px;
4055 .form-field .button-input-action {
4060 border: 1px solid #ccc;
4061 border-top-width: 0;
4062 border-right-width: 0;
4063 border-radius: 0 0 4px 0;
4065 vertical-align: top;
4067 [dir='rtl'] .form-field .button-input-action {
4069 margin-right: -32px;
4070 border-right-width: 1px;
4071 border-radius: 0 0 0 4px;
4074 .form-field .localized-wrap {
4078 .form-field .localized-wrap .entry {
4083 .form-field .localized-wrap .entry::before {
4096 .form-field .localized-wrap .entry .localized-lang {
4098 border-top-width: 0;
4101 .form-field .localized-wrap .entry .localized-value {
4102 border-top-width: 0;
4103 border-radius: 0 0 4px 4px;
4106 .form-field .localized-wrap .form-label button {
4107 border-top-right-radius: 3px;
4110 /* Preset form address */
4116 [dir='rtl'] .addr-row input {
4117 border-right: 1px solid #ccc;
4121 .addr-row:first-of-type input {
4125 .addr-row input:first-of-type {
4128 [dir='rtl'] .addr-row input:first-of-type {
4136 .addr-row:last-of-type input:first-of-type {
4137 border-radius: 0 0 0 4px;
4139 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
4140 border-radius: 0 0 4px 0;
4143 .addr-row:last-of-type input:last-of-type {
4144 border-radius: 0 0 4px 0;
4146 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
4147 border-radius: 0 0 0 4px;
4150 /* Restrictions editor */
4152 .form-field-restrictions .restriction-controls-container {
4153 background-color: #fff;
4154 border-top: 1px solid #ccc;
4159 .restriction-controls-container .restriction-controls {
4161 -moz-user-select: none;
4162 -webkit-user-select: none;
4163 -ms-user-select: none;
4167 .restriction-controls .restriction-control {
4173 .restriction-control input,
4174 .restriction-control span {
4175 display: table-cell;
4180 .restriction-control span.restriction-control-label {
4184 .restriction-control input {
4188 vertical-align: middle;
4191 .form-field-restrictions .restriction-container {
4195 /* zero width space, so container takes up space */
4196 .form-field-restrictions .restriction-container:after {
4200 .form-field-restrictions svg.surface {
4205 .restriction-container .restriction-help {
4212 background-color: rgba(255, 255, 255, .8);
4215 pointer-events: none;
4217 -moz-user-select: none;
4218 -webkit-user-select: none;
4219 -ms-user-select: none;
4223 .restriction-help span {
4227 .restriction-help .qualifier {
4231 .restriction-help .qualifier.allow {
4234 .restriction-help .qualifier.restrict {
4237 .restriction-help .qualifier.only {
4241 /* Changeset editor while comment text is empty */
4243 .form-field-comment:not(.present) #preset-input-comment {
4244 border-color: rgb(230, 100, 100);
4247 .form-field-comment:not(.present) .form-label {
4248 border-color: rgb(230, 100, 100);
4249 background: rgba(230, 100, 100, 0.2);
4252 .form-field-comment:not(.present) .form-label {
4255 .form-field-comment:not(.present) .form-label-button-wrap {
4256 border-color: rgb(230, 100, 100);
4259 .form-field-comment:not(.present) button {
4260 border-color: rgb(230, 100, 100);
4263 /* combobox dropdown */
4268 box-shadow: 0 4px 10px 1px rgba(0,0,0,.2);
4274 border: 1px solid #ccc;
4275 border-radius: 0 0 4px 4px;
4281 border-top: 1px solid #ccc;
4282 text-overflow: ellipsis;
4283 white-space: nowrap;
4287 .combobox a.selected,
4289 background: #ececec;
4292 .combobox a:first-child {
4298 display: inline-block;
4303 vertical-align: top;
4305 [dir='rtl'] .combobox-caret {
4307 margin-right: -30px;
4310 .combobox-caret::after {
4312 height: 0; width: 0;
4314 left: 0; right: 0; bottom: 0; top: 0;
4316 border-top: 5px solid #ccc;
4317 border-left: 5px solid transparent;
4318 border-right: 5px solid transparent;
4331 border: 1px solid #ccc;
4333 border-radius: 0 0 4px 4px;
4335 background: rgba(255,255,255,0.95);
4336 box-shadow: 0 0 30px 5px rgba(0,0,0,.4);
4339 .field-help-title h2 {
4344 .field-help-title button {
4353 margin-bottom: 10px;
4355 .field-help-nav-item {
4356 display: inline-block;
4361 .field-help-nav-item.active {
4364 .field-help-nav-item:hover {
4366 background-color: #efefef;
4369 .field-help-content {
4374 .field-help-content h3 {
4378 .field-help-content p {
4379 margin-bottom: 15px;
4381 .field-help-content ul li {
4386 .field-help-content .field-help-image {
4388 margin-bottom: 15px;
4391 .field-help-content svg.turn {
4395 .field-help-content svg.shadow {
4400 .field-help-content svg.from {
4403 .field-help-content svg.allow {
4406 .field-help-content svg.restrict {
4409 .field-help-content svg.only {
4413 .field-help-content p.from_shadow,
4414 .field-help-content p.allow_shadow,
4415 .field-help-content p.restrict_shadow,
4416 .field-help-content p.allow_turn,
4417 .field-help-content p.restrict_turn {
4422 /* Raw Tag Editor */
4435 .tag-row.readonly input.key,
4436 .tag-row.readonly input.value,
4437 .tag-row.readonly button.remove {
4439 background-color: #eee;
4440 cursor: not-allowed;
4447 border-bottom: 1px solid #ccc;
4448 border-left: 1px solid #ccc;
4450 [dir='rtl'] .tag-row input {
4452 border-right: 1px solid #ccc;
4456 .tag-row .input-wrap-position {
4461 [dir='rtl'] .tag-row .key-wrap,
4462 [dir='rtl'] .tag-row .input-wrap-position {
4466 .tag-row input.key {
4468 background-color: #f6f6f6;
4471 .tag-row input.value {
4472 border-right: 1px solid #ccc;
4474 [dir='rtl'] .tag-row input.value {
4475 border-left: 1px solid #ccc;
4478 .tag-row:first-child input.key {
4479 border-top: 1px solid #ccc;
4480 border-top-left-radius: 4px;
4482 [dir='rtl'] .tag-row:first-child input.key {
4483 border-top-left-radius: 0;
4484 border-top-right-radius: 4px;
4487 .tag-row:first-child input.value {
4488 border-top: 1px solid #ccc;
4495 border: 1px solid #ccc;
4496 border-top-width: 0;
4497 border-left-width: 0;
4499 [dir='rtl'] .tag-row button {
4501 border-left-width: 1px;
4502 border-right-width: 0;
4505 .tag-row button:hover {
4506 background: #f1f1f1;
4509 .tag-row button .icon {
4513 .tag-row:first-child button {
4514 border-top-width: 1px;
4517 .tag-row:first-child .tag-reference-button {
4518 border-top-right-radius: 4px;
4520 [dir='rtl'] .tag-row:first-child .tag-reference-button {
4521 border-top-left-radius: 4px;
4522 border-top-right-radius: 0;
4525 .tag-row:last-child .tag-reference-button {
4526 border-bottom-right-radius: 4px;
4528 [dir='rtl'] .tag-row:last-child .tag-reference-button {
4529 border-bottom-left-radius: 4px;
4530 border-bottom-right-radius: 0;
4533 .tag-row .tag-reference-button {
4538 background: #fafafa;
4540 [dir='rtl'] .tag-row .tag-reference-button {
4544 border-left-width: 1px;
4545 border-right-width: 0;
4548 /* Adding form fields to tag editor */
4550 .raw-tag-editor .add-tag {
4554 background: rgba(0,0,0,.5);
4555 border-radius: 0 0 4px 4px;
4558 .raw-tag-editor .add-tag:hover {
4559 background: rgba(0,0,0,.8);
4562 .raw-tag-editor .add-tag .label {
4568 button.minor.tag-reference-loading {
4569 background-color: #f5f5f5;
4572 .tag-reference-loading .icon {
4573 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
4574 background-position: 0 0;
4577 .tag-reference-body {
4582 .tag-reference-body .tag-reference-description {
4583 margin: 10px 5px 0 5px;
4586 .tag-reference-body a {
4590 .tag-reference-body .tag-reference-description:last-child,
4591 .tag-reference-body a:last-child {
4592 margin-bottom: 15px;
4595 .preset-list .tag-reference-body {
4600 .raw-tag-editor .tag-reference-body {
4605 .raw-tag-editor .tag-row.readonly .tag-reference-body {
4606 background: #f6f6f6;
4610 .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body {
4611 border-bottom: 1px solid #ccc;
4614 .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
4615 border-top: 1px solid #ccc;
4618 img.tag-reference-wiki-image {
4621 width: -webkit-calc(33.3333% - 10px);
4622 width: calc(33.3333% - 10px);
4625 margin: 10px 5px 15px 20px;
4629 /* Raw relation membership editor */
4631 .raw-member-editor .member-list li:first-child,
4632 .raw-membership-editor .member-list li:first-child {
4636 .raw-member-editor .member-row,
4637 .raw-membership-editor .member-row {
4641 .raw-member-editor .member-row .member-entity-name,
4642 .raw-membership-editor .member-row .member-entity-name {
4643 font-weight: normal;
4647 .member-incomplete .member-delete {
4651 .member-row-new .member-entity-input {
4652 border-radius: 4px 4px 0 0;
4653 border: 1px solid #cfcfcf;
4659 background: rgba(0,0,0,.5);
4664 .add-relation:hover {
4665 background: rgba(0,0,0,.8);
4668 /* hidden field to prevent user from tabbing out of the sidebar */
4673 border: 1px solid rgba(0,0,0,0);
4676 /* Fullscreen button */
4683 div.full-screen .tooltip {
4687 div.full-screen > button, div.full-screen > button.active {
4690 background: transparent;
4693 div.full-screen > button:hover {
4694 background-color: rgba(0, 0, 0, .8);
4706 [dir='rtl'] .map-controls {
4711 .map-control > button {
4713 background: rgba(0,0,0,.5);
4717 .map-control > button:hover {
4718 background: rgba(0, 0, 0, .8);
4721 .map-control > button.active,
4722 .map-control > button.active:hover {
4723 background: #7092ff;
4727 .zoombuttons > button.zoom-in {
4728 border-radius: 4px 0 0 0;
4730 [dir='rtl'] .zoombuttons > button.zoom-in {
4731 border-radius: 0 4px 0 0;
4735 .geolocate-control {
4736 margin-bottom: 10px;
4738 .geolocate-control > button {
4739 border-radius: 0 0 0 4px;
4741 [dir='rtl'] .geolocate-control > button {
4742 border-radius: 0 0 4px 0;
4746 .help-control > button {
4747 border-radius: 0 0 0 4px;
4749 [dir='rtl'] .help-control > button {
4750 border-radius: 0 0 4px 0;
4753 .map-data-control button {
4757 .background-control > button {
4758 border-radius: 4px 0 0 0;
4760 [dir='rtl'] .background-control > button {
4761 border-radius: 0 4px 0 0;
4765 /* Background / Map Data Settings */
4768 .background-control {
4773 margin-bottom: 10px;
4774 white-space: nowrap;
4777 .layer-list, .controls-list {
4778 margin-bottom: 10px;
4779 border: 1px solid #ccc;
4786 background-color: white;
4794 .layer-list > li:first-child {
4795 border-radius: 3px 3px 0 0;
4798 .layer-list > li:last-child {
4799 border-radius: 0 0 3px 3px;
4802 .layer-list > li:only-child {
4806 .layer-list li:not(:last-child) {
4807 border-bottom: 1px solid #ccc;
4810 .layer-list li:hover {
4811 background-color: #ececec;
4814 .layer-list li.active,
4815 .layer-list li.switch {
4816 background: #e8ebff;
4819 .layer-list li.best > div.best {
4820 display: inline-block;
4825 [dir='rtl'] .list-item-gpx-browse svg {
4826 transform: rotateY(180deg);
4829 /* make sure tooltip fits in map-control panel */
4830 /* if too wide, placement will be wrong the first time it displays */
4831 .layer-list li.best .tooltip-inner {
4841 .layer-list label > span {
4844 white-space: nowrap;
4845 text-overflow: ellipsis;
4849 /* Background Display Options */
4851 .display-options-container {
4855 .display-control h5 {
4860 .display-control h5 span {
4864 .display-control .display-option-input {
4869 .display-control button {
4874 vertical-align: text-bottom;
4877 [dir='rtl'] .display-control button {
4883 /* Adjust Alignment controls */
4885 .background-control .nudge-container {
4886 border: 1px solid #ccc;
4891 .nudge-container .nudge-instructions {
4892 padding-bottom: 15px;
4895 .nudge-container .nudge-outer-rect {
4896 background-color: #eee;
4897 border: 1px solid #ccc;
4902 justify-content: center;
4903 align-items: center;
4909 .nudge-container .nudge-inner-rect {
4910 background-color: #fff;
4911 border: 1px solid #ccc;
4917 .nudge-container .nudge::after {
4922 left: 0; right: 0; top: 0; bottom: 0;
4927 .nudge-container input {
4934 .nudge-container input.error {
4935 border: 1px solid #ff7878;
4940 .nudge-container input:focus {
4941 background-color: transparent;
4944 .nudge-container button {
4949 background-color: transparent;
4952 .nudge-container button.right {
4957 .nudge-container button.left {
4962 .nudge-container button.top {
4967 .nudge-container button.bottom {
4971 .nudge-container button.nudge-reset {
4982 background-color: transparent;
4986 .background-control .nudge.right::after {
4987 border-top: 5px solid transparent;
4988 border-bottom: 5px solid transparent;
4989 border-left: 5px solid #222;
4992 .background-control .nudge.left::after {
4993 border-top: 5px solid transparent;
4994 border-bottom: 5px solid transparent;
4995 border-right: 5px solid #222;
4998 .background-control .nudge.top::after {
4999 border-right: 5px solid transparent;
5000 border-left: 5px solid transparent;
5001 border-bottom: 5px solid #222;
5004 .background-control .nudge.bottom::after {
5005 border-right: 5px solid transparent;
5006 border-left: 5px solid transparent;
5007 border-top: 5px solid #222;
5011 .map-data-control .layer-list button,
5012 .background-control .layer-list button {
5016 border-left: 1px solid #ccc;
5019 [dir='rtl'] .map-data-control .layer-list button,
5020 [dir='rtl'] .background-control .layer-list button {
5023 border-right: 1px solid #ccc;
5026 .map-data-control .layer-list button .icon,
5027 .background-control .layer-list button .icon {
5031 .map-data-control .layer-list button:first-of-type,
5032 .background-control .layer-list button:first-of-type {
5033 border-radius: 0 3px 3px 0;
5035 [dir='rtl'] .map-data-control .layer-list button:first-of-type,
5036 [dir='rtl'] .background-control .layer-list button:first-of-type {
5037 border-radius: 3px 0 0 3px;
5042 /*.map-data-control .map-pane,
5043 .background-control .map-pane,
5044 .help-control .map-pane {
5052 padding-bottom: 50px;
5056 [dir='rtl'] .map-pane {
5058 right: auto !important;
5063 flex-flow: row nowrap;
5064 justify-content: space-between;
5065 border-bottom: 1px solid #ccc;
5072 .pane-heading button {
5080 padding: 10px 50px 20px 20px;
5084 [dir='rtl'] .pane-content {
5085 padding: 10px 20px 20px 50px;
5088 .pane-content > div {
5089 padding-bottom: 15px;
5097 margin-bottom: 20px;
5100 .help-wrap .left-content .body p code {
5104 vertical-align: baseline;
5105 background-color: #f6f6f6;
5106 border: solid 1px #ccc;
5108 border-bottom-color: #bbb;
5110 box-shadow: inset 0 -1px 0 #bbb;
5113 .help-wrap .left-content .icon.pre-text {
5114 vertical-align: text-top;
5117 display: inline-block;
5124 margin-bottom: 20px;
5128 .help-wrap .toc li a,
5131 border: 1px solid #ccc;
5135 .help-wrap .toc li a {
5139 .help-wrap .toc li a:hover,
5140 .help-wrap .nav a:hover {
5141 background: #ececec;
5144 .help-wrap .toc li a.selected {
5145 background: #e8ebff;
5148 .help-wrap .toc li:first-child a {
5149 border-radius: 4px 4px 0 0;
5152 .help-wrap .toc li:nth-last-child(3) a {
5153 border-bottom: 1px solid #ccc;
5154 border-radius: 0 0 4px 4px
5157 .help-wrap .toc li.shortcuts a,
5158 .help-wrap .toc li.walkthrough a {
5161 border-bottom: 1px solid #ccc;
5165 .help-wrap .toc li.walkthrough a {
5171 padding-bottom: 30px;
5180 .help-wrap .nav a:first-child {
5181 border-radius: 4px 0 0 4px;
5184 .help-wrap .nav a:last-child:not(:only-child) {
5185 border-radius: 0 4px 4px 0;
5189 .help-wrap .nav a:only-child {
5196 ------------------------------------------------------- */
5200 transform-origin: 0 0;
5201 -ms-transform-origin: 0 0;
5202 -webkit-transform-origin: 0 0;
5203 -moz-transform-origin: 0 0;
5204 -o-transform-origin: 0 0;
5206 -moz-user-select: none;
5207 -webkit-user-select: none;
5208 -ms-user-select: none;
5213 -webkit-transition: opacity 200ms linear;
5214 -moz-transition: opacity 200ms linear;
5215 transition: opacity 200ms linear;
5228 background: rgba(0, 0, 0, 0.7);
5238 transform-origin: 0 0;
5239 -ms-transform-origin: 0 0;
5240 -webkit-transform-origin: 0 0;
5241 -moz-transform-origin: 0 0;
5242 -o-transform-origin: 0 0;
5244 -moz-user-select: none;
5245 -webkit-user-select: none;
5246 -ms-user-select: none;
5251 outline: 1px solid red;
5256 ------------------------------------------------------- */
5263 -moz-user-select: none;
5264 -webkit-user-select: none;
5265 -ms-user-select: none;
5270 transform-origin: 0 0;
5271 -ms-transform-origin: 0 0;
5272 -webkit-transform-origin: 0 0;
5273 -moz-transform-origin: 0 0;
5274 -o-transform-origin: 0 0;
5277 #supersurface, .layer {
5286 ------------------------------------------------------- */
5295 border: #aaa 1px solid;
5296 box-shadow: 0 0 2em black;
5300 transform-origin:0 0;
5301 -ms-transform-origin:0 0;
5302 -webkit-transform-origin:0 0;
5303 -moz-transform-origin:0 0;
5304 -o-transform-origin:0 0;
5306 -moz-user-select: none;
5307 -webkit-user-select: none;
5308 -ms-user-select: none;
5312 .map-in-map-viewport,
5321 .map-in-map-viewport {
5332 stroke: rgba(255, 255, 0, 0.75);
5334 shape-rendering: crispEdges;
5337 .map-in-map-bbox.thick {
5343 ------------------------------------------------------- */
5345 stroke: currentColor;
5349 .map-in-map-data .debug {
5353 .nocolor { color: rgba(0, 0, 0, 0); }
5354 .red { color: rgba(255, 0, 0, 0.75); }
5355 .green { color: rgba(0, 255, 0, 0.75); }
5356 .blue { color: rgba(176, 176, 255, 0.75); }
5357 .yellow { color: rgba(255, 255, 0, 0.75); }
5358 .cyan { color: rgba(0, 255, 255, 0.75); }
5359 .magenta { color: rgba(255, 0, 255, 0.75); }
5360 .orange { color: rgba(255, 153, 0, 0.75); }
5361 .pink { color: rgba(255, 0, 153, 0.75); }
5362 .purple { color: rgba(153, 0, 255, 0.75); }
5370 pointer-events: none;
5373 .debug-legend-item {
5376 .debug-legend-item:before {
5382 ------------------------------------------------------- */
5385 flex-flow: row-reverse wrap-reverse;
5390 -ms-user-select: element;
5398 display: inline-block;
5410 margin: 2px 0 0 2px;
5412 border: 1px solid rgba(0, 0, 0, 0.75);
5413 padding-bottom: 10px;
5417 .panel-container .panel-title {
5418 border-radius: 4px 4px 0 0;
5425 .panel-title button.close {
5431 [dir='rtl'] .panel-title button.close {
5435 .panel-title button.close:hover {
5439 .panel-title button.close .icon {
5449 .panel-content li span {
5450 display: inline-block;
5451 white-space: nowrap;
5455 .panel-content .button {
5456 display: inline-block;
5457 background: #7092ff;
5464 [dir='rtl'] .panel-content .button {
5469 .panel-content-history .links a {
5472 [dir='rtl'] .panel-content-history .links a {
5477 .panel-content-history .view-history-on-osm {
5482 .panel-content-location .location-info {
5488 ------------------------------------------------------- */
5496 pointer-events: none;
5498 flex-direction: column;
5499 -ms-user-select: element;
5508 #attrib * { pointer-events: all; }
5510 .base-layer-attribution,
5511 .overlay-layer-attribution {
5517 .base-layer-attribution {
5521 .overlay-layer-attribution {
5525 .overlay-layer-attribution .attribution:not(:last-child):after {
5530 .attribution a:visited {
5534 .attribution a:hover {
5538 .attribution .source-image {
5540 vertical-align: middle;
5549 pointer-events: all;
5554 /* footer flash message */
5559 flex-flow: row nowrap;
5560 justify-content: space-between;
5570 flex-flow: row nowrap;
5571 align-items: center;
5583 .flash-icon circle {
5586 .flash-icon.disabled circle {
5588 fill: rgba(255,255,255,0.7);
5594 .flash-icon.disabled use {
5595 color: rgba(32,32,32,0.7);
5598 .flash-icon.operation use {
5602 .flash-icon.operation.disabled use {
5603 fill: rgba(32,32,32,0.7);
5604 color: rgba(40,40,40,0.7);
5614 flex-flow: row nowrap;
5615 justify-content: space-between;
5624 transition: bottom 75ms linear;
5625 -moz-transition: bottom 75ms linear;
5626 -webkit-transition: bottom 75ms linear;
5631 transition: bottom 75ms linear;
5632 -moz-transition: bottom 75ms linear;
5633 -webkit-transition: bottom 75ms linear;
5640 vertical-align: bottom;
5644 -moz-user-select: none;
5645 -webkit-user-select: none;
5646 -ms-user-select: none;
5659 [dir='rtl'] #scale {
5660 transform: scaleX(-1);
5668 font: 12px sans-serif;
5673 [dir='rtl'] #scale text {
5674 transform: scaleX(-1);
5681 shape-rendering: crispEdges;
5691 [dir='rtl'] #about-list {
5700 border-left: 1px solid rgba(255,255,255,.5);
5701 padding: 5px 0 5px 5px;
5704 [dir='rtl'] #about-list li {
5707 border-right: 1px solid rgba(255,255,255,.5);
5710 padding: 5px 5px 5px 0;
5714 #about-list li:last-child {
5719 [dir='rtl'] #about-list li:last-child {
5724 padding: 2px 4px 4px 4px;
5727 .source-switch a.live {
5728 background: #d32232;
5732 .feature-warning a {
5733 background: #1e90ff;
5734 padding: 2px 4px 4px 4px;
5739 .user-list a:not(:last-child):after {
5749 [dir='rtl'] .api-status {
5753 .api-status.offline,
5754 .api-status.readonly,
5762 .api-status-login:hover {
5766 /* Notification Badges */
5768 /* For an icon (e.g. new version) */
5770 display: inline-block;
5771 background: #d32232;
5774 border-radius: 11px;
5777 [dir='rtl'] .badge {
5784 [dir='rtl'] .badge a {
5789 vertical-align: baseline;
5795 /* For text (e.g. upcoming events) */
5797 display: inline-block;
5808 [dir='rtl'] .badge-text {
5815 ------------------------------------------------------- */
5819 display: inline-block;
5830 margin-bottom: 10px;
5833 .modal .description {
5849 background:rgba(0,0,0,0.5);
5851 left:0px; right:0px; top:0px; bottom:0px;
5856 border-bottom: 1px solid #ccc;
5859 .modal-section.header h3 {
5863 .modal-section.buttons {
5867 .modal-section.buttons .action {
5868 display: inline-block;
5871 vertical-align: middle;
5874 .save-section .buttons .action,
5875 .save-section .buttons .secondary-action {
5876 display: inline-block;
5879 vertical-align: middle;
5886 .modal-actions button {
5887 font-weight: normal;
5889 border-bottom: 1px solid #ccc;
5893 display: inline-block;
5895 .modal-actions button:hover {
5896 background-color: #ececec;
5912 .modal-actions > :first-child {
5913 border-right: 1px solid #ccc;
5916 .modal-section:last-child {
5921 ------------------------------------------------------- */
5922 .modal-actions .logo-restore {
5925 .modal-actions .logo-reset {
5930 ------------------------------------------------------- */
5931 .save-success.body {
5936 .save-success .link-out {
5938 white-space: nowrap;
5942 .save-communityLinks {
5943 padding: 0px 20px 15px 20px;
5946 .save-communityLinks {
5947 border-top: 1px solid #ccc;
5950 .save-success table,
5961 vertical-align: top;
5963 .save-success td.cell-icon {
5966 .save-success td.cell-detail {
5969 .save-success td.community-detail {
5970 padding-bottom: 15px;
5973 .summary-view-on-osm,
5978 .community-languages {
5982 .community-languages:only-child {
5986 .community-detail a.hide-toggle,
5987 .community-detail a:visited.hide-toggle {
5989 font-weight: normal;
5992 .community-detail .hide-toggle svg.icon.pre-text {
6003 background-color: #efefef;
6009 .community-event-name {
6013 .community-event-when {
6017 .community-missing {
6024 ------------------------------------------------------- */
6025 .modal-actions .logo-walkthrough,
6026 .modal-actions .logo-features {
6032 ------------------------------------------------------- */
6038 .modal-shortcuts .modal-section:last-child {
6043 .modal-shortcuts .tabs-bar {
6045 padding-bottom: 5px;
6050 .modal-shortcuts .tab {
6051 display: inline-block;
6057 .modal-shortcuts .tab.active {
6060 .modal-shortcuts .tab:hover {
6062 background-color: #efefef;
6065 .modal-shortcuts .shortcut-tab {
6067 flex-flow: row wrap;
6070 .modal-shortcuts .shortcut-column {
6075 .modal-shortcuts .shortcut-tab-tools .shortcut-column {
6080 .modal-shortcuts td {
6081 padding-bottom: 5px;
6084 .modal-shortcuts .shortcut-section {
6085 padding: 20px 0 10px 0;
6088 .modal-shortcuts .shortcut-keys {
6089 padding-right: 10px;
6093 [dir='rtl'] .modal-shortcuts .shortcut-keys {
6094 padding-right: auto;
6099 .modal-shortcuts .shortcut-keys kbd {
6100 display: inline-block;
6107 vertical-align: baseline;
6108 background-color: #fcfcfc;
6109 border: solid 1px #ccc;
6111 border-bottom-color: #bbb;
6113 box-shadow: inset 0 -1px 0 #bbb;
6116 svg.mouseclick use.left {
6117 fill: rgba(112, 146, 255, 1);
6118 color: rgba(112, 146, 255, 0);
6120 svg.mouseclick use.right {
6121 fill: rgba(112, 146, 255, 0);
6122 color: rgba(112, 146, 255, 1);
6125 .modal-shortcuts .shortcut-keys .gesture {
6133 ------------------------------------------------------- */
6134 .mode-save a.user-info {
6135 display: inline-block;
6138 .mode-save .commit-form {
6142 .mode-save .user-info img {
6146 .mode-save h3 small.count {
6154 border-radius: 24px;
6156 background: #7092ff;
6160 .mode-save .field-warning {
6162 border: 1px solid #ccc;
6167 .mode-save .field-warning:empty {
6171 .mode-save .field-warning,
6172 .mode-save .changeset-info,
6173 .mode-save .request-review,
6174 .mode-save .commit-info {
6175 margin-bottom: 10px;
6178 .mode-save .request-review label {
6182 .mode-save .changeset-list {
6183 border: 1px solid #ccc;
6186 margin-bottom: 10px;
6189 .mode-save .warning-section {
6193 .mode-save .warning-section .changeset-list button {
6194 border-left: 1px solid #ccc;
6197 .mode-save .changeset-list li {
6199 border-top: 1px solid #ccc;
6204 .mode-save .changeset-list li:hover {
6205 background-color: #ececec;
6208 .mode-save .changeset-list .alert {
6212 .changeset-list li span.count {
6217 .mode-save .commit-section .changeset-list button {
6218 border-left: 1px solid #ccc;
6221 .changeset-list li span.count:before { content: '('; }
6223 .changeset-list li span.count:after { content: ')'; }
6225 .changeset-list li:first-child { border-top: 0;}
6227 /* Conflict resolution
6228 ------------------------------------------------------- */
6232 background-color: #ffffbb;
6233 border-bottom: 1px solid #ccc;
6236 .conflicts-buttons {
6240 .mode-save button.conflicts-button {
6244 .conflict-container {
6245 border-bottom: 1px solid #ccc;
6248 .conflict-description {
6254 padding: 20px 20px 0 20px;
6257 .conflict-detail-container {
6269 .conflict-nav-buttons {
6270 padding: 10px 0 20px 0;
6273 .conflict-nav-button {
6278 ------------------------------------------------------- */
6296 .notice .zoom-to:hover {
6297 background: rgba(0,0,0,0.6);
6300 .notice .zoom-to .icon {
6303 vertical-align: middle;
6306 [dir='rtl'] .notice .zoom-to .icon {
6312 ------------------------------------------------------- */
6349 display: inline-block;
6354 font-weight: normal;
6355 background-color: white;
6361 pointer-events: none;
6365 background: transparent;
6373 border-color: transparent;
6374 border-style: solid;
6378 border-left-color: white;
6379 border-width: 5px 0 5px 5px;
6398 border-color: transparent;
6399 border-style: solid;
6403 border-right-color: white;
6404 border-width: 5px 5px 5px 0;
6411 border-color: transparent;
6412 border-style: solid;
6415 .tooltip.top .tooltip-arrow {
6419 border-top-color: white;
6420 border-width: 5px 5px 0;
6423 .tooltip.right .tooltip-arrow {
6427 border-right-color: white;
6428 border-width: 5px 5px 5px 0;
6431 .tooltip.left .tooltip-arrow {
6435 border-left-color: white;
6436 border-width: 5px 0 5px 5px;
6439 .tooltip.bottom .tooltip-arrow {
6443 border-bottom-color: white;
6444 border-width: 0 5px 5px;
6449 background: #F6F6F6;
6451 margin: -10px -10px 10px -10px;
6452 border-radius: 3px 3px 0 0;
6457 background: #F6F6F6;
6459 margin: 10px -10px -10px -10px;
6460 border-radius: 0 0 3px 3px;
6463 .tooltip-inner .keyhint {
6468 /* Exceptions for tooltip layouts */
6470 /* make tooltips in panels dark */
6471 .map-pane .tooltip.top .tooltip-arrow,
6472 .entity-editor-pane .tooltip.top .tooltip-arrow,
6473 .warning-section .tooltip.top .tooltip-arrow {
6474 border-top-color: #000;
6477 .map-pane .tooltip.bottom .tooltip-arrow,
6478 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
6479 .warning-section .tooltip.bottom .tooltip-arrow {
6480 border-bottom-color: #000;
6483 .map-pane .tooltip.left .tooltip-arrow,
6484 .entity-editor-pane .tooltip.left .tooltip-arrow,
6485 .warning-section .tooltip.left .tooltip-arrow {
6486 border-left-color: #000;
6489 .map-pane .tooltip.right .tooltip-arrow,
6490 .entity-editor-pane .tooltip.right .tooltip-arrow,
6491 .warning-section .tooltip.right .tooltip-arrow {
6492 border-right-color: #000;
6495 .map-pane .tooltip-inner,
6496 .map-pane .tooltip-heading,
6497 .map-pane .keyhint-wrap,
6498 .entity-editor-pane .tooltip-inner,
6499 .warning-section .tooltip-inner {
6503 /* commit warning tooltips need to be closer */
6504 .warning-section .tooltip.top {
6508 /* Uncramp map-control tooltips */
6509 .map-control .tooltip {
6512 .map-control .shortcuts .tooltip {
6516 /* Move over tooltips that are near the edge of screen */
6517 .add-point .tooltip {
6518 left: 33.3333% !important;
6520 [dir='rtl'] .add-point .tooltip {
6521 left: inherit !important;
6524 .add-point .tooltip .tooltip-arrow {
6527 [dir='rtl'] .add-point .tooltip .tooltip-arrow {
6532 li:first-of-type .badge .tooltip,
6533 li.hide + li.version .badge .tooltip {
6534 left: auto !important;
6535 right: 5px !important;
6537 [dir='rtl'] li:first-of-type .badge .tooltip,
6538 [dir='rtl'] li.hide + li.version .badge .tooltip {
6539 left: 5px !important;
6540 right: auto !important;
6542 li:first-of-type .badge .tooltip .tooltip-arrow,
6543 li.hide + li.version .badge .tooltip .tooltip-arrow {
6544 right: 15px !important;
6545 left: auto !important;
6547 [dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
6548 [dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
6549 left: 15px !important;
6550 right: auto !important;
6554 /* radial menu (deprecated) */
6556 .radial-menu-tooltip {
6563 .radial-menu-background {
6566 stroke-opacity: 0.5;
6569 .radial-menu-item circle {
6573 .radial-menu-item circle:active,
6574 .radial-menu-item circle:hover {
6578 .radial-menu-item.disabled circle {
6580 fill: rgba(255,255,255,.5);
6583 .radial-menu-item use {
6588 .radial-menu-item.disabled use {
6589 fill: rgba(32,32,32,.5);
6590 color: rgba(40,40,40,.5);
6595 .edit-menu-tooltip {
6601 .edit-menu-background {
6605 .edit-menu-item rect {
6610 .edit-menu-item rect:active,
6611 .edit-menu-item rect:hover {
6615 .edit-menu-item.disabled rect {
6616 cursor: not-allowed;
6618 .edit-menu-item.disabled rect:hover {
6619 cursor: not-allowed;
6623 .edit-menu-item use {
6626 pointer-events: none;
6629 .edit-menu-item.disabled use {
6630 fill: rgba(32,32,32,.2);
6631 color: rgba(40,40,40,.2);
6640 stroke-dasharray: 5, 5;
6644 ------------------------------------------------------- */
6646 @media only screen and (max-width: 840px) {
6647 /* override hide for save button */
6648 #bar .save .label { display: block;}
6651 @media screen and (max-width: 1200px) {
6652 .user-list { display: none !important; }
6655 @media screen and (max-width: 1000px) {
6656 #userLink { display: none !important; }
6659 @media screen and (max-width: 900px) {
6660 #scale-block { display: none !important; }
6665 ----------------------------------------------------- */
6667 ::-webkit-scrollbar {
6672 border-left: 1px solid #DDD;
6675 ::-webkit-scrollbar-track {
6676 background-clip: padding-box;
6677 border: solid transparent;
6681 ::-webkit-scrollbar-thumb {
6682 background-color: rgba(0,0,0,.2);
6683 background-clip: padding-box;
6684 border: solid transparent;
6685 border-width: 3px 3px 3px 4px;
6688 ::-webkit-scrollbar-track:hover,
6689 ::-webkit-scrollbar-track:active {
6690 background-color: rgba(0,0,0,.05);
6693 /* Intro walkthrough
6694 ----------------------------------------------------- */
6697 pointer-events: all;
6705 flex-direction: row;
6714 .intro-nav-wrap .intro-nav-wrap-logo {
6720 vertical-align: middle;
6723 .intro-nav-wrap .joined {
6726 flex-direction: row;
6729 .intro-nav-wrap button.chapter {
6734 .intro-nav-wrap button.chapter.next {
6735 animation-duration: 1s;
6736 animation-name: pulse;
6737 animation-iteration-count: infinite;
6738 animation-direction: alternate;
6741 from { background: #7092ff; }
6742 to { background: #c6d4ff; }
6745 .intro-nav-wrap button.chapter.finished {
6746 background: #8cd05f;
6749 .intro-nav-wrap button.chapter .status {
6753 .intro-nav-wrap button.chapter.finished .status {
6754 display: inline-block;
6757 .curtain-tooltip.tooltip.in {
6760 .curtain-tooltip.tooltip {
6763 [dir='rtl'] .curtain-tooltip.tooltip {
6767 .curtain-tooltip .tooltip-inner {
6773 .curtain-tooltip .tooltip-inner .button-section,
6774 .curtain-tooltip .tooltip-inner .instruction {
6777 border-top: 1px solid #ccc;
6780 margin-right: -20px;
6781 padding: 10px 20px 0 20px;
6784 [dir='rtl'] .curtain-tooltip .tooltip-inner .button-section button.col8 {
6788 .curtain-tooltip .tooltip-inner .instruction:only-child {
6794 .curtain-tooltip .tooltip-inner .icon.pre-text {
6795 vertical-align: text-top;
6798 display: inline-block;
6801 .curtain-tooltip.intro-points-describe ,
6802 .curtain-tooltip.intro-lines-name_road {
6803 top: 133px !important;
6806 .tooltip-illustration {
6812 [dir='rtl'] .tooltip-illustration {
6814 margin-right: -20px;
6817 .curtain-tooltip.intro-mouse {
6818 -moz-user-select: none;
6819 -webkit-user-select: none;
6820 -ms-user-select: none;
6824 .curtain-tooltip.intro-mouse .counter {
6835 .curtain-tooltip.intro-mouse .tooltip-illustration use {
6836 fill: rgba(112, 146, 255, 0);
6837 color: rgba(112, 146, 255, 0);
6839 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
6840 fill: rgba(112, 146, 255, 1);
6842 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
6843 color: rgba(112, 146, 255, 1);
6846 .huge-modal-button {
6852 .huge-modal-button .illustration {