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.hover,
1987 .mode-draw-area .way.hover,
1988 .mode-add-line .way.hover,
1989 .mode-add-area .way.hover,
1990 .mode-drag-node .way.hover {
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.hover,
1996 .mode-draw-area .vertex.hover,
1997 .mode-add-line .vertex.hover,
1998 .mode-add-area .vertex.hover,
1999 .mode-drag-node .vertex.hover {
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;
2496 ------------------------------------------------------- */
2500 font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2501 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2502 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2513 background-color: white;
2515 border:1px solid #ccc;
2516 padding:5px 20px 5px 10px;
2520 text-overflow: ellipsis;
2522 [dir='rtl'] textarea,
2523 [dir='rtl'] input[type=text],
2524 [dir='rtl'] input[type=search],
2525 [dir='rtl'] input[type=number],
2526 [dir='rtl'] input[type=url],
2527 [dir='rtl'] input[type=tel],
2528 [dir='rtl'] input[type=email] {
2529 padding:5px 10px 5px 20px;
2534 background-color: #F1F1F1;
2537 input[type="checkbox"],
2538 input[type="radio"] {
2545 [dir='rtl'] input[type="checkbox"],
2546 [dir='rtl'] input[type="radio"] {
2552 /* remove bottom border radius when combobox is open */
2553 .combobox + * textarea:focus,
2554 .combobox + * input:focus {
2555 border-bottom-left-radius: 0 !important;
2556 border-bottom-right-radius: 0 !important;
2562 background-color: white;
2563 border-collapse: collapse;
2572 table.tags, table.tags td, table.tags th {
2573 border: 1px solid #ccc;
2582 ------------------------------------------------------- */
2584 .col0 { float:left; width:04.1666%; }
2585 .col1 { float:left; width:08.3333%; }
2586 .col2 { float:left; width:16.6666%; }
2587 .col3 { float:left; width:25.0000%; max-width: 300px; }
2588 .col4 { float:left; width:33.3333%; max-width: 400px; }
2589 .col5 { float:left; width:41.6666%; max-width: 500px; }
2590 .col6 { float:left; width:50.0000%; max-width: 600px; }
2591 .col7 { float:left; width:58.3333%; }
2592 .col8 { float:left; width:66.6666%; }
2593 .col9 { float:left; width:75.0000%; }
2594 .col10 { float:left; width:83.3333%; }
2595 .col11 { float:left; width:91.6666%; }
2596 .col12 { float:left; width:100.0000%; }
2599 ------------------------------------------------------- */
2601 ul li { list-style: none;}
2603 .toggle-list > label {
2608 background-color: white;
2613 .toggle-list > label:hover {
2614 background-color: #ececec;
2617 .toggle-list > label:not(:last-child) {
2618 border-bottom: 1px solid #ccc;
2621 .toggle-list > label:last-child {
2622 border-radius: 0 0 3px 3px;
2625 .toggle-list label > span {
2628 white-space: nowrap;
2629 text-overflow: ellipsis;
2632 .toggle-list > label.active {
2633 background: #E8EBFF;
2638 ------------------------------------------------------- */
2645 background: #f6f6f6;
2650 background: #ececec;
2655 background:rgba(0,0,0,.5);
2660 background:rgba(0,0,0,.75);
2665 .fr { float: right;}
2683 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2687 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2688 background-size:5px 5px;
2724 display: inline-block;
2731 background-color: #ececec;
2736 background-color: rgba(255,255,255,.25);
2737 color: rgba(0,0,0,.4);
2742 background: #7092ff;
2752 background-color: #fafafa;
2754 [dir='rtl'] button.minor {
2758 button.minor .icon {
2762 button.minor:hover {
2763 background-color: #f1f1f1;
2767 display: inline-block;
2772 .button-wrap button:only-child {
2776 .button-wrap:last-of-type {
2779 [dir='rtl'] .button-wrap:last-of-type {
2781 padding-right: 10px;
2786 border-right: 1px solid rgba(0,0,0,.5);
2788 [dir='rtl'] .joined button {
2789 border-left: 1px solid rgba(0,0,0,.5);
2793 .fillL .joined button {
2794 border-right: 1px solid white;
2797 .joined button:first-child {
2798 border-radius: 4px 0 0 4px;
2800 [dir='rtl'] .joined button:first-child {
2801 border-radius: 0 4px 4px 0;
2804 .joined button:last-child {
2805 border-right-width: 0;
2806 border-radius: 0 4px 4px 0;
2808 [dir='rtl'] .joined button:last-child {
2809 border-radius: 4px 0 0 4px;
2813 background: #7092ff;
2817 button[disabled].action,
2818 button[disabled].action:hover {
2819 background: #cccccc;
2823 button.action:focus,
2824 button.action:hover {
2825 background: #597BE7;
2828 button.secondary-action {
2829 background: #ececec;
2832 button.secondary-action:focus,
2833 button.secondary-action:hover {
2834 background: #cccccc;
2837 button.save .count {
2841 button.save.has-count .count {
2854 margin-left: 9.3333%;
2856 [dir='rtl'] button.save.has-count .count {
2861 button.save.has-count .count::before {
2870 border-top: 6px solid transparent;
2871 border-bottom: 6px solid transparent;
2872 border-right-width: 6px;
2873 border-right-style: solid;
2874 border-right-color: inherit;
2876 [dir='rtl'] button.save.has-count .count::before {
2877 border-left: 6px solid rgba(255,255,255,.5);
2886 vertical-align: top;
2892 vertical-align: text-top;
2901 [dir='rtl'] .icon.pre-text {
2931 /* ToolBar / Persistent UI Elements
2932 ------------------------------------------------------- */
2945 [dir='rtl'] #bar .spacer,
2946 [dir='rtl'] #bar .button-wrap,
2947 [dir='rtl'] #bar .button-wrap button {
2952 /* Header for modals / panes
2953 ------------------------------------------------------- */
2956 border-bottom: 1px solid #ccc;
2964 white-space: nowrap;
2965 text-overflow: ellipsis;
2967 padding: 20px 20px 20px 40px;
2969 [dir='rtl'] .header h3 {
2971 padding: 20px 40px 20px 20px;
2987 .field-help-title button.close,
2988 .entity-editor-pane .header button.preset-close,
2989 .preset-list-pane .header button.preset-choose {
2994 [dir='rtl'] .field-help-title button.close,
2995 [dir='rtl'] .entity-editor-pane .header button.preset-close,
2996 [dir='rtl'] .preset-list-pane .header button.preset-choose {
3001 .entity-editor-pane .header button.preset-choose {
3006 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
3024 [dir='rtl'] .modal > button {
3032 padding: 5px 20px 5px 20px;
3033 border-top: 1px solid #ccc;
3034 background-color: #fafafa;
3039 .sidebar-component .body {
3049 ------------------------------------------------------- */
3051 .hide-toggle .icon.pre-text {
3052 vertical-align: text-top;
3057 [dir='rtl'] .hide-toggle .icon.pre-text {
3062 a:visited.hide-toggle,
3064 display: inline-block;
3067 padding-bottom: 5px;
3072 ------------------------------------------------------- */
3080 background: #f6f6f6;
3081 -ms-user-select: element;
3083 [dir='rtl'] #sidebar {
3087 .sidebar-component {
3113 .feature-list-pane .inspector-body {
3117 .preset-list-pane .inspector-body {
3121 .entity-editor-pane .inspector-body {
3125 .selection-list-pane .inspector-body {
3134 #sidebar .search-header .icon {
3139 pointer-events: none;
3141 [dir='rtl'] #sidebar .search-header .icon {
3146 #sidebar .search-header input {
3154 border-bottom-width: 1px;
3168 .feature-list-item {
3171 border-bottom: 1px solid #ccc;
3175 .feature-list-item {
3176 background-color: white;
3182 .feature-list-item:hover {
3183 background-color: #ececec;
3186 .feature-list-item button {
3187 background: transparent;
3190 .feature-list-item .label {
3193 white-space: nowrap;
3194 text-overflow: ellipsis;
3196 border-left: 1px solid rgba(0, 0, 0, .1);
3198 [dir='rtl'] .feature-list-item .label {
3202 .feature-list-item .label .icon {
3206 .feature-list-item .close {
3211 .feature-list-item .close .icon {
3215 .feature-list-item .entity-type {
3219 .feature-list-item:hover .entity-type {
3223 .feature-list-item .entity-name {
3224 font-weight: normal;
3228 [dir='rtl'] .feature-list-item .entity-name {
3230 padding-right: 10px;
3235 ------------------------------------------------------- */
3241 padding: 20px 20px 10px 20px;
3242 border-bottom: 1px solid #ccc;
3245 .preset-list-button-wrap {
3247 margin-bottom: 10px;
3251 .preset-list-button {
3255 border: 1px solid #ccc;
3258 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
3259 background: #ececec;
3262 .preset-icon-fill-area {
3272 .preset-icon-fill-vertex {
3279 border: 1.5px solid #333;
3280 border-radius: 20px;
3281 background-color: #efefef;
3282 backface-visibility: hidden;
3285 [dir='rtl'] .preset-icon-fill-vertex,
3286 [dir='rtl'] .preset-icon-fill-area {
3291 .preset-icon-frame {
3299 [dir='rtl'] .preset-icon-frame {
3304 .preset-icon-frame .icon {
3316 .preset-icon-60 .icon {
3328 .preset-icon-44 .icon {
3340 .preset-icon-28 .icon {
3352 .preset-icon-24 .icon {
3357 [dir='rtl'] .preset-list-button-wrap .preset-icon {
3362 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
3366 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
3370 .preset-list-button .label {
3371 background-color: #f6f6f6;
3380 white-space: nowrap;
3381 text-overflow: ellipsis;
3383 border-left: 1px solid rgba(0, 0, 0, .1);
3384 border-radius: 0 3px 3px 0;
3386 [dir='rtl'] .preset-list-button .label {
3391 border-right: 1px solid rgba(0, 0, 0, .1);
3392 border-radius: 3px 0 0 3px;
3395 .preset-list-button:hover .label {
3396 background-color: #ececec;
3399 .preset-list-item button.tag-reference-button {
3401 border: 1px solid #ccc;
3402 border-radius: 0 3px 3px 0;
3407 background: #fafafa;
3409 [dir='rtl'] .preset-list-item button.tag-reference-button {
3412 border-radius: 3px 0 0 3px;
3415 .preset-list-item button.tag-reference-button:hover {
3416 background: #f1f1f1;
3419 .preset-list-item button.tag-reference-button .icon {
3423 .current .preset-list-button,
3424 .current .preset-list-button .label {
3425 background-color: #E8EBFF;
3428 .category .preset-list-button:after,
3429 .category .preset-list-button:before {
3433 left: -1px; right: -1px;
3434 border: 1px solid #ccc;
3435 border-bottom: none;
3436 border-radius: 6px 6px 0 0;
3440 .category .preset-list-button:before {
3444 .subgrid .preset-list {
3445 padding: 10px 10px 0 10px;
3449 width: -webkit-calc(100% + 20px);
3454 border: solid rgba(0, 0, 0, 0);
3456 border-bottom-color: #f1f1f1;
3460 margin-left: -webkit-calc(50% - 10px);
3465 /* preset form basics */
3469 padding-bottom: 10px;
3472 .preset-editor a.hide-toggle {
3473 margin: 0 20px 5px 20px;
3476 .preset-editor .form-fields-container {
3478 margin: 0 10px 10px 10px;
3482 .preset-editor .form-fields-container:empty {
3486 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
3491 margin-bottom: 10px;
3493 -webkit-transition: margin-bottom 200ms;
3494 -moz-transition: margin-bottom 200ms;
3495 -o-transition: margin-bottom 200ms;
3496 transition: margin-bottom 200ms;
3500 .wrap-form-field:last-child .form-field {
3507 border: 1px solid #cfcfcf;
3508 padding: 5px 0 5px 10px;
3509 background: #f6f6f6;
3511 border-radius: 4px 4px 0 0;
3514 [dir='rtl'] .form-label {
3515 padding: 5px 10px 5px 0;
3518 .form-label-button-wrap {
3524 background: transparent;
3527 [dir='rtl'] .form-label-button-wrap {
3531 .form-label-button-wrap .tag-reference-button {
3532 border-radius: 0 3px 0 0;
3535 .form-label-button-wrap .icon {
3539 .form-label button {
3540 border-left: 1px solid #ccc;
3544 background: #f6f6f6;
3546 [dir='rtl'] .form-label button {
3548 border-right: 1px solid #ccc;
3549 border-radius: 4px 0 0 0;
3552 .form-label button:hover {
3553 background: #f1f1f1;
3556 .form-label .modified-icon,
3557 .form-field .remove-icon {
3561 .modified .form-label .modified-icon,
3562 .present .form-label .remove-icon {
3563 display: inline-block;
3566 .form-field > input,
3567 .form-field > textarea,
3568 .form-field .preset-input-wrap {
3569 border: 1px solid #ccc;
3572 border-radius: 0 0 4px 4px;
3577 .form-field textarea {
3582 border-bottom: 1px solid #ccc
3585 /* Preset form (hover mode) */
3587 .inspector-hover .checkselect label:last-of-type,
3588 .inspector-hover .preset-input-wrap .label,
3589 .inspector-hover .form-field-multicombo,
3590 .inspector-hover .structure-extras-wrap,
3591 .inspector-hover input,
3592 .inspector-hover textarea,
3593 .inspector-hover label {
3594 background: #ececec;
3598 .inspector-hover .form-field-multicombo .chips,
3599 .inspector-hover .checkselect label:last-of-type {
3603 .inspector-hover .form-field-multicombo .chips {
3605 border: 1px solid #ccc;
3608 /* hide and remove from layout */
3610 .inspector-hover label input[type="checkbox"],
3611 .inspector-hover label input[type="radio"],
3612 .inspector-hover .toggle-list label,
3613 .inspector-hover .toggle-list label span,
3614 .inspector-hover .inspector-inner .add-tag,
3615 .inspector-hover .inspector-inner .add-relation,
3616 .inspector-hover .form-field-multicombo .combobox-input,
3617 .inspector-hover .toggle-list label.remove .icon {
3621 opacity: 0 !important;
3627 /* hide but preserve in layout */
3628 .inspector-hover .entity-editor-pane button.minor,
3629 .inspector-hover .combobox-caret,
3630 .inspector-hover .entity-editor-pane .header button,
3631 .inspector-hover .spin-control,
3632 .inspector-hover .form-field-multicombo .chips .remove,
3633 .inspector-hover .hide-toggle:before,
3634 .inspector-hover .more-fields,
3635 .inspector-hover .form-label-button-wrap,
3636 .inspector-hover .tag-reference-button,
3637 .inspector-hover .view-on-osm {
3641 /* Styles for raw tag inspector on hover */
3642 .inspector-hover .tag-row .key-wrap,
3643 .inspector-hover .tag-row .form-field.input-wrap-position {
3647 .inspector-hover .tag-row:first-child input.value {
3648 border-top-right-radius: 4px;
3650 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
3651 border-top-right-radius: 0;
3652 border-top-left-radius: 4px;
3655 .inspector-hover .tag-row:last-child input.value {
3656 border-bottom-right-radius: 4px;
3658 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
3659 border-bottom-right-radius: 0;
3660 border-bottom-left-radius: 4px;
3663 .inspector-hover .tag-row:last-child input.key {
3664 border-bottom-left-radius: 4px;
3666 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
3667 border-bottom-left-radius: 0;
3668 border-bottom-right-radius: 4px;
3671 .inspector-hover .more-fields {
3673 margin-bottom: -10px;
3676 /* Unstyle button fields */
3677 .inspector-hover .toggle-list label.active,
3678 .inspector-hover .entity-editor-pane a.hide-toggle {
3680 background-color: transparent;
3686 .inspector-hover .toggle-list button.active {
3690 /* Add placeholder only on hover for radio buttons */
3691 .inspector-hover .toggle-list .placeholder {
3699 /* Hide placeholder for radio buttons if another is active, or not in hover state */
3700 .toggle-list label.active ~ .placeholder,
3701 .toggle-list .placeholder {
3710 /* adding additional preset fields */
3713 padding: 0 20px 20px 20px;
3716 .changeset-editor .more-fields {
3717 padding: 15px 20px 0 20px;
3720 .more-fields label {
3722 flex-flow: row nowrap;
3723 justify-content: space-between;
3724 align-items: center;
3727 .more-fields input {
3731 [dir='rtl'] .more-fields input {
3736 .preset-input-wrap .label {
3738 background: #F6F6F6;
3742 [dir='rtl'] .preset-input-wrap .col6 {
3747 /* preset form access */
3748 /* preset form cycleway */
3749 /* preset form structure extras */
3751 .structure-extras-wrap li,
3752 .form-field-cycleway .preset-input-wrap li,
3753 .form-field-access .preset-input-wrap li {
3754 border-bottom: 1px solid #ccc;
3756 .structure-extras-wrap li:last-child,
3757 .form-field-cycleway .preset-input-wrap li:last-child,
3758 .form-field-access .preset-input-wrap li:last-child {
3761 .structure-input-type-wrap input,
3762 .structure-input-layer-wrap input,
3763 .preset-input-cycleway-wrap input,
3764 .preset-input-access-wrap input {
3767 border-left-width: 1px;
3769 [dir='rtl'] .structure-input-type-wrap input,
3770 [dir='rtl'] .structure-input-layer-wrap input,
3771 [dir='rtl'] .preset-input-cycleway-wrap input,
3772 [dir='rtl'] .preset-input-access-wrap input {
3773 border-left-width: 0;
3774 border-right-width: 1px;
3777 .preset-input-wrap li:last-child input {
3778 border-bottom-right-radius: 4px;
3781 .structure-extras-wrap {
3785 .structure-extras-wrap ul {
3786 border: 1px solid #ccc;
3789 .structure-extras-wrap li:first-child span {
3790 border-top-left-radius: 4px;
3792 .structure-extras-wrap li:first-child input {
3793 border-top-right-radius: 4px;
3795 .structure-extras-wrap li:last-child span {
3796 border-bottom-left-radius: 4px;
3798 .structure-extras-wrap li:last-child input {
3799 border-bottom-right-radius: 4px;
3801 [dir='rtl'] .structure-extras-wrap li:first-child span {
3802 border-top-left-radius: 0;
3803 border-top-right-radius: 4px;
3805 [dir='rtl'] .structure-extras-wrap li:first-child input {
3806 border-top-right-radius: 0;
3807 border-top-left-radius: 4px;
3809 [dir='rtl'] .structure-extras-wrap li:last-child span {
3810 border-bottom-left-radius: 0;
3811 border-bottom-right-radius: 4px;
3813 [dir='rtl'] .structure-extras-wrap li:last-child input {
3814 border-bottom-right-radius: 0;
3815 border-bottom-left-radius: 4px;
3819 /* preset form multicombo */
3821 .form-field-multicombo {
3822 border: 1px solid #cfcfcf;
3824 padding: 5px 0 5px 10px;
3827 border-radius: 0 0 4px 4px;
3831 .form-field-multicombo:focus {
3835 .form-field-multicombo.active {
3836 border-bottom-left-radius: 0px;
3837 border-bottom-right-radius: 0px;
3840 .form-field-multicombo li {
3841 display: inline-flex;
3842 flex-flow: row nowrap;
3843 align-items: center;
3844 background-color: #eff2f7;
3845 border: 1px solid #ccd5e3;
3852 .form-field-multicombo a {
3853 font-family: Arial, Helvetica, sans-serif !important;
3854 font-size: 16px !important;
3857 margin: 1px 0 0 5px;
3863 .form-field-multicombo input {
3864 border: 1px solid #ddd;
3870 .form-field-multicombo .combobox-caret {
3871 margin: 3px 3px 3px -30px;
3874 .form-field-multicombo input:focus {
3875 border-radius: 4px !important;
3879 /* preset form numbers */
3881 input[type=number] {
3889 display: inline-block;
3891 margin-bottom: -11px;
3894 [dir='rtl'] .spin-control{
3896 margin-right: -64px;
3899 .spin-control button {
3905 border-left: 1px solid #ccc;
3907 background: rgba(0, 0, 0, 0);
3909 [dir='rtl'] .spin-control button{
3911 border-right: 1px solid #ccc;
3914 .spin-control button.decrement {
3915 border-bottom-right-radius: 3px;
3917 [dir='rtl'] .spin-control button.decrement {
3918 border-bottom-right-radius: 0;
3920 [dir='rtl'] .spin-control button.increment {
3921 border-bottom-left-radius: 3px;
3925 .spin-control button.decrement::after,
3926 .spin-control button.increment::after {
3928 height: 0; width: 0;
3930 left: 0; right: 0; bottom: 0; top: 0;
3934 .spin-control button.decrement::after {
3935 border-top: 5px solid #ccc;
3936 border-left: 5px solid transparent;
3937 border-right: 5px solid transparent;
3940 .spin-control button.increment::after {
3941 border-bottom: 5px solid #ccc;
3942 border-left: 5px solid transparent;
3943 border-right: 5px solid transparent;
3947 /* preset form checkbox */
3949 .checkselect label:last-of-type {
3956 .checkselect label:hover {
3957 background: #f1f1f1;
3964 .checkselect label:not(.set) input[type="checkbox"] {
3968 .checkselect .reverser.button {
3971 background-color: #eff2f7;
3972 border: 1px solid #ccd5e3;
3976 [dir='rtl'] .checkselect .reverser.button {
3979 .checkselect .reverser.button.hide {
3983 /* Preset form radio button */
3985 .toggle-list button.remove {
3986 border-radius: 0 0 3px 3px;
3989 .toggle-list button.remove .icon {
3994 .toggle-list button.remove::before {
3998 #preset-input-maxspeed {
4000 border-radius: 0 0 0 4px;
4003 [dir='rtl'] #preset-input-maxspeed {
4004 border-right: 1px solid #ccc;
4005 border-radius: 0 0 4px 0;
4008 .form-field .maxspeed-unit {
4009 border-radius: 0 0 4px 0;
4012 [dir='rtl'] .form-field .maxspeed-unit {
4014 border-radius: 0 0 0 4px;
4017 /* Wikipedia field */
4018 .form-field .wiki-lang {
4021 .form-field .wiki-title {
4024 [dir='rtl'] .form-field .wiki-title {
4026 padding-right: 10px;
4029 .form-field .wiki-title ~ .combobox-caret {
4032 [dir='rtl'] .form-field .wiki-title ~ .combobox-caret {
4037 /* Localized field */
4038 .form-field .localized-main {
4041 [dir='rtl'] .form-field .localized-main {
4043 padding-right: 10px;
4046 .form-field .button-input-action {
4051 border: 1px solid #ccc;
4052 border-top-width: 0;
4053 border-right-width: 0;
4054 border-radius: 0 0 4px 0;
4056 vertical-align: top;
4058 [dir='rtl'] .form-field .button-input-action {
4060 margin-right: -32px;
4061 border-right-width: 1px;
4062 border-radius: 0 0 0 4px;
4065 .form-field .localized-wrap {
4069 .form-field .localized-wrap .entry {
4074 .form-field .localized-wrap .entry::before {
4087 .form-field .localized-wrap .entry .localized-lang {
4089 border-top-width: 0;
4092 .form-field .localized-wrap .entry .localized-value {
4093 border-top-width: 0;
4094 border-radius: 0 0 4px 4px;
4097 .form-field .localized-wrap .form-label button {
4098 border-top-right-radius: 3px;
4101 /* Preset form address */
4107 [dir='rtl'] .addr-row input {
4108 border-right: 1px solid #ccc;
4112 .addr-row:first-of-type input {
4116 .addr-row input:first-of-type {
4119 [dir='rtl'] .addr-row input:first-of-type {
4127 .addr-row:last-of-type input:first-of-type {
4128 border-radius: 0 0 0 4px;
4130 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
4131 border-radius: 0 0 4px 0;
4134 .addr-row:last-of-type input:last-of-type {
4135 border-radius: 0 0 4px 0;
4137 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
4138 border-radius: 0 0 0 4px;
4141 /* Restrictions editor */
4143 .form-field-restrictions .restriction-controls-container {
4144 background-color: #fff;
4145 border-top: 1px solid #ccc;
4150 .restriction-controls-container .restriction-controls {
4154 .restriction-controls .restriction-control {
4160 .restriction-control input,
4161 .restriction-control span {
4162 display: table-cell;
4167 .restriction-control span.restriction-control-label {
4171 .restriction-control input {
4175 vertical-align: middle;
4178 .form-field-restrictions .restriction-container {
4182 /* zero width space, so container takes up space */
4183 .form-field-restrictions .restriction-container:after {
4187 .form-field-restrictions svg.surface {
4192 .restriction-container .restriction-help {
4199 background-color: rgba(255, 255, 255, .8);
4202 pointer-events: none;
4204 -moz-user-select: none;
4205 -webkit-user-select: none;
4206 -ms-user-select: none;
4210 .restriction-help span {
4214 .restriction-help .qualifier {
4218 .restriction-help .qualifier.allow {
4221 .restriction-help .qualifier.restrict {
4224 .restriction-help .qualifier.only {
4228 /* Changeset editor while comment text is empty */
4230 .form-field-comment:not(.present) #preset-input-comment {
4231 border-color: rgb(230, 100, 100);
4234 .form-field-comment:not(.present) .form-label {
4235 border-color: rgb(230, 100, 100);
4236 background: rgba(230, 100, 100, 0.2);
4239 .form-field-comment:not(.present) .form-label {
4242 .form-field-comment:not(.present) .form-label-button-wrap {
4243 border-color: rgb(230, 100, 100);
4246 .form-field-comment:not(.present) button {
4247 border-color: rgb(230, 100, 100);
4250 /* combobox dropdown */
4255 box-shadow: 0 4px 10px 1px rgba(0,0,0,.2);
4261 border: 1px solid #ccc;
4262 border-radius: 0 0 4px 4px;
4268 border-top: 1px solid #ccc;
4269 text-overflow: ellipsis;
4270 white-space: nowrap;
4274 .combobox a.selected,
4276 background: #ececec;
4279 .combobox a:first-child {
4285 display: inline-block;
4290 vertical-align: top;
4292 [dir='rtl'] .combobox-caret {
4294 margin-right: -30px;
4297 .combobox-caret::after {
4299 height: 0; width: 0;
4301 left: 0; right: 0; bottom: 0; top: 0;
4303 border-top: 5px solid #ccc;
4304 border-left: 5px solid transparent;
4305 border-right: 5px solid transparent;
4318 border: 1px solid #ccc;
4320 border-radius: 0 0 4px 4px;
4322 background: rgba(255,255,255,0.95);
4323 box-shadow: 0 0 30px 5px rgba(0,0,0,.4);
4326 .field-help-title h2 {
4331 .field-help-title button {
4340 margin-bottom: 10px;
4342 .field-help-nav-item {
4343 display: inline-block;
4348 .field-help-nav-item.active {
4351 .field-help-nav-item:hover {
4353 background-color: #efefef;
4356 .field-help-content {
4361 .field-help-content h3 {
4365 .field-help-content p {
4366 margin-bottom: 15px;
4368 .field-help-content ul li {
4373 .field-help-content .field-help-image {
4375 margin-bottom: 15px;
4378 .field-help-content svg.turn {
4382 .field-help-content svg.shadow {
4387 .field-help-content svg.from {
4390 .field-help-content svg.allow {
4393 .field-help-content svg.restrict {
4396 .field-help-content svg.only {
4400 .field-help-content p.from_shadow,
4401 .field-help-content p.allow_shadow,
4402 .field-help-content p.restrict_shadow,
4403 .field-help-content p.allow_turn,
4404 .field-help-content p.restrict_turn {
4409 /* Raw Tag Editor */
4422 .tag-row.readonly input.key,
4423 .tag-row.readonly input.value,
4424 .tag-row.readonly button.remove {
4426 background-color: #eee;
4427 cursor: not-allowed;
4434 border-bottom: 1px solid #ccc;
4435 border-left: 1px solid #ccc;
4437 [dir='rtl'] .tag-row input {
4439 border-right: 1px solid #ccc;
4443 .tag-row .input-wrap-position {
4448 [dir='rtl'] .tag-row .key-wrap,
4449 [dir='rtl'] .tag-row .input-wrap-position {
4453 .tag-row input.key {
4455 background-color: #f6f6f6;
4458 .tag-row input.value {
4459 border-right: 1px solid #ccc;
4461 [dir='rtl'] .tag-row input.value {
4462 border-left: 1px solid #ccc;
4465 .tag-row:first-child input.key {
4466 border-top: 1px solid #ccc;
4467 border-top-left-radius: 4px;
4469 [dir='rtl'] .tag-row:first-child input.key {
4470 border-top-left-radius: 0;
4471 border-top-right-radius: 4px;
4474 .tag-row:first-child input.value {
4475 border-top: 1px solid #ccc;
4482 border: 1px solid #ccc;
4483 border-top-width: 0;
4484 border-left-width: 0;
4486 [dir='rtl'] .tag-row button {
4488 border-left-width: 1px;
4489 border-right-width: 0;
4492 .tag-row button:hover {
4493 background: #f1f1f1;
4496 .tag-row button .icon {
4500 .tag-row:first-child button {
4501 border-top-width: 1px;
4504 .tag-row:first-child .tag-reference-button {
4505 border-top-right-radius: 4px;
4507 [dir='rtl'] .tag-row:first-child .tag-reference-button {
4508 border-top-left-radius: 4px;
4509 border-top-right-radius: 0;
4512 .tag-row:last-child .tag-reference-button {
4513 border-bottom-right-radius: 4px;
4515 [dir='rtl'] .tag-row:last-child .tag-reference-button {
4516 border-bottom-left-radius: 4px;
4517 border-bottom-right-radius: 0;
4520 .tag-row .tag-reference-button {
4525 background: #fafafa;
4527 [dir='rtl'] .tag-row .tag-reference-button {
4531 border-left-width: 1px;
4532 border-right-width: 0;
4535 /* Adding form fields to tag editor */
4537 .raw-tag-editor .add-tag {
4541 background: rgba(0,0,0,.5);
4542 border-radius: 0 0 4px 4px;
4545 .raw-tag-editor .add-tag:hover {
4546 background: rgba(0,0,0,.8);
4549 .raw-tag-editor .add-tag .label {
4555 button.minor.tag-reference-loading {
4556 background-color: #f5f5f5;
4559 .tag-reference-loading .icon {
4560 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
4561 background-position: 0 0;
4564 .tag-reference-body {
4569 .tag-reference-body .tag-reference-description {
4570 margin: 10px 5px 0 5px;
4573 .tag-reference-body a {
4577 .tag-reference-body .tag-reference-description:last-child,
4578 .tag-reference-body a:last-child {
4579 margin-bottom: 15px;
4582 .preset-list .tag-reference-body {
4587 .raw-tag-editor .tag-reference-body {
4592 .raw-tag-editor .tag-row.readonly .tag-reference-body {
4593 background: #f6f6f6;
4597 .raw-tag-editor .tag-row:not(:last-child) .tag-reference-body {
4598 border-bottom: 1px solid #ccc;
4601 .raw-tag-editor .tag-row.readonly .tag-reference-body.expanded {
4602 border-top: 1px solid #ccc;
4605 img.tag-reference-wiki-image {
4608 width: -webkit-calc(33.3333% - 10px);
4609 width: calc(33.3333% - 10px);
4612 margin: 10px 5px 15px 20px;
4616 /* Raw relation membership editor */
4618 .raw-member-editor .member-list li:first-child,
4619 .raw-membership-editor .member-list li:first-child {
4623 .raw-member-editor .member-row,
4624 .raw-membership-editor .member-row {
4628 .raw-member-editor .member-row .member-entity-name,
4629 .raw-membership-editor .member-row .member-entity-name {
4630 font-weight: normal;
4634 .member-incomplete .member-delete {
4638 .member-row-new .member-entity-input {
4639 border-radius: 4px 4px 0 0;
4640 border: 1px solid #cfcfcf;
4646 background: rgba(0,0,0,.5);
4651 .add-relation:hover {
4652 background: rgba(0,0,0,.8);
4655 /* hidden field to prevent user from tabbing out of the sidebar */
4660 border: 1px solid rgba(0,0,0,0);
4663 /* Fullscreen button */
4670 div.full-screen .tooltip {
4674 div.full-screen > button, div.full-screen > button.active {
4677 background: transparent;
4680 div.full-screen > button:hover {
4681 background-color: rgba(0, 0, 0, .8);
4693 [dir='rtl'] .map-controls {
4698 .map-control > button {
4700 background: rgba(0,0,0,.5);
4704 .map-control > button:hover {
4705 background: rgba(0, 0, 0, .8);
4708 .map-control > button.active,
4709 .map-control > button.active:hover {
4710 background: #7092ff;
4715 .zoombuttons button.zoom-in {
4716 border-radius: 4px 0 0 0;
4718 [dir='rtl'] .zoombuttons button.zoom-in {
4719 border-radius: 0 4px 0 0;
4722 /* Background / Map Data Settings */
4724 .map-data-control button {
4728 .background-control button {
4729 border-radius: 4px 0 0 0;
4731 [dir='rtl'] .background-control button {
4732 border-radius: 0 4px 0 0;
4736 .background-control {
4741 margin-bottom: 10px;
4742 white-space: nowrap;
4745 .layer-list, .controls-list {
4746 margin-bottom: 10px;
4747 border: 1px solid #ccc;
4754 background-color: white;
4762 .layer-list > li:first-child {
4763 border-radius: 3px 3px 0 0;
4766 .layer-list > li:last-child {
4767 border-radius: 0 0 3px 3px;
4770 .layer-list > li:only-child {
4774 .layer-list li:not(:last-child) {
4775 border-bottom: 1px solid #ccc;
4778 .layer-list li:hover {
4779 background-color: #ececec;
4782 .layer-list li.active,
4783 .layer-list li.switch {
4784 background: #e8ebff;
4787 .layer-list li.best > div.best {
4788 display: inline-block;
4793 [dir='rtl'] .list-item-gpx-browse svg {
4794 transform: rotateY(180deg);
4797 /* make sure tooltip fits in map-control panel */
4798 /* if too wide, placement will be wrong the first time it displays */
4799 .layer-list li.best .tooltip-inner {
4809 .layer-list label > span {
4812 white-space: nowrap;
4813 text-overflow: ellipsis;
4817 /* Background Display Options */
4819 .display-options-container {
4823 .display-control h5 {
4828 .display-control h5 span {
4832 .display-control .display-option-input {
4837 .display-control button {
4842 vertical-align: text-bottom;
4845 [dir='rtl'] .display-control button {
4851 /* Adjust Alignment controls */
4853 .background-control .nudge-container {
4854 border: 1px solid #ccc;
4859 .nudge-container .nudge-instructions {
4860 padding-bottom: 15px;
4863 .nudge-container .nudge-outer-rect {
4864 background-color: #eee;
4865 border: 1px solid #ccc;
4870 justify-content: center;
4871 align-items: center;
4877 .nudge-container .nudge-inner-rect {
4878 background-color: #fff;
4879 border: 1px solid #ccc;
4885 .nudge-container .nudge::after {
4890 left: 0; right: 0; top: 0; bottom: 0;
4895 .nudge-container input {
4902 .nudge-container input.error {
4903 border: 1px solid #ff7878;
4908 .nudge-container input:focus {
4909 background-color: transparent;
4912 .nudge-container button {
4917 background-color: transparent;
4920 .nudge-container button.right {
4925 .nudge-container button.left {
4930 .nudge-container button.top {
4935 .nudge-container button.bottom {
4939 .nudge-container button.nudge-reset {
4950 background-color: transparent;
4954 .background-control .nudge.right::after {
4955 border-top: 5px solid transparent;
4956 border-bottom: 5px solid transparent;
4957 border-left: 5px solid #222;
4960 .background-control .nudge.left::after {
4961 border-top: 5px solid transparent;
4962 border-bottom: 5px solid transparent;
4963 border-right: 5px solid #222;
4966 .background-control .nudge.top::after {
4967 border-right: 5px solid transparent;
4968 border-left: 5px solid transparent;
4969 border-bottom: 5px solid #222;
4972 .background-control .nudge.bottom::after {
4973 border-right: 5px solid transparent;
4974 border-left: 5px solid transparent;
4975 border-top: 5px solid #222;
4979 .map-data-control .layer-list button,
4980 .background-control .layer-list button {
4984 border-left: 1px solid #ccc;
4987 [dir='rtl'] .map-data-control .layer-list button,
4988 [dir='rtl'] .background-control .layer-list button {
4991 border-right: 1px solid #ccc;
4994 .map-data-control .layer-list button .icon,
4995 .background-control .layer-list button .icon {
4999 .map-data-control .layer-list button:first-of-type,
5000 .background-control .layer-list button:first-of-type {
5001 border-radius: 0 3px 3px 0;
5003 [dir='rtl'] .map-data-control .layer-list button:first-of-type,
5004 [dir='rtl'] .background-control .layer-list button:first-of-type {
5005 border-radius: 3px 0 0 3px;
5008 .map-data-control .map-overlay,
5009 .background-control .map-overlay,
5010 .help-control .map-overlay {
5016 .geolocate-control {
5017 margin-bottom: 10px;
5020 .geolocate-control button {
5021 border-radius: 0 0 0 4px;
5023 [dir='rtl'] .geolocate-control button {
5024 border-radius: 0 0 4px 0;
5027 .map-overlay.content {
5031 padding: 20px 50px 20px 20px;
5035 [dir='rtl'] .map-overlay.content {
5036 padding: 20px 20px 20px 50px;
5038 right: auto !important;
5041 .map-overlay.content > div {
5042 padding-bottom: 15px;
5047 .help-control button {
5048 border-radius: 0 0 0 4px;
5050 [dir='rtl'] .help-control button {
5051 border-radius: 0 0 4px 0;
5056 margin-bottom: 20px;
5059 .help-wrap .left-content .body p code {
5063 vertical-align: baseline;
5064 background-color: #f6f6f6;
5065 border: solid 1px #ccc;
5067 border-bottom-color: #bbb;
5069 box-shadow: inset 0 -1px 0 #bbb;
5072 .help-wrap .left-content .icon.pre-text {
5073 vertical-align: text-top;
5076 display: inline-block;
5083 margin-bottom: 20px;
5087 .help-wrap .toc li a,
5090 border: 1px solid #ccc;
5094 .help-wrap .toc li a {
5098 .help-wrap .toc li a:hover,
5099 .help-wrap .nav a:hover {
5100 background: #ececec;
5103 .help-wrap .toc li a.selected {
5104 background: #e8ebff;
5107 .help-wrap .toc li:first-child a {
5108 border-radius: 4px 4px 0 0;
5111 .help-wrap .toc li:nth-last-child(3) a {
5112 border-bottom: 1px solid #ccc;
5113 border-radius: 0 0 4px 4px
5116 .help-wrap .toc li.shortcuts a,
5117 .help-wrap .toc li.walkthrough a {
5120 border-bottom: 1px solid #ccc;
5124 .help-wrap .toc li.walkthrough a {
5138 .help-wrap .nav a:first-child {
5139 border-radius: 4px 0 0 4px;
5142 .help-wrap .nav a:last-child:not(:only-child) {
5143 border-radius: 0 4px 4px 0;
5147 .help-wrap .nav a:only-child {
5154 ------------------------------------------------------- */
5158 transform-origin: 0 0;
5159 -ms-transform-origin: 0 0;
5160 -webkit-transform-origin: 0 0;
5161 -moz-transform-origin: 0 0;
5162 -o-transform-origin: 0 0;
5164 -moz-user-select: none;
5165 -webkit-user-select: none;
5166 -ms-user-select: none;
5171 -webkit-transition: opacity 200ms linear;
5172 -moz-transition: opacity 200ms linear;
5173 transition: opacity 200ms linear;
5186 background: rgba(0, 0, 0, 0.7);
5196 transform-origin: 0 0;
5197 -ms-transform-origin: 0 0;
5198 -webkit-transform-origin: 0 0;
5199 -moz-transform-origin: 0 0;
5200 -o-transform-origin: 0 0;
5202 -moz-user-select: none;
5203 -webkit-user-select: none;
5204 -ms-user-select: none;
5209 outline: 1px solid red;
5214 ------------------------------------------------------- */
5221 -moz-user-select: none;
5222 -webkit-user-select: none;
5223 -ms-user-select: none;
5228 transform-origin: 0 0;
5229 -ms-transform-origin: 0 0;
5230 -webkit-transform-origin: 0 0;
5231 -moz-transform-origin: 0 0;
5232 -o-transform-origin: 0 0;
5235 #supersurface, .layer {
5244 ------------------------------------------------------- */
5253 border: #aaa 1px solid;
5254 box-shadow: 0 0 2em black;
5258 transform-origin:0 0;
5259 -ms-transform-origin:0 0;
5260 -webkit-transform-origin:0 0;
5261 -moz-transform-origin:0 0;
5262 -o-transform-origin:0 0;
5264 -moz-user-select: none;
5265 -webkit-user-select: none;
5266 -ms-user-select: none;
5270 .map-in-map-viewport,
5279 .map-in-map-viewport {
5290 stroke: rgba(255, 255, 0, 0.75);
5292 shape-rendering: crispEdges;
5295 .map-in-map-bbox.thick {
5301 ------------------------------------------------------- */
5303 stroke: currentColor;
5307 .map-in-map-data .debug {
5311 .nocolor { color: rgba(0, 0, 0, 0); }
5312 .red { color: rgba(255, 0, 0, 0.75); }
5313 .green { color: rgba(0, 255, 0, 0.75); }
5314 .blue { color: rgba(0, 0, 255, 0.75); }
5315 .yellow { color: rgba(255, 255, 0, 0.75); }
5316 .cyan { color: rgba(0, 255, 255, 0.75); }
5317 .magenta { color: rgba(255, 0, 255, 0.75); }
5318 .orange { color: rgba(255, 153, 0, 0.75); }
5319 .pink { color: rgba(255, 0, 153, 0.75); }
5320 .purple { color: rgba(153, 0, 255, 0.75); }
5328 pointer-events: none;
5331 .debug-legend-item {
5334 .debug-legend-item:before {
5340 ------------------------------------------------------- */
5343 flex-flow: row-reverse wrap-reverse;
5348 -ms-user-select: element;
5356 display: inline-block;
5368 margin: 2px 0 0 2px;
5370 border: 1px solid rgba(0, 0, 0, 0.75);
5371 padding-bottom: 10px;
5375 .panel-container .panel-title {
5376 border-radius: 4px 4px 0 0;
5383 .panel-title button.close {
5389 [dir='rtl'] .panel-title button.close {
5393 .panel-title button.close:hover {
5397 .panel-title button.close .icon {
5407 .panel-content li span {
5408 display: inline-block;
5409 white-space: nowrap;
5413 .panel-content .button {
5414 display: inline-block;
5415 background: #7092ff;
5422 [dir='rtl'] .panel-content .button {
5427 .panel-content-history .links a {
5430 [dir='rtl'] .panel-content-history .links a {
5435 .panel-content-history .view-history-on-osm {
5440 .panel-content-location .location-info {
5446 ------------------------------------------------------- */
5454 pointer-events: none;
5456 flex-direction: column;
5457 -ms-user-select: element;
5466 #attrib * { pointer-events: all; }
5468 .base-layer-attribution,
5469 .overlay-layer-attribution {
5475 .base-layer-attribution {
5479 .overlay-layer-attribution {
5483 .overlay-layer-attribution .attribution:not(:last-child):after {
5488 .attribution a:visited {
5492 .attribution a:hover {
5496 .attribution .source-image {
5498 vertical-align: middle;
5507 pointer-events: all;
5512 /* footer flash message */
5517 flex-flow: row nowrap;
5518 justify-content: space-between;
5528 flex-flow: row nowrap;
5529 align-items: center;
5541 .flash-icon circle {
5544 .flash-icon.disabled circle {
5546 fill: rgba(255,255,255,0.7);
5552 .flash-icon.disabled use {
5553 color: rgba(32,32,32,0.7);
5556 .flash-icon.operation use {
5560 .flash-icon.operation.disabled use {
5561 fill: rgba(32,32,32,0.7);
5562 color: rgba(40,40,40,0.7);
5572 flex-flow: row nowrap;
5573 justify-content: space-between;
5582 transition: bottom 75ms linear;
5583 -moz-transition: bottom 75ms linear;
5584 -webkit-transition: bottom 75ms linear;
5589 transition: bottom 75ms linear;
5590 -moz-transition: bottom 75ms linear;
5591 -webkit-transition: bottom 75ms linear;
5598 vertical-align: bottom;
5602 -moz-user-select: none;
5603 -webkit-user-select: none;
5604 -ms-user-select: none;
5617 [dir='rtl'] #scale {
5618 transform: scaleX(-1);
5626 font: 12px sans-serif;
5631 [dir='rtl'] #scale text {
5632 transform: scaleX(-1);
5639 shape-rendering: crispEdges;
5649 [dir='rtl'] #about-list {
5658 border-left: 1px solid rgba(255,255,255,.5);
5659 padding: 5px 0 5px 5px;
5662 [dir='rtl'] #about-list li {
5665 border-right: 1px solid rgba(255,255,255,.5);
5668 padding: 5px 5px 5px 0;
5672 #about-list li:last-child {
5677 [dir='rtl'] #about-list li:last-child {
5682 padding: 2px 4px 4px 4px;
5685 .source-switch a.live {
5686 background: #d32232;
5690 .feature-warning a {
5691 background: #1e90ff;
5692 padding: 2px 4px 4px 4px;
5697 .user-list a:not(:last-child):after {
5707 [dir='rtl'] .api-status {
5711 .api-status.offline,
5712 .api-status.readonly,
5720 .api-status-login:hover {
5725 display: inline-block;
5726 background: #d32232;
5729 border-radius: 11px;
5732 [dir='rtl'] .badge {
5739 [dir='rtl'] .badge a {
5744 vertical-align: baseline;
5752 ------------------------------------------------------- */
5756 display: inline-block;
5767 margin-bottom: 10px;
5770 .modal .description {
5786 background:rgba(0,0,0,0.5);
5788 left:0px; right:0px; top:0px; bottom:0px;
5793 border-bottom: 1px solid #ccc;
5796 .modal-section.header h3 {
5800 .modal-section.buttons {
5804 .modal-section.buttons .action {
5805 display: inline-block;
5808 vertical-align: middle;
5811 .save-section .buttons .action,
5812 .save-section .buttons .secondary-action {
5813 display: inline-block;
5816 vertical-align: middle;
5823 .modal-actions button,
5824 .save-success a.button {
5825 font-weight: normal;
5827 border-bottom: 1px solid #ccc;
5831 display: inline-block;
5834 .modal-actions button:hover
5835 .save-success a.button:hover {
5836 background-color: #ececec;
5846 .modal-actions > :first-child {
5847 border-right: 1px solid #ccc;
5850 .modal-section:last-child {
5855 ------------------------------------------------------- */
5856 .modal-actions .logo-restore {
5859 .modal-actions .logo-reset {
5864 ------------------------------------------------------- */
5866 padding: 15px 15px 0 15px;
5868 .save-success a.details {
5871 .save-success .button {
5874 .save-success .logo-osm {
5876 margin-bottom: 10px;
5878 .save-success a.button.social {
5880 border-bottom: none;
5882 .save-success .icon.social {
5889 ------------------------------------------------------- */
5890 .modal-actions .logo-walkthrough,
5891 .modal-actions .logo-features {
5897 ------------------------------------------------------- */
5903 .modal-shortcuts .modal-section:last-child {
5908 .modal-shortcuts .tabs-bar {
5910 padding-bottom: 5px;
5915 .modal-shortcuts .tab {
5916 display: inline-block;
5922 .modal-shortcuts .tab.active {
5925 .modal-shortcuts .tab:hover {
5927 background-color: #efefef;
5930 .modal-shortcuts .shortcut-tab {
5932 flex-flow: row wrap;
5935 .modal-shortcuts .shortcut-column {
5940 .modal-shortcuts .shortcut-tab-tools .shortcut-column {
5945 .modal-shortcuts td {
5946 padding-bottom: 5px;
5949 .modal-shortcuts .shortcut-section {
5950 padding: 20px 0 10px 0;
5953 .modal-shortcuts .shortcut-keys {
5954 padding-right: 10px;
5958 [dir='rtl'] .modal-shortcuts .shortcut-keys {
5959 padding-right: auto;
5964 .modal-shortcuts .shortcut-keys kbd {
5965 display: inline-block;
5972 vertical-align: baseline;
5973 background-color: #fcfcfc;
5974 border: solid 1px #ccc;
5976 border-bottom-color: #bbb;
5978 box-shadow: inset 0 -1px 0 #bbb;
5981 svg.mouseclick use.left {
5982 fill: rgba(112, 146, 255, 1);
5983 color: rgba(112, 146, 255, 0);
5985 svg.mouseclick use.right {
5986 fill: rgba(112, 146, 255, 0);
5987 color: rgba(112, 146, 255, 1);
5990 .modal-shortcuts .shortcut-keys .gesture {
5998 ------------------------------------------------------- */
5999 .mode-save a.user-info {
6000 display: inline-block;
6003 .mode-save .commit-form {
6007 .mode-save .user-info img {
6011 .mode-save h3 small.count {
6019 border-radius: 24px;
6021 background: #7092ff;
6025 .mode-save .field-warning {
6027 border: 1px solid #ccc;
6032 .mode-save .field-warning:empty {
6036 .mode-save .field-warning,
6037 .mode-save .changeset-info,
6038 .mode-save .request-review,
6039 .mode-save .commit-info {
6040 margin-bottom: 10px;
6043 .mode-save .request-review label {
6047 .mode-save .changeset-list {
6048 border: 1px solid #ccc;
6051 margin-bottom: 10px;
6054 .mode-save .warning-section {
6058 .mode-save .warning-section .changeset-list button {
6059 border-left: 1px solid #ccc;
6062 .mode-save .changeset-list li {
6064 border-top: 1px solid #ccc;
6069 .mode-save .changeset-list li:hover {
6070 background-color: #ececec;
6073 .mode-save .changeset-list .alert {
6077 .changeset-list li span.count {
6082 .mode-save .commit-section .changeset-list button {
6083 border-left: 1px solid #ccc;
6086 .changeset-list li span.count:before { content: '('; }
6088 .changeset-list li span.count:after { content: ')'; }
6090 .changeset-list li:first-child { border-top: 0;}
6092 /* Conflict resolution
6093 ------------------------------------------------------- */
6097 background-color: #ffffbb;
6098 border-bottom: 1px solid #ccc;
6101 .conflicts-buttons {
6105 .mode-save button.conflicts-button {
6109 .conflict-container {
6110 border-bottom: 1px solid #ccc;
6113 .conflict-description {
6119 padding: 20px 20px 0 20px;
6122 .conflict-detail-container {
6134 .conflict-nav-buttons {
6135 padding: 10px 0 20px 0;
6138 .conflict-nav-button {
6143 ------------------------------------------------------- */
6161 .notice .zoom-to:hover {
6162 background: rgba(0,0,0,0.6);
6165 .notice .zoom-to .icon {
6168 vertical-align: middle;
6171 [dir='rtl'] .notice .zoom-to .icon {
6177 ------------------------------------------------------- */
6214 display: inline-block;
6219 font-weight: normal;
6220 background-color: white;
6226 pointer-events: none;
6230 background: transparent;
6238 border-color: transparent;
6239 border-style: solid;
6243 border-left-color: white;
6244 border-width: 5px 0 5px 5px;
6263 border-color: transparent;
6264 border-style: solid;
6268 border-right-color: white;
6269 border-width: 5px 5px 5px 0;
6276 border-color: transparent;
6277 border-style: solid;
6280 .tooltip.top .tooltip-arrow {
6284 border-top-color: white;
6285 border-width: 5px 5px 0;
6288 .tooltip.right .tooltip-arrow {
6292 border-right-color: white;
6293 border-width: 5px 5px 5px 0;
6296 .tooltip.left .tooltip-arrow {
6300 border-left-color: white;
6301 border-width: 5px 0 5px 5px;
6304 .tooltip.bottom .tooltip-arrow {
6308 border-bottom-color: white;
6309 border-width: 0 5px 5px;
6314 background: #F6F6F6;
6316 margin: -10px -10px 10px -10px;
6317 border-radius: 3px 3px 0 0;
6322 background: #F6F6F6;
6324 margin: 10px -10px -10px -10px;
6325 border-radius: 0 0 3px 3px;
6328 .tooltip-inner .keyhint {
6333 /* Exceptions for tooltip layouts */
6335 /* make tooltips in panels dark */
6336 .map-overlay .tooltip.top .tooltip-arrow,
6337 .entity-editor-pane .tooltip.top .tooltip-arrow,
6338 .warning-section .tooltip.top .tooltip-arrow {
6339 border-top-color: #000;
6342 .map-overlay .tooltip.bottom .tooltip-arrow,
6343 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
6344 .warning-section .tooltip.bottom .tooltip-arrow {
6345 border-bottom-color: #000;
6348 .map-overlay .tooltip.left .tooltip-arrow,
6349 .entity-editor-pane .tooltip.left .tooltip-arrow,
6350 .warning-section .tooltip.left .tooltip-arrow {
6351 border-left-color: #000;
6354 .map-overlay .tooltip.right .tooltip-arrow,
6355 .entity-editor-pane .tooltip.right .tooltip-arrow,
6356 .warning-section .tooltip.right .tooltip-arrow {
6357 border-right-color: #000;
6360 .map-overlay .tooltip-inner,
6361 .map-overlay .tooltip-heading,
6362 .map-overlay .keyhint-wrap,
6363 .entity-editor-pane .tooltip-inner,
6364 .warning-section .tooltip-inner {
6368 /* commit warning tooltips need to be closer */
6369 .warning-section .tooltip.top {
6373 /* Uncramp map-control tooltips */
6374 .map-control .tooltip {
6377 .map-control .shortcuts .tooltip {
6381 /* Move over tooltips that are near the edge of screen */
6382 .add-point .tooltip {
6383 left: 33.3333% !important;
6385 [dir='rtl'] .add-point .tooltip {
6386 left: inherit !important;
6389 .add-point .tooltip .tooltip-arrow {
6392 [dir='rtl'] .add-point .tooltip .tooltip-arrow {
6397 li:first-of-type .badge .tooltip,
6398 li.hide + li.version .badge .tooltip {
6399 left: auto !important;
6400 right: 5px !important;
6402 [dir='rtl'] li:first-of-type .badge .tooltip,
6403 [dir='rtl'] li.hide + li.version .badge .tooltip {
6404 left: 5px !important;
6405 right: auto !important;
6407 li:first-of-type .badge .tooltip .tooltip-arrow,
6408 li.hide + li.version .badge .tooltip .tooltip-arrow {
6409 right: 15px !important;
6410 left: auto !important;
6412 [dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
6413 [dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
6414 left: 15px !important;
6415 right: auto !important;
6419 /* radial menu (deprecated) */
6421 .radial-menu-tooltip {
6428 .radial-menu-background {
6431 stroke-opacity: 0.5;
6434 .radial-menu-item circle {
6438 .radial-menu-item circle:active,
6439 .radial-menu-item circle:hover {
6443 .radial-menu-item.disabled circle {
6445 fill: rgba(255,255,255,.5);
6448 .radial-menu-item use {
6453 .radial-menu-item.disabled use {
6454 fill: rgba(32,32,32,.5);
6455 color: rgba(40,40,40,.5);
6460 .edit-menu-tooltip {
6466 .edit-menu-background {
6470 .edit-menu-item rect {
6475 .edit-menu-item rect:active,
6476 .edit-menu-item rect:hover {
6480 .edit-menu-item.disabled rect {
6481 cursor: not-allowed;
6483 .edit-menu-item.disabled rect:hover {
6484 cursor: not-allowed;
6488 .edit-menu-item use {
6491 pointer-events: none;
6494 .edit-menu-item.disabled use {
6495 fill: rgba(32,32,32,.2);
6496 color: rgba(40,40,40,.2);
6505 stroke-dasharray: 5, 5;
6509 ------------------------------------------------------- */
6511 @media only screen and (max-width: 840px) {
6512 /* override hide for save button */
6513 #bar .save .label { display: block;}
6516 @media screen and (max-width: 1200px) {
6517 .user-list { display: none !important; }
6520 @media screen and (max-width: 1000px) {
6521 #userLink { display: none !important; }
6524 @media screen and (max-width: 900px) {
6525 #scale-block { display: none !important; }
6530 ----------------------------------------------------- */
6532 ::-webkit-scrollbar {
6537 border-left: 1px solid #DDD;
6540 ::-webkit-scrollbar-track {
6541 background-clip: padding-box;
6542 border: solid transparent;
6546 ::-webkit-scrollbar-thumb {
6547 background-color: rgba(0,0,0,.2);
6548 background-clip: padding-box;
6549 border: solid transparent;
6550 border-width: 3px 3px 3px 4px;
6553 ::-webkit-scrollbar-track:hover,
6554 ::-webkit-scrollbar-track:active {
6555 background-color: rgba(0,0,0,.05);
6558 /* Intro walkthrough
6559 ----------------------------------------------------- */
6562 pointer-events: all;
6570 flex-direction: row;
6579 .intro-nav-wrap .intro-nav-wrap-logo {
6585 vertical-align: middle;
6588 .intro-nav-wrap .joined {
6591 flex-direction: row;
6594 .intro-nav-wrap button.chapter {
6599 .intro-nav-wrap button.chapter.next {
6600 animation-duration: 1s;
6601 animation-name: pulse;
6602 animation-iteration-count: infinite;
6603 animation-direction: alternate;
6606 from { background: #7092ff; }
6607 to { background: #c6d4ff; }
6610 .intro-nav-wrap button.chapter.finished {
6611 background: #8cd05f;
6614 .intro-nav-wrap button.chapter .status {
6618 .intro-nav-wrap button.chapter.finished .status {
6619 display: inline-block;
6622 .curtain-tooltip.tooltip.in {
6625 .curtain-tooltip.tooltip {
6628 [dir='rtl'] .curtain-tooltip.tooltip {
6632 .curtain-tooltip .tooltip-inner {
6638 .curtain-tooltip .tooltip-inner .button-section,
6639 .curtain-tooltip .tooltip-inner .instruction {
6642 border-top: 1px solid #ccc;
6645 margin-right: -20px;
6646 padding: 10px 20px 0 20px;
6649 [dir='rtl'] .curtain-tooltip .tooltip-inner .button-section button.col8 {
6653 .curtain-tooltip .tooltip-inner .instruction:only-child {
6659 .curtain-tooltip .tooltip-inner .icon.pre-text {
6660 vertical-align: text-top;
6663 display: inline-block;
6666 .curtain-tooltip.intro-points-describe ,
6667 .curtain-tooltip.intro-lines-name_road {
6668 top: 133px !important;
6671 .tooltip-illustration {
6677 [dir='rtl'] .tooltip-illustration {
6679 margin-right: -20px;
6682 .curtain-tooltip.intro-mouse {
6683 -moz-user-select: none;
6684 -webkit-user-select: none;
6685 -ms-user-select: none;
6689 .curtain-tooltip.intro-mouse .counter {
6700 .curtain-tooltip.intro-mouse .tooltip-illustration use {
6701 fill: rgba(112, 146, 255, 0);
6702 color: rgba(112, 146, 255, 0);
6704 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
6705 fill: rgba(112, 146, 255, 1);
6707 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
6708 color: rgba(112, 146, 255, 1);
6711 .huge-modal-button {
6717 .huge-modal-button .illustration {