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 /* vertices and midpoints */
227 g.vertex.shared .stroke {
244 g.vertex.vertex-hover {
248 .mode-draw-area g.vertex.vertex-hover,
249 .mode-draw-line g.vertex.vertex-hover,
250 .mode-add-area g.vertex.vertex-hover,
251 .mode-add-line g.vertex.vertex-hover,
252 .mode-add-point g.vertex.vertex-hover,
253 .mode-drag-node g.vertex.vertex-hover {
257 g.vertex.related:not(.selected) .shadow,
258 g.vertex.hover:not(.selected) .shadow,
259 g.midpoint.related:not(.selected) .shadow,
260 g.midpoint.hover:not(.selected) .shadow {
264 g.vertex.selected .shadow {
268 .mode-draw-area g.midpoint,
269 .mode-draw-line g.midpoint,
270 .mode-add-area g.midpoint,
271 .mode-add-line g.midpoint,
272 .mode-add-point g.midpoint {
278 .preset-icon .icon.other-line {
284 stroke-linecap: round;
285 stroke-linejoin: bevel;
299 path.shadow.related:not(.selected),
300 path.shadow.hover:not(.selected) {
304 path.shadow.selected {
314 /* Labels / Markers */
318 pointer-events: none;
323 .oneway .textpath.tag-waterway {
334 text.pointlabel-halo,
338 dominant-baseline: middle;
343 pointer-events: none;
344 -webkit-transition: opacity 100ms linear;
345 transition: opacity 100ms linear;
346 -moz-transition: opacity 100ms linear;
349 /* Opera doesn't support dominant-baseline. See #715 */
350 /* Safari 10 seems to have regressed too */
351 .linelabel-halo .textpath,
352 .linelabel .textpath {
353 baseline-shift: -33%;
354 dominant-baseline: auto;
361 stroke-miterlimit: 1;
372 .icon.areaicon-halo {
376 stroke-miterlimit: 1;
393 .form-field-restrictions .vertex {
394 pointer-events: none;
395 cursor: auto !important;
399 pointer-events: visibleStroke;
405 pointer-events: none;
424 stroke: rgba(255, 255, 255, 0.3);
425 fill: rgba(255, 255, 255, 0.3);
428 .preset-icon-fill-area {
429 border: 1px solid rgb(170, 170, 170);
430 background-color: rgba(170, 170, 170, 0.3);
433 path.stroke.tag-natural {
434 stroke: rgb(182, 225, 153);
436 path.fill.tag-natural {
437 stroke: rgba(182, 225, 153, 0.3);
438 fill: rgba(182, 225, 153, 0.3);
440 .preset-icon-fill-area.tag-natural {
441 border-color: rgb(182, 225, 153);
442 background-color: rgba(182, 225, 153, 0.3);
445 path.stroke.tag-landuse,
446 path.stroke.tag-natural-wood,
447 path.stroke.tag-natural-tree,
448 path.stroke.tag-natural-grassland,
449 path.stroke.tag-natural-grass,
450 path.stroke.tag-leisure-nature_reserve,
451 path.stroke.tag-leisure-pitch,
452 path.stroke.tag-leisure-park {
453 stroke: rgb(140, 208, 95);
455 path.fill.tag-landuse,
456 path.fill.tag-natural-wood,
457 path.fill.tag-natural-tree,
458 path.fill.tag-natural-grassland,
459 path.fill.tag-natural-grass,
460 path.fill.tag-leisure-nature_reserve,
461 path.fill.tag-leisure-pitch,
462 path.fill.tag-leisure-park {
463 stroke: rgba(140, 208, 95, 0.3);
464 fill: rgba(140, 208, 95, 0.3);
466 .preset-icon-fill-area.tag-landuse,
467 .preset-icon-fill-area.tag-natural-wood,
468 .preset-icon-fill-area.tag-natural-tree,
469 .preset-icon-fill-area.tag-natural-grassland,
470 .preset-icon-fill-area.tag-natural-grass,
471 .preset-icon-fill-area.tag-leisure-nature_reserve,
472 .preset-icon-fill-area.tag-leisure-pitch,
473 .preset-icon-fill-area.tag-leisure-park {
474 border-color: rgb(140, 208, 95);
475 background-color: rgba(140, 208, 95, 0.3);
478 path.stroke.tag-amenity-swimming_pool,
479 path.stroke.tag-leisure-swimming_pool,
480 path.stroke.tag-natural-water,
481 path.stroke.tag-landuse-aquaculture,
482 path.stroke.tag-landuse-basin,
483 path.stroke.tag-landuse-reservoir {
484 stroke: rgb(119, 211, 222);
486 path.fill.tag-amenity-swimming_pool,
487 path.fill.tag-leisure-swimming_pool,
488 path.fill.tag-landuse-aquaculture,
489 path.fill.tag-landuse-basin,
490 path.fill.tag-landuse-reservoir,
491 path.fill.tag-natural-water {
492 stroke: rgba(119, 211, 222, 0.3);
493 fill: rgba(119, 211, 222, 0.3);
495 .preset-icon-fill-area.tag-amenity-swimming_pool,
496 .preset-icon-fill-area.tag-leisure-swimming_pool,
497 .preset-icon-fill-area.tag-landuse-aquaculture,
498 .preset-icon-fill-area.tag-landuse-basin,
499 .preset-icon-fill-area.tag-landuse-reservoir,
500 .preset-icon-fill-area.tag-natural-water {
501 border-color: rgb(119, 211, 222);
502 background-color: rgba(119, 211, 222, 0.3);
505 path.stroke.tag-amenity-childcare,
506 path.stroke.tag-amenity-kindergarten,
507 path.stroke.tag-amenity-school,
508 path.stroke.tag-amenity-college,
509 path.stroke.tag-amenity-university {
510 stroke: rgb(255, 255, 148);
512 path.fill.tag-amenity-childcare,
513 path.fill.tag-amenity-kindergarten,
514 path.fill.tag-amenity-school,
515 path.fill.tag-amenity-college,
516 path.fill.tag-amenity-university {
517 stroke: rgba(255, 255, 148, 0.15);
518 fill: rgba(255, 255, 148, 0.15);
520 .preset-icon-fill-area.tag-amenity-childcare,
521 .preset-icon-fill-area.tag-amenity-kindergarten,
522 .preset-icon-fill-area.tag-amenity-school,
523 .preset-icon-fill-area.tag-amenity-college,
524 .preset-icon-fill-area.tag-amenity-university {
525 border-color: rgb(232, 232, 0);
526 background-color: rgba(255, 255, 148, 0.15);
529 path.stroke.tag-landuse-residential {
530 stroke: rgb(196, 189, 25);
532 path.fill.tag-landuse-residential {
533 stroke: rgba(196, 189, 25, 0.3);
534 fill: rgba(196, 189, 25, 0.3);
536 .preset-icon-fill-area.tag-landuse-residential {
537 border-color: rgb(196, 189, 25);
538 background: rgba(196, 189, 25, 0.3);
541 path.stroke.tag-landuse-retail,
542 path.stroke.tag-landuse-commercial {
543 stroke: rgb(214, 136, 26);
545 path.fill.tag-landuse-retail,
546 path.fill.tag-landuse-commercial {
547 stroke: rgba(214, 136, 26, 0.3);
548 fill: rgba(214, 136, 26, 0.3);
550 .preset-icon-fill-area.tag-landuse-retail,
551 .preset-icon-fill-area.tag-landuse-commercial {
552 border-color: rgb(214, 136, 26);
553 background-color: rgba(214, 136, 26, 0.3);
556 path.stroke.tag-landuse-industrial,
557 path.stroke.tag-power-plant {
558 stroke: rgb(228, 164, 245);
560 path.fill.tag-landuse-industrial,
561 path.fill.tag-power-plant {
562 stroke: rgba(228, 164, 245, 0.3);
563 fill: rgba(228, 164, 245, 0.3);
565 .preset-icon-fill-area.tag-landuse-industrial,
566 .preset-icon-fill-area.tag-power-plant {
567 border-color: rgb(228, 164, 245);
568 background-color: rgba(228, 164, 245, 0.3);
571 path.stroke.tag-natural-bare_rock,
572 path.stroke.tag-natural-scree,
573 path.stroke.tag-landuse-quarry {
574 stroke: rgb(166, 149, 123);
576 path.fill.tag-natural-bare_rock,
577 path.fill.tag-natural-scree,
578 path.fill.tag-landuse-quarry {
579 stroke: rgba(166, 149, 123, 0.2);
580 fill: rgba(166, 149, 123, 0.2);
582 .preset-icon-fill-area.tag-natural-bare_rock,
583 .preset-icon-fill-area.tag-natural-scree,
584 .preset-icon-fill-area.tag-landuse-quarry {
585 border-color: rgb(166, 149, 123);
586 background-color: rgba(166, 149, 123, 0.2);
589 path.stroke.tag-landuse-landfill {
590 stroke: rgb(255, 153, 51);
592 path.fill.tag-landuse-landfill {
593 stroke: rgba(255, 153, 51, 0.2);
594 fill: rgba(255, 153, 51, 0.2);
596 .preset-icon-fill-area.tag-landuse-landfill {
597 border-color: rgb(255, 153, 51);
598 background-color: rgba(255, 153, 51, 0.2);
601 .pattern-color-construction {
602 fill: rgba(196, 189, 25, 0.2);
604 path.stroke.tag-landuse.tag-status,
605 path.stroke.tag-landuse-construction {
606 stroke: rgb(196, 189, 25);
608 .preset-icon-fill-area.tag-landuse.tag-status,
609 .preset-icon-fill-area.tag-landuse-construction {
610 border-color: rgb(196, 189, 25);
611 background-color: rgba(196, 189, 25, 0.2);
614 path.stroke.tag-military,
615 path.stroke.tag-landuse-military {
616 stroke: rgb(214, 136, 26);
618 path.fill.tag-military,
619 path.fill.tag-landuse-military {
620 stroke: rgba(214, 136, 26, 0.2);
621 fill: rgba(214, 136, 26, 0.2);
623 .preset-icon-fill-area.tag-military,
624 .preset-icon-fill-area.tag-landuse-military {
625 border-color: rgb(214, 136, 26);
626 background-color: rgba(214, 136, 26, 0.2);
629 .pattern-color-wetland {
630 fill: rgba(182, 225, 153, 0.2);
632 path.stroke.tag-natural-wetland {
633 stroke: rgb(182, 225, 153);
635 .preset-icon-fill-area.tag-natural-wetland {
636 border-color: rgb(182, 225, 153);
637 background-color: rgba(182, 225, 153, 0.2);
640 .pattern-color-meadow {
641 fill: rgba(182, 225, 153, 0.2);
643 path.stroke.tag-landuse-meadow {
644 stroke: rgb(182, 225, 153);
646 .preset-icon-fill-area.tag-landuse-meadow {
647 border-color: rgb(182, 225, 153);
648 background-color: rgba(182, 225, 153, 0.2);
651 .pattern-color-beach,
652 .pattern-color-sand {
653 fill: rgba(255, 255, 126, 0.2);
655 path.stroke.tag-natural-beach,
656 path.stroke.tag-natural-sand {
657 stroke: rgb(255, 255, 126);
659 .preset-icon-fill-area.tag-natural-beach,
660 .preset-icon-fill-area.tag-natural-sand {
661 border-color: rgb(255, 255, 126);
662 background-color: rgba(255, 255, 126, 0.2);
665 .pattern-color-scrub {
666 fill: rgba(219, 240, 139, 0.2);
668 path.stroke.tag-natural-scrub {
669 stroke: rgb(219, 240, 139);
671 .preset-icon-fill-area.tag-natural-scrub {
672 border-color: rgb(219, 240, 139);
673 background-color: rgba(219, 240, 139, 0.2);
677 .pattern-color-farmland {
678 fill: rgba(140, 208, 95, 0.2);
680 path.stroke.tag-landuse-farm,
681 path.stroke.tag-landuse-farmland {
682 stroke: rgb(140, 208, 95);
684 .preset-icon-fill-area.tag-landuse-farm,
685 .preset-icon-fill-area.tag-landuse-farmland {
686 background-color: rgba(140, 208, 95, 0.2);
689 path.stroke.tag-landuse-farmyard {
690 stroke: rgb(245, 220, 186);
692 path.fill.tag-landuse-farmyard {
693 stroke: rgba(245, 220, 186, 0.3);
694 fill: rgba(245, 220, 186, 0.3);
696 .preset-icon-fill-area.tag-landuse-farmyard {
697 border-color: rgb(245, 220, 186);
698 background: rgba(245, 220, 186, 0.3);
701 .pattern-color-cemetery,
702 .pattern-color-orchard {
703 fill: rgba(140, 208, 95, 0.2);
705 path.stroke.tag-landuse-cemetery,
706 path.stroke.tag-landuse-orchard {
707 stroke: rgb(140, 208, 95);
709 .preset-icon-fill-area.tag-landuse-cemetery,
710 .preset-icon-fill-area.tag-landuse-orchard {
711 background-color: rgba(140, 208, 95, 0.2);
714 path.stroke.tag-amenity-parking {
715 stroke: rgb(170, 170, 170);
717 path.fill.tag-amenity-parking {
718 stroke: rgba(170, 170, 170, 0.3);
719 fill: rgba(170, 170, 170, 0.3);
721 .preset-icon-fill-area.tag-amenity-parking {
722 border-color: rgb(170, 170, 170);
723 background-color: rgba(170, 170, 170, 0.3);
729 path.stroke.area.tag-highway {
731 stroke-dasharray: none;
737 .preset-icon .icon.tag-highway.other-line {
742 path.shadow.tag-highway {
745 path.casing.tag-highway {
749 path.stroke.tag-highway {
754 .low-zoom path.shadow.tag-highway {
757 .low-zoom path.casing.tag-highway {
760 .low-zoom path.stroke.tag-highway {
764 .preset-icon .icon.highway-motorway,
765 .preset-icon .icon.highway-motorway-link {
769 path.stroke.tag-highway-motorway,
770 path.stroke.tag-highway-motorway_link,
771 path.stroke.tag-motorway {
774 path.casing.tag-highway-motorway,
775 path.casing.tag-highway-motorway_link,
776 path.casing.tag-motorway {
780 .preset-icon .icon.highway-trunk,
781 .preset-icon .icon.highway-trunk-link {
785 path.stroke.tag-highway-trunk,
786 path.stroke.tag-highway-trunk_link,
787 path.stroke.tag-trunk {
790 path.casing.tag-highway-trunk,
791 path.casing.tag-highway-trunk_link,
792 path.casing.tag-trunk {
796 .preset-icon .icon.highway-primary,
797 .preset-icon .icon.highway-primary-link {
801 path.stroke.tag-highway-primary,
802 path.stroke.tag-highway-primary_link,
803 path.stroke.tag-primary {
806 path.casing.tag-highway-primary,
807 path.casing.tag-highway-primary_link,
808 path.casing.tag-primary {
812 .preset-icon .icon.highway-secondary,
813 .preset-icon .icon.highway-secondary-link {
817 path.stroke.tag-highway-secondary,
818 path.stroke.tag-highway-secondary_link,
819 path.stroke.tag-secondary {
822 path.casing.tag-highway-secondary,
823 path.casing.tag-highway-secondary_link,
824 path.casing.tag-secondary {
828 .preset-icon .icon.highway-tertiary,
829 .preset-icon .icon.highway-tertiary-link {
833 path.stroke.tag-highway-tertiary,
834 path.stroke.tag-highway-tertiary_link,
835 path.stroke.tag-tertiary {
838 path.casing.tag-highway-tertiary,
839 path.casing.tag-highway-tertiary_link,
840 path.casing.tag-tertiary {
844 .legacy-carto .preset-icon .icon.highway-motorway,
845 .legacy-carto .preset-icon .icon.highway-motorway-link {
849 .legacy-carto path.stroke.tag-highway-motorway,
850 .legacy-carto path.stroke.tag-highway-motorway_link,
851 .legacy-carto path.stroke.tag-motorway {
854 .legacy-carto path.casing.tag-highway-motorway,
855 .legacy-carto path.casing.tag-highway-motorway_link,
856 .legacy-carto path.casing.tag-motorway {
860 .legacy-carto .preset-icon .icon.highway-trunk,
861 .legacy-carto .preset-icon .icon.highway-trunk-link {
865 .legacy-carto path.stroke.tag-highway-trunk,
866 .legacy-carto path.stroke.tag-highway-trunk_link,
867 .legacy-carto path.stroke.tag-trunk {
870 .legacy-carto path.casing.tag-highway-trunk,
871 .legacy-carto path.casing.tag-highway-trunk_link,
872 .legacy-carto path.casing.tag-trunk {
876 .legacy-carto .preset-icon .icon.highway-primary,
877 .legacy-carto .preset-icon .icon.highway-primary-link {
881 .legacy-carto path.stroke.tag-highway-primary,
882 .legacy-carto path.stroke.tag-highway-primary_link,
883 .legacy-carto path.stroke.tag-primary {
886 .legacy-carto path.casing.tag-highway-primary,
887 .legacy-carto path.casing.tag-highway-primary_link,
888 .legacy-carto path.casing.tag-primary {
892 .legacy-carto .preset-icon .icon.highway-secondary,
893 .legacy-carto .preset-icon .icon.highway-secondary-link {
897 .legacy-carto path.stroke.tag-highway-secondary,
898 .legacy-carto path.stroke.tag-highway-secondary_link,
899 .legacy-carto path.stroke.tag-secondary {
902 .legacy-carto path.casing.tag-highway-secondary,
903 .legacy-carto path.casing.tag-highway-secondary_link,
904 .legacy-carto path.casing.tag-secondary {
908 .legacy-carto .preset-icon .icon.highway-tertiary,
909 .legacy-carto .preset-icon .icon.highway-tertiary-link {
913 .legacy-carto path.stroke.tag-highway-tertiary,
914 .legacy-carto path.stroke.tag-highway-tertiary_link,
915 .legacy-carto path.stroke.tag-tertiary {
918 .legacy-carto path.casing.tag-highway-tertiary,
919 .legacy-carto path.casing.tag-highway-tertiary_link,
920 .legacy-carto path.casing.tag-tertiary {
924 .preset-icon .icon.highway-residential {
928 path.stroke.tag-highway-residential,
929 path.stroke.tag-residential {
932 path.casing.tag-highway-residential,
933 path.casing.tag-residential {
937 .preset-icon .icon.highway-unclassified {
941 path.stroke.tag-highway-unclassified,
942 path.stroke.tag-unclassified {
945 path.casing.tag-highway-unclassified,
946 path.casing.tag-unclassified {
951 /* narrow highways */
952 path.stroke.tag-highway-living_street,
953 path.stroke.tag-highway-service,
954 path.stroke.tag-highway-track,
955 path.stroke.tag-highway-path,
956 path.stroke.tag-highway-footway,
957 path.stroke.tag-highway-cycleway,
958 path.stroke.tag-highway-bridleway,
959 path.stroke.tag-highway-corridor,
960 path.stroke.tag-highway-pedestrian,
961 path.stroke.tag-highway-steps,
962 path.stroke.tag-highway-road,
963 path.stroke.tag-living_street,
964 path.stroke.tag-service,
965 path.stroke.tag-track,
966 path.stroke.tag-path,
967 path.stroke.tag-footway,
968 path.stroke.tag-cycleway,
969 path.stroke.tag-bridleway,
970 path.stroke.tag-corridor,
971 path.stroke.tag-pedestrian,
972 path.stroke.tag-steps,
973 path.stroke.tag-road {
976 path.casing.tag-highway-living_street,
977 path.casing.tag-highway-service,
978 path.casing.tag-highway-track,
979 path.casing.tag-highway-path,
980 path.casing.tag-highway-footway,
981 path.casing.tag-highway-cycleway,
982 path.casing.tag-highway-bridleway,
983 path.casing.tag-highway-corridor,
984 path.casing.tag-highway-pedestrian,
985 path.casing.tag-highway-steps,
986 path.casing.tag-highway-road,
987 path.casing.tag-living_street,
988 path.casing.tag-service,
989 path.casing.tag-track,
990 path.casing.tag-path,
991 path.casing.tag-footway,
992 path.casing.tag-cycleway,
993 path.casing.tag-bridleway,
994 path.casing.tag-corridor,
995 path.casing.tag-pedestrian,
996 path.casing.tag-steps,
997 path.casing.tag-road {
1001 .low-zoom path.stroke.tag-highway-living_street,
1002 .low-zoom path.stroke.tag-highway-service,
1003 .low-zoom path.stroke.tag-highway-track,
1004 .low-zoom path.stroke.tag-highway-path,
1005 .low-zoom path.stroke.tag-highway-footway,
1006 .low-zoom path.stroke.tag-highway-cycleway,
1007 .low-zoom path.stroke.tag-highway-bridleway,
1008 .low-zoom path.stroke.tag-highway-corridor,
1009 .low-zoom path.stroke.tag-highway-pedestrian,
1010 .low-zoom path.stroke.tag-highway-steps,
1011 .low-zoom path.stroke.tag-highway-road,
1012 .low-zoom path.stroke.tag-living_street,
1013 .low-zoom path.stroke.tag-service,
1014 .low-zoom path.stroke.tag-track,
1015 .low-zoom path.stroke.tag-path,
1016 .low-zoom path.stroke.tag-footway,
1017 .low-zoom path.stroke.tag-cycleway,
1018 .low-zoom path.stroke.tag-bridleway,
1019 .low-zoom path.stroke.tag-corridor,
1020 .low-zoom path.stroke.tag-pedestrian,
1021 .low-zoom path.stroke.tag-steps,
1022 .low-zoom path.stroke.tag-road {
1025 .low-zoom path.casing.tag-highway-living_street,
1026 .low-zoom path.casing.tag-highway-service,
1027 .low-zoom path.casing.tag-highway-track,
1028 .low-zoom path.casing.tag-highway-path,
1029 .low-zoom path.casing.tag-highway-footway,
1030 .low-zoom path.casing.tag-highway-cycleway,
1031 .low-zoom path.casing.tag-highway-bridleway,
1032 .low-zoom path.casing.tag-highway-corridor,
1033 .low-zoom path.casing.tag-highway-pedestrian,
1034 .low-zoom path.casing.tag-highway-steps,
1035 .low-zoom path.casing.tag-highway-road,
1036 .low-zoom path.casing.tag-living_street,
1037 .low-zoom path.casing.tag-service,
1038 .low-zoom path.casing.tag-track,
1039 .low-zoom path.casing.tag-path,
1040 .low-zoom path.casing.tag-footway,
1041 .low-zoom path.casing.tag-cycleway,
1042 .low-zoom path.casing.tag-bridleway,
1043 .low-zoom path.casing.tag-corridor,
1044 .low-zoom path.casing.tag-pedestrian,
1045 .low-zoom path.casing.tag-steps,
1046 .low-zoom path.casing.tag-road {
1050 .preset-icon .icon.highway-living-street {
1054 path.stroke.tag-highway-living_street,
1055 path.stroke.tag-living_street {
1058 path.casing.tag-highway-living_street,
1059 path.casing.tag-living_street {
1063 .preset-icon .icon.highway-footway.tag-highway-corridor,
1064 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
1068 path.stroke.tag-highway-corridor,
1069 path.stroke.tag-highway-pedestrian,
1070 path.stroke.tag-corridor,
1071 path.stroke.tag-pedestrian {
1073 stroke-dasharray: 2, 8;
1075 path.casing.tag-highway-corridor,
1076 path.casing.tag-highway-pedestrian,
1077 path.casing.tag-corridor,
1078 path.casing.tag-pedestrian,
1079 path.casing.tag-highway-corridor.tag-unpaved,
1080 path.casing.tag-highway-pedestrian.tag-unpaved,
1081 path.casing.tag-corridor.tag-unpaved,
1082 path.casing.tag-pedestrian.tag-unpaved {
1084 stroke-linecap: round;
1085 stroke-dasharray: none;
1088 .preset-icon .icon.highway-road {
1092 path.stroke.tag-highway-road,
1093 path.stroke.tag-road {
1096 path.casing.tag-highway-road,
1097 path.casing.tag-road {
1101 .preset-icon .icon.highway-service {
1105 path.stroke.tag-highway-service,
1106 path.stroke.tag-service {
1109 path.casing.tag-highway-service,
1110 path.casing.tag-service {
1114 .preset-icon .icon.highway-track {
1118 path.stroke.tag-highway-track,
1119 path.stroke.tag-track {
1122 path.casing.tag-highway-track,
1123 path.casing.tag-track {
1127 path.stroke.tag-highway-path,
1128 path.stroke.tag-highway-footway,
1129 path.stroke.tag-highway-cycleway,
1130 path.stroke.tag-highway-bridleway {
1131 stroke-linecap: butt;
1132 stroke-dasharray: 6, 6;
1135 path.casing.tag-highway-path,
1136 path.casing.tag-highway-path.tag-unpaved {
1138 stroke-linecap: round;
1139 stroke-dasharray: none;
1141 path.casing.tag-highway-footway,
1142 path.casing.tag-highway-cycleway,
1143 path.casing.tag-highway-bridleway,
1144 path.casing.tag-highway-footway.tag-unpaved,
1145 path.casing.tag-highway-cycleway.tag-unpaved,
1146 path.casing.tag-highway-bridleway.tag-unpaved {
1148 stroke-linecap: round;
1149 stroke-dasharray: none;
1152 .preset-icon .icon.category-path,
1153 .preset-icon .icon.highway-path {
1157 path.stroke.tag-highway-path {
1161 .preset-icon .icon.tag-route-foot,
1162 .preset-icon .icon.tag-route-hiking,
1163 .preset-icon .icon.highway-footway {
1167 path.stroke.tag-highway-footway {
1171 .preset-icon .icon.highway-footway.tag-crossing {
1174 path.stroke.tag-highway-footway.tag-crossing {
1176 stroke-dasharray: 6, 4;
1179 .preset-icon .icon.tag-route-bicycle,
1180 .preset-icon .icon.highway-cycleway {
1184 path.stroke.tag-highway-cycleway {
1188 .preset-icon .icon.tag-route-horse,
1189 .preset-icon .icon.highway-bridleway {
1193 path.stroke.tag-highway-bridleway {
1197 .preset-icon .icon.highway-steps {
1201 path.stroke.tag-highway-steps {
1203 stroke-linecap: butt;
1204 stroke-dasharray: 3, 3;
1206 path.casing.tag-highway-steps,
1207 path.casing.tag-highway-steps.tag-unpaved {
1209 stroke-linecap: round;
1210 stroke-dasharray: none;
1213 /* highway midpoints */
1215 g.midpoint.tag-highway-corridor .fill,
1216 g.midpoint.tag-highway-pedestrian .fill,
1217 g.midpoint.tag-highway-steps .fill,
1218 g.midpoint.tag-highway-path .fill,
1219 g.midpoint.tag-highway-footway .fill,
1220 g.midpoint.tag-highway-cycleway .fill,
1221 g.midpoint.tag-highway-bridleway .fill {
1230 path.stroke.area.tag-aeroway {
1232 stroke-dasharray: none;
1237 path.stroke.tag-aeroway-taxiway,
1238 path.stroke.tag-taxiway {
1241 path.casing.tag-aeroway-taxiway,
1242 path.casing.tag-taxiway {
1246 .low-zoom path.stroke.tag-aeroway-taxiway,
1247 .low-zoom path.stroke.tag-taxiway {
1250 .low-zoom path.casing.tag-aeroway-taxiway,
1251 .low-zoom path.casing.tag-taxiway {
1255 .preset-icon .icon.tag-aeroway-taxiway,
1256 .preset-icon .icon.tag-taxiway {
1260 path.stroke.tag-aeroway-taxiway,
1261 path.stroke.tag-taxiway {
1264 path.casing.tag-aeroway-taxiway,
1265 path.casing.tag-taxiway {
1269 .preset-icon .icon.tag-aeroway-runway,
1270 .preset-icon .icon.tag-runway {
1274 path.shadow.tag-aeroway-runway {
1277 path.stroke.tag-aeroway-runway {
1280 stroke-linecap: butt;
1281 stroke-dasharray: 24, 48;
1283 path.casing.tag-aeroway-runway {
1286 stroke-linecap: square;
1288 path.fill.tag-aeroway-runway {
1289 stroke: rgba(0, 0, 0, 0.6);
1290 fill: rgba(0, 0, 0, 0.6);
1295 .preset-icon .icon.tag-railway.other-line {
1299 .preset-icon .icon.tag-railway {
1303 path.stroke.tag-railway {
1306 stroke-linecap: butt;
1307 stroke-dasharray: 12,12;
1309 path.casing.tag-railway {
1314 .preset-icon .icon.tag-railway-disused,
1315 .preset-icon .icon.tag-railway-abandoned {
1319 path.stroke.tag-railway-abandoned {
1322 path.casing.tag-railway-abandoned {
1326 .preset-icon .icon.tag-railway-subway {
1330 path.stroke.tag-railway-subway {
1333 path.casing.tag-railway-subway {
1337 path.stroke.tag-railway-platform {
1340 stroke-dasharray: none;
1342 path.casing.tag-railway-platform {
1346 .area.stroke.tag-railway {
1349 stroke-dasharray: none;
1351 .area.casing.tag-railway {
1356 .preset-icon .icon.tag-waterway.other-line {
1360 .preset-icon .icon.category-water,
1361 .preset-icon .icon.tag-route-ferry,
1362 .preset-icon .icon.tag-waterway {
1367 path.fill.tag-waterway {
1368 stroke: rgba(119, 211, 222, 0.3);
1369 fill: rgba(119, 211, 222, 0.3);
1372 path.stroke.tag-waterway {
1376 path.casing.tag-waterway {
1381 path.stroke.tag-waterway-river {
1384 path.casing.tag-waterway-river {
1388 .preset-icon .icon.tag-waterway-ditch {
1391 path.stroke.tag-waterway-ditch {
1395 path.casing.tag-waterway-ditch {
1400 path.area.stroke.tag-waterway-dock,
1401 path.area.stroke.tag-waterway-boatyard,
1402 path.area.stroke.tag-waterway-fuel {
1406 path.area.casing.tag-waterway-dock,
1407 path.area.casing.tag-waterway-boatyard,
1408 path.area.casing.tag-waterway-fuel {
1411 path.area.fill.tag-waterway-dock,
1412 path.area.fill.tag-waterway-boatyard,
1413 path.area.fill.tag-waterway-fuel {
1414 stroke: rgba(255, 255, 255, 0.3);
1415 fill: rgba(255, 255, 255, 0.3);
1419 .preset-icon .icon.tag-man_made-pipeline,
1420 .preset-icon .icon.tag-power {
1425 path.stroke.tag-power {
1429 path.casing.tag-power {
1435 path.stroke.tag-boundary {
1438 stroke-linecap: butt;
1439 stroke-dasharray: 20, 5, 5, 5;
1441 path.casing.tag-boundary {
1446 path.casing.tag-boundary-protected_area,
1447 path.casing.tag-boundary-national_park {
1453 path.stroke.tag-barrier {
1456 stroke-linecap: round;
1457 stroke-dasharray: 15, 5, 1, 5;
1459 .low-zoom path.stroke.tag-barrier {
1461 stroke-linecap: butt;
1462 stroke-dasharray: 8, 2, 2, 2;
1467 path.casing.tag-bridge {
1469 stroke-opacity: 0.6;
1471 stroke-linecap: butt;
1472 stroke-dasharray: none;
1475 path.shadow.tag-bridge {
1478 path.casing.line.tag-railway.tag-bridge,
1479 path.casing.tag-highway-living_street.tag-bridge,
1480 path.casing.tag-highway-path.tag-bridge,
1481 path.casing.tag-highway-corridor.tag-bridge,
1482 path.casing.line.tag-highway-pedestrian.tag-bridge,
1483 path.casing.tag-highway-service.tag-bridge,
1484 path.casing.tag-highway-track.tag-bridge,
1485 path.casing.tag-highway-steps.tag-bridge,
1486 path.casing.tag-highway-footway.tag-bridge,
1487 path.casing.tag-highway-cycleway.tag-bridge,
1488 path.casing.tag-highway-bridleway.tag-bridge {
1491 path.shadow.line.tag-railway.tag-bridge,
1492 path.shadow.tag-highway-living_street.tag-bridge,
1493 path.shadow.tag-highway-path.tag-bridge,
1494 path.shadow.tag-highway-corridor.tag-bridge,
1495 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1496 path.shadow.tag-highway-service.tag-bridge,
1497 path.shadow.tag-highway-track.tag-bridge,
1498 path.shadow.tag-highway-steps.tag-bridge,
1499 path.shadow.tag-highway-footway.tag-bridge,
1500 path.shadow.tag-highway-cycleway.tag-bridge,
1501 path.shadow.tag-highway-bridleway.tag-bridge {
1504 .low-zoom path.casing.tag-bridge {
1507 .low-zoom path.shadow.tag-bridge {
1511 .low-zoom path.casing.line.tag-railway.tag-bridge,
1512 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1513 .low-zoom path.casing.tag-highway-path.tag-bridge,
1514 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1515 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1516 .low-zoom path.casing.tag-highway-service.tag-bridge,
1517 .low-zoom path.casing.tag-highway-track.tag-bridge,
1518 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1519 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1520 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1521 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1525 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1526 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1527 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1528 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1529 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1530 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1531 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1532 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1533 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1534 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1535 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1541 path.stroke.tag-tunnel {
1542 stroke-opacity: 0.3;
1544 path.casing.tag-tunnel {
1545 stroke-opacity: 0.5;
1546 stroke-linecap: butt;
1547 stroke-dasharray: none;
1551 /* embankments / cuttings */
1552 path.casing.tag-embankment,
1553 path.casing.tag-cutting {
1554 stroke-opacity: 0.5;
1557 stroke-dasharray: 2, 4;
1558 stroke-linecap: butt;
1561 path.shadow.tag-embankment,
1562 path.shadow.tag-cutting {
1566 .low-zoom path.casing.tag-embankment,
1567 .low-zoom path.casing.tag-cutting {
1571 .low-zoom path.shadow.tag-embankment,
1572 .low-zoom path.shadow.tag-cutting {
1577 /* Surface - unpaved */
1578 path.casing.tag-unpaved {
1580 stroke-linecap: butt;
1581 stroke-dasharray: 4, 3;
1583 .low-zoom path.casing.tag-unpaved {
1584 stroke-dasharray: 3, 2;
1586 path.casing.tag-bridge.tag-unpaved {
1588 stroke-dasharray: 4, 3;
1590 .low-zoom path.casing.tag-bridge.tag-unpaved {
1592 stroke-dasharray: 3, 2;
1596 /* Status (e.g. construction, proposed, abandoned) */
1597 path.stroke.tag-status,
1598 path.casing.tag-status {
1599 stroke-linecap: butt;
1600 stroke-dasharray: 7, 3;
1602 .low-zoom path.stroke.tag-status,
1603 .low-zoom path.casing.tag-status {
1604 stroke-dasharray: 5, 2;
1609 path.stroke.tag-building,
1610 path.stroke.tag-amenity-shelter {
1611 stroke: rgb(224, 110, 95);
1613 path.fill.tag-building,
1614 path.fill.tag-amenity-shelter {
1615 stroke: rgba(224, 110, 95, 0.3);
1616 fill: rgba(224, 110, 95, 0.3);
1618 .preset-icon-fill-area.tag-building,
1619 .preset-icon-fill-area.tag-amenity-shelter {
1620 border-color: rgb(224, 110, 95);
1621 background-color: rgba(224, 110, 95, 0.3);
1627 cursor: auto; /* Opera */
1628 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1631 .mode-browse .point,
1632 .mode-select .point {
1633 cursor: pointer; /* Opera */
1634 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1637 .mode-select .vertex,
1638 .mode-browse .vertex {
1639 cursor: pointer; /* Opera */
1640 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1644 .mode-select .line {
1645 cursor: pointer; /* Opera */
1646 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1650 .mode-browse .area {
1651 cursor: pointer; /* Opera */
1652 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1655 .mode-select .midpoint,
1656 .mode-browse .midpoint {
1657 cursor: pointer; /* Opera */
1658 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1661 .mode-select .behavior-multiselect .point,
1662 .mode-select .behavior-multiselect .vertex,
1663 .mode-select .behavior-multiselect .line,
1664 .mode-select .behavior-multiselect .area {
1665 cursor: pointer; /* Opera */
1666 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1669 .mode-select .behavior-multiselect .selected {
1670 cursor: pointer; /* Opera */
1671 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1675 #map .vertex:active,
1678 #map .midpoint:active,
1679 #map .mode-select .selected {
1680 cursor: pointer; /* Opera */
1681 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1684 .mode-draw-line #map,
1685 .mode-draw-area #map,
1686 .mode-add-line #map,
1687 .mode-add-area #map,
1688 .mode-drag-node #map {
1689 cursor: crosshair; /* Opera */
1690 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1693 .mode-draw-line .way.hover,
1694 .mode-draw-area .way.hover,
1695 .mode-add-line .way.hover,
1696 .mode-add-area .way.hover,
1697 .mode-drag-node .way.hover {
1698 cursor: crosshair; /* Opera */
1699 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1702 .mode-draw-line .vertex.hover,
1703 .mode-draw-area .vertex.hover,
1704 .mode-add-line .vertex.hover,
1705 .mode-add-area .vertex.hover,
1706 .mode-drag-node .vertex.hover {
1707 cursor: crosshair; /* Opera */
1708 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1711 .mode-add-point #map,
1712 .mode-browse.lasso #map,
1713 .mode-browse.lasso .way,
1714 .mode-browse.lasso .vertex,
1715 .mode-browse.lasso .midpoint,
1716 .mode-select.lasso #map,
1717 .mode-select.lasso .way,
1718 .mode-select.lasso .vertex,
1719 .mode-select.lasso .midpoint {
1720 cursor: crosshair; /* Opera */
1721 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1726 cursor: pointer; /* Opera */
1727 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1729 /* Mapillary Image Layer */
1731 .layer-mapillary-images {
1732 pointer-events: none;
1735 .layer-mapillary-images .viewfield-group {
1736 pointer-events: visible;
1737 cursor: pointer; /* Opera */
1738 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1741 .layer-mapillary-images .viewfield-group * {
1748 .layer-mapillary-images .viewfield-group:hover * {
1755 .layer-mapillary-images .viewfield-group.selected * {
1762 .layer-mapillary-images .viewfield-group:hover path.viewfield,
1763 .layer-mapillary-images .viewfield-group.selected path.viewfield,
1764 .layer-mapillary-images .viewfield-group path.viewfield {
1769 /* Mapillary Sign Layer */
1771 .layer-mapillary-signs {
1772 pointer-events: none;
1775 .layer-mapillary-signs .icon-sign .icon-sign-body {
1779 border: 2px solid transparent;
1780 pointer-events: visible;
1781 cursor: pointer; /* Opera */
1782 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1787 .layer-mapillary-signs .icon-sign:hover .icon-sign-body {
1788 border: 2px solid rgba(255,198,0,0.8);
1792 .layer-mapillary-signs .icon-sign.selected .icon-sign-body {
1793 border: 2px solid rgba(255,0,0,0.8);
1797 .layer-mapillary-signs .icon-sign .t {
1802 .layer-mapillary-signs .icon-sign:hover .t,
1803 .layer-mapillary-signs .icon-sign.selected .t {
1808 .low-zoom.fill-wireframe path.stroke,
1809 .fill-wireframe path.stroke {
1810 stroke-width: 1 !important;
1811 stroke-opacity: 0.5 !important;
1812 stroke-dasharray: none !important;
1813 fill: none !important;
1816 .low-zoom.fill-wireframe path.shadow,
1817 .fill-wireframe path.shadow {
1818 stroke-width: 8 !important;
1821 .fill-wireframe path.shadow.related:not(.selected),
1822 .fill-wireframe path.shadow.hover:not(.selected) {
1823 stroke-opacity: 0.4 !important;
1825 .fill-wireframe path.shadow.selected {
1826 stroke-opacity: 0.6 !important;
1829 .fill-wireframe .point,
1830 .fill-wireframe .areaicon,
1831 .fill-wireframe .areaicon-halo,
1832 .fill-wireframe path.casing,
1833 .fill-wireframe path.fill,
1834 .fill-wireframe path.oneway {
1835 display: none !important;
1838 .fill-partial path.area.fill {
1841 pointer-events: visibleStroke;
1846 .mode-draw-line .vertex.active,
1847 .mode-draw-area .vertex.active,
1848 .mode-drag-node .vertex.active {
1852 .mode-draw-line .way.active,
1853 .mode-draw-area .way.active,
1854 .mode-drag-node .active {
1855 pointer-events: none;
1858 /* Ensure drawing doesn't interact with area fills. */
1859 .mode-add-point path.area.fill,
1860 .mode-draw-line path.area.fill,
1861 .mode-draw-area path.area.fill,
1862 .mode-add-line path.area.fill,
1863 .mode-add-area path.area.fill,
1864 .mode-drag-node path.area.fill {
1865 pointer-events: none;
1868 ------------------------------------------------------- */
1871 Opera misbehaves when the window is resized vertically unless 100% width + height are
1872 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1880 font: normal 12px/1.6667 -apple-system, BlinkMacSystemFont,
1881 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
1882 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
1893 vertical-align: middle;
1911 -webkit-filter: none !important;
1912 filter: none !important;
1913 -webkit-duration: 200ms;
1914 transition-duration: 200ms;
1918 -webkit-filter: grayscale(80%) brightness(80%);
1919 filter: grayscale(80%) brightness(80%);
1920 -webkit-duration: 200ms;
1921 transition-duration: 200ms;
1925 /* Can't be display: none or the clippaths are ignored. */
1954 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1955 -moz-box-sizing: border-box;
1956 -webkit-box-sizing: border-box;
1957 box-sizing: border-box;
1960 a, button, input, textarea {
1961 -webkit-tap-highlight-color:rgba(0,0,0,0);
1962 -webkit-touch-callout:none;
1967 .checkselect label:hover,
1968 .opacity-options li,
1970 cursor: pointer; /* Opera */
1971 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1978 margin-bottom: 20px;
1983 h4:last-child { margin-bottom: 0;}
1989 margin-bottom: 10px;
1995 padding-bottom: 10px;
1999 outline-color: transparent;
2000 outline-style: none;
2030 ------------------------------------------------------- */
2034 font:normal 12px/20px -apple-system, BlinkMacSystemFont,
2035 "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
2036 "Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
2047 background-color: white;
2049 border:1px solid #ccc;
2054 text-overflow: ellipsis;
2059 background-color: #F1F1F1;
2062 input[type="checkbox"],
2063 input[type="radio"] {
2071 /* remove bottom border radius when combobox is open */
2072 .combobox + * textarea:focus,
2073 .combobox + * input:focus {
2074 border-bottom-left-radius: 0 !important;
2075 border-bottom-right-radius: 0 !important;
2081 background-color: white;
2082 border-collapse: collapse;
2091 table.tags, table.tags td, table.tags th {
2092 border: 1px solid #CCC;
2101 ------------------------------------------------------- */
2103 .col0 { float:left; width:04.1666%; }
2104 .col1 { float:left; width:08.3333%; }
2105 .col2 { float:left; width:16.6666%; }
2106 .col3 { float:left; width:25.0000%; max-width: 300px; }
2107 .col4 { float:left; width:33.3333%; max-width: 400px; }
2108 .col5 { float:left; width:41.6666%; max-width: 500px; }
2109 .col6 { float:left; width:50.0000%; max-width: 600px; }
2110 .col7 { float:left; width:58.3333%; }
2111 .col8 { float:left; width:66.6666%; }
2112 .col9 { float:left; width:75.0000%; }
2113 .col10 { float:left; width:83.3333%; }
2114 .col11 { float:left; width:91.6666%; }
2115 .col12 { float:left; width:100.0000%; }
2118 ------------------------------------------------------- */
2120 ul li { list-style: none;}
2122 .toggle-list > label {
2127 background-color: white;
2132 .toggle-list > label:hover {
2133 background-color: #ececec;
2136 .toggle-list > label:not(:last-child) {
2137 border-bottom: 1px solid #ccc;
2140 .toggle-list > label:last-child {
2141 border-radius: 0 0 3px 3px;
2144 .toggle-list label > span {
2147 white-space: nowrap;
2148 text-overflow: ellipsis;
2151 .toggle-list > label.active {
2152 background: #E8EBFF;
2157 ------------------------------------------------------- */
2164 background: #f6f6f6;
2169 background: #ececec;
2174 background:rgba(0,0,0,.5);
2179 background:rgba(0,0,0,.75);
2184 .fr { float: right;}
2202 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2206 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2207 background-size:5px 5px;
2243 display: inline-block;
2250 background-color: #ececec;
2255 background-color: rgba(255,255,255,.25);
2256 color: rgba(0,0,0,.4);
2261 background: #7092ff;
2271 background-color: #fafafa;
2274 button.minor .icon {
2278 button.minor:hover {
2279 background-color: #f1f1f1;
2283 display: inline-block;
2288 .button-wrap button:only-child {
2292 .button-wrap:last-of-type {
2298 border-right: 1px solid rgba(0,0,0,.5);
2301 .fillL .joined button {
2302 border-right: 1px solid white;
2305 .joined button:first-child {
2306 border-radius:4px 0 0 4px;
2309 .joined button:last-child {
2310 border-right-width: 0;
2311 border-radius:0 4px 4px 0;
2315 background: #7092ff;
2319 button[disabled].action,
2320 button[disabled].action:hover {
2321 background: #cccccc;
2325 button.action:focus,
2326 button.action:hover {
2327 background: #597BE7;
2330 button.secondary-action {
2331 background: #ececec;
2334 button.secondary-action:focus,
2335 button.secondary-action:hover {
2336 background: #cccccc;
2339 button.save .count {
2343 button.save.has-count .count {
2356 margin-left: 9.3333%;
2359 button.save.has-count .count::before {
2368 border-top: 6px solid transparent;
2369 border-bottom: 6px solid transparent;
2370 border-right-width: 6px;
2371 border-right-style: solid;
2372 border-right-color: inherit;
2378 vertical-align: top;
2384 vertical-align: text-top;
2419 /* ToolBar / Persistent UI Elements
2420 ------------------------------------------------------- */
2433 /* Header for modals / panes
2434 ------------------------------------------------------- */
2437 border-bottom: 1px solid #ccc;
2445 white-space: nowrap;
2446 text-overflow: ellipsis;
2448 padding: 20px 20px 20px 40px;
2464 .entity-editor-pane .header button.preset-close,
2465 .preset-list-pane .header button.preset-choose {
2471 .entity-editor-pane .header button.preset-choose {
2494 padding: 5px 20px 5px 20px;
2495 border-top: 1px solid #ccc;
2496 background-color: #fafafa;
2500 .sidebar-component .body {
2509 ------------------------------------------------------- */
2517 background: #f6f6f6;
2520 .sidebar-component {
2549 .feature-list-pane .inspector-body {
2553 .preset-list-pane .inspector-body {
2557 .entity-editor-pane .inspector-body {
2561 .selection-list-pane .inspector-body {
2570 #sidebar .search-header .icon {
2575 pointer-events: none;
2578 #sidebar .search-header input {
2586 border-bottom-width: 1px;
2600 .feature-list-item {
2603 border-bottom: 1px solid #ccc;
2607 .feature-list-item {
2608 background-color: white;
2614 .feature-list-item:hover {
2615 background-color: #ececec;
2618 .feature-list-item button {
2619 background: transparent;
2622 .feature-list-item .label {
2625 white-space: nowrap;
2626 text-overflow: ellipsis;
2628 border-left: 1px solid rgba(0, 0, 0, .1);
2631 .feature-list-item .label .icon {
2635 .feature-list-item .close {
2640 .feature-list-item .close .icon {
2644 .feature-list-item .entity-type {
2648 .feature-list-item:hover .entity-type {
2652 .feature-list-item .entity-name {
2653 font-weight: normal;
2659 ------------------------------------------------------- */
2665 padding: 20px 20px 10px 20px;
2666 border-bottom: 1px solid #ccc;
2669 .preset-list-button-wrap {
2671 margin-bottom: 10px;
2675 .preset-list-button {
2679 border: 1px solid #ccc;
2682 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2683 background: #ececec;
2686 .preset-icon-fill-area {
2696 .preset-icon-frame {
2705 .preset-icon-frame .icon {
2717 .preset-icon-60 .icon {
2729 .preset-icon-44 .icon {
2741 .preset-icon-28 .icon {
2753 .preset-icon-24 .icon {
2758 .preset-list-button .label {
2759 background-color: #f6f6f6;
2768 white-space: nowrap;
2769 text-overflow: ellipsis;
2771 border-left: 1px solid rgba(0, 0, 0, .1);
2772 border-radius: 0 3px 3px 0;
2775 .preset-list-button:hover .label {
2776 background-color: #ececec;
2779 .preset-list-item button.tag-reference-button {
2781 border: 1px solid #CCC;
2782 border-radius: 0 3px 3px 0;
2787 background: #fafafa;
2790 .preset-list-item button.tag-reference-button:hover {
2791 background: #f1f1f1;
2794 .preset-list-item button.tag-reference-button .icon {
2798 .current .preset-list-button,
2799 .current .preset-list-button .label {
2800 background-color: #E8EBFF;
2803 .category .preset-list-button:after,
2804 .category .preset-list-button:before {
2808 left: -1px; right: -1px;
2809 border: 1px solid #ccc;
2810 border-bottom: none;
2811 border-radius: 6px 6px 0 0;
2815 .category .preset-list-button:before {
2819 .subgrid .preset-list {
2820 padding: 10px 10px 0 10px;
2824 width: -webkit-calc(100% + 20px);
2829 border: solid rgba(0, 0, 0, 0);
2831 border-bottom-color: #f1f1f1;
2835 margin-left: -webkit-calc(50% - 10px);
2840 /* preset form basics */
2844 padding-bottom: 10px;
2847 .inspector-preset a.hide-toggle {
2848 margin: 0 20px 10px 20px;
2851 .inspector-preset .preset-form {
2853 margin: 0 10px 10px 10px;
2857 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2862 margin-bottom: 10px;
2864 -webkit-transition: margin-bottom 200ms;
2865 -moz-transition: margin-bottom 200ms;
2866 -o-transition: margin-bottom 200ms;
2867 transition: margin-bottom 200ms;
2870 .form-field:last-child {
2877 border: 1px solid #cfcfcf;
2878 padding: 5px 0 5px 10px;
2879 background: #f6f6f6;
2881 border-radius: 4px 4px 0 0;
2885 .form-label-button-wrap {
2891 background: transparent;
2895 .form-label-button-wrap .tag-reference-button {
2896 border-radius: 0 3px 0 0;
2899 .form-label-button-wrap .icon {
2903 .form-label button {
2904 border-left: 1px solid #ccc;
2908 background: #f6f6f6;
2910 .form-label button:hover {
2911 background: #f1f1f1;
2914 .form-label .modified-icon,
2915 .form-field .remove-icon {
2919 .modified .form-label .modified-icon,
2920 .present .form-label .remove-icon {
2921 display: inline-block;
2924 .form-field > input,
2925 .form-field > textarea,
2926 .form-field .preset-input-wrap {
2927 border: 1px solid #ccc;
2930 border-radius: 0 0 4px 4px;
2934 .form-field textarea {
2939 border-bottom: 1px solid #ccc
2942 /* Preset form (hover mode) */
2944 .inspector-hover .checkselect label:last-of-type,
2945 .inspector-hover .preset-input-wrap .label,
2946 .inspector-hover .form-field-multicombo,
2947 .inspector-hover input,
2948 .inspector-hover label {
2949 background: #ececec;
2953 .inspector-hover .form-field-multicombo .chips,
2954 .inspector-hover .checkselect label:last-of-type {
2958 .inspector-hover .form-field-multicombo .chips {
2960 border: 1px solid #ccc;
2963 /* hide and remove from layout */
2965 .inspector-hover label input[type="checkbox"],
2966 .inspector-hover label input[type="radio"],
2967 .inspector-hover .toggle-list label,
2968 .inspector-hover .toggle-list label span,
2969 .inspector-hover .inspector-inner .add-tag,
2970 .inspector-hover .inspector-inner .add-relation,
2971 .inspector-hover .form-field-multicombo .combobox-input,
2972 .inspector-hover .toggle-list label.remove .icon {
2976 opacity: 0 !important;
2982 /* hide but preserve in layout */
2983 .inspector-hover .entity-editor-pane button.minor,
2984 .inspector-hover .combobox-caret,
2985 .inspector-hover .entity-editor-pane .header button,
2986 .inspector-hover .spin-control,
2987 .inspector-hover .form-field-multicombo .chips .remove,
2988 .inspector-hover .hide-toggle:before,
2989 .inspector-hover .more-fields,
2990 .inspector-hover .form-label-button-wrap,
2991 .inspector-hover .tag-reference-button,
2992 .inspector-hover .view-on-osm {
2996 /* Styles for raw tag inspector on hover */
2997 .inspector-hover .tag-row .key-wrap,
2998 .inspector-hover .tag-row .form-field.input-wrap-position {
3002 .inspector-hover .tag-row:first-child input.value {
3003 border-top-right-radius: 4px;
3006 .inspector-hover .tag-row:last-child input.value {
3007 border-bottom-right-radius: 4px;
3010 .inspector-hover .tag-row:last-child input.key {
3011 border-bottom-left-radius: 4px;
3014 .inspector-hover .more-fields {
3016 margin-bottom: -10px;
3019 /* Unstyle button fields */
3020 .inspector-hover .toggle-list label.active,
3021 .inspector-hover .entity-editor-pane a.hide-toggle {
3023 background-color: transparent;
3029 .inspector-hover .toggle-list button.active {
3033 /* Add placeholder only on hover for radio buttons */
3034 .inspector-hover .toggle-list .placeholder {
3042 /* Hide placeholder for radio buttons if another is active, or not in hover state */
3043 .toggle-list label.active ~ .placeholder,
3044 .toggle-list .placeholder {
3053 /* adding additional preset fields */
3056 padding: 0 20px 20px 20px;
3060 .more-fields input {
3065 /* preset form access */
3067 .preset-input-wrap .label {
3069 background: #F6F6F6;
3073 .form-field-access .preset-input-wrap li {
3074 border-bottom: 1px solid #CCC;
3076 .form-field-access .preset-input-wrap li:last-child {
3080 .preset-input-access-wrap input {
3083 border-left-width: 1px;
3086 .preset-input-wrap li:last-child input {
3087 border-bottom-right-radius: 4px;
3090 /* preset form multicombo */
3092 .form-field-multicombo {
3093 border: 1px solid #cfcfcf;
3095 padding: 5px 0 5px 10px;
3098 border-radius: 0 0 4px 4px;
3102 .form-field-multicombo:focus {
3106 .form-field-multicombo.active {
3107 border-bottom-left-radius: 0px;
3108 border-bottom-right-radius: 0px;
3111 .form-field-multicombo li {
3112 background-color: #eff2f7;
3113 border: 1px solid #ccd5e3;
3116 display: inline-block;
3122 .form-field-multicombo a {
3123 font-family: Arial, Helvetica, sans-serif !important;
3124 font-size: 16px !important;
3127 margin: 1px 0 0 5px;
3133 .form-field-multicombo input {
3134 border: 1px solid #ddd;
3139 .form-field-multicombo .combobox-caret {
3140 margin: 3px 3px 3px -30px;
3143 .form-field-multicombo input:focus {
3144 border-radius: 4px !important;
3147 /* preset form cycleway */
3149 .form-field-cycleway .preset-input-wrap li {
3150 border-bottom: 1px solid #CCC;
3152 .form-field-cycleway .preset-input-wrap li:last-child {
3156 .preset-input-cycleway-wrap input {
3159 border-left-width: 1px;
3162 /* preset form numbers */
3164 input[type=number] {
3172 display: inline-block;
3174 margin-bottom: -11px;
3178 .spin-control button {
3184 border-left: 1px solid #CCC;
3186 background: rgba(0, 0, 0, 0);
3189 .spin-control button.decrement {
3190 border-bottom-right-radius: 3px;
3193 .spin-control button.decrement::after,
3194 .spin-control button.increment::after {
3196 height: 0; width: 0;
3198 left: 0; right: 0; bottom: 0; top: 0;
3202 .spin-control button.decrement::after {
3203 border-top: 5px solid #CCC;
3204 border-left: 5px solid transparent;
3205 border-right: 5px solid transparent;
3208 .spin-control button.increment::after {
3209 border-bottom: 5px solid #CCC;
3210 border-left: 5px solid transparent;
3211 border-right: 5px solid transparent;
3214 /* preset form checkbox */
3216 .checkselect label:last-of-type {
3223 .checkselect label:hover {
3224 background: #f1f1f1;
3231 .checkselect label:not(.set) input[type="checkbox"] {
3235 /* Preset form radio button */
3237 .toggle-list button.remove {
3238 border-radius: 0 0 3px 3px;
3241 .toggle-list button.remove .icon {
3246 .toggle-list button.remove::before {
3250 .form-field .wiki-lang {
3254 .form-field .wiki-title {
3258 .form-field .wiki-title ~ .combobox-caret {
3263 .form-field .wiki-link {
3265 background: #fafafa;
3270 .form-field .wiki-link:hover {
3271 background: #f1f1f1;
3274 #preset-input-maxspeed {
3276 border-radius: 0 0 0 4px;
3280 .form-field .maxspeed-unit {
3281 border-radius: 0 0 4px 0;
3285 /* Name + translate form */
3287 .form-field .localized-main {
3291 .form-field .button-input-action {
3296 border: 1px solid #CCC;
3297 border-top-width: 0;
3298 border-right-width: 0;
3299 border-radius: 0 0 4px 0;
3301 vertical-align: top;
3304 .form-field .localized-wrap {
3308 .form-field .localized-wrap .entry {
3313 .form-field .localized-wrap .entry::before {
3326 .form-field .localized-wrap .entry .localized-lang {
3328 border-top-width: 0;
3331 .form-field .localized-wrap .entry .localized-value {
3332 border-top-width: 0;
3333 border-radius: 0 0 4px 4px;
3336 .form-field .localized-wrap .form-label button {
3337 border-top-right-radius: 3px;
3340 /* Preset form address */
3347 .addr-row:first-of-type input {
3351 .addr-row input:first-of-type {
3359 .addr-row:last-of-type input:first-of-type {
3360 border-radius: 0 0 0 4px;
3363 .addr-row:last-of-type input:last-of-type {
3364 border-radius: 0 0 4px 0;
3367 /* Restrictions editor */
3369 .form-field-restrictions .preset-input-wrap {
3374 .form-field-restrictions svg {
3379 .form-field-restrictions .restriction-help {
3386 background-color: rgba(255, 255, 255, .8);
3391 /* combobox dropdown */
3396 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3402 border: 1px solid #ccc;
3403 border-radius: 0 0 4px 4px;
3409 border-top:1px solid #ccc;
3410 text-overflow: ellipsis;
3411 white-space: nowrap;
3415 .combobox a.selected,
3417 background: #ececec;
3420 .combobox a:first-child {
3425 display: inline-block;
3430 vertical-align: top;
3433 .combobox-caret::after {
3435 height: 0; width: 0;
3437 left: 0; right: 0; bottom: 0; top: 0;
3439 border-top: 5px solid #ccc;
3440 border-left: 5px solid transparent;
3441 border-right: 5px solid transparent;
3444 /* Raw Tag Editor */
3460 border-bottom: 1px solid #CCC;
3461 border-left: 1px solid #CCC;
3465 .tag-row .input-wrap-position {
3471 .tag-row input.key {
3473 background-color: #f6f6f6;
3476 .tag-row input.value {
3477 border-right: 1px solid #CCC;
3480 .tag-row:first-child input.key {
3481 border-top: 1px solid #CCC;
3482 border-top-left-radius: 4px;
3485 .tag-row:first-child input.value {
3486 border-top: 1px solid #CCC;
3493 border: 1px solid #CCC;
3494 border-top-width: 0;
3495 border-left-width: 0;
3498 .tag-row button:hover {
3499 background: #f1f1f1;
3502 .tag-row button .icon {
3506 .tag-row:first-child button {
3507 border-top-width: 1px;
3510 .tag-row:first-child .tag-reference-button {
3511 border-top-right-radius: 4px;
3514 .tag-row:last-child .tag-reference-button {
3515 border-bottom-right-radius: 4px;
3518 .tag-row .tag-reference-button {
3523 background: #fafafa;
3526 /* Adding form fields to tag editor */
3528 .inspector-inner .add-tag {
3532 background: rgba(0,0,0,.5);
3533 border-radius: 0 0 4px 4px;
3536 .inspector-inner .add-tag:hover {
3537 background: rgba(0,0,0,.8);
3540 .inspector-inner .add-tag .label {
3546 button.minor.tag-reference-loading {
3547 background-color: #f5f5f5;
3550 .tag-reference-loading .icon {
3551 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3552 background-position: 0 0;
3555 .tag-reference-body {
3560 .tag-reference-body p,
3561 .tag-reference-body img {
3565 .tag-reference-body p:last-child {
3566 padding-bottom: 10px;
3569 .tag-reference-body a {
3571 padding-bottom: 10px;
3574 .preset-list .tag-reference-body {
3579 .preset-list .tag-reference-body a {
3580 padding-bottom: 20px;
3583 .preset-list .tag-reference-body p,
3584 .preset-list .tag-reference-body img {
3588 .raw-tag-editor .tag-reference-body {
3589 border-bottom: 1px solid #ccc;
3594 .raw-tag-editor .tag-reference-body p:last-child {
3595 padding-bottom: 20px;
3598 .raw-tag-editor .tag-reference-body a {
3599 padding-bottom: 20px;
3605 width: -webkit-calc(33.3333% - 10px);
3606 width: calc(33.3333% - 10px);
3611 margin-bottom: 20px;
3614 /* Raw relation membership editor */
3616 .raw-member-editor .member-list li:first-child,
3617 .raw-membership-editor .member-list li:first-child {
3621 .raw-member-editor .member-row,
3622 .raw-membership-editor .member-row {
3626 .raw-member-editor .member-row .member-entity-name,
3627 .raw-membership-editor .member-row .member-entity-name {
3628 font-weight: normal;
3632 .member-incomplete .member-delete {
3636 .member-row-new .member-entity-input {
3637 border-radius: 4px 4px 0 0;
3638 border: 1px solid #cfcfcf;
3644 background: rgba(0,0,0,.5);
3649 .add-relation:hover {
3650 background: rgba(0,0,0,.8);
3653 /* Fullscreen button */
3660 div.full-screen .tooltip {
3664 div.full-screen > button, div.full-screen > button.active {
3667 background: transparent;
3670 div.full-screen > button:hover {
3671 background-color: rgba(0, 0, 0, .8);
3684 .map-control > button {
3686 background: rgba(0,0,0,.5);
3690 .map-control > button:hover {
3691 background: rgba(0, 0, 0, .8);
3694 .map-control > button.active,
3695 .map-control > button.active:hover {
3696 background: #7092ff;
3701 .zoombuttons button.zoom-in {
3702 border-radius: 4px 0 0 0;
3705 /* Background / Map Data Settings */
3707 .map-data-control button {
3711 .background-control button {
3712 border-radius: 4px 0 0 0;
3716 .background-control {
3721 margin-bottom: 10px;
3724 .map-data-control .hide-toggle,
3725 .background-control .hide-toggle {
3726 padding-bottom: 10px;
3729 .layer-list, .controls-list {
3730 margin-bottom: 10px;
3731 border: 1px solid #CCC;
3738 background-color: white;
3746 .layer-list > li:first-child {
3747 border-radius: 3px 3px 0 0;
3750 .layer-list > li:last-child {
3751 border-radius: 0 0 3px 3px;
3754 .layer-list > li:only-child {
3758 .layer-list li:not(:last-child) {
3759 border-bottom: 1px solid #ccc;
3762 .layer-list li:hover {
3763 background-color: #ececec;
3766 .layer-list li.active,
3767 .layer-list li.switch {
3768 background: #E8EBFF;
3771 .layer-list li.best > div.best {
3772 display: inline-block;
3777 /* make sure tooltip fits in map-control panel */
3778 /* if too wide, placement will be wrong the first time it displays */
3779 .layer-list li.best .tooltip-inner {
3789 .layer-list label > span {
3792 white-space: nowrap;
3793 text-overflow: ellipsis;
3804 .minimap-toggle.active {
3805 background: #E8EBFF;
3808 .minimap-toggle:hover {
3809 background-color: #ececec;
3818 .hide-toggle:before {
3826 border-top: 4px solid transparent;
3827 border-bottom: 4px solid transparent;
3828 border-left: 8px solid #7092ff;
3831 .hide-toggle.expanded:before {
3832 border-top: 8px solid #7092ff;
3834 border-right: 4px solid transparent;
3835 border-left: 4px solid transparent;
3838 /* Adjust Alignment controls */
3840 .background-control .nudge-container {
3841 border: 1px solid #ccc;
3846 .nudge-container .nudge-instructions {
3847 padding-bottom: 15px;
3850 .nudge-container .nudge-outer-rect {
3851 background-color: #eee;
3852 border: 1px solid #ccc;
3857 justify-content: center;
3858 align-items: center;
3864 .nudge-container .nudge-inner-rect {
3865 background-color: #fff;
3866 border: 1px solid #ccc;
3872 .nudge-container .nudge::after {
3877 left: 0; right: 0; top: 0; bottom: 0;
3882 .nudge-container input {
3889 .nudge-container input.error {
3890 border: 1px solid #FF7878;
3895 .nudge-container input:focus {
3896 background-color: transparent;
3899 .nudge-container button {
3904 background-color: transparent;
3907 .nudge-container button.right {
3912 .nudge-container button.left {
3917 .nudge-container button.top {
3922 .nudge-container button.bottom {
3926 .nudge-container button.nudge-reset {
3937 background-color: transparent;
3941 .background-control .nudge.right::after {
3942 border-top: 5px solid transparent;
3943 border-bottom: 5px solid transparent;
3944 border-left: 5px solid #222;
3947 .background-control .nudge.left::after {
3948 border-top: 5px solid transparent;
3949 border-bottom: 5px solid transparent;
3950 border-right: 5px solid #222;
3953 .background-control .nudge.top::after {
3954 border-right: 5px solid transparent;
3955 border-left: 5px solid transparent;
3956 border-bottom: 5px solid #222;
3959 .background-control .nudge.bottom::after {
3960 border-right: 5px solid transparent;
3961 border-left: 5px solid transparent;
3962 border-top: 5px solid #222;
3966 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3972 border: 1px solid #ccc;
3975 .opacity-options li {
3981 .opacity-options li .select-box{
3988 .map-data-control li:hover .select-box,
3989 .map-data-control li.selected .select-box,
3990 .background-control li:hover .select-box,
3991 .background-control li.selected .select-box {
3992 border: 2px solid #7092ff;
3993 background: rgba(89, 123, 231, .5);
3997 .map-data-control li.selected:hover .select-box,
3998 .map-data-control li.selected .select-box,
3999 .background-control li.selected:hover .select-box,
4000 .background-control li.selected .select-box {
4004 .background-control .opacity {
4006 display:inline-block;
4011 .map-data-control .layer-list button,
4012 .background-control .layer-list button {
4016 border-left: 1px solid #CCC;
4020 .map-data-control .layer-list button .icon,
4021 .background-control .layer-list button .icon {
4025 .map-data-control .layer-list button:first-of-type,
4026 .background-control .layer-list button:first-of-type {
4027 border-radius: 0 3px 3px 0;
4030 .map-data-control .map-overlay,
4031 .background-control .map-overlay,
4032 .help-control .map-overlay {
4039 .geolocate-control {
4040 margin-bottom: 10px;
4043 .geolocate-control button {
4044 border-radius: 0 0 0 4px;
4047 .map-overlay.content {
4051 padding: 20px 50px 20px 20px;
4058 .help-control button {
4059 border-radius: 0 0 0 4px;
4064 margin-bottom: 20px;
4067 .help-wrap .left-content .body p code {
4073 /* This is two columns, 41.66666 x .4 = 16.6666 */
4077 margin-bottom: 20px;
4081 .help-wrap .toc li a,
4084 border: 1px solid #CCC;
4088 .help-wrap .toc li a {
4092 .help-wrap .toc li a:hover,
4093 .help-wrap .nav a:hover {
4094 background: #ececec;
4097 .help-wrap .toc li a.selected {
4098 background: #E8EBFF;
4101 .help-wrap .toc li:first-child a {
4102 border-radius: 4px 4px 0 0;
4105 .help-wrap .toc li:nth-last-child(2) a {
4106 border-bottom: 1px solid #CCC;
4107 border-radius: 0 0 4px 4px
4110 .help-wrap .toc li.walkthrough a {
4113 border-bottom: 1px solid #ccc;
4127 .help-wrap .nav a:first-child {
4128 border-radius: 4px 0 0 4px;
4131 .help-wrap .nav a:last-child:not(:only-child) {
4132 border-radius: 0 4px 4px 0;
4136 .help-wrap .nav a:only-child {
4143 ------------------------------------------------------- */
4147 transform-origin:0 0;
4148 -ms-transform-origin:0 0;
4149 -webkit-transform-origin:0 0;
4150 -moz-transform-origin:0 0;
4151 -o-transform-origin:0 0;
4153 -moz-user-select: none;
4154 -webkit-user-select: none;
4155 -ms-user-select: none;
4160 -webkit-transition: opacity 200ms linear;
4161 transition: opacity 200ms linear;
4162 -moz-transition: opacity 200ms linear;
4166 background: rgba(0, 0, 0, 0.7);
4174 transform-origin:0 0;
4175 -ms-transform-origin:0 0;
4176 -webkit-transform-origin:0 0;
4177 -moz-transform-origin:0 0;
4178 -o-transform-origin:0 0;
4180 -moz-user-select: none;
4181 -webkit-user-select: none;
4182 -ms-user-select: none;
4187 border: 1px solid red;
4200 ------------------------------------------------------- */
4210 transform-origin:0 0;
4211 -ms-transform-origin:0 0;
4212 -webkit-transform-origin:0 0;
4213 -moz-transform-origin:0 0;
4214 -o-transform-origin:0 0;
4216 -moz-user-select: none;
4217 -webkit-user-select: none;
4218 -ms-user-select: none;
4222 #supersurface, .layer {
4231 ------------------------------------------------------- */
4240 border: #aaa 1px solid;
4241 box-shadow: 0 0 2em black;
4245 transform-origin:0 0;
4246 -ms-transform-origin:0 0;
4247 -webkit-transform-origin:0 0;
4248 -moz-transform-origin:0 0;
4249 -o-transform-origin:0 0;
4251 -moz-user-select: none;
4252 -webkit-user-select: none;
4253 -ms-user-select: none;
4257 .map-in-map-viewport,
4266 .map-in-map-viewport {
4277 stroke: rgba(255, 255, 0, 0.75);
4279 shape-rendering: crispEdges;
4282 .map-in-map-bbox.thick {
4288 ------------------------------------------------------- */
4290 stroke: currentColor;
4294 .map-in-map-data .debug {
4298 .red { color: rgba(255, 0, 0, 0.75); }
4299 .green { color: rgba(0, 255, 0, 0.75); }
4300 .blue { color: rgba(0, 0, 255, 0.75); }
4301 .yellow { color: rgba(255, 255, 0, 0.75); }
4302 .cyan { color: rgba(0, 255, 255, 0.75); }
4303 .magenta { color: rgba(255, 0, 255, 0.75); }
4304 .orange { color: rgba(255, 153, 0, 0.75); }
4305 .pink { color: rgba(255, 0, 153, 0.75); }
4306 .purple { color: rgba(153, 0, 255, 0.75); }
4314 pointer-events: none;
4317 .debug-legend-item {
4320 .debug-legend-item:before {
4326 ------------------------------------------------------- */
4333 border-radius: 4px 0 0 0;
4334 border-bottom: 1px solid black;
4337 .infobox .infobox-heading {
4339 border-radius: 4px 0 0 0;
4350 background: #7092ff;
4359 ------------------------------------------------------- */
4367 pointer-events: none;
4378 #attrib * { pointer-events: all; }
4380 .base-layer-attribution,
4381 .overlay-layer-attribution {
4387 .base-layer-attribution {
4391 .overlay-layer-attribution {
4395 .overlay-layer-attribution .attribution:not(:last-child):after {
4408 pointer-events: all;
4412 display: table-cell;
4413 vertical-align: bottom;
4418 -moz-user-select: none;
4419 -webkit-user-select: none;
4420 -ms-user-select: none;
4439 font: 12px sans-serif;
4449 shape-rendering: crispEdges;
4461 border-left: 1px solid rgba(255,255,255,.5);
4462 padding: 5px 0 5px 5px;
4466 #about-list li:last-child {
4473 padding: 2px 4px 4px 4px;
4476 .source-switch a.live {
4477 background: #d32232;
4481 .feature-warning a {
4482 background: #1e90ff;
4483 padding: 2px 4px 4px 4px;
4488 .user-list a:not(:last-child):after {
4501 .api-status.offline,
4502 .api-status.readonly,
4510 .api-status-login:hover {
4515 ------------------------------------------------------- */
4519 display: inline-block;
4530 margin-bottom: 10px;
4533 .modal .description {
4549 background:rgba(0,0,0,0.5);
4551 left:0px; right:0px; top:0px; bottom:0px;
4556 border-bottom: 1px solid #CCC;
4559 .modal-section.header h3 {
4563 .modal-section.buttons {
4567 .modal-section.buttons .action {
4568 display: inline-block;
4571 vertical-align: middle;
4574 .save-section .buttons .action,
4575 .save-section .buttons .secondary-action {
4576 display: inline-block;
4579 vertical-align: middle;
4586 .modal-actions button,
4587 .save-success a.button {
4588 font-weight: normal;
4590 border-bottom: 1px solid #CCC;
4594 display: inline-block;
4597 .modal-actions button:hover
4598 .save-success a.button:hover {
4599 background-color: #ececec;
4602 .modal-actions button:before,
4603 .save-success a.button.osm:before,
4604 .walkthrough a:before {
4611 margin-bottom: 10px;
4612 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -200px -460px;
4615 .modal-actions :first-child {
4616 border-right: 1px solid #CCC;
4619 .modal-section:last-child {
4624 ------------------------------------------------------- */
4626 .modal-actions .restore:before {
4627 background-position: -500px -460px;
4630 .modal-actions .reset:before {
4631 background-position: -600px -460px;
4635 ------------------------------------------------------- */
4638 padding: 15px 15px 0 15px;
4640 .save-success a.details {
4643 .save-success .button {
4647 .save-success a.button.social {
4651 .save-success .icon.social {
4657 .save-success .button.osm:before {
4658 background-position: -200px -460px;
4662 ------------------------------------------------------- */
4664 .modal-actions .walkthrough:before,
4665 .walkthrough a:before {
4666 background-position: -300px -460px;
4669 .modal-actions .start:before {
4670 background-position: -400px -460px;
4674 ------------------------------------------------------- */
4676 .mode-save a.user-info {
4677 display: inline-block;
4680 .mode-save .commit-form {
4684 .mode-save .user-info img {
4688 .mode-save h3 small.count {
4702 .mode-save .commit-info {
4703 margin-bottom: 10px;
4706 .mode-save .changeset-list {
4707 border:1px solid #ccc;
4712 .mode-save .warning-section .changeset-list button {
4713 border-left: 1px solid #CCC;
4716 .mode-save .changeset-list li {
4718 border-top:1px solid #ccc;
4723 .mode-save .changeset-list li:hover {
4724 background-color: #ececec;
4727 .mode-save .changeset-list .alert {
4731 .changeset-list li span.count {
4736 .mode-save .commit-section .changeset-list button {
4737 border-left: 1px solid #CCC;
4740 .changeset-list li span.count:before { content: '('; }
4742 .changeset-list li span.count:after { content: ')'; }
4744 .changeset-list li:first-child { border-top: 0;}
4746 /* Conflict resolution
4747 ------------------------------------------------------- */
4751 background-color: #ffffbb;
4752 border-bottom: 1px solid #ccc;
4755 .conflicts-buttons {
4759 .mode-save button.conflicts-button {
4763 .conflict-container {
4764 border-bottom: 1px solid #ccc;
4767 .conflict-description {
4773 padding: 20px 20px 0 20px;
4776 .conflict-detail-container {
4788 .conflict-nav-buttons {
4789 padding: 10px 0 20px 0;
4792 .conflict-nav-button {
4797 ------------------------------------------------------- */
4819 .notice .zoom-to:hover {
4820 background: #d8e1ff;
4823 .notice .zoom-to .icon {
4829 ------------------------------------------------------- */
4866 display: inline-block;
4871 font-weight: normal;
4872 background-color: white;
4878 pointer-events: none;
4882 background: transparent;
4890 border-color: transparent;
4891 border-style: solid;
4895 border-left-color: white;
4896 border-width: 5px 0 5px 5px;
4915 border-color: transparent;
4916 border-style: solid;
4920 border-right-color: white;
4921 border-width: 5px 5px 5px 0;
4928 border-color: transparent;
4929 border-style: solid;
4932 .tooltip.top .tooltip-arrow {
4936 border-top-color: white;
4937 border-width: 5px 5px 0;
4940 .tooltip.right .tooltip-arrow {
4944 border-right-color: white;
4945 border-width: 5px 5px 5px 0;
4948 .tooltip.left .tooltip-arrow {
4952 border-left-color: white;
4953 border-width: 5px 0 5px 5px;
4956 .tooltip.bottom .tooltip-arrow {
4960 border-bottom-color: white;
4961 border-width: 0 5px 5px;
4965 background: #F6F6F6;
4967 margin: 10px -10px -10px;
4968 border-radius: 0 0 3px 3px;
4971 .tooltip-inner .keyhint {
4975 /* Exceptions for tooltip layouts */
4977 /* make tooltips in panels dark */
4978 .map-overlay .tooltip.top .tooltip-arrow,
4979 .entity-editor-pane .tooltip.top .tooltip-arrow,
4980 .warning-section .tooltip.top .tooltip-arrow {
4981 border-top-color: #000;
4984 .map-overlay .tooltip.bottom .tooltip-arrow,
4985 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4986 .warning-section .tooltip.bottom .tooltip-arrow {
4987 border-bottom-color: #000;
4990 .map-overlay .tooltip.left .tooltip-arrow,
4991 .entity-editor-pane .tooltip.left .tooltip-arrow,
4992 .warning-section .tooltip.left .tooltip-arrow {
4993 border-left-color: #000;
4996 .map-overlay .tooltip.right .tooltip-arrow,
4997 .entity-editor-pane .tooltip.right .tooltip-arrow,
4998 .warning-section .tooltip.right .tooltip-arrow {
4999 border-right-color: #000;
5002 .map-overlay .tooltip-inner,
5003 .map-overlay .keyhint-wrap,
5004 .entity-editor-pane .tooltip-inner,
5005 .warning-section .tooltip-inner {
5009 /* commit warning tooltips need to be closer */
5010 .warning-section .tooltip.top {
5014 /* Uncramp map-control tooltips */
5015 .map-control .tooltip {
5018 /* Move over tooltips that are near the edge of screen */
5019 .add-point .tooltip {
5020 left: 33.3333% !important;
5023 .curtain-tooltip.intro-points-add .tooltip-arrow,
5024 .add-point .tooltip .tooltip-arrow {
5028 .radial-menu-tooltip {
5035 .radial-menu-background {
5038 stroke-opacity: 0.5;
5041 .radial-menu-item circle {
5045 .radial-menu-item circle:active,
5046 .radial-menu-item circle:hover {
5050 .radial-menu-item.disabled circle {
5052 fill: rgba(255,255,255,.5);
5055 .radial-menu-item use {
5060 .radial-menu-item.disabled use {
5061 fill: rgba(32,32,32,.5);
5062 color: rgba(40,40,40,.5);
5070 stroke-dasharray: 5, 5;
5074 ------------------------------------------------------- */
5076 @media only screen and (max-width: 840px) {
5077 /* override hide for save button */
5078 #bar .save .label { display: block;}
5081 @media screen and (max-width: 1200px) {
5082 .user-list { display: none !important; }
5085 @media screen and (max-width: 1000px) {
5086 #userLink { display: none !important; }
5089 @media screen and (max-width: 900px) {
5090 #scale-block { display: none !important; }
5095 ----------------------------------------------------- */
5097 ::-webkit-scrollbar {
5102 border-left: 1px solid #DDD;
5105 ::-webkit-scrollbar-track {
5106 background-clip: padding-box;
5107 border: solid transparent;
5111 ::-webkit-scrollbar-thumb {
5112 background-color: rgba(0,0,0,.2);
5113 background-clip: padding-box;
5114 border: solid transparent;
5115 border-width: 3px 3px 3px 4px;
5118 ::-webkit-scrollbar-track:hover,
5119 ::-webkit-scrollbar-track:active {
5120 background-color: rgba(0,0,0,.05);
5123 /* Intro walkthrough
5124 ----------------------------------------------------- */
5127 pointer-events: all;
5142 .intro-nav-wrap button.step {
5146 .intro-nav-wrap button.step.finished {
5147 background: #8cd05f;
5150 .intro-nav-wrap button.step .status {
5155 .intro-nav-wrap button.step.finished .status {
5156 display: inline-block;
5160 .curtain-tooltip .tooltip-inner {
5165 .curtain-tooltip .tooltip-inner {
5169 .curtain-tooltip .tooltip-inner .bold {
5172 border-top: 1px solid #CCC;
5175 margin-right: -20px;
5176 padding: 10px 20px 0 20px;
5179 .curtain-tooltip .tooltip-inner .bold:only-child {
5185 .curtain-tooltip.intro-points-describe {
5186 top: 133px !important;
5189 /* Tooltip illustrations */
5191 .intro-points-add .tooltip-inner::before,
5192 .intro-areas-add .tooltip-inner::before,
5193 .intro-lines-add .tooltip-inner::before {
5199 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat 0 -320px;
5202 .intro-areas-add .tooltip-inner::before {
5203 background-position: 0 -400px;
5206 .intro-lines-add .tooltip-inner::before {
5207 background-position: 0 -480px;
5210 .huge-modal-button {
5216 .huge-modal-button .illustration {
5219 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px;
5229 background-color: #fff;
5232 .mapillary-wrap.hidden {
5236 .mapillary-wrap button.thumb-hide {
5251 .mly-wrapper.active {
5252 visibility: visible;
5255 /* Right-to-left localization settings */
5257 [dir='rtl'] #sidebar {
5261 [dir='rtl'] #sidebar .search-header .icon {
5267 [dir='rtl'] .header h3 {
5269 padding: 20px 40px 20px 20px;
5272 [dir='rtl'] .entity-editor-pane .header button.preset-choose {
5277 [dir='rtl'] .entity-editor-pane .header button.preset-close, [dir='rtl'] .preset-list-pane .header button.preset-choose {
5282 [dir='rtl'] .preset-icon-fill-area {
5287 [dir='rtl'] .map-data-control .layer-list button, [dir='rtl'] .background-control .layer-list button {
5290 border-right: 1px solid #CCC;
5293 [dir='rtl'] .map-data-control .layer-list button:first-of-type, [dir='rtl'] .background-control .layer-list button:first-of-type {
5294 border-radius: 3px 0 0 3px;
5298 [dir='rtl'] .feature-list-item .label {
5302 [dir='rtl'] .feature-list-item .entity-name {
5304 padding-right: 10px;
5308 [dir='rtl'] .form-label {
5309 padding: 5px 10px 5px 0;
5312 [dir='rtl'] .form-label button {
5314 border-right: 1px solid #CCC;
5317 [dir='rtl'] .more-fields label {
5318 padding: 5px 0 5px 10px;
5321 [dir='rtl'] .form-label-button-wrap {
5325 [dir='rtl'] button.minor {
5330 [dir='rtl'] .form-field .localized-main {
5332 padding-right: 10px;
5335 [dir='rtl'] .combobox-caret {
5337 margin-right: -30px;
5340 [dir='rtl'] .form-field .button-input-action {
5345 [dir='rtl'] .icon.pre-text {
5350 [dir='rtl'] .notice .zoom-to .icon {
5355 [dir='rtl'] .preset-list-button .label {
5360 border-right: 1px solid rgba(0, 0, 0, .1);
5361 border-radius: 3px 0 0 3px;
5364 [dir='rtl'] .preset-icon-frame {
5369 [dir='rtl'] .preset-list-item button.tag-reference-button {
5372 border-radius: 3px 0 0 3px;
5375 [dir='rtl'] .preset-list-button-wrap .preset-icon {
5380 [dir='rtl'] .preset-list-button-wrap .preset-icon-28 {
5384 [dir='rtl'] .preset-list-button-wrap .preset-icon-24 {
5388 [dir='rtl'] .form-field .maxspeed-unit {
5389 border-radius: 0 0 0 4px;
5392 [dir='rtl'] input[type="checkbox"], [dir='rtl'] input[type="radio"] {
5398 [dir='rtl'] .preset-input-wrap .col6 {
5403 [dir='rtl'] .tag-row .key-wrap,
5404 [dir='rtl'] .tag-row .input-wrap-position {
5408 [dir='rtl'] .tag-row input {
5410 border-right: 1px solid #CCC;
5413 [dir='rtl'] .tag-row:first-child input.key {
5414 border-top-left-radius: 0;
5415 border-top-right-radius: 4px;
5418 [dir='rtl'] .tag-row button {
5420 border-left-width: 1px;
5423 [dir='rtl'] .tag-row .tag-reference-button {
5427 border-left-width: 1px;
5428 border-right-width: 0;
5431 [dir='rtl'] .tag-row:first-child .tag-reference-button {
5432 border-top-left-radius: 4px;
5433 border-top-right-radius: 0;
5436 [dir='rtl'] .tag-row:last-child .tag-reference-button {
5437 border-bottom-left-radius: 4px;
5438 border-bottom-right-radius: 0;
5441 /* map control buttons */
5442 [dir='rtl'] .map-controls {
5447 [dir='rtl'] .background-control button,
5448 [dir='rtl'] .zoombuttons button.zoom-in {
5449 border-radius: 0 4px 0 0;
5452 [dir='rtl'] .help-control button,
5453 [dir='rtl'] .geolocate-control button {
5454 border-radius: 0 0 4px 0;
5457 [dir='rtl'] .list-item-gpx-browse svg {
5458 transform: rotateY(180deg);
5461 /* map control button overlays */
5462 [dir='rtl'] .map-overlay {
5463 padding: 20px 20px 20px 50px;
5465 right: auto !important;
5468 [dir='rtl'] .opacity-options {
5473 [dir='rtl'] .hide-toggle {
5475 padding-right: 12px;
5478 [dir='rtl'] .hide-toggle:before {
5482 border-right: 8px solid #7092ff;
5485 [dir='rtl'] .hide-toggle.expanded:before {
5486 border-left: 4px solid transparent;
5487 border-right: 4px solid transparent;
5491 [dir='rtl'] #bar .spacer,
5492 [dir='rtl'] #bar .button-wrap,
5493 [dir='rtl'] #bar .button-wrap button {
5497 [dir='rtl'] .add-point .tooltip {
5498 left: inherit !important;
5501 [dir='rtl'] .button-wrap:last-of-type {
5503 padding-right: 10px;
5506 [dir='rtl'] button.save.has-count .count {
5511 [dir='rtl'] button.save.has-count .count::before {
5512 border-left: 6px solid rgba(255,255,255,.5);
5518 [dir='rtl'] .joined button {
5519 border-left: 1px solid rgba(0,0,0,.5);
5523 [dir='rtl'] .joined button:first-child {
5524 border-radius: 0 4px 4px 0;
5527 [dir='rtl'] .joined button:last-child {
5528 border-radius: 4px 0 0 4px;
5531 [dir='rtl'] .spinner {
5535 [dir='rtl'] .spinner img {
5538 -moz-transform: scaleX(-1);
5539 -o-transform: scaleX(-1);
5540 -webkit-transform: scaleX(-1);
5541 transform: scaleX(-1);
5543 -ms-filter: "FlipH";
5547 [dir='rtl'] #scale-block {
5552 [dir='rtl'] #info-block {
5556 [dir='rtl'] #about-list {
5563 [dir='rtl'] #about-list li {
5566 border-right: 1px solid rgba(255,255,255,.5);
5569 padding: 5px 5px 5px 0;
5572 [dir='rtl'] #about-list li:last-child {
5576 [dir='rtl'] #scale text {
5580 /* increment / decrement control - code by Naoufel Razouane */
5582 [dir='rtl'] .spin-control{
5586 [dir='rtl'] .spin-control button{
5588 border-right: 1px solid #CCC;
5590 [dir='rtl'] .spin-control button.decrement{
5591 border-bottom-right-radius: 0;
5593 [dir='rtl'] .spin-control button.increment{
5594 border-bottom-left-radius: 3px;