1 /* http://meyerweb.com/eric/tools/css/reset/
3 License: none (public domain)
6 html, body, div, span, applet, object, iframe,
7 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8 a, abbr, acronym, address, big, cite, code,
9 del, dfn, em, img, ins, kbd, q, s, samp,
10 small, strike, strong, sub, sup, tt, var,
12 dl, dt, dd, ol, ul, li,
13 fieldset, form, label, legend,
14 table, caption, tbody, tfoot, thead, tr, th, td,
15 article, aside, canvas, details, embed,
16 figure, figcaption, footer, header, hgroup,
17 menu, nav, output, ruby, section, summary,
18 time, mark, audio, video {
24 vertical-align: baseline;
26 /* HTML5 display-role reset for older browsers */
27 article, aside, details, figcaption, figure,
28 footer, header, hgroup, menu, nav, section {
40 blockquote:before, blockquote:after,
46 border-collapse: collapse;
49 a { text-decoration: none;}
51 * 1. Corrects font family not being inherited in all browsers.
52 * 2. Corrects font size not being inherited in all browsers.
53 * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
60 font-family: inherit; /* 1 */
61 font-size: 100%; /* 2 */
67 * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
76 /* Hide default number spinner controls */
77 input[type="number"]::-webkit-inner-spin-button,
78 input[type="number"]::-webkit-outer-spin-button {
83 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
84 * and `video` controls.
85 * 2. Corrects inability to style clickable `input` types in iOS.
86 * 3. Improves usability and consistency of cursor style between image-type
91 html input[type="button"], /* 1 */
93 input[type="submit"] {
94 -webkit-appearance: button; /* 2 */
95 cursor: pointer; /* 3 */
99 * Re-set default cursor for disabled elements.
108 * 1. Addresses box sizing set to `content-box` in IE 8/9.
109 * 2. Removes excess padding in IE 8/9.
112 input[type="checkbox"],
113 input[type="radio"] {
114 box-sizing: border-box; /* 1 */
119 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
120 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
121 * (include `-moz` to future-proof).
124 input[type="search"] {
125 -webkit-appearance: textfield; /* 1 */
126 -moz-box-sizing: border-box;
127 -webkit-box-sizing: border-box; /* 2 */
128 box-sizing: border-box;
132 * Removes inner padding and search cancel button in Safari 5 and Chrome
136 input[type="search"]::-webkit-search-cancel-button,
137 input[type="search"]::-webkit-search-decoration {
138 -webkit-appearance: none;
142 * Removes inner padding and border in Firefox 4+.
145 button::-moz-focus-inner,
146 input::-moz-focus-inner {
152 ** Markup free clearing
153 ** Details: http://www.positioniseverything.net/easyclearing.html
157 content: " "; /* 1 */
158 display: table; /* 2 */
165 use { pointer-events: none; }
168 .layer-osm path:not(.oneway) { fill: none; } /* IE needs :not(.oneway) */
170 /* the above fill: none rule affects paths in <use> shadow dom only in Firefox */
171 .layer-osm use.icon path { fill: #333; } /* FF svg Maki icons */
172 .layer-osm .turn use path { fill: #000; } /* FF turn restriction icons */
173 #turn-only-shape2, #turn-only-u-shape2 { fill: #7092FF; } /* FF turn-only, turn-only-u */
174 #turn-no-shape2, #turn-no-u-shape2 { fill: #E06D5F; } /* FF turn-no, turn-no-u */
175 #turn-yes-shape2, #turn-yes-u-shape2 { fill: #8CD05F; } /* FF turn-yes, turn-yes-u */
184 pointer-events: stroke;
202 g.point.related:not(.selected) .shadow,
203 g.point.hover:not(.selected) .shadow {
207 g.point.selected .shadow {
211 g.point.active, g.point.active * {
212 pointer-events: none;
215 g.point ellipse.stroke {
219 .mode-drag-node g.point.active ellipse.stroke {
224 /* vertices and midpoints */
236 g.vertex.shared .stroke {
254 g.vertex.vertex-hover {
258 .mode-draw-area g.vertex.vertex-hover,
259 .mode-draw-line g.vertex.vertex-hover,
260 .mode-add-area g.vertex.vertex-hover,
261 .mode-add-line g.vertex.vertex-hover,
262 .mode-add-point g.vertex.vertex-hover,
263 .mode-drag-node g.vertex.vertex-hover {
267 .mode-draw-area .hover-disabled g.vertex.vertex-hover,
268 .mode-draw-line .hover-disabled g.vertex.vertex-hover,
269 .mode-add-area .hover-disabled g.vertex.vertex-hover,
270 .mode-add-line .hover-disabled g.vertex.vertex-hover,
271 .mode-add-point .hover-disabled g.vertex.vertex-hover,
272 .mode-drag-node .hover-disabled g.vertex.vertex-hover {
276 g.vertex.related:not(.selected) .shadow,
277 g.vertex.hover:not(.selected) .shadow,
278 g.midpoint.related:not(.selected) .shadow,
279 g.midpoint.hover:not(.selected) .shadow {
283 g.vertex.selected .shadow {
287 .mode-draw-area g.midpoint,
288 .mode-draw-line g.midpoint,
289 .mode-add-area g.midpoint,
290 .mode-add-line g.midpoint,
291 .mode-add-point g.midpoint {
297 .preset-icon .icon.other-line {
303 stroke-linecap: round;
304 stroke-linejoin: bevel;
318 path.shadow.related:not(.selected),
319 path.shadow.hover:not(.selected) {
323 path.shadow.selected {
333 /* Labels / Markers */
337 pointer-events: none;
342 .oneway .textpath.tag-waterway {
353 text.pointlabel-halo,
357 dominant-baseline: middle;
362 pointer-events: none;
363 -webkit-transition: opacity 100ms linear;
364 transition: opacity 100ms linear;
365 -moz-transition: opacity 100ms linear;
368 /* Opera doesn't support dominant-baseline. See #715 */
369 /* Safari 10 seems to have regressed too */
370 .linelabel-halo .textpath,
371 .linelabel .textpath {
372 baseline-shift: -33%;
373 dominant-baseline: auto;
380 stroke-miterlimit: 1;
391 .icon.areaicon-halo {
395 stroke-miterlimit: 1;
412 .form-field-restrictions .vertex {
413 pointer-events: none;
414 cursor: auto !important;
418 pointer-events: visibleStroke;
424 pointer-events: none;
443 stroke: rgba(255, 255, 255, 0.3);
444 fill: rgba(255, 255, 255, 0.3);
447 .preset-icon-fill-area {
448 border: 1px solid rgb(170, 170, 170);
449 background-color: rgba(170, 170, 170, 0.3);
452 path.shadow.old-multipolygon,
453 path.stroke.old-multipolygon {
454 stroke-dasharray: 100, 5;
455 stroke-linecap: butt;
458 path.stroke.tag-natural {
459 stroke: rgb(182, 225, 153);
461 path.fill.tag-natural {
462 stroke: rgba(182, 225, 153, 0.3);
463 fill: rgba(182, 225, 153, 0.3);
465 .preset-icon-fill-area.tag-natural {
466 border-color: rgb(182, 225, 153);
467 background-color: rgba(182, 225, 153, 0.3);
470 path.stroke.tag-landuse,
471 path.stroke.tag-natural-wood,
472 path.stroke.tag-natural-tree,
473 path.stroke.tag-natural-grassland,
474 path.stroke.tag-natural-grass,
475 path.stroke.tag-leisure-nature_reserve,
476 path.stroke.tag-leisure-pitch,
477 path.stroke.tag-leisure-park {
478 stroke: rgb(140, 208, 95);
480 path.fill.tag-landuse,
481 path.fill.tag-natural-wood,
482 path.fill.tag-natural-tree,
483 path.fill.tag-natural-grassland,
484 path.fill.tag-natural-grass,
485 path.fill.tag-leisure-nature_reserve,
486 path.fill.tag-leisure-pitch,
487 path.fill.tag-leisure-park {
488 stroke: rgba(140, 208, 95, 0.3);
489 fill: rgba(140, 208, 95, 0.3);
491 .preset-icon-fill-area.tag-landuse,
492 .preset-icon-fill-area.tag-natural-wood,
493 .preset-icon-fill-area.tag-natural-tree,
494 .preset-icon-fill-area.tag-natural-grassland,
495 .preset-icon-fill-area.tag-natural-grass,
496 .preset-icon-fill-area.tag-leisure-nature_reserve,
497 .preset-icon-fill-area.tag-leisure-pitch,
498 .preset-icon-fill-area.tag-leisure-park {
499 border-color: rgb(140, 208, 95);
500 background-color: rgba(140, 208, 95, 0.3);
503 path.stroke.tag-amenity-swimming_pool,
504 path.stroke.tag-leisure-swimming_pool,
505 path.stroke.tag-natural-water,
506 path.stroke.tag-landuse-aquaculture,
507 path.stroke.tag-landuse-basin,
508 path.stroke.tag-landuse-harbour,
509 path.stroke.tag-landuse-reservoir {
510 stroke: rgb(119, 211, 222);
512 path.fill.tag-amenity-swimming_pool,
513 path.fill.tag-leisure-swimming_pool,
514 path.fill.tag-landuse-aquaculture,
515 path.fill.tag-landuse-basin,
516 path.fill.tag-landuse-harbour,
517 path.fill.tag-landuse-reservoir,
518 path.fill.tag-natural-water {
519 stroke: rgba(119, 211, 222, 0.3);
520 fill: rgba(119, 211, 222, 0.3);
522 .preset-icon-fill-area.tag-amenity-swimming_pool,
523 .preset-icon-fill-area.tag-leisure-swimming_pool,
524 .preset-icon-fill-area.tag-landuse-aquaculture,
525 .preset-icon-fill-area.tag-landuse-basin,
526 .preset-icon-fill-area.tag-landuse-harbour,
527 .preset-icon-fill-area.tag-landuse-reservoir,
528 .preset-icon-fill-area.tag-natural-water {
529 border-color: rgb(119, 211, 222);
530 background-color: rgba(119, 211, 222, 0.3);
533 path.stroke.tag-amenity-childcare,
534 path.stroke.tag-amenity-kindergarten,
535 path.stroke.tag-amenity-school,
536 path.stroke.tag-amenity-college,
537 path.stroke.tag-amenity-university {
538 stroke: rgb(255, 255, 148);
540 path.fill.tag-amenity-childcare,
541 path.fill.tag-amenity-kindergarten,
542 path.fill.tag-amenity-school,
543 path.fill.tag-amenity-college,
544 path.fill.tag-amenity-university {
545 stroke: rgba(255, 255, 148, 0.15);
546 fill: rgba(255, 255, 148, 0.15);
548 .preset-icon-fill-area.tag-amenity-childcare,
549 .preset-icon-fill-area.tag-amenity-kindergarten,
550 .preset-icon-fill-area.tag-amenity-school,
551 .preset-icon-fill-area.tag-amenity-college,
552 .preset-icon-fill-area.tag-amenity-university {
553 border-color: rgb(232, 232, 0);
554 background-color: rgba(255, 255, 148, 0.15);
557 path.stroke.tag-landuse-residential {
558 stroke: rgb(196, 189, 25);
560 path.fill.tag-landuse-residential {
561 stroke: rgba(196, 189, 25, 0.3);
562 fill: rgba(196, 189, 25, 0.3);
564 .preset-icon-fill-area.tag-landuse-residential {
565 border-color: rgb(196, 189, 25);
566 background: rgba(196, 189, 25, 0.3);
569 path.stroke.tag-landuse-retail,
570 path.stroke.tag-landuse-commercial {
571 stroke: rgb(214, 136, 26);
573 path.fill.tag-landuse-retail,
574 path.fill.tag-landuse-commercial {
575 stroke: rgba(214, 136, 26, 0.3);
576 fill: rgba(214, 136, 26, 0.3);
578 .preset-icon-fill-area.tag-landuse-retail,
579 .preset-icon-fill-area.tag-landuse-commercial {
580 border-color: rgb(214, 136, 26);
581 background-color: rgba(214, 136, 26, 0.3);
584 path.stroke.tag-landuse-industrial,
585 path.stroke.tag-power-plant {
586 stroke: rgb(228, 164, 245);
588 path.fill.tag-landuse-industrial,
589 path.fill.tag-power-plant {
590 stroke: rgba(228, 164, 245, 0.3);
591 fill: rgba(228, 164, 245, 0.3);
593 .preset-icon-fill-area.tag-landuse-industrial,
594 .preset-icon-fill-area.tag-power-plant {
595 border-color: rgb(228, 164, 245);
596 background-color: rgba(228, 164, 245, 0.3);
599 path.stroke.tag-natural-bare_rock,
600 path.stroke.tag-natural-scree,
601 path.stroke.tag-landuse-railway,
602 path.stroke.tag-landuse-quarry {
603 stroke: rgb(166, 149, 123);
605 path.fill.tag-natural-bare_rock,
606 path.fill.tag-natural-scree,
607 path.fill.tag-landuse-railway,
608 path.fill.tag-landuse-quarry {
609 stroke: rgba(166, 149, 123, 0.2);
610 fill: rgba(166, 149, 123, 0.2);
612 .preset-icon-fill-area.tag-natural-bare_rock,
613 .preset-icon-fill-area.tag-natural-scree,
614 .preset-icon-fill-area.tag-landuse-railway,
615 .preset-icon-fill-area.tag-landuse-quarry {
616 border-color: rgb(166, 149, 123);
617 background-color: rgba(166, 149, 123, 0.2);
620 path.stroke.tag-landuse-landfill {
621 stroke: rgb(255, 153, 51);
623 path.fill.tag-landuse-landfill {
624 stroke: rgba(255, 153, 51, 0.2);
625 fill: rgba(255, 153, 51, 0.2);
627 .preset-icon-fill-area.tag-landuse-landfill {
628 border-color: rgb(255, 153, 51);
629 background-color: rgba(255, 153, 51, 0.2);
632 .pattern-color-construction {
633 fill: rgba(196, 189, 25, 0.2);
635 path.stroke.tag-landuse.tag-status,
636 path.stroke.tag-landuse-construction {
637 stroke: rgb(196, 189, 25);
639 .preset-icon-fill-area.tag-landuse.tag-status,
640 .preset-icon-fill-area.tag-landuse-construction {
641 border-color: rgb(196, 189, 25);
642 background-color: rgba(196, 189, 25, 0.2);
645 path.stroke.tag-military,
646 path.stroke.tag-landuse-military {
647 stroke: rgb(214, 136, 26);
649 path.fill.tag-military,
650 path.fill.tag-landuse-military {
651 stroke: rgba(214, 136, 26, 0.2);
652 fill: rgba(214, 136, 26, 0.2);
654 .preset-icon-fill-area.tag-military,
655 .preset-icon-fill-area.tag-landuse-military {
656 border-color: rgb(214, 136, 26);
657 background-color: rgba(214, 136, 26, 0.2);
660 .pattern-color-wetland {
661 fill: rgba(182, 225, 153, 0.2);
663 path.stroke.tag-natural-wetland {
664 stroke: rgb(182, 225, 153);
666 .preset-icon-fill-area.tag-natural-wetland {
667 border-color: rgb(182, 225, 153);
668 background-color: rgba(182, 225, 153, 0.2);
671 .pattern-color-meadow {
672 fill: rgba(182, 225, 153, 0.2);
674 path.stroke.tag-landuse-meadow {
675 stroke: rgb(182, 225, 153);
677 .preset-icon-fill-area.tag-landuse-meadow {
678 border-color: rgb(182, 225, 153);
679 background-color: rgba(182, 225, 153, 0.2);
682 .pattern-color-beach,
683 .pattern-color-sand {
684 fill: rgba(255, 255, 126, 0.2);
686 path.stroke.tag-natural-beach,
687 path.stroke.tag-natural-sand {
688 stroke: rgb(255, 255, 126);
690 .preset-icon-fill-area.tag-natural-beach,
691 .preset-icon-fill-area.tag-natural-sand {
692 border-color: rgb(255, 255, 126);
693 background-color: rgba(255, 255, 126, 0.2);
696 .pattern-color-scrub {
697 fill: rgba(219, 240, 139, 0.2);
699 path.stroke.tag-natural-scrub {
700 stroke: rgb(219, 240, 139);
702 .preset-icon-fill-area.tag-natural-scrub {
703 border-color: rgb(219, 240, 139);
704 background-color: rgba(219, 240, 139, 0.2);
708 .pattern-color-farmland {
709 fill: rgba(140, 208, 95, 0.2);
711 path.stroke.tag-landuse-farm,
712 path.stroke.tag-landuse-farmland {
713 stroke: rgb(140, 208, 95);
715 .preset-icon-fill-area.tag-landuse-farm,
716 .preset-icon-fill-area.tag-landuse-farmland {
717 background-color: rgba(140, 208, 95, 0.2);
720 path.stroke.tag-landuse-farmyard {
721 stroke: rgb(245, 220, 186);
723 path.fill.tag-landuse-farmyard {
724 stroke: rgba(245, 220, 186, 0.3);
725 fill: rgba(245, 220, 186, 0.3);
727 .preset-icon-fill-area.tag-landuse-farmyard {
728 border-color: rgb(226, 177, 111);
729 background: rgba(245, 220, 186, 0.3);
732 .pattern-color-cemetery,
733 .pattern-color-orchard {
734 fill: rgba(140, 208, 95, 0.2);
736 path.stroke.tag-landuse-cemetery,
737 path.stroke.tag-landuse-orchard {
738 stroke: rgb(140, 208, 95);
740 .preset-icon-fill-area.tag-landuse-cemetery,
741 .preset-icon-fill-area.tag-landuse-orchard {
742 background-color: rgba(140, 208, 95, 0.2);
745 path.stroke.tag-amenity-parking {
746 stroke: rgb(170, 170, 170);
748 path.fill.tag-amenity-parking {
749 stroke: rgba(170, 170, 170, 0.3);
750 fill: rgba(170, 170, 170, 0.3);
752 .preset-icon-fill-area.tag-amenity-parking {
753 border-color: rgb(170, 170, 170);
754 background-color: rgba(170, 170, 170, 0.3);
759 .preset-icon .icon.tag-highway.other-line {
763 path.casing.tag-highway {
766 path.stroke.tag-highway {
772 path.stroke.area.tag-highway {
774 stroke-dasharray: none;
780 path.shadow.tag-highway {
783 path.casing.tag-highway {
786 path.stroke.tag-highway {
790 .low-zoom path.shadow.tag-highway {
793 .low-zoom path.casing.tag-highway {
796 .low-zoom path.stroke.tag-highway {
800 .preset-icon .icon.highway-motorway,
801 .preset-icon .icon.highway-motorway-link {
805 path.stroke.tag-highway-motorway,
806 path.stroke.tag-highway-motorway_link,
807 path.stroke.tag-motorway {
810 path.casing.tag-highway-motorway,
811 path.casing.tag-highway-motorway_link,
812 path.casing.tag-motorway {
816 .preset-icon .icon.highway-trunk,
817 .preset-icon .icon.highway-trunk-link {
821 path.stroke.tag-highway-trunk,
822 path.stroke.tag-highway-trunk_link,
823 path.stroke.tag-trunk {
826 path.casing.tag-highway-trunk,
827 path.casing.tag-highway-trunk_link,
828 path.casing.tag-trunk {
832 .preset-icon .icon.highway-primary,
833 .preset-icon .icon.highway-primary-link {
837 path.stroke.tag-highway-primary,
838 path.stroke.tag-highway-primary_link,
839 path.stroke.tag-primary {
842 path.casing.tag-highway-primary,
843 path.casing.tag-highway-primary_link,
844 path.casing.tag-primary {
848 .preset-icon .icon.highway-secondary,
849 .preset-icon .icon.highway-secondary-link {
853 path.stroke.tag-highway-secondary,
854 path.stroke.tag-highway-secondary_link,
855 path.stroke.tag-secondary {
858 path.casing.tag-highway-secondary,
859 path.casing.tag-highway-secondary_link,
860 path.casing.tag-secondary {
864 .preset-icon .icon.highway-tertiary,
865 .preset-icon .icon.highway-tertiary-link {
869 path.stroke.tag-highway-tertiary,
870 path.stroke.tag-highway-tertiary_link,
871 path.stroke.tag-tertiary {
874 path.casing.tag-highway-tertiary,
875 path.casing.tag-highway-tertiary_link,
876 path.casing.tag-tertiary {
880 .legacy-carto .preset-icon .icon.highway-motorway,
881 .legacy-carto .preset-icon .icon.highway-motorway-link {
885 .legacy-carto path.stroke.tag-highway-motorway,
886 .legacy-carto path.stroke.tag-highway-motorway_link,
887 .legacy-carto path.stroke.tag-motorway {
890 .legacy-carto path.casing.tag-highway-motorway,
891 .legacy-carto path.casing.tag-highway-motorway_link,
892 .legacy-carto path.casing.tag-motorway {
896 .legacy-carto .preset-icon .icon.highway-trunk,
897 .legacy-carto .preset-icon .icon.highway-trunk-link {
901 .legacy-carto path.stroke.tag-highway-trunk,
902 .legacy-carto path.stroke.tag-highway-trunk_link,
903 .legacy-carto path.stroke.tag-trunk {
906 .legacy-carto path.casing.tag-highway-trunk,
907 .legacy-carto path.casing.tag-highway-trunk_link,
908 .legacy-carto path.casing.tag-trunk {
912 .legacy-carto .preset-icon .icon.highway-primary,
913 .legacy-carto .preset-icon .icon.highway-primary-link {
917 .legacy-carto path.stroke.tag-highway-primary,
918 .legacy-carto path.stroke.tag-highway-primary_link,
919 .legacy-carto path.stroke.tag-primary {
922 .legacy-carto path.casing.tag-highway-primary,
923 .legacy-carto path.casing.tag-highway-primary_link,
924 .legacy-carto path.casing.tag-primary {
928 .legacy-carto .preset-icon .icon.highway-secondary,
929 .legacy-carto .preset-icon .icon.highway-secondary-link {
933 .legacy-carto path.stroke.tag-highway-secondary,
934 .legacy-carto path.stroke.tag-highway-secondary_link,
935 .legacy-carto path.stroke.tag-secondary {
938 .legacy-carto path.casing.tag-highway-secondary,
939 .legacy-carto path.casing.tag-highway-secondary_link,
940 .legacy-carto path.casing.tag-secondary {
944 .legacy-carto .preset-icon .icon.highway-tertiary,
945 .legacy-carto .preset-icon .icon.highway-tertiary-link {
949 .legacy-carto path.stroke.tag-highway-tertiary,
950 .legacy-carto path.stroke.tag-highway-tertiary_link,
951 .legacy-carto path.stroke.tag-tertiary {
954 .legacy-carto path.casing.tag-highway-tertiary,
955 .legacy-carto path.casing.tag-highway-tertiary_link,
956 .legacy-carto path.casing.tag-tertiary {
960 .preset-icon .icon.highway-residential {
964 path.stroke.tag-highway-residential,
965 path.stroke.tag-residential {
968 path.casing.tag-highway-residential,
969 path.casing.tag-residential {
973 .preset-icon .icon.highway-unclassified {
977 path.stroke.tag-highway-unclassified,
978 path.stroke.tag-unclassified {
981 path.casing.tag-highway-unclassified,
982 path.casing.tag-unclassified {
987 /* narrow highways */
989 path.shadow.tag-highway-living_street,
990 path.shadow.tag-highway-service,
991 path.shadow.tag-highway-track,
992 path.shadow.tag-highway-road,
993 path.shadow.tag-living_street,
994 path.shadow.tag-service,
995 path.shadow.tag-track,
996 path.shadow.tag-road {
999 path.casing.tag-highway-living_street,
1000 path.casing.tag-highway-service,
1001 path.casing.tag-highway-track,
1002 path.casing.tag-highway-road,
1003 path.casing.tag-living_street,
1004 path.casing.tag-service,
1005 path.casing.tag-track,
1006 path.casing.tag-road {
1009 path.stroke.tag-highway-living_street,
1010 path.stroke.tag-highway-service,
1011 path.stroke.tag-highway-track,
1012 path.stroke.tag-highway-road,
1013 path.stroke.tag-living_street,
1014 path.stroke.tag-service,
1015 path.stroke.tag-track,
1016 path.stroke.tag-road {
1020 path.shadow.tag-highway-path,
1021 path.shadow.tag-highway-footway,
1022 path.shadow.tag-highway-cycleway,
1023 path.shadow.tag-highway-bridleway,
1024 path.shadow.tag-highway-corridor,
1025 path.shadow.tag-highway-pedestrian,
1026 path.shadow.tag-highway-steps,
1027 path.shadow.tag-path,
1028 path.shadow.tag-footway,
1029 path.shadow.tag-cycleway,
1030 path.shadow.tag-bridleway,
1031 path.shadow.tag-corridor,
1032 path.shadow.tag-pedestrian,
1033 path.shadow.tag-steps {
1036 path.casing.tag-highway-path,
1037 path.casing.tag-highway-footway,
1038 path.casing.tag-highway-cycleway,
1039 path.casing.tag-highway-bridleway,
1040 path.casing.tag-highway-corridor,
1041 path.casing.tag-highway-pedestrian,
1042 path.casing.tag-highway-steps,
1043 path.casing.tag-path,
1044 path.casing.tag-footway,
1045 path.casing.tag-cycleway,
1046 path.casing.tag-bridleway,
1047 path.casing.tag-corridor,
1048 path.casing.tag-pedestrian,
1049 path.casing.tag-steps {
1052 path.stroke.tag-highway-path,
1053 path.stroke.tag-highway-footway,
1054 path.stroke.tag-highway-cycleway,
1055 path.stroke.tag-highway-bridleway,
1056 path.stroke.tag-highway-corridor,
1057 path.stroke.tag-highway-pedestrian,
1058 path.stroke.tag-highway-steps,
1059 path.stroke.tag-path,
1060 path.stroke.tag-footway,
1061 path.stroke.tag-cycleway,
1062 path.stroke.tag-bridleway,
1063 path.stroke.tag-corridor,
1064 path.stroke.tag-pedestrian,
1065 path.stroke.tag-steps {
1069 .low-zoom path.shadow.tag-highway-living_street,
1070 .low-zoom path.shadow.tag-highway-service,
1071 .low-zoom path.shadow.tag-highway-track,
1072 .low-zoom path.shadow.tag-highway-road,
1073 .low-zoom path.shadow.tag-living_street,
1074 .low-zoom path.shadow.tag-service,
1075 .low-zoom path.shadow.tag-track,
1076 .low-zoom path.shadow.tag-road {
1079 .low-zoom path.casing.tag-highway-living_street,
1080 .low-zoom path.casing.tag-highway-service,
1081 .low-zoom path.casing.tag-highway-track,
1082 .low-zoom path.casing.tag-highway-road,
1083 .low-zoom path.casing.tag-living_street,
1084 .low-zoom path.casing.tag-service,
1085 .low-zoom path.casing.tag-track,
1086 .low-zoom path.casing.tag-road {
1089 .low-zoom path.stroke.tag-highway-living_street,
1090 .low-zoom path.stroke.tag-highway-service,
1091 .low-zoom path.stroke.tag-highway-track,
1092 .low-zoom path.stroke.tag-highway-road,
1093 .low-zoom path.stroke.tag-living_street,
1094 .low-zoom path.stroke.tag-service,
1095 .low-zoom path.stroke.tag-track,
1096 .low-zoom path.stroke.tag-road {
1100 .low-zoom path.shadow.tag-highway-path,
1101 .low-zoom path.shadow.tag-highway-footway,
1102 .low-zoom path.shadow.tag-highway-cycleway,
1103 .low-zoom path.shadow.tag-highway-bridleway,
1104 .low-zoom path.shadow.tag-highway-corridor,
1105 .low-zoom path.shadow.tag-highway-pedestrian,
1106 .low-zoom path.shadow.tag-highway-steps,
1107 .low-zoom path.shadow.tag-path,
1108 .low-zoom path.shadow.tag-footway,
1109 .low-zoom path.shadow.tag-cycleway,
1110 .low-zoom path.shadow.tag-bridleway,
1111 .low-zoom path.shadow.tag-corridor,
1112 .low-zoom path.shadow.tag-pedestrian,
1113 .low-zoom path.shadow.tag-steps {
1116 .low-zoom path.casing.tag-highway-path,
1117 .low-zoom path.casing.tag-highway-footway,
1118 .low-zoom path.casing.tag-highway-cycleway,
1119 .low-zoom path.casing.tag-highway-bridleway,
1120 .low-zoom path.casing.tag-highway-corridor,
1121 .low-zoom path.casing.tag-highway-pedestrian,
1122 .low-zoom path.casing.tag-highway-steps,
1123 .low-zoom path.casing.tag-path,
1124 .low-zoom path.casing.tag-footway,
1125 .low-zoom path.casing.tag-cycleway,
1126 .low-zoom path.casing.tag-bridleway,
1127 .low-zoom path.casing.tag-corridor,
1128 .low-zoom path.casing.tag-pedestrian,
1129 .low-zoom path.casing.tag-steps {
1132 .low-zoom path.stroke.tag-highway-path,
1133 .low-zoom path.stroke.tag-highway-footway,
1134 .low-zoom path.stroke.tag-highway-cycleway,
1135 .low-zoom path.stroke.tag-highway-bridleway,
1136 .low-zoom path.stroke.tag-highway-corridor,
1137 .low-zoom path.stroke.tag-highway-pedestrian,
1138 .low-zoom path.stroke.tag-highway-steps,
1139 .low-zoom path.stroke.tag-path,
1140 .low-zoom path.stroke.tag-footway,
1141 .low-zoom path.stroke.tag-cycleway,
1142 .low-zoom path.stroke.tag-bridleway,
1143 .low-zoom path.stroke.tag-corridor,
1144 .low-zoom path.stroke.tag-pedestrian,
1145 .low-zoom path.stroke.tag-steps {
1150 .preset-icon .icon.highway-living-street {
1154 path.stroke.tag-highway-living_street,
1155 path.stroke.tag-living_street {
1158 path.casing.tag-highway-living_street,
1159 path.casing.tag-living_street {
1163 .preset-icon .icon.highway-footway.tag-highway-corridor,
1164 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
1168 path.stroke.tag-highway-corridor,
1169 path.stroke.tag-highway-pedestrian,
1170 path.stroke.tag-corridor,
1171 path.stroke.tag-pedestrian {
1173 stroke-dasharray: 2, 8;
1175 .low-zoom path.stroke.tag-highway-corridor,
1176 .low-zoom path.stroke.tag-highway-pedestrian,
1177 .low-zoom path.stroke.tag-corridor,
1178 .low-zoom path.stroke.tag-pedestrian {
1179 stroke-dasharray: 1, 4;
1181 path.casing.tag-highway-corridor,
1182 path.casing.tag-highway-pedestrian,
1183 path.casing.tag-corridor,
1184 path.casing.tag-pedestrian,
1185 path.casing.tag-highway-corridor.tag-unpaved,
1186 path.casing.tag-highway-pedestrian.tag-unpaved,
1187 path.casing.tag-corridor.tag-unpaved,
1188 path.casing.tag-pedestrian.tag-unpaved {
1190 stroke-linecap: round;
1191 stroke-dasharray: none;
1194 .preset-icon .icon.highway-road {
1198 path.stroke.tag-highway-road,
1199 path.stroke.tag-road {
1202 path.casing.tag-highway-road,
1203 path.casing.tag-road {
1207 .preset-icon .icon.highway-service {
1211 path.stroke.tag-highway-service,
1212 path.stroke.tag-service {
1215 path.casing.tag-highway-service,
1216 path.casing.tag-service {
1220 .preset-icon .icon.highway-track {
1224 path.stroke.tag-highway-track,
1225 path.stroke.tag-track {
1228 path.casing.tag-highway-track,
1229 path.casing.tag-track {
1233 path.stroke.tag-highway-path,
1234 path.stroke.tag-highway-footway,
1235 path.stroke.tag-highway-cycleway,
1236 path.stroke.tag-highway-bridleway {
1237 stroke-linecap: butt;
1238 stroke-dasharray: 6, 6;
1240 .low-zoom path.stroke.tag-highway-path,
1241 .low-zoom path.stroke.tag-highway-footway,
1242 .low-zoom path.stroke.tag-highway-cycleway,
1243 .low-zoom path.stroke.tag-highway-bridleway {
1244 stroke-linecap: butt;
1245 stroke-dasharray: 3, 3;
1248 path.casing.tag-highway-path,
1249 path.casing.tag-highway-path.tag-unpaved {
1251 stroke-linecap: round;
1252 stroke-dasharray: none;
1254 path.casing.tag-highway-footway,
1255 path.casing.tag-highway-cycleway,
1256 path.casing.tag-highway-bridleway,
1257 path.casing.tag-highway-footway.tag-unpaved,
1258 path.casing.tag-highway-cycleway.tag-unpaved,
1259 path.casing.tag-highway-bridleway.tag-unpaved {
1261 stroke-linecap: round;
1262 stroke-dasharray: none;
1265 .preset-icon .icon.category-path,
1266 .preset-icon .icon.highway-path {
1270 path.stroke.tag-highway-path {
1274 .preset-icon .icon.tag-route-foot,
1275 .preset-icon .icon.tag-route-hiking,
1276 .preset-icon .icon.highway-footway {
1280 path.stroke.tag-highway-footway {
1284 .preset-icon .icon.highway-footway.tag-crossing {
1287 path.stroke.tag-highway-footway.tag-crossing {
1289 stroke-dasharray: 6, 4;
1291 .low-zoom path.stroke.tag-highway-footway.tag-crossing {
1292 stroke-dasharray: 3, 2;
1295 .preset-icon .icon.tag-route-bicycle,
1296 .preset-icon .icon.highway-cycleway {
1300 path.stroke.tag-highway-cycleway {
1304 .preset-icon .icon.tag-route-horse,
1305 .preset-icon .icon.highway-bridleway {
1309 path.stroke.tag-highway-bridleway {
1313 .preset-icon .icon.highway-steps {
1317 path.stroke.tag-highway-steps {
1319 stroke-linecap: butt;
1320 stroke-dasharray: 3, 3;
1322 .low-zoom path.stroke.tag-highway-steps {
1323 stroke-dasharray: 2, 2;
1325 path.casing.tag-highway-steps,
1326 path.casing.tag-highway-steps.tag-unpaved {
1328 stroke-linecap: round;
1329 stroke-dasharray: none;
1332 /* highway midpoints */
1334 g.midpoint.tag-highway-corridor .fill,
1335 g.midpoint.tag-highway-pedestrian .fill,
1336 g.midpoint.tag-highway-steps .fill,
1337 g.midpoint.tag-highway-path .fill,
1338 g.midpoint.tag-highway-footway .fill,
1339 g.midpoint.tag-highway-cycleway .fill,
1340 g.midpoint.tag-highway-bridleway .fill {
1349 path.stroke.area.tag-aeroway {
1351 stroke-dasharray: none;
1355 /* narrow aeroways (taxiway) */
1357 path.shadow.tag-aeroway-taxiway,
1358 path.shadow.tag-taxiway {
1361 path.casing.tag-aeroway-taxiway,
1362 path.casing.tag-taxiway {
1365 path.stroke.tag-aeroway-taxiway,
1366 path.stroke.tag-taxiway {
1370 .low-zoom path.shadow.tag-aeroway-taxiway,
1371 .low-zoom path.shadow.tag-taxiway {
1374 .low-zoom path.casing.tag-aeroway-taxiway,
1375 .low-zoom path.casing.tag-taxiway {
1378 .low-zoom path.stroke.tag-aeroway-taxiway,
1379 .low-zoom path.stroke.tag-taxiway {
1383 .preset-icon .icon.tag-aeroway-taxiway,
1384 .preset-icon .icon.tag-taxiway {
1388 path.stroke.tag-aeroway-taxiway,
1389 path.stroke.tag-taxiway {
1392 path.casing.tag-aeroway-taxiway,
1393 path.casing.tag-taxiway {
1398 /* wide aeroways (runway) */
1400 .preset-icon .icon.tag-aeroway-runway,
1401 .preset-icon .icon.tag-runway {
1405 path.shadow.tag-aeroway-runway {
1408 path.casing.tag-aeroway-runway {
1411 stroke-linecap: square;
1413 path.stroke.tag-aeroway-runway {
1416 stroke-linecap: butt;
1417 stroke-dasharray: 24, 48;
1420 .low-zoom path.shadow.tag-aeroway-runway {
1423 .low-zoom path.casing.tag-aeroway-runway {
1426 .low-zoom path.stroke.tag-aeroway-runway {
1428 stroke-dasharray: 12, 24;
1431 path.fill.tag-aeroway-runway {
1432 stroke: rgba(0, 0, 0, 0.6);
1433 fill: rgba(0, 0, 0, 0.6);
1438 .preset-icon .icon.tag-railway.other-line {
1442 .preset-icon .icon.tag-railway {
1449 path.shadow.tag-railway {
1452 path.casing.tag-railway {
1455 path.stroke.tag-railway {
1457 stroke-linecap: butt;
1458 stroke-dasharray: 12,12;
1461 .low-zoom path.shadow.tag-railway {
1464 .low-zoom path.casing.tag-railway {
1467 .low-zoom path.stroke.tag-railway {
1469 stroke-dasharray: 6,6;
1475 path.casing.tag-railway {
1478 path.stroke.tag-railway {
1483 .preset-icon .icon.tag-railway-disused,
1484 .preset-icon .icon.tag-railway-abandoned {
1488 path.casing.tag-railway-abandoned {
1491 path.stroke.tag-railway-abandoned {
1496 .preset-icon .icon.tag-railway-subway {
1500 path.casing.tag-railway-subway {
1503 path.stroke.tag-railway-subway {
1508 path.casing.tag-railway-platform {
1511 path.stroke.tag-railway-platform {
1514 stroke-dasharray: none;
1518 .area.stroke.tag-railway {
1521 stroke-dasharray: none;
1523 .area.casing.tag-railway {
1528 .preset-icon .icon.tag-waterway.other-line {
1532 .preset-icon .icon.category-water,
1533 .preset-icon .icon.tag-route-ferry,
1534 .preset-icon .icon.tag-waterway {
1539 path.fill.tag-waterway {
1540 stroke: rgba(119, 211, 222, 0.3);
1541 fill: rgba(119, 211, 222, 0.3);
1543 path.casing.tag-waterway {
1546 path.stroke.tag-waterway {
1551 /* narrow waterways (default) */
1553 path.shadow.tag-waterway {
1556 path.casing.tag-waterway {
1559 path.stroke.tag-waterway {
1563 .low-zoom path.shadow.tag-waterway {
1566 .low-zoom path.casing.tag-waterway {
1569 .low-zoom path.stroke.tag-waterway {
1574 /* wide waterways (river) */
1576 path.shadow.tag-waterway-river {
1579 path.casing.tag-waterway-river {
1582 path.stroke.tag-waterway-river {
1586 .low-zoom path.shadow.tag-waterway-river {
1589 .low-zoom path.casing.tag-waterway-river {
1592 .low-zoom path.stroke.tag-waterway-river {
1599 .preset-icon .icon.tag-waterway-ditch {
1602 path.stroke.tag-waterway-ditch {
1607 /* waterway areas */
1609 path.area.stroke.tag-waterway-dock,
1610 path.area.stroke.tag-waterway-boatyard,
1611 path.area.stroke.tag-waterway-fuel {
1615 path.area.casing.tag-waterway-dock,
1616 path.area.casing.tag-waterway-boatyard,
1617 path.area.casing.tag-waterway-fuel {
1620 path.area.fill.tag-waterway-dock,
1621 path.area.fill.tag-waterway-boatyard,
1622 path.area.fill.tag-waterway-fuel {
1623 stroke: rgba(255, 255, 255, 0.3);
1624 fill: rgba(255, 255, 255, 0.3);
1628 .preset-icon .icon.tag-man_made-pipeline,
1629 .preset-icon .icon.tag-power {
1634 path.stroke.tag-power {
1638 path.casing.tag-power {
1644 path.stroke.tag-boundary {
1647 stroke-linecap: butt;
1648 stroke-dasharray: 20, 5, 5, 5;
1650 path.casing.tag-boundary {
1655 path.casing.tag-boundary-protected_area,
1656 path.casing.tag-boundary-national_park {
1662 path.stroke.tag-barrier {
1665 stroke-linecap: round;
1666 stroke-dasharray: 15, 5, 1, 5;
1668 .low-zoom path.stroke.tag-barrier {
1670 stroke-linecap: butt;
1671 stroke-dasharray: 8, 2, 2, 2;
1676 path.casing.tag-bridge {
1677 stroke-opacity: 0.6;
1679 stroke-linecap: butt;
1680 stroke-dasharray: none;
1683 path.shadow.tag-bridge {
1686 path.casing.tag-bridge {
1689 .low-zoom path.shadow.tag-bridge {
1692 .low-zoom path.casing.tag-bridge {
1696 path.shadow.line.tag-railway.tag-bridge,
1697 path.shadow.tag-highway-living_street.tag-bridge,
1698 path.shadow.tag-highway-path.tag-bridge,
1699 path.shadow.tag-highway-corridor.tag-bridge,
1700 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1701 path.shadow.tag-highway-service.tag-bridge,
1702 path.shadow.tag-highway-track.tag-bridge,
1703 path.shadow.tag-highway-steps.tag-bridge,
1704 path.shadow.tag-highway-footway.tag-bridge,
1705 path.shadow.tag-highway-cycleway.tag-bridge,
1706 path.shadow.tag-highway-bridleway.tag-bridge {
1709 path.casing.line.tag-railway.tag-bridge,
1710 path.casing.tag-highway-living_street.tag-bridge,
1711 path.casing.tag-highway-path.tag-bridge,
1712 path.casing.tag-highway-corridor.tag-bridge,
1713 path.casing.line.tag-highway-pedestrian.tag-bridge,
1714 path.casing.tag-highway-service.tag-bridge,
1715 path.casing.tag-highway-track.tag-bridge,
1716 path.casing.tag-highway-steps.tag-bridge,
1717 path.casing.tag-highway-footway.tag-bridge,
1718 path.casing.tag-highway-cycleway.tag-bridge,
1719 path.casing.tag-highway-bridleway.tag-bridge {
1723 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1724 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1725 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1726 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1727 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1728 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1729 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1730 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1731 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1732 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1733 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1736 .low-zoom path.casing.line.tag-railway.tag-bridge,
1737 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1738 .low-zoom path.casing.tag-highway-path.tag-bridge,
1739 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1740 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1741 .low-zoom path.casing.tag-highway-service.tag-bridge,
1742 .low-zoom path.casing.tag-highway-track.tag-bridge,
1743 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1744 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1745 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1746 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1752 path.stroke.tag-tunnel {
1753 stroke-opacity: 0.3;
1755 path.casing.tag-tunnel {
1756 stroke-opacity: 0.5;
1757 stroke-linecap: butt;
1758 stroke-dasharray: none;
1762 /* embankments / cuttings */
1763 path.shadow.tag-embankment,
1764 path.shadow.tag-cutting {
1767 path.casing.tag-embankment,
1768 path.casing.tag-cutting {
1769 stroke-opacity: 0.5;
1772 stroke-dasharray: 2, 4;
1773 stroke-linecap: butt;
1776 .low-zoom path.shadow.tag-embankment,
1777 .low-zoom path.shadow.tag-cutting {
1780 .low-zoom path.casing.tag-embankment,
1781 .low-zoom path.casing.tag-cutting {
1786 /* Surface - unpaved */
1787 path.casing.tag-unpaved {
1789 stroke-linecap: butt;
1790 stroke-dasharray: 4, 3;
1792 .low-zoom path.casing.tag-unpaved {
1793 stroke-dasharray: 3, 2;
1795 path.casing.tag-bridge.tag-unpaved {
1797 stroke-dasharray: 4, 3;
1799 .low-zoom path.casing.tag-bridge.tag-unpaved {
1801 stroke-dasharray: 3, 2;
1805 /* Status (e.g. construction, proposed, abandoned) */
1806 path.stroke.tag-status,
1807 path.casing.tag-status {
1808 stroke-linecap: butt;
1809 stroke-dasharray: 7, 3;
1811 .low-zoom path.stroke.tag-status,
1812 .low-zoom path.casing.tag-status {
1813 stroke-dasharray: 5, 2;
1818 path.stroke.tag-building,
1819 path.stroke.tag-amenity-shelter {
1820 stroke: rgb(224, 110, 95);
1822 path.fill.tag-building,
1823 path.fill.tag-amenity-shelter {
1824 stroke: rgba(224, 110, 95, 0.3);
1825 fill: rgba(224, 110, 95, 0.3);
1827 .preset-icon-fill-area.tag-building,
1828 .preset-icon-fill-area.tag-amenity-shelter {
1829 border-color: rgb(224, 110, 95);
1830 background-color: rgba(224, 110, 95, 0.3);
1836 cursor: auto; /* Opera */
1837 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1840 .mode-browse .point,
1841 .mode-select .point {
1842 cursor: pointer; /* Opera */
1843 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1846 .mode-select .vertex,
1847 .mode-browse .vertex {
1848 cursor: pointer; /* Opera */
1849 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1853 .mode-select .line {
1854 cursor: pointer; /* Opera */
1855 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1859 .mode-browse .area {
1860 cursor: pointer; /* Opera */
1861 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1864 .mode-select .midpoint,
1865 .mode-browse .midpoint {
1866 cursor: pointer; /* Opera */
1867 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1870 .mode-select .behavior-multiselect .point,
1871 .mode-select .behavior-multiselect .vertex,
1872 .mode-select .behavior-multiselect .line,
1873 .mode-select .behavior-multiselect .area {
1874 cursor: pointer; /* Opera */
1875 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1878 .mode-select .behavior-multiselect .selected {
1879 cursor: pointer; /* Opera */
1880 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1884 #map .vertex:active,
1887 #map .midpoint:active,
1888 #map .mode-select .selected {
1889 cursor: pointer; /* Opera */
1890 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1893 .mode-draw-line #map,
1894 .mode-draw-area #map,
1895 .mode-add-line #map,
1896 .mode-add-area #map,
1897 .mode-drag-node #map {
1898 cursor: crosshair; /* Opera */
1899 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1902 .mode-draw-line .way.hover,
1903 .mode-draw-area .way.hover,
1904 .mode-add-line .way.hover,
1905 .mode-add-area .way.hover,
1906 .mode-drag-node .way.hover {
1907 cursor: crosshair; /* Opera */
1908 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1911 .mode-draw-line .vertex.hover,
1912 .mode-draw-area .vertex.hover,
1913 .mode-add-line .vertex.hover,
1914 .mode-add-area .vertex.hover,
1915 .mode-drag-node .vertex.hover {
1916 cursor: crosshair; /* Opera */
1917 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1920 .mode-add-point #map,
1921 .mode-browse.lasso #map,
1922 .mode-browse.lasso .way,
1923 .mode-browse.lasso .vertex,
1924 .mode-browse.lasso .midpoint,
1925 .mode-select.lasso #map,
1926 .mode-select.lasso .way,
1927 .mode-select.lasso .vertex,
1928 .mode-select.lasso .midpoint {
1929 cursor: crosshair; /* Opera */
1930 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1935 cursor: pointer; /* Opera */
1936 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1938 /* Mapillary Image Layer */
1940 .layer-mapillary-images {
1941 pointer-events: none;
1944 .layer-mapillary-images .viewfield-group {
1945 pointer-events: visible;
1946 cursor: pointer; /* Opera */
1947 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1950 .layer-mapillary-images .viewfield-group * {
1957 .layer-mapillary-images .viewfield-group:hover * {
1964 .layer-mapillary-images .viewfield-group.selected * {
1971 .layer-mapillary-images .viewfield-group:hover path.viewfield,
1972 .layer-mapillary-images .viewfield-group.selected path.viewfield,
1973 .layer-mapillary-images .viewfield-group path.viewfield {
1978 /* Mapillary Sign Layer */
1980 .layer-mapillary-signs {
1981 pointer-events: none;
1984 .layer-mapillary-signs .icon-sign .icon-sign-body {
1988 border: 2px solid transparent;
1989 pointer-events: visible;
1990 cursor: pointer; /* Opera */
1991 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1996 .layer-mapillary-signs .icon-sign:hover .icon-sign-body {
1997 border: 2px solid rgba(255,198,0,0.8);
2001 .layer-mapillary-signs .icon-sign.selected .icon-sign-body {
2002 border: 2px solid rgba(255,0,0,0.8);
2006 .layer-mapillary-signs .icon-sign .t {
2011 .layer-mapillary-signs .icon-sign:hover .t,
2012 .layer-mapillary-signs .icon-sign.selected .t {
2017 .low-zoom.fill-wireframe path.stroke,
2018 .fill-wireframe path.stroke {
2019 stroke-width: 1 !important;
2020 stroke-opacity: 0.5 !important;
2021 stroke-dasharray: none !important;
2022 fill: none !important;
2025 .low-zoom.fill-wireframe path.shadow,
2026 .fill-wireframe path.shadow {
2030 .fill-wireframe path.shadow.related:not(.selected),
2031 .fill-wireframe path.shadow.hover:not(.selected) {
2032 stroke-opacity: 0.4;
2034 .fill-wireframe path.shadow.selected {
2035 stroke-opacity: 0.6;
2038 .fill-wireframe .point,
2039 .fill-wireframe .areaicon,
2040 .fill-wireframe .areaicon-halo,
2041 .fill-wireframe path.casing,
2042 .fill-wireframe path.fill,
2043 .fill-wireframe path.oneway {
2044 display: none !important;
2047 .fill-partial path.area.fill {
2050 pointer-events: visibleStroke;
2055 .mode-draw-line .vertex.active,
2056 .mode-draw-area .vertex.active,
2057 .mode-drag-node .vertex.active {
2061 .mode-draw-line .way.active,
2062 .mode-draw-area .way.active,
2063 .mode-drag-node .active {
2064 pointer-events: none;
2067 /* Ensure drawing doesn't interact with area fills. */
2068 .mode-add-point path.area.fill,
2069 .mode-draw-line path.area.fill,
2070 .mode-draw-area path.area.fill,
2071 .mode-add-line path.area.fill,
2072 .mode-add-area path.area.fill,
2073 .mode-drag-node path.area.fill {
2074 pointer-events: none;
2077 ------------------------------------------------------- */
2080 Opera misbehaves when the window is resized vertically unless 100% width + height are
2081 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
2089 font: normal 12px/1.6667 "-apple-system", BlinkMacSystemFont,
2090 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2091 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2098 -ms-user-select: none;
2103 vertical-align: middle;
2121 -webkit-filter: none !important;
2122 filter: none !important;
2123 -webkit-duration: 200ms;
2124 transition-duration: 200ms;
2128 -webkit-filter: grayscale(80%) brightness(80%);
2129 filter: grayscale(80%) brightness(80%);
2130 -webkit-duration: 200ms;
2131 transition-duration: 200ms;
2135 /* Can't be display: none or the clippaths are ignored. */
2155 [dir='rtl'] .spinner {
2166 [dir='rtl'] .spinner img {
2169 -moz-transform: scaleX(-1);
2170 -o-transform: scaleX(-1);
2171 -webkit-transform: scaleX(-1);
2172 transform: scaleX(-1);
2174 -ms-filter: "FlipH";
2178 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
2179 -moz-box-sizing: border-box;
2180 -webkit-box-sizing: border-box;
2181 box-sizing: border-box;
2184 a, button, input, textarea {
2185 -webkit-tap-highlight-color:rgba(0,0,0,0);
2186 -webkit-touch-callout:none;
2191 .checkselect label:hover,
2192 .opacity-options li,
2194 cursor: pointer; /* Opera */
2195 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
2202 margin-bottom: 20px;
2207 h4:last-child { margin-bottom: 0;}
2213 margin-bottom: 10px;
2219 padding-bottom: 10px;
2223 outline-color: transparent;
2224 outline-style: none;
2254 ------------------------------------------------------- */
2258 font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
2259 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2260 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2271 background-color: white;
2273 border:1px solid #ccc;
2274 padding:5px 20px 5px 10px;
2278 text-overflow: ellipsis;
2280 [dir='rtl'] textarea,
2281 [dir='rtl'] input[type=text],
2282 [dir='rtl'] input[type=search],
2283 [dir='rtl'] input[type=number],
2284 [dir='rtl'] input[type=url],
2285 [dir='rtl'] input[type=tel],
2286 [dir='rtl'] input[type=email] {
2287 padding:5px 10px 5px 20px;
2292 background-color: #F1F1F1;
2295 input[type="checkbox"],
2296 input[type="radio"] {
2304 /* remove bottom border radius when combobox is open */
2305 .combobox + * textarea:focus,
2306 .combobox + * input:focus {
2307 border-bottom-left-radius: 0 !important;
2308 border-bottom-right-radius: 0 !important;
2314 background-color: white;
2315 border-collapse: collapse;
2324 table.tags, table.tags td, table.tags th {
2325 border: 1px solid #CCC;
2334 ------------------------------------------------------- */
2336 .col0 { float:left; width:04.1666%; }
2337 .col1 { float:left; width:08.3333%; }
2338 .col2 { float:left; width:16.6666%; }
2339 .col3 { float:left; width:25.0000%; max-width: 300px; }
2340 .col4 { float:left; width:33.3333%; max-width: 400px; }
2341 .col5 { float:left; width:41.6666%; max-width: 500px; }
2342 .col6 { float:left; width:50.0000%; max-width: 600px; }
2343 .col7 { float:left; width:58.3333%; }
2344 .col8 { float:left; width:66.6666%; }
2345 .col9 { float:left; width:75.0000%; }
2346 .col10 { float:left; width:83.3333%; }
2347 .col11 { float:left; width:91.6666%; }
2348 .col12 { float:left; width:100.0000%; }
2351 ------------------------------------------------------- */
2353 ul li { list-style: none;}
2355 .toggle-list > label {
2360 background-color: white;
2365 .toggle-list > label:hover {
2366 background-color: #ececec;
2369 .toggle-list > label:not(:last-child) {
2370 border-bottom: 1px solid #ccc;
2373 .toggle-list > label:last-child {
2374 border-radius: 0 0 3px 3px;
2377 .toggle-list label > span {
2380 white-space: nowrap;
2381 text-overflow: ellipsis;
2384 .toggle-list > label.active {
2385 background: #E8EBFF;
2390 ------------------------------------------------------- */
2397 background: #f6f6f6;
2402 background: #ececec;
2407 background:rgba(0,0,0,.5);
2412 background:rgba(0,0,0,.75);
2417 .fr { float: right;}
2435 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2439 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2440 background-size:5px 5px;
2476 display: inline-block;
2483 background-color: #ececec;
2488 background-color: rgba(255,255,255,.25);
2489 color: rgba(0,0,0,.4);
2494 background: #7092ff;
2504 background-color: #fafafa;
2506 [dir='rtl'] button.minor {
2510 button.minor .icon {
2514 button.minor:hover {
2515 background-color: #f1f1f1;
2519 display: inline-block;
2524 .button-wrap button:only-child {
2528 .button-wrap:last-of-type {
2534 border-right: 1px solid rgba(0,0,0,.5);
2537 .fillL .joined button {
2538 border-right: 1px solid white;
2541 .joined button:first-child {
2542 border-radius:4px 0 0 4px;
2545 .joined button:last-child {
2546 border-right-width: 0;
2547 border-radius:0 4px 4px 0;
2551 background: #7092ff;
2555 button[disabled].action,
2556 button[disabled].action:hover {
2557 background: #cccccc;
2561 button.action:focus,
2562 button.action:hover {
2563 background: #597BE7;
2566 button.secondary-action {
2567 background: #ececec;
2570 button.secondary-action:focus,
2571 button.secondary-action:hover {
2572 background: #cccccc;
2575 button.save .count {
2579 button.save.has-count .count {
2592 margin-left: 9.3333%;
2595 button.save.has-count .count::before {
2604 border-top: 6px solid transparent;
2605 border-bottom: 6px solid transparent;
2606 border-right-width: 6px;
2607 border-right-style: solid;
2608 border-right-color: inherit;
2614 vertical-align: top;
2620 vertical-align: text-top;
2655 /* ToolBar / Persistent UI Elements
2656 ------------------------------------------------------- */
2670 /* Header for modals / panes
2671 ------------------------------------------------------- */
2674 border-bottom: 1px solid #ccc;
2682 white-space: nowrap;
2683 text-overflow: ellipsis;
2685 padding: 20px 20px 20px 40px;
2701 .entity-editor-pane .header button.preset-close,
2702 .preset-list-pane .header button.preset-choose {
2708 .entity-editor-pane .header button.preset-choose {
2731 padding: 5px 20px 5px 20px;
2732 border-top: 1px solid #ccc;
2733 background-color: #fafafa;
2738 .sidebar-component .body {
2747 ------------------------------------------------------- */
2755 background: #f6f6f6;
2756 -ms-user-select: element;
2759 .sidebar-component {
2786 .feature-list-pane .inspector-body {
2790 .preset-list-pane .inspector-body {
2794 .entity-editor-pane .inspector-body {
2798 .selection-list-pane .inspector-body {
2807 #sidebar .search-header .icon {
2812 pointer-events: none;
2815 #sidebar .search-header input {
2823 border-bottom-width: 1px;
2837 .feature-list-item {
2840 border-bottom: 1px solid #ccc;
2844 .feature-list-item {
2845 background-color: white;
2851 .feature-list-item:hover {
2852 background-color: #ececec;
2855 .feature-list-item button {
2856 background: transparent;
2859 .feature-list-item .label {
2862 white-space: nowrap;
2863 text-overflow: ellipsis;
2865 border-left: 1px solid rgba(0, 0, 0, .1);
2868 .feature-list-item .label .icon {
2872 .feature-list-item .close {
2877 .feature-list-item .close .icon {
2881 .feature-list-item .entity-type {
2885 .feature-list-item:hover .entity-type {
2889 .feature-list-item .entity-name {
2890 font-weight: normal;
2896 ------------------------------------------------------- */
2902 padding: 20px 20px 10px 20px;
2903 border-bottom: 1px solid #ccc;
2906 .preset-list-button-wrap {
2908 margin-bottom: 10px;
2912 .preset-list-button {
2916 border: 1px solid #ccc;
2919 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2920 background: #ececec;
2923 .preset-icon-fill-area {
2933 .preset-icon-fill-vertex {
2940 border: 1.5px solid #333;
2941 border-radius: 20px;
2942 background-color: #efefef;
2945 [dir='rtl'] .preset-icon-fill-vertex,
2946 [dir='rtl'] .preset-icon-fill-area {
2951 .preset-icon-frame {
2959 [dir='rtl'] .preset-icon-frame {
2964 .preset-icon-frame .icon {
2976 .preset-icon-60 .icon {
2988 .preset-icon-44 .icon {
3000 .preset-icon-28 .icon {
3012 .preset-icon-24 .icon {
3017 .preset-list-button .label {
3018 background-color: #f6f6f6;
3027 white-space: nowrap;
3028 text-overflow: ellipsis;
3030 border-left: 1px solid rgba(0, 0, 0, .1);
3031 border-radius: 0 3px 3px 0;
3034 .preset-list-button:hover .label {
3035 background-color: #ececec;
3038 .preset-list-item button.tag-reference-button {
3040 border: 1px solid #CCC;
3041 border-radius: 0 3px 3px 0;
3046 background: #fafafa;
3049 .preset-list-item button.tag-reference-button:hover {
3050 background: #f1f1f1;
3053 .preset-list-item button.tag-reference-button .icon {
3057 .current .preset-list-button,
3058 .current .preset-list-button .label {
3059 background-color: #E8EBFF;
3062 .category .preset-list-button:after,
3063 .category .preset-list-button:before {
3067 left: -1px; right: -1px;
3068 border: 1px solid #ccc;
3069 border-bottom: none;
3070 border-radius: 6px 6px 0 0;
3074 .category .preset-list-button:before {
3078 .subgrid .preset-list {
3079 padding: 10px 10px 0 10px;
3083 width: -webkit-calc(100% + 20px);
3088 border: solid rgba(0, 0, 0, 0);
3090 border-bottom-color: #f1f1f1;
3094 margin-left: -webkit-calc(50% - 10px);
3099 /* preset form basics */
3103 padding-bottom: 10px;
3106 .inspector-preset a.hide-toggle {
3107 margin: 0 20px 10px 20px;
3110 .inspector-preset .preset-form {
3112 margin: 0 10px 10px 10px;
3116 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
3121 margin-bottom: 10px;
3123 -webkit-transition: margin-bottom 200ms;
3124 -moz-transition: margin-bottom 200ms;
3125 -o-transition: margin-bottom 200ms;
3126 transition: margin-bottom 200ms;
3129 .form-field:last-child {
3136 border: 1px solid #cfcfcf;
3137 padding: 5px 0 5px 10px;
3138 background: #f6f6f6;
3140 border-radius: 4px 4px 0 0;
3143 [dir='rtl'] .form-label {
3144 padding: 5px 10px 5px 0;
3147 .form-label-button-wrap {
3153 background: transparent;
3156 [dir='rtl'] .form-label-button-wrap {
3160 .form-label-button-wrap .tag-reference-button {
3161 border-radius: 0 3px 0 0;
3164 .form-label-button-wrap .icon {
3168 .form-label button {
3169 border-left: 1px solid #ccc;
3173 background: #f6f6f6;
3175 [dir='rtl'] .form-label button {
3177 border-right: 1px solid #CCC;
3178 border-radius: 4px 0 0 0;
3180 .form-label button:hover {
3181 background: #f1f1f1;
3184 .form-label .modified-icon,
3185 .form-field .remove-icon {
3189 .modified .form-label .modified-icon,
3190 .present .form-label .remove-icon {
3191 display: inline-block;
3194 .form-field > input,
3195 .form-field > textarea,
3196 .form-field .preset-input-wrap {
3197 border: 1px solid #ccc;
3200 border-radius: 0 0 4px 4px;
3204 .form-field textarea {
3209 border-bottom: 1px solid #ccc
3212 /* Preset form (hover mode) */
3214 .inspector-hover .checkselect label:last-of-type,
3215 .inspector-hover .preset-input-wrap .label,
3216 .inspector-hover .form-field-multicombo,
3217 .inspector-hover .structure-extras-wrap,
3218 .inspector-hover input,
3219 .inspector-hover label {
3220 background: #ececec;
3224 .inspector-hover .form-field-multicombo .chips,
3225 .inspector-hover .checkselect label:last-of-type {
3229 .inspector-hover .form-field-multicombo .chips {
3231 border: 1px solid #ccc;
3234 /* hide and remove from layout */
3236 .inspector-hover label input[type="checkbox"],
3237 .inspector-hover label input[type="radio"],
3238 .inspector-hover .toggle-list label,
3239 .inspector-hover .toggle-list label span,
3240 .inspector-hover .inspector-inner .add-tag,
3241 .inspector-hover .inspector-inner .add-relation,
3242 .inspector-hover .form-field-multicombo .combobox-input,
3243 .inspector-hover .toggle-list label.remove .icon {
3247 opacity: 0 !important;
3253 /* hide but preserve in layout */
3254 .inspector-hover .entity-editor-pane button.minor,
3255 .inspector-hover .combobox-caret,
3256 .inspector-hover .entity-editor-pane .header button,
3257 .inspector-hover .spin-control,
3258 .inspector-hover .form-field-multicombo .chips .remove,
3259 .inspector-hover .hide-toggle:before,
3260 .inspector-hover .more-fields,
3261 .inspector-hover .form-label-button-wrap,
3262 .inspector-hover .tag-reference-button,
3263 .inspector-hover .view-on-osm {
3267 /* Styles for raw tag inspector on hover */
3268 .inspector-hover .tag-row .key-wrap,
3269 .inspector-hover .tag-row .form-field.input-wrap-position {
3273 .inspector-hover .tag-row:first-child input.value {
3274 border-top-right-radius: 4px;
3276 [dir='rtl'] .inspector-hover .tag-row:first-child input.value {
3277 border-top-right-radius: 0;
3278 border-top-left-radius: 4px;
3281 .inspector-hover .tag-row:last-child input.value {
3282 border-bottom-right-radius: 4px;
3284 [dir='rtl'] .inspector-hover .tag-row:last-child input.value {
3285 border-bottom-right-radius: 0;
3286 border-bottom-left-radius: 4px;
3289 .inspector-hover .tag-row:last-child input.key {
3290 border-bottom-left-radius: 4px;
3292 [dir='rtl'] .inspector-hover .tag-row:last-child input.key {
3293 border-bottom-left-radius: 0;
3294 border-bottom-right-radius: 4px;
3297 .inspector-hover .more-fields {
3299 margin-bottom: -10px;
3302 /* Unstyle button fields */
3303 .inspector-hover .toggle-list label.active,
3304 .inspector-hover .entity-editor-pane a.hide-toggle {
3306 background-color: transparent;
3312 .inspector-hover .toggle-list button.active {
3316 /* Add placeholder only on hover for radio buttons */
3317 .inspector-hover .toggle-list .placeholder {
3325 /* Hide placeholder for radio buttons if another is active, or not in hover state */
3326 .toggle-list label.active ~ .placeholder,
3327 .toggle-list .placeholder {
3336 /* adding additional preset fields */
3339 padding: 0 20px 20px 20px;
3343 .more-fields label {
3345 flex-flow: row nowrap;
3346 justify-content: space-between;
3347 align-items: center;
3350 .more-fields input {
3354 [dir='rtl'] .more-fields input {
3359 .preset-input-wrap .label {
3361 background: #F6F6F6;
3367 /* preset form access */
3368 /* preset form cycleway */
3370 .form-field-structure .structure-extras-wrap li,
3371 .form-field-cycleway .preset-input-wrap li,
3372 .form-field-access .preset-input-wrap li {
3373 border-bottom: 1px solid #ccc;
3375 .form-field-structure .structure-extras-wrap li:last-child,
3376 .form-field-cycleway .preset-input-wrap li:last-child,
3377 .form-field-access .preset-input-wrap li:last-child {
3380 .structure-input-type-wrap input,
3381 .structure-input-layer-wrap input,
3382 .preset-input-cycleway-wrap input,
3383 .preset-input-access-wrap input {
3386 border-left-width: 1px;
3388 [dir='rtl'] .structure-input-type-wrap input,
3389 [dir='rtl'] .structure-input-layer-wrap input,
3390 [dir='rtl'] .preset-input-cycleway-wrap input,
3391 [dir='rtl'] .preset-input-access-wrap input {
3392 border-left-width: 0;
3393 border-right-width: 1px;
3396 .preset-input-wrap li:last-child input {
3397 border-bottom-right-radius: 4px;
3400 .structure-extras-wrap {
3404 .structure-extras-wrap ul {
3405 border: 1px solid #ccc;
3410 /* preset form multicombo */
3412 .form-field-multicombo {
3413 border: 1px solid #cfcfcf;
3415 padding: 5px 0 5px 10px;
3418 border-radius: 0 0 4px 4px;
3422 .form-field-multicombo:focus {
3426 .form-field-multicombo.active {
3427 border-bottom-left-radius: 0px;
3428 border-bottom-right-radius: 0px;
3431 .form-field-multicombo li {
3432 background-color: #eff2f7;
3433 border: 1px solid #ccd5e3;
3436 display: inline-block;
3442 .form-field-multicombo a {
3443 font-family: Arial, Helvetica, sans-serif !important;
3444 font-size: 16px !important;
3447 margin: 1px 0 0 5px;
3453 .form-field-multicombo input {
3454 border: 1px solid #ddd;
3459 .form-field-multicombo .combobox-caret {
3460 margin: 3px 3px 3px -30px;
3463 .form-field-multicombo input:focus {
3464 border-radius: 4px !important;
3468 /* preset form numbers */
3470 input[type=number] {
3478 display: inline-block;
3480 margin-bottom: -11px;
3484 .spin-control button {
3490 border-left: 1px solid #CCC;
3492 background: rgba(0, 0, 0, 0);
3495 .spin-control button.decrement {
3496 border-bottom-right-radius: 3px;
3499 .spin-control button.decrement::after,
3500 .spin-control button.increment::after {
3502 height: 0; width: 0;
3504 left: 0; right: 0; bottom: 0; top: 0;
3508 .spin-control button.decrement::after {
3509 border-top: 5px solid #CCC;
3510 border-left: 5px solid transparent;
3511 border-right: 5px solid transparent;
3514 .spin-control button.increment::after {
3515 border-bottom: 5px solid #CCC;
3516 border-left: 5px solid transparent;
3517 border-right: 5px solid transparent;
3520 /* preset form checkbox */
3522 .checkselect label:last-of-type {
3529 .checkselect label:hover {
3530 background: #f1f1f1;
3537 .checkselect label:not(.set) input[type="checkbox"] {
3541 .checkselect .reverser.button {
3544 background-color: #eff2f7;
3545 border: 1px solid #ccd5e3;
3549 [dir='rtl'] .checkselect .reverser.button {
3552 .checkselect .reverser.button.hide {
3556 /* Preset form radio button */
3558 .toggle-list button.remove {
3559 border-radius: 0 0 3px 3px;
3562 .toggle-list button.remove .icon {
3567 .toggle-list button.remove::before {
3571 #preset-input-maxspeed {
3573 border-radius: 0 0 0 4px;
3576 [dir='rtl'] #preset-input-maxspeed {
3577 border-right: 1px solid #ccc;
3578 border-radius: 0 0 4px 0;
3581 .form-field .maxspeed-unit {
3582 border-radius: 0 0 4px 0;
3585 [dir='rtl'] .form-field .maxspeed-unit {
3587 border-radius: 0 0 0 4px;
3590 /* Wikipedia field */
3591 .form-field .wiki-lang {
3594 .form-field .wiki-title {
3597 [dir='rtl'] .form-field .wiki-title {
3599 padding-right: 10px;
3602 .form-field .wiki-title ~ .combobox-caret {
3605 [dir='rtl'] .form-field .wiki-title ~ .combobox-caret {
3610 /* Localized field */
3611 .form-field .localized-main {
3614 [dir='rtl'] .form-field .localized-main {
3616 padding-right: 10px;
3619 .form-field .button-input-action {
3624 border: 1px solid #CCC;
3625 border-top-width: 0;
3626 border-right-width: 0;
3627 border-radius: 0 0 4px 0;
3629 vertical-align: top;
3631 [dir='rtl'] .form-field .button-input-action {
3634 border-right-width: 1px;
3635 border-radius: 0 0 0 4px;
3638 .form-field .localized-wrap {
3642 .form-field .localized-wrap .entry {
3647 .form-field .localized-wrap .entry::before {
3660 .form-field .localized-wrap .entry .localized-lang {
3662 border-top-width: 0;
3665 .form-field .localized-wrap .entry .localized-value {
3666 border-top-width: 0;
3667 border-radius: 0 0 4px 4px;
3670 .form-field .localized-wrap .form-label button {
3671 border-top-right-radius: 3px;
3674 /* Preset form address */
3680 [dir='rtl'] .addr-row input {
3681 border-right: 1px solid #ccc;
3685 .addr-row:first-of-type input {
3689 .addr-row input:first-of-type {
3692 [dir='rtl'] .addr-row input:first-of-type {
3700 .addr-row:last-of-type input:first-of-type {
3701 border-radius: 0 0 0 4px;
3703 [dir='rtl'] .addr-row:last-of-type input:first-of-type {
3704 border-radius: 0 0 4px 0;
3707 .addr-row:last-of-type input:last-of-type {
3708 border-radius: 0 0 4px 0;
3710 [dir='rtl'] .addr-row:last-of-type input:last-of-type {
3711 border-radius: 0 0 0 4px;
3714 /* Restrictions editor */
3716 .form-field-restrictions .preset-input-wrap {
3721 .form-field-restrictions svg.surface {
3726 .form-field-restrictions .restriction-help {
3733 background-color: rgba(255, 255, 255, .8);
3738 /* combobox dropdown */
3743 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3749 border: 1px solid #ccc;
3750 border-radius: 0 0 4px 4px;
3756 border-top:1px solid #ccc;
3757 text-overflow: ellipsis;
3758 white-space: nowrap;
3762 .combobox a.selected,
3764 background: #ececec;
3767 .combobox a:first-child {
3772 display: inline-block;
3777 vertical-align: top;
3780 .combobox-caret::after {
3782 height: 0; width: 0;
3784 left: 0; right: 0; bottom: 0; top: 0;
3786 border-top: 5px solid #ccc;
3787 border-left: 5px solid transparent;
3788 border-right: 5px solid transparent;
3791 /* Raw Tag Editor */
3804 .tag-row.readonly input.key,
3805 .tag-row.readonly input.value,
3806 .tag-row.readonly button.remove {
3808 background-color: #eee;
3809 cursor: not-allowed;
3816 border-bottom: 1px solid #CCC;
3817 border-left: 1px solid #CCC;
3819 [dir='rtl'] .tag-row input {
3821 border-right: 1px solid #CCC;
3825 .tag-row .input-wrap-position {
3830 [dir='rtl'] .tag-row .key-wrap,
3831 [dir='rtl'] .tag-row .input-wrap-position {
3835 .tag-row input.key {
3837 background-color: #f6f6f6;
3840 .tag-row input.value {
3841 border-right: 1px solid #CCC;
3843 [dir='rtl'] .tag-row input.value {
3844 border-left: 1px solid #CCC;
3847 .tag-row:first-child input.key {
3848 border-top: 1px solid #CCC;
3849 border-top-left-radius: 4px;
3851 [dir='rtl'] .tag-row:first-child input.key {
3852 border-top-left-radius: 0;
3853 border-top-right-radius: 4px;
3856 .tag-row:first-child input.value {
3857 border-top: 1px solid #CCC;
3864 border: 1px solid #CCC;
3865 border-top-width: 0;
3866 border-left-width: 0;
3868 [dir='rtl'] .tag-row button {
3870 border-left-width: 1px;
3871 border-right-width: 0;
3874 .tag-row button:hover {
3875 background: #f1f1f1;
3878 .tag-row button .icon {
3882 .tag-row:first-child button {
3883 border-top-width: 1px;
3886 .tag-row:first-child .tag-reference-button {
3887 border-top-right-radius: 4px;
3889 [dir='rtl'] .tag-row:first-child .tag-reference-button {
3890 border-top-left-radius: 4px;
3891 border-top-right-radius: 0;
3894 .tag-row:last-child .tag-reference-button {
3895 border-bottom-right-radius: 4px;
3897 [dir='rtl'] .tag-row:last-child .tag-reference-button {
3898 border-bottom-left-radius: 4px;
3899 border-bottom-right-radius: 0;
3902 .tag-row .tag-reference-button {
3907 background: #fafafa;
3909 [dir='rtl'] .tag-row .tag-reference-button {
3913 border-left-width: 1px;
3914 border-right-width: 0;
3917 /* Adding form fields to tag editor */
3919 .raw-tag-editor .add-tag {
3923 background: rgba(0,0,0,.5);
3924 border-radius: 0 0 4px 4px;
3927 .raw-tag-editor .add-tag:hover {
3928 background: rgba(0,0,0,.8);
3931 .raw-tag-editor .add-tag .label {
3937 button.minor.tag-reference-loading {
3938 background-color: #f5f5f5;
3941 .tag-reference-loading .icon {
3942 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3943 background-position: 0 0;
3946 .tag-reference-body {
3951 .tag-reference-body p,
3952 .tag-reference-body img {
3956 .tag-reference-body p:last-child {
3957 padding-bottom: 10px;
3960 .tag-reference-body a {
3962 padding-bottom: 10px;
3965 .preset-list .tag-reference-body {
3970 .preset-list .tag-reference-body a {
3971 padding-bottom: 20px;
3974 .preset-list .tag-reference-body p,
3975 .preset-list .tag-reference-body img {
3979 .raw-tag-editor .tag-reference-body {
3980 border-bottom: 1px solid #ccc;
3985 .raw-tag-editor .tag-reference-body p:last-child {
3986 padding-bottom: 20px;
3989 .raw-tag-editor .tag-reference-body a {
3990 padding-bottom: 20px;
3996 width: -webkit-calc(33.3333% - 10px);
3997 width: calc(33.3333% - 10px);
4002 margin-bottom: 20px;
4005 /* Raw relation membership editor */
4007 .raw-member-editor .member-list li:first-child,
4008 .raw-membership-editor .member-list li:first-child {
4012 .raw-member-editor .member-row,
4013 .raw-membership-editor .member-row {
4017 .raw-member-editor .member-row .member-entity-name,
4018 .raw-membership-editor .member-row .member-entity-name {
4019 font-weight: normal;
4023 .member-incomplete .member-delete {
4027 .member-row-new .member-entity-input {
4028 border-radius: 4px 4px 0 0;
4029 border: 1px solid #cfcfcf;
4035 background: rgba(0,0,0,.5);
4040 .add-relation:hover {
4041 background: rgba(0,0,0,.8);
4044 /* Fullscreen button */
4051 div.full-screen .tooltip {
4055 div.full-screen > button, div.full-screen > button.active {
4058 background: transparent;
4061 div.full-screen > button:hover {
4062 background-color: rgba(0, 0, 0, .8);
4075 .map-control > button {
4077 background: rgba(0,0,0,.5);
4081 .map-control > button:hover {
4082 background: rgba(0, 0, 0, .8);
4085 .map-control > button.active,
4086 .map-control > button.active:hover {
4087 background: #7092ff;
4092 .zoombuttons button.zoom-in {
4093 border-radius: 4px 0 0 0;
4096 /* Background / Map Data Settings */
4098 .map-data-control button {
4102 .background-control button {
4103 border-radius: 4px 0 0 0;
4107 .background-control {
4112 margin-bottom: 10px;
4115 .map-data-control .hide-toggle,
4116 .background-control .hide-toggle {
4117 padding-bottom: 10px;
4120 .layer-list, .controls-list {
4121 margin-bottom: 10px;
4122 border: 1px solid #CCC;
4129 background-color: white;
4137 .layer-list > li:first-child {
4138 border-radius: 3px 3px 0 0;
4141 .layer-list > li:last-child {
4142 border-radius: 0 0 3px 3px;
4145 .layer-list > li:only-child {
4149 .layer-list li:not(:last-child) {
4150 border-bottom: 1px solid #ccc;
4153 .layer-list li:hover {
4154 background-color: #ececec;
4157 .layer-list li.active,
4158 .layer-list li.switch {
4159 background: #E8EBFF;
4162 .layer-list li.best > div.best {
4163 display: inline-block;
4168 /* make sure tooltip fits in map-control panel */
4169 /* if too wide, placement will be wrong the first time it displays */
4170 .layer-list li.best .tooltip-inner {
4180 .layer-list label > span {
4183 white-space: nowrap;
4184 text-overflow: ellipsis;
4195 .minimap-toggle.active {
4196 background: #E8EBFF;
4199 .minimap-toggle:hover {
4200 background-color: #ececec;
4209 .hide-toggle:before {
4217 border-top: 4px solid transparent;
4218 border-bottom: 4px solid transparent;
4219 border-left: 8px solid #7092ff;
4222 .hide-toggle.expanded:before {
4223 border-top: 8px solid #7092ff;
4225 border-right: 4px solid transparent;
4226 border-left: 4px solid transparent;
4229 /* Adjust Alignment controls */
4231 .background-control .nudge-container {
4232 border: 1px solid #ccc;
4237 .nudge-container .nudge-instructions {
4238 padding-bottom: 15px;
4241 .nudge-container .nudge-outer-rect {
4242 background-color: #eee;
4243 border: 1px solid #ccc;
4248 justify-content: center;
4249 align-items: center;
4255 .nudge-container .nudge-inner-rect {
4256 background-color: #fff;
4257 border: 1px solid #ccc;
4263 .nudge-container .nudge::after {
4268 left: 0; right: 0; top: 0; bottom: 0;
4273 .nudge-container input {
4280 .nudge-container input.error {
4281 border: 1px solid #FF7878;
4286 .nudge-container input:focus {
4287 background-color: transparent;
4290 .nudge-container button {
4295 background-color: transparent;
4298 .nudge-container button.right {
4303 .nudge-container button.left {
4308 .nudge-container button.top {
4313 .nudge-container button.bottom {
4317 .nudge-container button.nudge-reset {
4328 background-color: transparent;
4332 .background-control .nudge.right::after {
4333 border-top: 5px solid transparent;
4334 border-bottom: 5px solid transparent;
4335 border-left: 5px solid #222;
4338 .background-control .nudge.left::after {
4339 border-top: 5px solid transparent;
4340 border-bottom: 5px solid transparent;
4341 border-right: 5px solid #222;
4344 .background-control .nudge.top::after {
4345 border-right: 5px solid transparent;
4346 border-left: 5px solid transparent;
4347 border-bottom: 5px solid #222;
4350 .background-control .nudge.bottom::after {
4351 border-right: 5px solid transparent;
4352 border-left: 5px solid transparent;
4353 border-top: 5px solid #222;
4357 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
4363 border: 1px solid #ccc;
4366 .opacity-options li {
4372 .opacity-options li .select-box{
4379 .map-data-control li:hover .select-box,
4380 .map-data-control li.selected .select-box,
4381 .background-control li:hover .select-box,
4382 .background-control li.selected .select-box {
4383 border: 2px solid #7092ff;
4384 background: rgba(89, 123, 231, .5);
4388 .map-data-control li.selected:hover .select-box,
4389 .map-data-control li.selected .select-box,
4390 .background-control li.selected:hover .select-box,
4391 .background-control li.selected .select-box {
4395 .background-control .opacity {
4397 display:inline-block;
4402 .map-data-control .layer-list button,
4403 .background-control .layer-list button {
4407 border-left: 1px solid #CCC;
4411 .map-data-control .layer-list button .icon,
4412 .background-control .layer-list button .icon {
4416 .map-data-control .layer-list button:first-of-type,
4417 .background-control .layer-list button:first-of-type {
4418 border-radius: 0 3px 3px 0;
4421 .map-data-control .map-overlay,
4422 .background-control .map-overlay,
4423 .help-control .map-overlay {
4430 .geolocate-control {
4431 margin-bottom: 10px;
4434 .geolocate-control button {
4435 border-radius: 0 0 0 4px;
4438 .map-overlay.content {
4442 padding: 20px 50px 20px 20px;
4449 .help-control button {
4450 border-radius: 0 0 0 4px;
4455 margin-bottom: 20px;
4458 .help-wrap .left-content .body p code {
4464 /* This is two columns, 41.66666 x .4 = 16.6666 */
4468 margin-bottom: 20px;
4472 .help-wrap .toc li a,
4475 border: 1px solid #CCC;
4479 .help-wrap .toc li a {
4483 .help-wrap .toc li a:hover,
4484 .help-wrap .nav a:hover {
4485 background: #ececec;
4488 .help-wrap .toc li a.selected {
4489 background: #E8EBFF;
4492 .help-wrap .toc li:first-child a {
4493 border-radius: 4px 4px 0 0;
4496 .help-wrap .toc li:nth-last-child(3) a {
4497 border-bottom: 1px solid #CCC;
4498 border-radius: 0 0 4px 4px
4501 .help-wrap .toc li.shortcuts a,
4502 .help-wrap .toc li.walkthrough a {
4505 border-bottom: 1px solid #ccc;
4509 .help-wrap .toc li.walkthrough a {
4523 .help-wrap .nav a:first-child {
4524 border-radius: 4px 0 0 4px;
4527 .help-wrap .nav a:last-child:not(:only-child) {
4528 border-radius: 0 4px 4px 0;
4532 .help-wrap .nav a:only-child {
4539 ------------------------------------------------------- */
4543 transform-origin:0 0;
4544 -ms-transform-origin:0 0;
4545 -webkit-transform-origin:0 0;
4546 -moz-transform-origin:0 0;
4547 -o-transform-origin:0 0;
4549 -moz-user-select: none;
4550 -webkit-user-select: none;
4551 -ms-user-select: none;
4556 -webkit-transition: opacity 200ms linear;
4557 transition: opacity 200ms linear;
4558 -moz-transition: opacity 200ms linear;
4562 background: rgba(0, 0, 0, 0.7);
4570 transform-origin:0 0;
4571 -ms-transform-origin:0 0;
4572 -webkit-transform-origin:0 0;
4573 -moz-transform-origin:0 0;
4574 -o-transform-origin:0 0;
4576 -moz-user-select: none;
4577 -webkit-user-select: none;
4578 -ms-user-select: none;
4583 border: 1px solid red;
4596 ------------------------------------------------------- */
4603 -moz-user-select: none;
4604 -webkit-user-select: none;
4605 -ms-user-select: none;
4610 transform-origin:0 0;
4611 -ms-transform-origin:0 0;
4612 -webkit-transform-origin:0 0;
4613 -moz-transform-origin:0 0;
4614 -o-transform-origin:0 0;
4617 #supersurface, .layer {
4626 ------------------------------------------------------- */
4635 border: #aaa 1px solid;
4636 box-shadow: 0 0 2em black;
4640 transform-origin:0 0;
4641 -ms-transform-origin:0 0;
4642 -webkit-transform-origin:0 0;
4643 -moz-transform-origin:0 0;
4644 -o-transform-origin:0 0;
4646 -moz-user-select: none;
4647 -webkit-user-select: none;
4648 -ms-user-select: none;
4652 .map-in-map-viewport,
4661 .map-in-map-viewport {
4672 stroke: rgba(255, 255, 0, 0.75);
4674 shape-rendering: crispEdges;
4677 .map-in-map-bbox.thick {
4683 ------------------------------------------------------- */
4685 stroke: currentColor;
4689 .map-in-map-data .debug {
4693 .red { color: rgba(255, 0, 0, 0.75); }
4694 .green { color: rgba(0, 255, 0, 0.75); }
4695 .blue { color: rgba(0, 0, 255, 0.75); }
4696 .yellow { color: rgba(255, 255, 0, 0.75); }
4697 .cyan { color: rgba(0, 255, 255, 0.75); }
4698 .magenta { color: rgba(255, 0, 255, 0.75); }
4699 .orange { color: rgba(255, 153, 0, 0.75); }
4700 .pink { color: rgba(255, 0, 153, 0.75); }
4701 .purple { color: rgba(153, 0, 255, 0.75); }
4709 pointer-events: none;
4712 .debug-legend-item {
4715 .debug-legend-item:before {
4721 ------------------------------------------------------- */
4728 border-radius: 4px 0 0 0;
4729 border-bottom: 1px solid black;
4730 -ms-user-select: element;
4733 .infobox .infobox-heading {
4735 border-radius: 4px 0 0 0;
4746 background: #7092ff;
4755 ------------------------------------------------------- */
4763 pointer-events: none;
4765 flex-direction: column;
4766 -ms-user-select: element;
4775 #attrib * { pointer-events: all; }
4777 .base-layer-attribution,
4778 .overlay-layer-attribution {
4784 .base-layer-attribution {
4788 .overlay-layer-attribution {
4792 .overlay-layer-attribution .attribution:not(:last-child):after {
4802 pointer-events: all;
4811 flex-flow: row nowrap;
4812 justify-content: space-between;
4819 #flash-wrap .content {
4822 flex-flow: row nowrap;
4823 align-items: center;
4829 #flash-wrap svg.operation-icon {
4836 #flash-wrap div.operation-tip {
4843 flex-flow: row nowrap;
4844 justify-content: space-between;
4853 transition: bottom 75ms linear;
4854 -moz-transition: bottom 75ms linear;
4855 -webkit-transition: bottom 75ms linear;
4860 transition: bottom 75ms linear;
4861 -moz-transition: bottom 75ms linear;
4862 -webkit-transition: bottom 75ms linear;
4867 vertical-align: bottom;
4871 -moz-user-select: none;
4872 -webkit-user-select: none;
4873 -ms-user-select: none;
4886 [dir='rtl'] #scale {
4887 transform: scaleX(-1);
4895 font: 12px sans-serif;
4900 [dir='rtl'] #scale text {
4901 transform: scaleX(-1);
4908 shape-rendering: crispEdges;
4918 [dir='rtl'] #about-list {
4927 border-left: 1px solid rgba(255,255,255,.5);
4928 padding: 5px 0 5px 5px;
4931 [dir='rtl'] #about-list li {
4934 border-right: 1px solid rgba(255,255,255,.5);
4937 padding: 5px 5px 5px 0;
4941 #about-list li:last-child {
4946 [dir='rtl'] #about-list li:last-child {
4951 padding: 2px 4px 4px 4px;
4954 .source-switch a.live {
4955 background: #d32232;
4959 .feature-warning a {
4960 background: #1e90ff;
4961 padding: 2px 4px 4px 4px;
4966 .user-list a:not(:last-child):after {
4976 [dir='rtl'] .api-status {
4980 .api-status.offline,
4981 .api-status.readonly,
4989 .api-status-login:hover {
4994 display: inline-block;
4995 background: #d32232;
4998 border-radius: 11px;
5001 [dir='rtl'] .badge {
5008 [dir='rtl'] .badge a {
5013 vertical-align: baseline;
5021 ------------------------------------------------------- */
5025 display: inline-block;
5036 margin-bottom: 10px;
5039 .modal .description {
5055 background:rgba(0,0,0,0.5);
5057 left:0px; right:0px; top:0px; bottom:0px;
5062 border-bottom: 1px solid #CCC;
5065 .modal-section.header h3 {
5069 .modal-section.buttons {
5073 .modal-section.buttons .action {
5074 display: inline-block;
5077 vertical-align: middle;
5080 .save-section .buttons .action,
5081 .save-section .buttons .secondary-action {
5082 display: inline-block;
5085 vertical-align: middle;
5092 .modal-actions button,
5093 .save-success a.button {
5094 font-weight: normal;
5096 border-bottom: 1px solid #CCC;
5100 display: inline-block;
5103 .modal-actions button:hover
5104 .save-success a.button:hover {
5105 background-color: #ececec;
5115 .modal-actions > :first-child {
5116 border-right: 1px solid #CCC;
5119 .modal-section:last-child {
5124 ------------------------------------------------------- */
5125 .modal-actions .logo-restore {
5128 .modal-actions .logo-reset {
5133 ------------------------------------------------------- */
5135 padding: 15px 15px 0 15px;
5137 .save-success a.details {
5140 .save-success .button {
5143 .save-success .logo-osm {
5145 margin-bottom: 10px;
5147 .save-success a.button.social {
5149 border-bottom: none;
5151 .save-success .icon.social {
5158 ------------------------------------------------------- */
5159 .modal-actions .logo-walkthrough,
5160 .modal-actions .logo-features {
5166 ------------------------------------------------------- */
5172 .modal-shortcuts .modal-section:last-child {
5176 .modal-shortcuts .tabs-bar {
5178 padding-bottom: 5px;
5183 .modal-shortcuts .tab {
5184 display: inline-block;
5190 .modal-shortcuts .tab.active {
5193 .modal-shortcuts .tab:hover {
5195 background-color: #efefef;
5198 .modal-shortcuts .shortcut-tab {
5200 flex-flow: row wrap;
5203 .modal-shortcuts .shortcut-column {
5208 .modal-shortcuts td {
5209 padding-bottom: 5px;
5212 .modal-shortcuts .shortcut-section {
5213 padding: 20px 0 10px 0;
5216 .modal-shortcuts .shortcut-keys {
5217 padding-right: 10px;
5221 [dir='rtl'] .modal-shortcuts .shortcut-keys {
5222 padding-right: auto;
5227 .modal-shortcuts .shortcut-keys kbd {
5228 display: inline-block;
5235 vertical-align: baseline;
5236 background-color: #fcfcfc;
5237 border: solid 1px #ccc;
5239 border-bottom-color: #bbb;
5241 box-shadow: inset 0 -1px 0 #bbb;
5244 .modal-shortcuts .shortcut-keys svg.mouseclick use.left {
5245 fill: rgba(112, 146, 255, 1);
5246 color: rgba(112, 146, 255, 0);
5248 .modal-shortcuts .shortcut-keys svg.mouseclick use.right {
5249 fill: rgba(112, 146, 255, 0);
5250 color: rgba(112, 146, 255, 1);
5253 .modal-shortcuts .shortcut-keys .gesture {
5261 ------------------------------------------------------- */
5262 .mode-save a.user-info {
5263 display: inline-block;
5266 .mode-save .commit-form {
5270 .mode-save .user-info img {
5274 .mode-save h3 small.count {
5288 .mode-save .commit-info {
5289 margin-bottom: 10px;
5292 .mode-save .changeset-list {
5293 border:1px solid #ccc;
5298 .mode-save .warning-section .changeset-list button {
5299 border-left: 1px solid #CCC;
5302 .mode-save .changeset-list li {
5304 border-top:1px solid #ccc;
5309 .mode-save .changeset-list li:hover {
5310 background-color: #ececec;
5313 .mode-save .changeset-list .alert {
5317 .changeset-list li span.count {
5322 .mode-save .commit-section .changeset-list button {
5323 border-left: 1px solid #CCC;
5326 .changeset-list li span.count:before { content: '('; }
5328 .changeset-list li span.count:after { content: ')'; }
5330 .changeset-list li:first-child { border-top: 0;}
5332 /* Conflict resolution
5333 ------------------------------------------------------- */
5337 background-color: #ffffbb;
5338 border-bottom: 1px solid #ccc;
5341 .conflicts-buttons {
5345 .mode-save button.conflicts-button {
5349 .conflict-container {
5350 border-bottom: 1px solid #ccc;
5353 .conflict-description {
5359 padding: 20px 20px 0 20px;
5362 .conflict-detail-container {
5374 .conflict-nav-buttons {
5375 padding: 10px 0 20px 0;
5378 .conflict-nav-button {
5383 ------------------------------------------------------- */
5405 .notice .zoom-to:hover {
5406 background: #d8e1ff;
5409 .notice .zoom-to .icon {
5415 ------------------------------------------------------- */
5452 display: inline-block;
5457 font-weight: normal;
5458 background-color: white;
5464 pointer-events: none;
5468 background: transparent;
5476 border-color: transparent;
5477 border-style: solid;
5481 border-left-color: white;
5482 border-width: 5px 0 5px 5px;
5501 border-color: transparent;
5502 border-style: solid;
5506 border-right-color: white;
5507 border-width: 5px 5px 5px 0;
5514 border-color: transparent;
5515 border-style: solid;
5518 .tooltip.top .tooltip-arrow {
5522 border-top-color: white;
5523 border-width: 5px 5px 0;
5526 .tooltip.right .tooltip-arrow {
5530 border-right-color: white;
5531 border-width: 5px 5px 5px 0;
5534 .tooltip.left .tooltip-arrow {
5538 border-left-color: white;
5539 border-width: 5px 0 5px 5px;
5542 .tooltip.bottom .tooltip-arrow {
5546 border-bottom-color: white;
5547 border-width: 0 5px 5px;
5552 background: #F6F6F6;
5554 margin: -10px -10px 10px -10px;
5555 border-radius: 3px 3px 0 0;
5560 background: #F6F6F6;
5562 margin: 10px -10px -10px -10px;
5563 border-radius: 0 0 3px 3px;
5566 .tooltip-inner .keyhint {
5571 /* Exceptions for tooltip layouts */
5573 /* make tooltips in panels dark */
5574 .map-overlay .tooltip.top .tooltip-arrow,
5575 .entity-editor-pane .tooltip.top .tooltip-arrow,
5576 .warning-section .tooltip.top .tooltip-arrow {
5577 border-top-color: #000;
5580 .map-overlay .tooltip.bottom .tooltip-arrow,
5581 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
5582 .warning-section .tooltip.bottom .tooltip-arrow {
5583 border-bottom-color: #000;
5586 .map-overlay .tooltip.left .tooltip-arrow,
5587 .entity-editor-pane .tooltip.left .tooltip-arrow,
5588 .warning-section .tooltip.left .tooltip-arrow {
5589 border-left-color: #000;
5592 .map-overlay .tooltip.right .tooltip-arrow,
5593 .entity-editor-pane .tooltip.right .tooltip-arrow,
5594 .warning-section .tooltip.right .tooltip-arrow {
5595 border-right-color: #000;
5598 .map-overlay .tooltip-inner,
5599 .map-overlay .tooltip-heading,
5600 .map-overlay .keyhint-wrap,
5601 .entity-editor-pane .tooltip-inner,
5602 .warning-section .tooltip-inner {
5606 /* commit warning tooltips need to be closer */
5607 .warning-section .tooltip.top {
5611 /* Uncramp map-control tooltips */
5612 .map-control .tooltip {
5615 .map-control .shortcuts .tooltip {
5619 /* Move over tooltips that are near the edge of screen */
5620 .add-point .tooltip {
5621 left: 33.3333% !important;
5623 .add-point .tooltip .tooltip-arrow {
5626 [dir='rtl'] .add-point .tooltip .tooltip-arrow {
5631 li:first-of-type .badge .tooltip,
5632 li.hide + li.version .badge .tooltip {
5633 left: auto !important;
5634 right: 5px !important;
5636 [dir='rtl'] li:first-of-type .badge .tooltip,
5637 [dir='rtl'] li.hide + li.version .badge .tooltip {
5638 left: 5px !important;
5639 right: auto !important;
5641 li:first-of-type .badge .tooltip .tooltip-arrow,
5642 li.hide + li.version .badge .tooltip .tooltip-arrow {
5643 right: 15px !important;
5644 left: auto !important;
5646 [dir='rtl'] li:first-of-type .badge .tooltip .tooltip-arrow,
5647 [dir='rtl'] li.hide + li.version .badge .tooltip .tooltip-arrow {
5648 left: 15px !important;
5649 right: auto !important;
5653 /* radial menu (deprecated) */
5655 .radial-menu-tooltip {
5662 .radial-menu-background {
5665 stroke-opacity: 0.5;
5668 .radial-menu-item circle {
5672 .radial-menu-item circle:active,
5673 .radial-menu-item circle:hover {
5677 .radial-menu-item.disabled circle {
5679 fill: rgba(255,255,255,.5);
5682 .radial-menu-item use {
5687 .radial-menu-item.disabled use {
5688 fill: rgba(32,32,32,.5);
5689 color: rgba(40,40,40,.5);
5694 .edit-menu-tooltip {
5700 .edit-menu-background {
5704 .edit-menu-item rect {
5708 .edit-menu-item rect:active,
5709 .edit-menu-item rect:hover {
5713 .edit-menu-item.disabled rect {
5714 cursor: not-allowed;
5716 .edit-menu-item.disabled rect:hover {
5717 cursor: not-allowed;
5721 .edit-menu-item use {
5726 .edit-menu-item.disabled use {
5727 fill: rgba(32,32,32,.2);
5728 color: rgba(40,40,40,.2);
5737 stroke-dasharray: 5, 5;
5741 ------------------------------------------------------- */
5743 @media only screen and (max-width: 840px) {
5744 /* override hide for save button */
5745 #bar .save .label { display: block;}
5748 @media screen and (max-width: 1200px) {
5749 .user-list { display: none !important; }
5752 @media screen and (max-width: 1000px) {
5753 #userLink { display: none !important; }
5756 @media screen and (max-width: 900px) {
5757 #scale-block { display: none !important; }
5762 ----------------------------------------------------- */
5764 ::-webkit-scrollbar {
5769 border-left: 1px solid #DDD;
5772 ::-webkit-scrollbar-track {
5773 background-clip: padding-box;
5774 border: solid transparent;
5778 ::-webkit-scrollbar-thumb {
5779 background-color: rgba(0,0,0,.2);
5780 background-clip: padding-box;
5781 border: solid transparent;
5782 border-width: 3px 3px 3px 4px;
5785 ::-webkit-scrollbar-track:hover,
5786 ::-webkit-scrollbar-track:active {
5787 background-color: rgba(0,0,0,.05);
5790 /* Intro walkthrough
5791 ----------------------------------------------------- */
5794 pointer-events: all;
5802 flex-direction: row;
5811 .intro-nav-wrap .intro-nav-wrap-logo {
5817 vertical-align: middle;
5820 .intro-nav-wrap .joined {
5823 flex-direction: row;
5826 .intro-nav-wrap button.chapter {
5831 .intro-nav-wrap button.chapter.next {
5832 animation-duration: 1s;
5833 animation-name: pulse;
5834 animation-iteration-count: infinite;
5835 animation-direction: alternate;
5838 from { background: #7092ff; }
5839 to { background: #c6d4ff; }
5842 .intro-nav-wrap button.chapter.finished {
5843 background: #8cd05f;
5846 .intro-nav-wrap button.chapter .status {
5850 .intro-nav-wrap button.chapter.finished .status {
5851 display: inline-block;
5854 .curtain-tooltip.tooltip.in {
5857 .curtain-tooltip.tooltip {
5860 [dir='rtl'] .curtain-tooltip.tooltip {
5864 .curtain-tooltip .tooltip-inner {
5870 .curtain-tooltip .tooltip-inner .button-section,
5871 .curtain-tooltip .tooltip-inner .instruction {
5874 border-top: 1px solid #CCC;
5877 margin-right: -20px;
5878 padding: 10px 20px 0 20px;
5881 [dir='rtl'] .curtain-tooltip .tooltip-inner .button-section button.col8 {
5885 .curtain-tooltip .tooltip-inner .instruction:only-child {
5891 .curtain-tooltip .tooltip-inner .icon.pre-text {
5892 vertical-align: text-top;
5895 display: inline-block;
5898 .curtain-tooltip.intro-points-describe ,
5899 .curtain-tooltip.intro-lines-name_road {
5900 top: 133px !important;
5903 .tooltip-illustration {
5909 [dir='rtl'] .tooltip-illustration {
5911 margin-right: -20px;
5914 .curtain-tooltip.intro-mouse {
5915 -moz-user-select: none;
5916 -webkit-user-select: none;
5917 -ms-user-select: none;
5921 .curtain-tooltip.intro-mouse .counter {
5932 .curtain-tooltip.intro-mouse .tooltip-illustration use {
5933 fill: rgba(112, 146, 255, 0);
5934 color: rgba(112, 146, 255, 0);
5936 .curtain-tooltip.intro-mouse.leftclick .tooltip-illustration use {
5937 fill: rgba(112, 146, 255, 1);
5939 .curtain-tooltip.intro-mouse.rightclick .tooltip-illustration use {
5940 color: rgba(112, 146, 255, 1);
5943 .huge-modal-button {
5949 .huge-modal-button .illustration {
5961 background-color: #fff;
5964 .mapillary-wrap.hidden {
5968 .mapillary-wrap button.thumb-hide {
5983 .mly-wrapper.active {
5984 visibility: visible;
5987 /* Right-to-left localization settings */
5989 [dir='rtl'] #sidebar {
5993 [dir='rtl'] #sidebar .search-header .icon {
5999 [dir='rtl'] .header h3 {
6001 padding: 20px 40px 20px 20px;
6004 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
6009 [dir='rtl'] .entity-editor-pane .header button.preset-close, [dir='rtl'] .preset-list-pane .header button.preset-choose {
6014 [dir='rtl'] .map-data-control .layer-list button, [dir='rtl'] .background-control .layer-list button {
6017 border-right: 1px solid #CCC;
6020 [dir='rtl'] .map-data-control .layer-list button:first-of-type, [dir='rtl'] .background-control .layer-list button:first-of-type {
6021 border-radius: 3px 0 0 3px;
6025 [dir='rtl'] .feature-list-item .label {
6029 [dir='rtl'] .feature-list-item .entity-name {
6031 padding-right: 10px;
6036 [dir='rtl'] .combobox-caret {
6038 margin-right: -30px;
6041 [dir='rtl'] .icon.pre-text {
6046 [dir='rtl'] .notice .zoom-to .icon {
6051 [dir='rtl'] .preset-list-button .label {
6056 border-right: 1px solid rgba(0, 0, 0, .1);
6057 border-radius: 3px 0 0 3px;
6060 [dir='rtl'] .preset-list-item button.tag-reference-button {
6063 border-radius: 3px 0 0 3px;
6066 [dir='rtl'] .preset-list-button-wrap .preset-icon {
6071 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
6075 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
6079 [dir='rtl'] input[type="checkbox"], [dir='rtl'] input[type="radio"] {
6085 [dir='rtl'] .preset-input-wrap .col6 {
6089 /* map control buttons */
6090 [dir='rtl'] .map-controls {
6095 [dir='rtl'] .background-control button,
6096 [dir='rtl'] .zoombuttons button.zoom-in {
6097 border-radius: 0 4px 0 0;
6100 [dir='rtl'] .help-control button,
6101 [dir='rtl'] .geolocate-control button {
6102 border-radius: 0 0 4px 0;
6105 [dir='rtl'] .list-item-gpx-browse svg {
6106 transform: rotateY(180deg);
6109 /* map control button overlays */
6110 [dir='rtl'] .map-overlay {
6111 padding: 20px 20px 20px 50px;
6113 right: auto !important;
6116 [dir='rtl'] .opacity-options {
6121 [dir='rtl'] .hide-toggle {
6123 padding-right: 12px;
6126 [dir='rtl'] .hide-toggle:before {
6130 border-right: 8px solid #7092ff;
6133 [dir='rtl'] .hide-toggle.expanded:before {
6134 border-left: 4px solid transparent;
6135 border-right: 4px solid transparent;
6139 [dir='rtl'] #bar .spacer,
6140 [dir='rtl'] #bar .button-wrap,
6141 [dir='rtl'] #bar .button-wrap button {
6145 [dir='rtl'] .add-point .tooltip {
6146 left: inherit !important;
6149 [dir='rtl'] .button-wrap:last-of-type {
6151 padding-right: 10px;
6154 [dir='rtl'] button.save.has-count .count {
6159 [dir='rtl'] button.save.has-count .count::before {
6160 border-left: 6px solid rgba(255,255,255,.5);
6166 [dir='rtl'] .joined button {
6167 border-left: 1px solid rgba(0,0,0,.5);
6171 [dir='rtl'] .joined button:first-child {
6172 border-radius: 0 4px 4px 0;
6175 [dir='rtl'] .joined button:last-child {
6176 border-radius: 4px 0 0 4px;
6180 /* increment / decrement control - code by Naoufel Razouane */
6182 [dir='rtl'] .spin-control{
6186 [dir='rtl'] .spin-control button{
6188 border-right: 1px solid #CCC;
6190 [dir='rtl'] .spin-control button.decrement{
6191 border-bottom-right-radius: 0;
6193 [dir='rtl'] .spin-control button.increment{
6194 border-bottom-left-radius: 3px;
6197 [dir='rtl'] .modal > button {