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 */
167 transform-origin:0 0;
168 -ms-transform-origin:0 0;
169 -webkit-transform-origin:0 0;
170 -moz-transform-origin:0 0;
171 -o-transform-origin:0 0;
175 -webkit-transition: opacity 200ms linear;
176 transition: opacity 200ms linear;
177 -moz-transition: opacity 200ms linear;
187 use { pointer-events: none; }
190 .layer-osm path:not(.oneway) { fill: none; } /* IE needs :not(.oneway) */
192 /* the above fill: none rule affects paths in <use> shadow dom only in Firefox */
193 .layer-osm use.icon path { fill: #333; } /* FF svg Maki icons */
194 .layer-osm .turn use path { fill: #000; } /* FF turn restriction icons */
195 #turn-only-shape2, #turn-only-u-shape2 { fill: #7092FF; } /* FF turn-only, turn-only-u */
196 #turn-no-shape2, #turn-no-u-shape2 { fill: #E06D5F; } /* FF turn-no, turn-no-u */
197 #turn-yes-shape2, #turn-yes-u-shape2 { fill: #8CD05F; } /* FF turn-yes, turn-yes-u */
206 pointer-events: stroke;
225 g.point.hover:not(.selected) .shadow {
229 g.point.selected .shadow {
233 g.point.active, g.point.active * {
234 pointer-events: none;
237 /* vertices and midpoints */
249 g.vertex.shared .stroke {
260 g.midpoint.tag-highway-corridor .fill,
261 g.midpoint.tag-highway-pedestrian .fill,
262 g.midpoint.tag-highway-steps .fill,
263 g.midpoint.tag-highway-path .fill,
264 g.midpoint.tag-highway-footway .fill,
265 g.midpoint.tag-highway-cycleway .fill,
266 g.midpoint.tag-highway-bridleway .fill {
279 g.vertex.vertex-hover {
283 .mode-draw-area g.vertex.vertex-hover,
284 .mode-draw-line g.vertex.vertex-hover,
285 .mode-add-area g.vertex.vertex-hover,
286 .mode-add-line g.vertex.vertex-hover,
287 .mode-add-point g.vertex.vertex-hover,
288 .mode-drag-node g.vertex.vertex-hover {
292 g.vertex.hover:not(.selected) .shadow,
293 g.midpoint.hover:not(.selected) .shadow {
297 g.vertex.selected .shadow {
301 .mode-draw-area g.midpoint,
302 .mode-draw-line g.midpoint,
303 .mode-add-area g.midpoint,
304 .mode-add-line g.midpoint,
305 .mode-add-point g.midpoint {
311 .preset-icon .icon.other-line {
317 stroke-linecap: round;
318 stroke-linejoin: bevel;
332 path.shadow.hover:not(.selected) {
336 path.shadow.selected {
351 stroke: rgba(255, 255, 255, 0.3);
352 fill: rgba(255, 255, 255, 0.3);
355 .preset-icon-fill-area {
356 border: 1px solid rgb(170, 170, 170);
357 background-color: rgba(170, 170, 170, 0.3);
360 path.stroke.tag-natural {
361 stroke: rgb(182, 225, 153);
363 path.fill.tag-natural {
364 stroke: rgba(182, 225, 153, 0.3);
365 fill: rgba(182, 225, 153, 0.3);
367 .preset-icon-fill-area.tag-natural {
368 border-color: rgb(182, 225, 153);
369 background-color: rgba(182, 225, 153, 0.3);
372 path.stroke.tag-landuse,
373 path.stroke.tag-natural-wood,
374 path.stroke.tag-natural-tree,
375 path.stroke.tag-natural-grassland,
376 path.stroke.tag-natural-grass,
377 path.stroke.tag-leisure-nature_reserve,
378 path.stroke.tag-leisure-pitch,
379 path.stroke.tag-leisure-park {
380 stroke: rgb(140, 208, 95);
382 path.fill.tag-landuse,
383 path.fill.tag-natural-wood,
384 path.fill.tag-natural-tree,
385 path.fill.tag-natural-grassland,
386 path.fill.tag-natural-grass,
387 path.fill.tag-leisure-nature_reserve,
388 path.fill.tag-leisure-pitch,
389 path.fill.tag-leisure-park {
390 stroke: rgba(140, 208, 95, 0.3);
391 fill: rgba(140, 208, 95, 0.3);
393 .preset-icon-fill-area.tag-landuse,
394 .preset-icon-fill-area.tag-natural-wood,
395 .preset-icon-fill-area.tag-natural-tree,
396 .preset-icon-fill-area.tag-natural-grassland,
397 .preset-icon-fill-area.tag-natural-grass,
398 .preset-icon-fill-area.tag-leisure-nature_reserve,
399 .preset-icon-fill-area.tag-leisure-pitch,
400 .preset-icon-fill-area.tag-leisure-park {
401 border-color: rgb(140, 208, 95);
402 background-color: rgba(140, 208, 95, 0.3);
405 path.stroke.tag-amenity-swimming_pool,
406 path.stroke.tag-leisure-swimming_pool,
407 path.stroke.tag-natural-water,
408 path.stroke.tag-landuse-basin,
409 path.stroke.tag-landuse-reservoir {
410 stroke: rgb(119, 211, 222);
412 path.fill.tag-amenity-swimming_pool,
413 path.fill.tag-leisure-swimming_pool,
414 path.fill.tag-landuse-basin,
415 path.fill.tag-landuse-reservoir,
416 path.fill.tag-natural-water {
417 stroke: rgba(119, 211, 222, 0.3);
418 fill: rgba(119, 211, 222, 0.3);
420 .preset-icon-fill-area.tag-amenity-swimming_pool,
421 .preset-icon-fill-area.tag-leisure-swimming_pool,
422 .preset-icon-fill-area.tag-landuse-basin,
423 .preset-icon-fill-area.tag-landuse-reservoir,
424 .preset-icon-fill-area.tag-natural-water {
425 border-color: rgb(119, 211, 222);
426 background-color: rgba(119, 211, 222, 0.3);
429 path.stroke.tag-amenity-childcare,
430 path.stroke.tag-amenity-kindergarten,
431 path.stroke.tag-amenity-school,
432 path.stroke.tag-amenity-college,
433 path.stroke.tag-amenity-university {
434 stroke: rgb(255, 255, 148);
436 path.fill.tag-amenity-childcare,
437 path.fill.tag-amenity-kindergarten,
438 path.fill.tag-amenity-school,
439 path.fill.tag-amenity-college,
440 path.fill.tag-amenity-university {
441 stroke: rgba(255, 255, 148, 0.15);
442 fill: rgba(255, 255, 148, 0.15);
444 .preset-icon-fill-area.tag-amenity-childcare,
445 .preset-icon-fill-area.tag-amenity-kindergarten,
446 .preset-icon-fill-area.tag-amenity-school,
447 .preset-icon-fill-area.tag-amenity-college,
448 .preset-icon-fill-area.tag-amenity-university {
449 border-color: rgb(255, 255, 148);
450 background-color: rgba(255, 255, 148, 0.15);
453 path.stroke.tag-landuse-residential {
454 stroke: rgb(196, 189, 25);
456 path.fill.tag-landuse-residential {
457 stroke: rgba(196, 189, 25, 0.3);
458 fill: rgba(196, 189, 25, 0.3);
460 .preset-icon-fill-area.tag-landuse-residential {
461 border-color: rgb(196, 189, 25);
462 background: rgba(196, 189, 25, 0.3);
465 path.stroke.tag-landuse-retail,
466 path.stroke.tag-landuse-commercial {
467 stroke: rgb(214, 136, 26);
469 path.fill.tag-landuse-retail,
470 path.fill.tag-landuse-commercial {
471 stroke: rgba(214, 136, 26, 0.3);
472 fill: rgba(214, 136, 26, 0.3);
474 .preset-icon-fill-area.tag-landuse-retail,
475 .preset-icon-fill-area.tag-landuse-commercial {
476 border-color: rgb(214, 136, 26);
477 background-color: rgba(214, 136, 26, 0.3);
480 path.stroke.tag-landuse-industrial {
481 stroke: rgb(228, 164, 245);
483 path.fill.tag-landuse-industrial {
484 stroke: rgba(228, 164, 245, 0.3);
485 fill: rgba(228, 164, 245, 0.3);
487 .preset-icon-fill-area.tag-landuse-industrial {
488 border-color: rgb(228, 164, 245);
489 background-color: rgba(228, 164, 245, 0.3);
492 path.stroke.tag-landuse-quarry {
493 stroke: rgb(166, 149, 123);
495 path.fill.tag-landuse-quarry {
496 stroke: rgba(166, 149, 123, 0.2);
497 fill: rgba(166, 149, 123, 0.2);
499 .preset-icon-fill-area.tag-landuse-quarry {
500 border-color: rgb(166, 149, 123);
501 background-color: rgba(166, 149, 123, 0.2);
504 path.stroke.tag-landuse-landfill {
505 stroke: rgb(255, 153, 51);
507 path.fill.tag-landuse-landfill {
508 stroke: rgba(255, 153, 51, 0.2);
509 fill: rgba(255, 153, 51, 0.2);
511 .preset-icon-fill-area.tag-landuse-landfill {
512 border-color: rgb(255, 153, 51);
513 background-color: rgba(255, 153, 51, 0.2);
516 .pattern-color-construction {
517 fill: rgba(196, 189, 25, 0.2);
519 path.stroke.tag-landuse.tag-status {
520 stroke: rgb(196, 189, 25);
522 .preset-icon-fill-area.tag-landuse.tag-status {
523 border-color: rgb(196, 189, 25);
524 background-color: rgba(196, 189, 25, 0.2);
527 path.stroke.tag-landuse-military {
528 stroke: rgb(214, 136, 26);
530 path.fill.tag-landuse-military {
531 stroke: rgba(214, 136, 26, 0.2);
532 fill: rgba(214, 136, 26, 0.2);
534 .preset-icon-fill-area.tag-landuse-military {
535 border-color: rgb(214, 136, 26);
536 background-color: rgba(214, 136, 26, 0.2);
539 .pattern-color-wetland {
540 fill: rgba(182, 225, 153, 0.2);
542 path.stroke.tag-natural-wetland {
543 stroke: rgb(182, 225, 153);
545 .preset-icon-fill-area.tag-natural-wetland {
546 border-color: rgb(182, 225, 153);
547 background-color: rgba(182, 225, 153, 0.2);
550 .pattern-color-meadow {
551 fill: rgba(182, 225, 153, 0.2);
553 path.stroke.tag-landuse-meadow {
554 stroke: rgb(182, 225, 153);
556 .preset-icon-fill-area.tag-landuse-meadow {
557 border-color: rgb(182, 225, 153);
558 background-color: rgba(182, 225, 153, 0.2);
561 .pattern-color-beach {
562 fill: rgba(255, 255, 126, 0.2);
564 path.stroke.tag-natural-beach {
565 stroke: rgb(255, 255, 126);
567 .preset-icon-fill-area.tag-natural-beach {
568 border-color: rgb(255, 255, 126);
569 background-color: rgba(255, 255, 126, 0.2);
572 .pattern-color-scrub {
573 fill: rgba(219, 240, 139, 0.2);
575 path.stroke.tag-natural-scrub {
576 stroke: rgb(219, 240, 139);
578 .preset-icon-fill-area.tag-natural-scrub {
579 border-color: rgb(219, 240, 139);
580 background-color: rgba(219, 240, 139, 0.2);
584 .pattern-color-farmland {
585 fill: rgba(140, 208, 95, 0.2);
587 path.stroke.tag-landuse-farm,
588 path.stroke.tag-landuse-farmland {
589 stroke: rgb(140, 208, 95);
591 .preset-icon-fill-area.tag-landuse-farm,
592 .preset-icon-fill-area.tag-landuse-farmland {
593 background-color: rgba(140, 208, 95, 0.2);
596 .pattern-color-cemetery,
597 .pattern-color-orchard {
598 fill: rgba(140, 208, 95, 0.2);
600 path.stroke.tag-landuse-cemetery,
601 path.stroke.tag-landuse-orchard {
602 stroke: rgb(140, 208, 95);
604 .preset-icon-fill-area.tag-landuse-cemetery,
605 .preset-icon-fill-area.tag-landuse-orchard {
606 background-color: rgba(140, 208, 95, 0.2);
609 path.stroke.tag-amenity-parking {
610 stroke: rgb(170, 170, 170);
612 path.fill.tag-amenity-parking {
613 stroke: rgba(170, 170, 170, 0.3);
614 fill: rgba(170, 170, 170, 0.3);
616 .preset-icon-fill-area.tag-amenity-parking {
617 border-color: rgb(170, 170, 170);
618 background-color: rgba(170, 170, 170, 0.3);
624 path.stroke.area.tag-highway {
626 stroke-dasharray: none;
632 .preset-icon .icon.tag-highway.other-line {
637 path.shadow.tag-highway {
640 path.casing.tag-highway {
644 path.stroke.tag-highway {
649 .low-zoom path.shadow.tag-highway {
652 .low-zoom path.casing.tag-highway {
655 .low-zoom path.stroke.tag-highway {
659 .preset-icon .icon.highway-motorway,
660 .preset-icon .icon.highway-motorway-link {
664 path.stroke.tag-highway-motorway,
665 path.stroke.tag-highway-motorway_link,
666 path.stroke.tag-motorway {
669 path.casing.tag-highway-motorway,
670 path.casing.tag-highway-motorway_link,
671 path.casing.tag-motorway {
675 .preset-icon .icon.highway-trunk,
676 .preset-icon .icon.highway-trunk-link {
680 path.stroke.tag-highway-trunk,
681 path.stroke.tag-highway-trunk_link,
682 path.stroke.tag-trunk {
685 path.casing.tag-highway-trunk,
686 path.casing.tag-highway-trunk_link,
687 path.casing.tag-trunk {
691 .preset-icon .icon.highway-primary,
692 .preset-icon .icon.highway-primary-link {
696 path.stroke.tag-highway-primary,
697 path.stroke.tag-highway-primary_link,
698 path.stroke.tag-primary {
701 path.casing.tag-highway-primary,
702 path.casing.tag-highway-primary_link,
703 path.casing.tag-primary {
707 .preset-icon .icon.highway-secondary,
708 .preset-icon .icon.highway-secondary-link {
712 path.stroke.tag-highway-secondary,
713 path.stroke.tag-highway-secondary_link,
714 path.stroke.tag-secondary {
717 path.casing.tag-highway-secondary,
718 path.casing.tag-highway-secondary_link,
719 path.casing.tag-secondary {
723 .preset-icon .icon.highway-tertiary,
724 .preset-icon .icon.highway-tertiary-link {
728 path.stroke.tag-highway-tertiary,
729 path.stroke.tag-highway-tertiary_link,
730 path.stroke.tag-tertiary {
733 path.casing.tag-highway-tertiary,
734 path.casing.tag-highway-tertiary_link,
735 path.casing.tag-tertiary {
739 .legacy-carto .preset-icon .icon.highway-motorway,
740 .legacy-carto .preset-icon .icon.highway-motorway-link {
744 .legacy-carto path.stroke.tag-highway-motorway,
745 .legacy-carto path.stroke.tag-highway-motorway_link,
746 .legacy-carto path.stroke.tag-motorway {
749 .legacy-carto path.casing.tag-highway-motorway,
750 .legacy-carto path.casing.tag-highway-motorway_link,
751 .legacy-carto path.casing.tag-motorway {
755 .legacy-carto .preset-icon .icon.highway-trunk,
756 .legacy-carto .preset-icon .icon.highway-trunk-link {
760 .legacy-carto path.stroke.tag-highway-trunk,
761 .legacy-carto path.stroke.tag-highway-trunk_link,
762 .legacy-carto path.stroke.tag-trunk {
765 .legacy-carto path.casing.tag-highway-trunk,
766 .legacy-carto path.casing.tag-highway-trunk_link,
767 .legacy-carto path.casing.tag-trunk {
771 .legacy-carto .preset-icon .icon.highway-primary,
772 .legacy-carto .preset-icon .icon.highway-primary-link {
776 .legacy-carto path.stroke.tag-highway-primary,
777 .legacy-carto path.stroke.tag-highway-primary_link,
778 .legacy-carto path.stroke.tag-primary {
781 .legacy-carto path.casing.tag-highway-primary,
782 .legacy-carto path.casing.tag-highway-primary_link,
783 .legacy-carto path.casing.tag-primary {
787 .legacy-carto .preset-icon .icon.highway-secondary,
788 .legacy-carto .preset-icon .icon.highway-secondary-link {
792 .legacy-carto path.stroke.tag-highway-secondary,
793 .legacy-carto path.stroke.tag-highway-secondary_link,
794 .legacy-carto path.stroke.tag-secondary {
797 .legacy-carto path.casing.tag-highway-secondary,
798 .legacy-carto path.casing.tag-highway-secondary_link,
799 .legacy-carto path.casing.tag-secondary {
803 .legacy-carto .preset-icon .icon.highway-tertiary,
804 .legacy-carto .preset-icon .icon.highway-tertiary-link {
808 .legacy-carto path.stroke.tag-highway-tertiary,
809 .legacy-carto path.stroke.tag-highway-tertiary_link,
810 .legacy-carto path.stroke.tag-tertiary {
813 .legacy-carto path.casing.tag-highway-tertiary,
814 .legacy-carto path.casing.tag-highway-tertiary_link,
815 .legacy-carto path.casing.tag-tertiary {
819 .preset-icon .icon.highway-residential {
823 path.stroke.tag-highway-residential,
824 path.stroke.tag-residential {
827 path.casing.tag-highway-residential,
828 path.casing.tag-residential {
832 .preset-icon .icon.highway-unclassified {
836 path.stroke.tag-highway-unclassified,
837 path.stroke.tag-unclassified {
840 path.casing.tag-highway-unclassified,
841 path.casing.tag-unclassified {
846 /* narrow highways */
847 path.stroke.tag-highway-living_street,
848 path.stroke.tag-highway-service,
849 path.stroke.tag-highway-track,
850 path.stroke.tag-highway-path,
851 path.stroke.tag-highway-footway,
852 path.stroke.tag-highway-cycleway,
853 path.stroke.tag-highway-bridleway,
854 path.stroke.tag-highway-corridor,
855 path.stroke.tag-highway-pedestrian,
856 path.stroke.tag-highway-steps,
857 path.stroke.tag-highway-road,
858 path.stroke.tag-living_street,
859 path.stroke.tag-service,
860 path.stroke.tag-track,
861 path.stroke.tag-path,
862 path.stroke.tag-footway,
863 path.stroke.tag-cycleway,
864 path.stroke.tag-bridleway,
865 path.stroke.tag-corridor,
866 path.stroke.tag-pedestrian,
867 path.stroke.tag-steps,
868 path.stroke.tag-road {
871 path.casing.tag-highway-living_street,
872 path.casing.tag-highway-service,
873 path.casing.tag-highway-track,
874 path.casing.tag-highway-path,
875 path.casing.tag-highway-footway,
876 path.casing.tag-highway-cycleway,
877 path.casing.tag-highway-bridleway,
878 path.casing.tag-highway-corridor,
879 path.casing.tag-highway-pedestrian,
880 path.casing.tag-highway-steps,
881 path.casing.tag-highway-road,
882 path.casing.tag-living_street,
883 path.casing.tag-service,
884 path.casing.tag-track,
885 path.casing.tag-path,
886 path.casing.tag-footway,
887 path.casing.tag-cycleway,
888 path.casing.tag-bridleway,
889 path.casing.tag-corridor,
890 path.casing.tag-pedestrian,
891 path.casing.tag-steps,
892 path.casing.tag-road {
896 .low-zoom path.stroke.tag-highway-living_street,
897 .low-zoom path.stroke.tag-highway-service,
898 .low-zoom path.stroke.tag-highway-track,
899 .low-zoom path.stroke.tag-highway-path,
900 .low-zoom path.stroke.tag-highway-footway,
901 .low-zoom path.stroke.tag-highway-cycleway,
902 .low-zoom path.stroke.tag-highway-bridleway,
903 .low-zoom path.stroke.tag-highway-corridor,
904 .low-zoom path.stroke.tag-highway-pedestrian,
905 .low-zoom path.stroke.tag-highway-steps,
906 .low-zoom path.stroke.tag-highway-road,
907 .low-zoom path.stroke.tag-living_street,
908 .low-zoom path.stroke.tag-service,
909 .low-zoom path.stroke.tag-track,
910 .low-zoom path.stroke.tag-path,
911 .low-zoom path.stroke.tag-footway,
912 .low-zoom path.stroke.tag-cycleway,
913 .low-zoom path.stroke.tag-bridleway,
914 .low-zoom path.stroke.tag-corridor,
915 .low-zoom path.stroke.tag-pedestrian,
916 .low-zoom path.stroke.tag-steps,
917 .low-zoom path.stroke.tag-road {
920 .low-zoom path.casing.tag-highway-living_street,
921 .low-zoom path.casing.tag-highway-service,
922 .low-zoom path.casing.tag-highway-track,
923 .low-zoom path.casing.tag-highway-path,
924 .low-zoom path.casing.tag-highway-footway,
925 .low-zoom path.casing.tag-highway-cycleway,
926 .low-zoom path.casing.tag-highway-bridleway,
927 .low-zoom path.casing.tag-highway-corridor,
928 .low-zoom path.casing.tag-highway-pedestrian,
929 .low-zoom path.casing.tag-highway-steps,
930 .low-zoom path.casing.tag-highway-road,
931 .low-zoom path.casing.tag-living_street,
932 .low-zoom path.casing.tag-service,
933 .low-zoom path.casing.tag-track,
934 .low-zoom path.casing.tag-path,
935 .low-zoom path.casing.tag-footway,
936 .low-zoom path.casing.tag-cycleway,
937 .low-zoom path.casing.tag-bridleway,
938 .low-zoom path.casing.tag-corridor,
939 .low-zoom path.casing.tag-pedestrian,
940 .low-zoom path.casing.tag-steps,
941 .low-zoom path.casing.tag-road {
945 .preset-icon .icon.highway-living-street {
949 path.stroke.tag-highway-living_street,
950 path.stroke.tag-living_street {
953 path.casing.tag-highway-living_street,
954 path.casing.tag-living_street {
958 .preset-icon .icon.highway-footway.tag-highway-corridor,
959 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
963 path.stroke.tag-highway-corridor,
964 path.stroke.tag-highway-pedestrian,
965 path.stroke.tag-corridor,
966 path.stroke.tag-pedestrian {
968 stroke-dasharray: 2, 8;
970 path.casing.tag-highway-corridor,
971 path.casing.tag-highway-pedestrian,
972 path.casing.tag-corridor,
973 path.casing.tag-pedestrian,
974 path.casing.tag-highway-corridor.tag-unpaved,
975 path.casing.tag-highway-pedestrian.tag-unpaved,
976 path.casing.tag-corridor.tag-unpaved,
977 path.casing.tag-pedestrian.tag-unpaved {
979 stroke-linecap: round;
980 stroke-dasharray: none;
983 .preset-icon .icon.highway-road {
987 path.stroke.tag-highway-road,
988 path.stroke.tag-road {
991 path.casing.tag-highway-road,
992 path.casing.tag-road {
996 .preset-icon .icon.highway-service {
1000 path.stroke.tag-highway-service,
1001 path.stroke.tag-service {
1004 path.casing.tag-highway-service,
1005 path.casing.tag-service {
1009 .preset-icon .icon.highway-track {
1013 path.stroke.tag-highway-track,
1014 path.stroke.tag-track {
1017 path.casing.tag-highway-track,
1018 path.casing.tag-track {
1022 path.stroke.tag-highway-path,
1023 path.stroke.tag-highway-footway,
1024 path.stroke.tag-highway-cycleway,
1025 path.stroke.tag-highway-bridleway {
1026 stroke-linecap: butt;
1027 stroke-dasharray: 6, 6;
1030 path.casing.tag-highway-path,
1031 path.casing.tag-highway-path.tag-unpaved {
1033 stroke-linecap: round;
1034 stroke-dasharray: none;
1036 path.casing.tag-highway-footway,
1037 path.casing.tag-highway-cycleway,
1038 path.casing.tag-highway-bridleway,
1039 path.casing.tag-highway-footway.tag-unpaved,
1040 path.casing.tag-highway-cycleway.tag-unpaved,
1041 path.casing.tag-highway-bridleway.tag-unpaved {
1043 stroke-linecap: round;
1044 stroke-dasharray: none;
1047 .preset-icon .icon.category-path,
1048 .preset-icon .icon.highway-path {
1052 path.stroke.tag-highway-path {
1056 .preset-icon .icon.tag-route-foot,
1057 .preset-icon .icon.tag-route-hiking,
1058 .preset-icon .icon.highway-footway {
1062 path.stroke.tag-highway-footway {
1066 .preset-icon .icon.highway-footway.tag-crossing {
1069 path.stroke.tag-highway-footway.tag-crossing {
1071 stroke-dasharray: 6, 4;
1074 .preset-icon .icon.tag-route-bicycle,
1075 .preset-icon .icon.highway-cycleway {
1079 path.stroke.tag-highway-cycleway {
1083 .preset-icon .icon.highway-bridleway {
1087 path.stroke.tag-highway-bridleway {
1091 .preset-icon .icon.highway-steps {
1095 path.stroke.tag-highway-steps {
1097 stroke-linecap: butt;
1098 stroke-dasharray: 3, 3;
1100 path.casing.tag-highway-steps,
1101 path.casing.tag-highway-steps.tag-unpaved {
1103 stroke-linecap: round;
1104 stroke-dasharray: none;
1109 path.stroke.tag-aeroway-taxiway {
1113 path.shadow.tag-aeroway-runway {
1116 path.stroke.tag-aeroway-runway {
1119 stroke-linecap: butt;
1120 stroke-dasharray: 24, 48;
1122 path.casing.tag-aeroway-runway {
1125 stroke-linecap: square;
1127 path.fill.tag-aeroway-runway {
1128 stroke: rgba(0, 0, 0, 0.6);
1129 fill: rgba(0, 0, 0, 0.6);
1131 path.stroke.tag-aeroway-apron {
1134 path.fill.tag-aeroway-apron {
1135 stroke: rgba(128, 92, 128, 0.2);
1136 fill: rgba(128, 92, 128, 0.2);
1141 .preset-icon .icon.tag-railway.other-line {
1145 .preset-icon .icon.tag-railway {
1149 path.stroke.tag-railway {
1152 stroke-linecap: butt;
1153 stroke-dasharray: 12,12;
1155 path.casing.tag-railway {
1160 .preset-icon .icon.tag-railway-disused,
1161 .preset-icon .icon.tag-railway-abandoned {
1165 path.stroke.tag-railway-abandoned {
1168 path.casing.tag-railway-abandoned {
1172 .preset-icon .icon.tag-railway-subway {
1176 path.stroke.tag-railway-subway {
1179 path.casing.tag-railway-subway {
1183 path.stroke.tag-railway-platform {
1186 stroke-dasharray: none;
1188 path.casing.tag-railway-platform {
1192 .area.stroke.tag-railway {
1195 stroke-dasharray: none;
1197 .area.casing.tag-railway {
1203 .preset-icon .icon.tag-waterway.other-line {
1207 .preset-icon .icon.category-water,
1208 .preset-icon .icon.tag-route-ferry,
1209 .preset-icon .icon.tag-waterway {
1214 path.fill.tag-waterway {
1215 stroke: rgba(119, 211, 222, 0.3);
1216 fill: rgba(119, 211, 222, 0.3);
1219 path.stroke.tag-waterway {
1223 path.casing.tag-waterway {
1228 path.stroke.tag-waterway-river {
1231 path.casing.tag-waterway-river {
1235 .preset-icon .icon.tag-waterway-ditch {
1238 path.stroke.tag-waterway-ditch {
1242 path.casing.tag-waterway-ditch {
1247 path.area.stroke.tag-waterway-dock,
1248 path.area.stroke.tag-waterway-boatyard,
1249 path.area.stroke.tag-waterway-fuel {
1253 path.area.casing.tag-waterway-dock,
1254 path.area.casing.tag-waterway-boatyard,
1255 path.area.casing.tag-waterway-fuel {
1258 path.area.fill.tag-waterway-dock,
1259 path.area.fill.tag-waterway-boatyard,
1260 path.area.fill.tag-waterway-fuel {
1261 stroke: rgba(255, 255, 255, 0.3);
1262 fill: rgba(255, 255, 255, 0.3);
1267 .preset-icon .icon.tag-man_made-pipeline,
1268 .preset-icon .icon.tag-power {
1273 path.stroke.tag-power {
1277 path.casing.tag-power {
1283 path.stroke.tag-boundary {
1286 stroke-linecap: butt;
1287 stroke-dasharray: 20, 5, 5, 5;
1289 path.casing.tag-boundary {
1294 path.casing.tag-boundary-protected_area,
1295 path.casing.tag-boundary-national_park {
1301 path.stroke.tag-barrier {
1304 stroke-linecap: round;
1305 stroke-dasharray: 15, 5, 1, 5;
1307 .low-zoom path.stroke.tag-barrier {
1309 stroke-linecap: butt;
1310 stroke-dasharray: 8, 2, 2, 2;
1315 path.casing.tag-bridge {
1317 stroke-opacity: 0.6;
1319 stroke-linecap: butt;
1320 stroke-dasharray: none;
1323 path.shadow.tag-bridge {
1326 path.casing.line.tag-railway.tag-bridge,
1327 path.casing.tag-highway-living_street.tag-bridge,
1328 path.casing.tag-highway-path.tag-bridge,
1329 path.casing.tag-highway-corridor.tag-bridge,
1330 path.casing.line.tag-highway-pedestrian.tag-bridge,
1331 path.casing.tag-highway-service.tag-bridge,
1332 path.casing.tag-highway-track.tag-bridge,
1333 path.casing.tag-highway-steps.tag-bridge,
1334 path.casing.tag-highway-footway.tag-bridge,
1335 path.casing.tag-highway-cycleway.tag-bridge,
1336 path.casing.tag-highway-bridleway.tag-bridge {
1339 path.shadow.line.tag-railway.tag-bridge,
1340 path.shadow.tag-highway-living_street.tag-bridge,
1341 path.shadow.tag-highway-path.tag-bridge,
1342 path.shadow.tag-highway-corridor.tag-bridge,
1343 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1344 path.shadow.tag-highway-service.tag-bridge,
1345 path.shadow.tag-highway-track.tag-bridge,
1346 path.shadow.tag-highway-steps.tag-bridge,
1347 path.shadow.tag-highway-footway.tag-bridge,
1348 path.shadow.tag-highway-cycleway.tag-bridge,
1349 path.shadow.tag-highway-bridleway.tag-bridge {
1352 .low-zoom path.casing.tag-bridge {
1355 .low-zoom path.shadow.tag-bridge {
1359 .low-zoom path.casing.line.tag-railway.tag-bridge,
1360 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1361 .low-zoom path.casing.tag-highway-path.tag-bridge,
1362 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1363 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1364 .low-zoom path.casing.tag-highway-service.tag-bridge,
1365 .low-zoom path.casing.tag-highway-track.tag-bridge,
1366 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1367 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1368 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1369 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1373 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1374 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1375 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1376 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1377 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1378 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1379 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1380 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1381 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1382 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1383 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1389 path.stroke.tag-tunnel {
1390 stroke-opacity: 0.3;
1392 path.casing.tag-tunnel {
1393 stroke-opacity: 0.5;
1394 stroke-linecap: butt;
1395 stroke-dasharray: none;
1399 /* embankments / cuttings */
1400 path.casing.tag-embankment,
1401 path.casing.tag-cutting {
1402 stroke-opacity: 0.5;
1405 stroke-dasharray: 2, 4;
1406 stroke-linecap: butt;
1409 path.shadow.tag-embankment,
1410 path.shadow.tag-cutting {
1414 .low-zoom path.casing.tag-embankment,
1415 .low-zoom path.casing.tag-cutting {
1419 .low-zoom path.shadow.tag-embankment,
1420 .low-zoom path.shadow.tag-cutting {
1425 /* Surface - unpaved */
1426 path.casing.tag-unpaved {
1428 stroke-linecap: butt;
1429 stroke-dasharray: 4, 3;
1431 .low-zoom path.casing.tag-unpaved {
1432 stroke-dasharray: 3, 2;
1434 path.casing.tag-bridge.tag-unpaved {
1436 stroke-dasharray: 4, 3;
1438 .low-zoom path.casing.tag-bridge.tag-unpaved {
1440 stroke-dasharray: 3, 2;
1444 /* Status (e.g. construction, proposed, abandoned) */
1445 path.stroke.tag-status,
1446 path.casing.tag-status {
1447 stroke-linecap: butt;
1448 stroke-dasharray: 7, 3;
1450 .low-zoom path.stroke.tag-status,
1451 .low-zoom path.casing.tag-status {
1452 stroke-dasharray: 5, 2;
1457 path.stroke.tag-building,
1458 path.stroke.tag-amenity-shelter {
1459 stroke: rgb(224, 110, 95);
1461 path.fill.tag-building,
1462 path.fill.tag-amenity-shelter {
1463 stroke: rgba(224, 110, 95, 0.3);
1464 fill: rgba(224, 110, 95, 0.3);
1466 .preset-icon-fill-area.tag-building,
1467 .preset-icon-fill-area.tag-amenity-shelter {
1468 border-color: rgb(224, 110, 95);
1469 background-color: rgba(224, 110, 95, 0.3);
1473 /* Labels / Markers */
1477 pointer-events: none;
1482 .oneway .textpath.tag-waterway {
1491 text.arealabel-halo,
1492 text.linelabel-halo,
1493 text.pointlabel-halo,
1500 text-anchor: middle;
1501 pointer-events: none;
1502 -webkit-transition: opacity 100ms linear;
1503 transition: opacity 100ms linear;
1504 -moz-transition: opacity 100ms linear;
1507 .linelabel-halo .textpath,
1508 .linelabel .textpath {
1509 dominant-baseline: middle;
1512 /* Opera doesn't support dominant-baseline. See #715 */
1513 .opera .linelabel-halo .textpath,
1514 .opera .linelabel .textpath {
1515 baseline-shift: -33%;
1516 dominant-baseline: auto;
1523 stroke-miterlimit: 1;
1539 pointer-events: all;
1542 .form-field-restrictions .vertex {
1543 pointer-events: none;
1544 cursor: auto !important;
1551 cursor: auto; /* Opera */
1552 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1555 .mode-browse .point,
1556 .mode-select .point {
1557 cursor: pointer; /* Opera */
1558 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1561 .mode-select .vertex,
1562 .mode-browse .vertex {
1563 cursor: pointer; /* Opera */
1564 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1568 .mode-select .line {
1569 cursor: pointer; /* Opera */
1570 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1574 .mode-browse .area {
1575 cursor: pointer; /* Opera */
1576 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1579 .mode-select .midpoint,
1580 .mode-browse .midpoint {
1581 cursor: pointer; /* Opera */
1582 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1585 .mode-select .behavior-multiselect .point,
1586 .mode-select .behavior-multiselect .vertex,
1587 .mode-select .behavior-multiselect .line,
1588 .mode-select .behavior-multiselect .area {
1589 cursor: pointer; /* Opera */
1590 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1593 .mode-select .behavior-multiselect .selected {
1594 cursor: pointer; /* Opera */
1595 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1599 #map .vertex:active,
1602 #map .midpoint:active,
1603 #map .mode-select .selected {
1604 cursor: pointer; /* Opera */
1605 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1608 .mode-draw-line #map,
1609 .mode-draw-area #map,
1610 .mode-add-line #map,
1611 .mode-add-area #map,
1612 .mode-drag-node #map {
1613 cursor: crosshair; /* Opera */
1614 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1617 .mode-draw-line .way.hover,
1618 .mode-draw-area .way.hover,
1619 .mode-add-line .way.hover,
1620 .mode-add-area .way.hover,
1621 .mode-drag-node .way.hover {
1622 cursor: crosshair; /* Opera */
1623 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1626 .mode-draw-line .vertex.hover,
1627 .mode-draw-area .vertex.hover,
1628 .mode-add-line .vertex.hover,
1629 .mode-add-area .vertex.hover,
1630 .mode-drag-node .vertex.hover {
1631 cursor: crosshair; /* Opera */
1632 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1635 .mode-add-point #map,
1636 .mode-browse.lasso #map,
1637 .mode-browse.lasso .way,
1638 .mode-browse.lasso .vertex,
1639 .mode-browse.lasso .midpoint,
1640 .mode-select.lasso #map,
1641 .mode-select.lasso .way,
1642 .mode-select.lasso .vertex,
1643 .mode-select.lasso .midpoint {
1644 cursor: crosshair; /* Opera */
1645 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1650 cursor: pointer; /* Opera */
1651 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1655 pointer-events: visibleStroke;
1660 pointer-events: none;
1673 /* Mapillary Image Layer */
1675 .layer-mapillary-images {
1676 pointer-events: none;
1679 .layer-mapillary-images .viewfield-group {
1680 pointer-events: visible;
1681 cursor: pointer; /* Opera */
1682 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1685 .layer-mapillary-images .viewfield-group * {
1692 .layer-mapillary-images .viewfield-group:hover * {
1699 .layer-mapillary-images .viewfield-group.selected * {
1706 .layer-mapillary-images .viewfield-group:hover path.viewfield,
1707 .layer-mapillary-images .viewfield-group.selected path.viewfield,
1708 .layer-mapillary-images .viewfield-group path.viewfield {
1713 /* Mapillary Sign Layer */
1715 .layer-mapillary-signs {
1716 pointer-events: none;
1719 .layer-mapillary-signs .icon-sign body {
1723 border: 2px solid transparent;
1724 pointer-events: visible;
1725 cursor: pointer; /* Opera */
1726 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1730 .layer-mapillary-signs .icon-sign:hover body {
1731 border: 2px solid rgba(255,198,0,0.8);
1735 .layer-mapillary-signs .icon-sign.selected body {
1736 border: 2px solid rgba(255,0,0,0.8);
1740 .layer-mapillary-signs .icon-sign .t {
1746 .layer-mapillary-signs .icon-sign:hover .t,
1747 .layer-mapillary-signs .icon-sign.selected .t {
1753 .mode-draw-line .vertex.active,
1754 .mode-draw-area .vertex.active,
1755 .mode-drag-node .vertex.active {
1759 .mode-draw-line .way.active,
1760 .mode-draw-area .way.active,
1761 .mode-drag-node .active {
1762 pointer-events: none;
1765 /* Ensure drawing doesn't interact with area fills. */
1766 .mode-add-point .area.fill,
1767 .mode-draw-line .area.fill,
1768 .mode-draw-area .area.fill,
1769 .mode-add-line .area.fill,
1770 .mode-add-area .area.fill,
1771 .mode-drag-node .area.fill {
1772 pointer-events: none;
1777 .low-zoom.fill-wireframe path.stroke,
1778 .fill-wireframe path.stroke {
1780 stroke-opacity: 0.5;
1781 stroke-dasharray: none;
1785 .low-zoom.fill-wireframe path.shadow,
1786 .fill-wireframe path.shadow {
1790 .fill-wireframe path.shadow.hover:not(.selected) {
1791 stroke-opacity: 0.4;
1793 .fill-wireframe path.shadow.selected {
1794 stroke-opacity: 0.6;
1797 .fill-wireframe .point,
1798 .fill-wireframe .areaicon,
1799 .fill-wireframe path.casing,
1800 .fill-wireframe path.fill,
1801 .fill-wireframe path.oneway {
1805 .fill-partial path.fill {
1808 pointer-events: visibleStroke;
1811 ------------------------------------------------------- */
1814 Opera misbehaves when the window is resized vertically unless 100% width + height are
1815 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1823 font:normal 12px/1.6667 'Helvetica Neue', Arial, sans-serif;
1833 vertical-align: middle;
1851 /* Can't be display: none or the clippaths are ignored. */
1880 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1881 -moz-box-sizing: border-box;
1882 -webkit-box-sizing: border-box;
1883 box-sizing: border-box;
1886 a, button, input, textarea {
1887 -webkit-tap-highlight-color:rgba(0,0,0,0);
1888 -webkit-touch-callout:none;
1893 .checkselect label:hover,
1894 .opacity-options li,
1896 cursor: pointer; /* Opera */
1897 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1904 margin-bottom: 20px;
1909 h4:last-child { margin-bottom: 0;}
1915 margin-bottom: 10px;
1921 padding-bottom: 10px;
1925 outline-color: transparent;
1926 outline-style: none;
1956 ------------------------------------------------------- */
1960 font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1970 background-color: white;
1971 border:1px solid #ccc;
1976 text-overflow: ellipsis;
1981 background-color: #F1F1F1;
1984 input[type="checkbox"],
1985 input[type="radio"] {
1993 /* remove bottom border radius when combobox is open */
1994 .combobox + * textarea:focus,
1995 .combobox + * input:focus {
1996 border-bottom-left-radius: 0 !important;
1997 border-bottom-right-radius: 0 !important;
2003 background-color: white;
2004 border-collapse: collapse;
2013 table.tags, table.tags td, table.tags th {
2014 border: 1px solid #CCC;
2023 ------------------------------------------------------- */
2025 .col0 { float:left; width:04.1666%; }
2026 .col1 { float:left; width:08.3333%; }
2027 .col2 { float:left; width:16.6666%; }
2028 .col3 { float:left; width:25.0000%; max-width: 300px; }
2029 .col4 { float:left; width:33.3333%; max-width: 400px; }
2030 .col5 { float:left; width:41.6666%; max-width: 500px; }
2031 .col6 { float:left; width:50.0000%; max-width: 600px; }
2032 .col7 { float:left; width:58.3333%; }
2033 .col8 { float:left; width:66.6666%; }
2034 .col9 { float:left; width:75.0000%; }
2035 .col10 { float:left; width:83.3333%; }
2036 .col11 { float:left; width:91.6666%; }
2037 .col12 { float:left; width:100.0000%; }
2040 ------------------------------------------------------- */
2042 ul li { list-style: none;}
2044 .toggle-list > label {
2049 background-color: white;
2054 .toggle-list > label:hover {
2055 background-color: #ececec;
2058 .toggle-list > label:not(:last-child) {
2059 border-bottom: 1px solid #ccc;
2062 .toggle-list > label:last-child {
2063 border-radius: 0 0 3px 3px;
2066 .toggle-list label > span {
2069 white-space: nowrap;
2070 text-overflow: ellipsis;
2073 .toggle-list > label.active {
2074 background: #E8EBFF;
2079 ------------------------------------------------------- */
2086 background: #f6f6f6;
2091 background: #ececec;
2096 background:rgba(0,0,0,.5);
2101 background:rgba(0,0,0,.75);
2106 .fr { float: right;}
2124 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2128 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2129 background-size:5px 5px;
2165 display: inline-block;
2172 background-color: #ececec;
2177 background-color: rgba(255,255,255,.25);
2178 color: rgba(0,0,0,.4);
2183 background: #7092ff;
2193 background-color: #fafafa;
2196 button.minor .icon {
2200 button.minor:hover {
2201 background-color: #f1f1f1;
2205 display: inline-block;
2210 .button-wrap button:only-child {
2214 .button-wrap:last-of-type {
2220 border-right: 1px solid rgba(0,0,0,.5);
2223 .fillL .joined button {
2224 border-right: 1px solid white;
2227 .joined button:first-child {
2228 border-radius:4px 0 0 4px;
2231 .joined button:last-child {
2232 border-right-width: 0;
2233 border-radius:0 4px 4px 0;
2237 background: #7092ff;
2241 button[disabled].action,
2242 button[disabled].action:hover {
2243 background: #cccccc;
2247 button.action:focus,
2248 button.action:hover {
2249 background: #597BE7;
2252 button.secondary-action {
2253 background: #ececec;
2256 button.secondary-action:focus,
2257 button.secondary-action:hover {
2258 background: #cccccc;
2261 button.save.has-count {
2265 button.save .count {
2269 button.save.has-count .count {
2273 background: rgba(255, 255, 255, .5);
2280 margin-left: 8.3333%;
2283 button.save.has-count .count::before {
2292 border-top: 6px solid transparent;
2293 border-bottom: 6px solid transparent;
2294 border-right: 6px solid rgba(255,255,255,.5);
2300 vertical-align: top;
2306 vertical-align: text-top;
2341 /* ToolBar / Persistent UI Elements
2342 ------------------------------------------------------- */
2355 /* Header for modals / panes
2356 ------------------------------------------------------- */
2359 border-bottom: 1px solid #ccc;
2367 white-space: nowrap;
2368 text-overflow: ellipsis;
2370 padding: 20px 20px 20px 40px;
2386 .entity-editor-pane .header button.preset-close,
2387 .preset-list-pane .header button.preset-choose {
2393 .entity-editor-pane .header button.preset-choose {
2416 padding: 5px 20px 5px 20px;
2417 border-top: 1px solid #ccc;
2418 background-color: #fafafa;
2422 .sidebar-component .body {
2431 ------------------------------------------------------- */
2439 background: #f6f6f6;
2442 .sidebar-component {
2474 background-color: #fff;
2477 .mapillary-image a {
2481 background-color: rgba(0,0,0,.5);
2486 .mapillary-image img {
2492 .mapillary-image.hidden {
2496 .mapillary-image.temp button {
2500 .mapillary-image button {
2508 .feature-list-pane .inspector-body {
2512 .preset-list-pane .inspector-body {
2516 .entity-editor-pane .inspector-body {
2520 .selection-list-pane .inspector-body {
2529 #sidebar .search-header .icon {
2534 pointer-events: none;
2537 #sidebar .search-header input {
2545 border-bottom-width: 1px;
2559 .feature-list-item {
2562 border-bottom: 1px solid #ccc;
2566 .feature-list-item .label {
2569 white-space: nowrap;
2570 text-overflow: ellipsis;
2572 border-left: 1px solid rgba(0, 0, 0, .1);
2575 .feature-list-item .label .icon {
2579 .feature-list-item:hover .label {
2580 background-color: #ececec;
2583 .feature-list-item .entity-type {
2587 .feature-list-item:hover .entity-type {
2591 .feature-list-item .entity-name {
2592 font-weight: normal;
2598 ------------------------------------------------------- */
2604 padding: 20px 20px 10px 20px;
2605 border-bottom: 1px solid #ccc;
2608 .preset-list-button-wrap {
2610 margin-bottom: 10px;
2614 .preset-list-button {
2618 border: 1px solid #ccc;
2621 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2622 background: #ececec;
2625 .preset-icon-fill-area {
2635 .preset-icon-frame {
2644 .preset-icon-frame .icon {
2656 .preset-icon-60 .icon {
2668 .preset-icon-44 .icon {
2676 left: 13px; /* Maki icons off center? */
2680 .preset-icon-32 .icon {
2685 .preset-list-button .label {
2686 background-color: #f6f6f6;
2695 white-space: nowrap;
2696 text-overflow: ellipsis;
2698 border-left: 1px solid rgba(0, 0, 0, .1);
2699 border-radius: 0 3px 3px 0;
2702 .preset-list-button:hover .label {
2703 background-color: #ececec;
2706 .preset-list-item button.tag-reference-button {
2708 border: 1px solid #CCC;
2709 border-radius: 0 3px 3px 0;
2714 background: #fafafa;
2717 .preset-list-item button.tag-reference-button:hover {
2718 background: #f1f1f1;
2721 .preset-list-item button.tag-reference-button .icon {
2725 .current .preset-list-button,
2726 .current .preset-list-button .label {
2727 background-color: #E8EBFF;
2730 .category .preset-list-button:after,
2731 .category .preset-list-button:before {
2735 left: -1px; right: -1px;
2736 border: 1px solid #ccc;
2737 border-bottom: none;
2738 border-radius: 6px 6px 0 0;
2742 .category .preset-list-button:before {
2746 .subgrid .preset-list {
2747 padding: 10px 10px 0 10px;
2751 width: -webkit-calc(100% + 20px);
2756 border: solid rgba(0, 0, 0, 0);
2758 border-bottom-color: #f1f1f1;
2762 margin-left: -webkit-calc(50% - 10px);
2767 /* preset form basics */
2771 padding-bottom: 10px;
2774 .inspector-preset a.hide-toggle {
2775 margin: 0 20px 10px 20px;
2778 .inspector-preset .preset-form {
2780 margin: 0 10px 10px 10px;
2784 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2789 margin-bottom: 10px;
2791 -webkit-transition: margin-bottom 200ms;
2792 -moz-transition: margin-bottom 200ms;
2793 -o-transition: margin-bottom 200ms;
2794 transition: margin-bottom 200ms;
2797 .form-field:last-child {
2804 border: 1px solid #cfcfcf;
2805 padding: 5px 0 5px 10px;
2806 background: #f6f6f6;
2808 border-radius: 4px 4px 0 0;
2812 .form-label-button-wrap {
2818 background: transparent;
2822 .form-label-button-wrap .tag-reference-button {
2823 border-radius: 0 3px 0 0;
2826 .form-label-button-wrap .icon {
2830 .form-label button {
2831 border-left: 1px solid #ccc;
2835 background: #f6f6f6;
2837 .form-label button:hover {
2838 background: #f1f1f1;
2841 .form-label .modified-icon,
2842 .form-field .remove-icon {
2846 .modified .form-label .modified-icon,
2847 .present .form-label .remove-icon {
2848 display: inline-block;
2851 .form-field > input,
2852 .form-field > textarea,
2853 .form-field .preset-input-wrap {
2854 border: 1px solid #ccc;
2857 border-radius: 0 0 4px 4px;
2861 .form-field textarea {
2866 border-bottom: 1px solid #ccc
2869 /* Preset form (hover mode) */
2871 .inspector-hover .checkselect label:last-of-type,
2872 .inspector-hover .preset-input-wrap .label,
2873 .inspector-hover .form-field-multicombo,
2874 .inspector-hover input,
2875 .inspector-hover label {
2876 background: #ececec;
2880 .inspector-hover .form-field-multicombo .chips,
2881 .inspector-hover .checkselect label:last-of-type {
2885 .inspector-hover .form-field-multicombo .chips {
2887 border: 1px solid #ccc;
2890 /* hide and remove from layout */
2892 .inspector-hover label input[type="checkbox"],
2893 .inspector-hover label input[type="radio"],
2894 .inspector-hover .toggle-list label,
2895 .inspector-hover .toggle-list label span,
2896 .inspector-hover .inspector-inner .add-tag,
2897 .inspector-hover .inspector-inner .add-relation,
2898 .inspector-hover .form-field-multicombo .combobox-input,
2899 .inspector-hover .toggle-list label.remove .icon {
2903 opacity: 0 !important;
2909 /* hide but preserve in layout */
2910 .inspector-hover .entity-editor-pane button.minor,
2911 .inspector-hover .combobox-caret,
2912 .inspector-hover .entity-editor-pane .header button,
2913 .inspector-hover .spin-control,
2914 .inspector-hover .form-field-multicombo .chips .remove,
2915 .inspector-hover .hide-toggle:before,
2916 .inspector-hover .more-fields,
2917 .inspector-hover .form-label-button-wrap,
2918 .inspector-hover .tag-reference-button,
2919 .inspector-hover .view-on-osm {
2923 /* Styles for raw tag inspector on hover */
2924 .inspector-hover .tag-row .key-wrap,
2925 .inspector-hover .tag-row .form-field.input-wrap-position {
2929 .inspector-hover .tag-row:first-child input.value {
2930 border-top-right-radius: 4px;
2933 .inspector-hover .tag-row:last-child input.value {
2934 border-bottom-right-radius: 4px;
2937 .inspector-hover .tag-row:last-child input.key {
2938 border-bottom-left-radius: 4px;
2941 .inspector-hover .more-fields {
2943 margin-bottom: -10px;
2946 /* Unstyle button fields */
2947 .inspector-hover .toggle-list label.active,
2948 .inspector-hover .entity-editor-pane a.hide-toggle {
2950 background-color: transparent;
2956 .inspector-hover .toggle-list button.active {
2960 /* Add placeholder only on hover for radio buttons */
2961 .inspector-hover .toggle-list .placeholder {
2969 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2970 .toggle-list label.active ~ .placeholder,
2971 .toggle-list .placeholder {
2980 /* adding additional preset fields */
2983 padding: 0 20px 20px 20px;
2987 .more-fields label { padding: 5px 10px 5px 0; }
2988 .more-fields input { width: 50%;}
2990 /* preset form access */
2992 .preset-input-wrap .label {
2994 background: #F6F6F6;
2998 .form-field-access .preset-input-wrap li {
2999 border-bottom: 1px solid #CCC;
3001 .form-field-access .preset-input-wrap li:last-child {
3005 .preset-input-access-wrap input {
3008 border-left-width: 1px;
3011 .preset-input-wrap li:last-child input {
3012 border-bottom-right-radius: 4px;
3015 /* preset form multicombo */
3017 .form-field-multicombo {
3018 border: 1px solid #cfcfcf;
3020 padding: 5px 0 5px 10px;
3023 border-radius: 0 0 4px 4px;
3027 .form-field-multicombo:focus {
3031 .form-field-multicombo.active {
3032 border-bottom-left-radius: 0px;
3033 border-bottom-right-radius: 0px;
3036 .form-field-multicombo li {
3037 background-color: #eff2f7;
3038 border: 1px solid #ccd5e3;
3041 display: inline-block;
3047 .form-field-multicombo a {
3048 font-family: Arial, Helvetica, sans-serif !important;
3049 font-size: 16px !important;
3052 margin: 1px 0 0 5px;
3058 .form-field-multicombo input {
3059 border: 1px solid #ddd;
3064 .form-field-multicombo .combobox-caret {
3065 margin: 3px 3px 3px -30px;
3068 .form-field-multicombo input:focus {
3069 border-radius: 4px !important;
3072 /* preset form cycleway */
3074 .form-field-cycleway .preset-input-wrap li {
3075 border-bottom: 1px solid #CCC;
3077 .form-field-cycleway .preset-input-wrap li:last-child {
3081 .preset-input-cycleway-wrap input {
3084 border-left-width: 1px;
3087 /* preset form numbers */
3089 input[type=number] {
3097 display: inline-block;
3099 margin-bottom: -11px;
3103 .spin-control button {
3109 border-left: 1px solid #CCC;
3111 background: rgba(0, 0, 0, 0);
3114 .spin-control button.decrement {
3115 border-bottom-right-radius: 3px;
3118 .spin-control button.decrement::after,
3119 .spin-control button.increment::after {
3121 height: 0; width: 0;
3123 left: 0; right: 0; bottom: 0; top: 0;
3127 .spin-control button.decrement::after {
3128 border-top: 5px solid #CCC;
3129 border-left: 5px solid transparent;
3130 border-right: 5px solid transparent;
3133 .spin-control button.increment::after {
3134 border-bottom: 5px solid #CCC;
3135 border-left: 5px solid transparent;
3136 border-right: 5px solid transparent;
3139 /* preset form checkbox */
3141 .checkselect label:last-of-type {
3148 .checkselect label:hover {
3149 background: #f1f1f1;
3156 .checkselect label:not(.set) input[type="checkbox"] {
3160 /* Preset form radio button */
3162 .toggle-list button.remove {
3163 border-radius: 0 0 3px 3px;
3166 .toggle-list button.remove .icon {
3171 .toggle-list button.remove::before {
3175 .form-field .wiki-lang {
3179 .form-field .wiki-title {
3183 .form-field .wiki-title ~ .combobox-caret {
3188 .form-field .wiki-link {
3190 background: #fafafa;
3195 .form-field .wiki-link:hover {
3196 background: #f1f1f1;
3199 #preset-input-maxspeed {
3201 border-radius: 0 0 0 4px;
3205 .form-field .maxspeed-unit {
3206 border-radius: 0 0 4px 0;
3210 /* Name + translate form */
3212 .form-field .localized-main {
3216 .form-field .button-input-action {
3221 border: 1px solid #CCC;
3222 border-top-width: 0;
3223 border-right-width: 0;
3224 border-radius: 0 0 4px 0;
3226 vertical-align: top;
3229 .form-field .localized-wrap {
3233 .form-field .localized-wrap .entry {
3238 .form-field .localized-wrap .entry::before {
3251 .form-field .localized-wrap .entry .localized-lang {
3253 border-top-width: 0;
3256 .form-field .localized-wrap .entry .localized-value {
3257 border-top-width: 0;
3258 border-radius: 0 0 4px 4px;
3261 .form-field .localized-wrap .form-label button {
3262 border-top-right-radius: 3px;
3265 /* Preset form address */
3272 .addr-row:first-of-type input {
3276 .addr-row input:first-of-type {
3284 .addr-row:last-of-type input:first-of-type {
3285 border-radius: 0 0 0 4px;
3288 .addr-row:last-of-type input:last-of-type {
3289 border-radius: 0 0 4px 0;
3292 /* Restrictions editor */
3294 .form-field-restrictions .preset-input-wrap {
3299 .form-field-restrictions svg {
3304 .form-field-restrictions .restriction-help {
3311 background-color: rgba(255, 255, 255, .8);
3316 /* combobox dropdown */
3321 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3327 border: 1px solid #ccc;
3328 border-radius: 0 0 4px 4px;
3334 border-top:1px solid #ccc;
3335 text-overflow: ellipsis;
3336 white-space: nowrap;
3340 .combobox a.selected,
3342 background: #ececec;
3345 .combobox a:first-child {
3350 display: inline-block;
3355 vertical-align: top;
3358 .combobox-caret::after {
3360 height: 0; width: 0;
3362 left: 0; right: 0; bottom: 0; top: 0;
3364 border-top: 5px solid #ccc;
3365 border-left: 5px solid transparent;
3366 border-right: 5px solid transparent;
3369 /* Raw Tag Editor */
3385 border-bottom: 1px solid #CCC;
3386 border-left: 1px solid #CCC;
3390 .tag-row .input-wrap-position {
3396 .tag-row input.key {
3398 background-color: #f6f6f6;
3401 .tag-row input.value {
3402 border-right: 1px solid #CCC;
3405 .tag-row:first-child input.key {
3406 border-top: 1px solid #CCC;
3407 border-top-left-radius: 4px;
3410 .tag-row:first-child input.value {
3411 border-top: 1px solid #CCC;
3418 border: 1px solid #CCC;
3419 border-top-width: 0;
3420 border-left-width: 0;
3423 .tag-row button:hover {
3424 background: #f1f1f1;
3427 .tag-row button .icon {
3431 .tag-row:first-child button {
3432 border-top-width: 1px;
3435 .tag-row:first-child .tag-reference-button {
3436 border-top-right-radius: 4px;
3439 .tag-row:last-child .tag-reference-button {
3440 border-bottom-right-radius: 4px;
3443 .tag-row .tag-reference-button {
3448 background: #fafafa;
3451 /* Adding form fields to tag editor */
3453 .inspector-inner .add-tag {
3457 background: rgba(0,0,0,.5);
3458 border-radius: 0 0 4px 4px;
3461 .inspector-inner .add-tag:hover {
3462 background: rgba(0,0,0,.8);
3465 .inspector-inner .add-tag .label {
3471 button.minor.tag-reference-loading {
3472 background-color: #f5f5f5;
3475 .tag-reference-loading .icon {
3476 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3477 background-position: 0 0;
3480 .tag-reference-body {
3485 .tag-reference-body p,
3486 .tag-reference-body img {
3490 .tag-reference-body p:last-child {
3491 padding-bottom: 10px;
3494 .tag-reference-body a {
3496 padding-bottom: 10px;
3499 .preset-list .tag-reference-body {
3504 .preset-list .tag-reference-body a {
3505 padding-bottom: 20px;
3508 .preset-list .tag-reference-body p,
3509 .preset-list .tag-reference-body img {
3513 .raw-tag-editor .tag-reference-body {
3514 border-bottom: 1px solid #ccc;
3519 .raw-tag-editor .tag-reference-body p:last-child {
3520 padding-bottom: 20px;
3523 .raw-tag-editor .tag-reference-body a {
3524 padding-bottom: 20px;
3530 width: -webkit-calc(33.3333% - 10px);
3531 width: calc(33.3333% - 10px);
3536 margin-bottom: 20px;
3539 /* Raw relation membership editor */
3541 .raw-member-editor .member-list li:first-child,
3542 .raw-membership-editor .member-list li:first-child {
3546 .raw-member-editor .member-row,
3547 .raw-membership-editor .member-row {
3551 .raw-member-editor .member-row .member-entity-name,
3552 .raw-membership-editor .member-row .member-entity-name {
3553 font-weight: normal;
3557 .member-incomplete .member-delete {
3561 .member-row-new .member-entity-input {
3562 border-radius: 4px 4px 0 0;
3563 border: 1px solid #cfcfcf;
3569 background: rgba(0,0,0,.5);
3574 .add-relation:hover {
3575 background: rgba(0,0,0,.8);
3578 /* Fullscreen button */
3585 div.full-screen .tooltip {
3589 div.full-screen > button, div.full-screen > button.active {
3592 background: transparent;
3595 div.full-screen > button:hover {
3596 background-color: rgba(0, 0, 0, .8);
3609 .map-control > button {
3611 background: rgba(0,0,0,.5);
3615 .map-control > button:hover {
3616 background: rgba(0, 0, 0, .8);
3619 .map-control > button.active,
3620 .map-control > button.active:hover {
3621 background: #7092ff;
3626 .zoombuttons button.zoom-in {
3627 border-radius: 4px 0 0 0;
3630 /* Background / Map Data Settings */
3632 .map-data-control button {
3636 .background-control button {
3637 border-radius: 4px 0 0 0;
3641 .background-control {
3646 margin-bottom: 10px;
3649 .map-data-control .hide-toggle,
3650 .background-control .hide-toggle {
3651 padding-bottom: 10px;
3654 .layer-list, .controls-list {
3655 margin-bottom: 10px;
3656 border: 1px solid #CCC;
3663 background-color: white;
3671 .layer-list > li:first-child {
3672 border-radius: 3px 3px 0 0;
3675 .layer-list > li:last-child {
3676 border-radius: 0 0 3px 3px;
3679 .layer-list > li:only-child {
3683 .layer-list li:not(:last-child) {
3684 border-bottom: 1px solid #ccc;
3687 .layer-list li:hover {
3688 background-color: #ececec;
3691 .layer-list li.active {
3692 background: #E8EBFF;
3695 .layer-list li.best > div.best {
3696 display: inline-block;
3701 /* make sure tooltip fits in map-control panel */
3702 /* if too wide, placement will be wrong the first time it displays */
3703 .layer-list li.best .tooltip-inner {
3713 .layer-list label > span {
3716 white-space: nowrap;
3717 text-overflow: ellipsis;
3728 .minimap-toggle.active {
3729 background: #E8EBFF;
3732 .minimap-toggle:hover {
3733 background-color: #ececec;
3742 .hide-toggle:before {
3750 border-top: 4px solid transparent;
3751 border-bottom: 4px solid transparent;
3752 border-left: 8px solid #7092ff;
3755 .hide-toggle.expanded:before {
3756 border-top: 8px solid #7092ff;
3758 border-right: 4px solid transparent;
3759 border-left: 4px solid transparent;
3762 /* Adjust Alignment controls */
3764 .background-control .nudge-container {
3765 border: 1px solid #ccc;
3770 .nudge-container .nudge-instructions {
3771 padding-bottom: 15px;
3774 .nudge-container .nudge-outer-rect {
3775 background-color: #eee;
3776 border: 1px solid #ccc;
3781 justify-content: center;
3782 align-items: center;
3788 .nudge-container .nudge-inner-rect {
3789 background-color: #fff;
3790 border: 1px solid #ccc;
3796 .nudge-container .nudge::after {
3801 left: 0; right: 0; top: 0; bottom: 0;
3806 .nudge-container input {
3813 .nudge-container input.error {
3814 border: 1px solid #FF7878;
3819 .nudge-container input:focus {
3820 background-color: transparent;
3823 .nudge-container button {
3828 background-color: transparent;
3831 .nudge-container button.right {
3836 .nudge-container button.left {
3841 .nudge-container button.top {
3846 .nudge-container button.bottom {
3850 .nudge-container button.nudge-reset {
3854 .background-control .nudge.right::after {
3855 border-top: 5px solid transparent;
3856 border-bottom: 5px solid transparent;
3857 border-left: 5px solid #222;
3860 .background-control .nudge.left::after {
3861 border-top: 5px solid transparent;
3862 border-bottom: 5px solid transparent;
3863 border-right: 5px solid #222;
3866 .background-control .nudge.top::after {
3867 border-right: 5px solid transparent;
3868 border-left: 5px solid transparent;
3869 border-bottom: 5px solid #222;
3872 .background-control .nudge.bottom::after {
3873 border-right: 5px solid transparent;
3874 border-left: 5px solid transparent;
3875 border-top: 5px solid #222;
3879 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3885 border: 1px solid #ccc;
3888 .opacity-options li {
3894 .opacity-options li .select-box{
3901 .map-data-control li:hover .select-box,
3902 .map-data-control li.selected .select-box,
3903 .background-control li:hover .select-box,
3904 .background-control li.selected .select-box {
3905 border: 2px solid #7092ff;
3906 background: rgba(89, 123, 231, .5);
3910 .map-data-control li.selected:hover .select-box,
3911 .map-data-control li.selected .select-box,
3912 .background-control li.selected:hover .select-box,
3913 .background-control li.selected .select-box {
3917 .background-control .opacity {
3919 display:inline-block;
3924 .map-data-control .layer-list button,
3925 .background-control .layer-list button {
3929 border-left: 1px solid #CCC;
3933 .map-data-control .layer-list button .icon,
3934 .background-control .layer-list button .icon {
3938 .map-data-control .layer-list button:first-of-type,
3939 .background-control .layer-list button:first-of-type {
3940 border-radius: 0 3px 3px 0;
3943 .map-data-control .map-overlay,
3944 .background-control .map-overlay,
3945 .help-control .map-overlay {
3952 .geolocate-control {
3953 margin-bottom: 10px;
3956 .geolocate-control button {
3957 border-radius: 0 0 0 4px;
3960 .map-overlay.content {
3964 padding: 20px 50px 20px 20px;
3971 .help-control button {
3972 border-radius: 0 0 0 4px;
3977 margin-bottom: 20px;
3980 .help-wrap .left-content .body p code {
3986 /* This is two columns, 41.66666 x .4 = 16.6666 */
3990 margin-bottom: 20px;
3994 .help-wrap .toc li a,
3997 border: 1px solid #CCC;
4001 .help-wrap .toc li a {
4005 .help-wrap .toc li a:hover,
4006 .help-wrap .nav a:hover {
4007 background: #ececec;
4010 .help-wrap .toc li a.selected {
4011 background: #E8EBFF;
4014 .help-wrap .toc li:first-child a {
4015 border-radius: 4px 4px 0 0;
4018 .help-wrap .toc li:nth-last-child(2) a {
4019 border-bottom: 1px solid #CCC;
4020 border-radius: 0 0 4px 4px
4023 .help-wrap .toc li.walkthrough a {
4026 border-bottom: 1px solid #ccc;
4040 .help-wrap .nav a:first-child {
4041 border-radius: 4px 0 0 4px;
4044 .help-wrap .nav a:last-child:not(:only-child) {
4045 border-radius: 0 4px 4px 0;
4049 .help-wrap .nav a:only-child {
4055 ------------------------------------------------------- */
4065 transform-origin:0 0;
4066 -ms-transform-origin:0 0;
4067 -webkit-transform-origin:0 0;
4068 -moz-transform-origin:0 0;
4069 -o-transform-origin:0 0;
4070 -moz-user-select: none;
4071 -webkit-user-select: none;
4072 -ms-user-select: none;
4076 #supersurface, .layer {
4085 ------------------------------------------------------- */
4095 border: #aaa 1px solid;
4096 box-shadow: 0 0 2em black;
4100 transform-origin:0 0;
4101 -ms-transform-origin:0 0;
4102 -webkit-transform-origin:0 0;
4103 -moz-transform-origin:0 0;
4104 -o-transform-origin:0 0;
4105 -moz-user-select: none;
4106 -webkit-user-select: none;
4107 -ms-user-select: none;
4132 stroke: rgba(255, 255, 0, 0.75);
4134 shape-rendering: crispEdges;
4137 .map-in-map-bbox.thick {
4142 ------------------------------------------------------- */
4149 border-radius: 4px 0 0 0;
4150 border-bottom: 1px solid black;
4153 .infobox .infobox-heading {
4155 border-radius: 4px 0 0 0;
4166 background: #7092ff;
4175 ------------------------------------------------------- */
4183 pointer-events: none;
4194 #attrib * { pointer-events: all; }
4196 .base-layer-attribution,
4197 .overlay-layer-attribution {
4203 .base-layer-attribution {
4207 .overlay-layer-attribution {
4211 .overlay-layer-attribution .attribution:not(:last-child):after {
4224 pointer-events: all;
4228 display: table-cell;
4229 vertical-align: bottom;
4247 font: 12px sans-serif;
4257 shape-rendering: crispEdges;
4269 border-left: 1px solid rgba(255,255,255,.5);
4270 padding: 5px 0 5px 5px;
4274 #about-list li:last-child {
4281 padding: 2px 4px 4px 4px;
4284 .source-switch a.live {
4285 background: #d32232;
4289 .feature-warning a {
4290 background: #1e90ff;
4291 padding: 2px 4px 4px 4px;
4296 .user-list a:not(:last-child):after {
4308 .api-status.offline,
4309 .api-status.readonly,
4315 ------------------------------------------------------- */
4319 display: inline-block;
4330 margin-bottom: 10px;
4333 .modal .description {
4349 background:rgba(0,0,0,0.5);
4351 left:0px; right:0px; top:0px; bottom:0px;
4356 border-bottom: 1px solid #CCC;
4359 .modal-section.header h3 {
4363 .modal-section.buttons {
4367 .modal-section.buttons .action {
4368 display: inline-block;
4371 vertical-align: middle;
4374 .save-section .buttons .action,
4375 .save-section .buttons .secondary-action {
4376 display: inline-block;
4379 vertical-align: middle;
4386 .modal-actions button,
4387 .save-success a.button {
4388 font-weight: normal;
4390 border-bottom: 1px solid #CCC;
4394 display: inline-block;
4397 .modal-actions button:hover
4398 .save-success a.button:hover {
4399 background-color: #ececec;
4402 .modal-actions button:before,
4403 .save-success a.button.osm:before,
4404 .walkthrough a:before {
4411 margin-bottom: 10px;
4412 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -200px -460px;
4415 .modal-actions :first-child {
4416 border-right: 1px solid #CCC;
4419 .modal-section:last-child {
4424 ------------------------------------------------------- */
4426 .modal-actions .restore:before {
4427 background-position: -500px -460px;
4430 .modal-actions .reset:before {
4431 background-position: -600px -460px;
4435 ------------------------------------------------------- */
4438 padding: 15px 15px 0 15px;
4440 .save-success a.details {
4443 .save-success .button {
4447 .save-success a.button.social {
4451 .save-success .icon.social {
4457 .save-success .button.osm:before {
4458 background-position: -200px -460px;
4462 ------------------------------------------------------- */
4464 .modal-actions .walkthrough:before,
4465 .walkthrough a:before {
4466 background-position: -300px -460px;
4469 .modal-actions .start:before {
4470 background-position: -400px -460px;
4474 ------------------------------------------------------- */
4476 .mode-save a.user-info {
4477 display: inline-block;
4480 .mode-save .commit-form {
4484 .mode-save .user-info img {
4488 .mode-save h3 small.count {
4502 .mode-save .commit-info {
4503 margin-bottom: 10px;
4506 .mode-save .changeset-list {
4507 border:1px solid #ccc;
4512 .mode-save .warning-section .changeset-list button {
4513 border-left: 1px solid #CCC;
4516 .mode-save .changeset-list li {
4518 border-top:1px solid #ccc;
4523 .mode-save .changeset-list li:hover {
4524 background-color: #ececec;
4527 .mode-save .changeset-list .alert {
4531 .changeset-list li span.count {
4536 .mode-save .commit-section .changeset-list button {
4537 border-left: 1px solid #CCC;
4540 .changeset-list li span.count:before { content: '('; }
4542 .changeset-list li span.count:after { content: ')'; }
4544 .changeset-list li:first-child { border-top: 0;}
4546 /* Conflict resolution
4547 ------------------------------------------------------- */
4551 background-color: #ffffbb;
4552 border-bottom: 1px solid #ccc;
4555 .conflicts-buttons {
4559 .mode-save button.conflicts-button {
4563 .conflict-container {
4564 border-bottom: 1px solid #ccc;
4567 .conflict-description {
4573 padding: 20px 20px 0 20px;
4576 .conflict-detail-container {
4588 .conflict-nav-buttons {
4589 padding: 10px 0 20px 0;
4592 .conflict-nav-button {
4597 ------------------------------------------------------- */
4619 .notice .zoom-to:hover {
4620 background: #d8e1ff;
4623 .notice .zoom-to .icon {
4629 ------------------------------------------------------- */
4666 display: inline-block;
4671 font-weight: normal;
4672 background-color: white;
4678 pointer-events: none;
4682 background: transparent;
4690 border-color: transparent;
4691 border-style: solid;
4695 border-left-color: white;
4696 border-width: 5px 0 5px 5px;
4715 border-color: transparent;
4716 border-style: solid;
4720 border-right-color: white;
4721 border-width: 5px 5px 5px 0;
4728 border-color: transparent;
4729 border-style: solid;
4732 .tooltip.top .tooltip-arrow {
4736 border-top-color: white;
4737 border-width: 5px 5px 0;
4740 .tooltip.right .tooltip-arrow {
4744 border-right-color: white;
4745 border-width: 5px 5px 5px 0;
4748 .tooltip.left .tooltip-arrow {
4752 border-left-color: white;
4753 border-width: 5px 0 5px 5px;
4756 .tooltip.bottom .tooltip-arrow {
4760 border-bottom-color: white;
4761 border-width: 0 5px 5px;
4765 background: #F6F6F6;
4767 margin: 10px -10px -10px;
4768 border-radius: 0 0 3px 3px;
4771 .tooltip-inner .keyhint {
4775 /* Exceptions for tooltip layouts */
4777 /* make tooltips in panels dark */
4778 .map-overlay .tooltip.top .tooltip-arrow,
4779 .entity-editor-pane .tooltip.top .tooltip-arrow,
4780 .warning-section .tooltip.top .tooltip-arrow {
4781 border-top-color: #000;
4784 .map-overlay .tooltip.bottom .tooltip-arrow,
4785 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4786 .warning-section .tooltip.bottom .tooltip-arrow {
4787 border-bottom-color: #000;
4790 .map-overlay .tooltip.left .tooltip-arrow,
4791 .entity-editor-pane .tooltip.left .tooltip-arrow,
4792 .warning-section .tooltip.left .tooltip-arrow {
4793 border-left-color: #000;
4796 .map-overlay .tooltip.right .tooltip-arrow,
4797 .entity-editor-pane .tooltip.right .tooltip-arrow,
4798 .warning-section .tooltip.right .tooltip-arrow {
4799 border-right-color: #000;
4802 .map-overlay .tooltip-inner,
4803 .map-overlay .keyhint-wrap,
4804 .entity-editor-pane .tooltip-inner,
4805 .warning-section .tooltip-inner {
4809 /* commit warning tooltips need to be closer */
4810 .warning-section .tooltip.top {
4814 /* Uncramp map-control tooltips */
4815 .map-control .tooltip {
4818 /* Move over tooltips that are near the edge of screen */
4819 .add-point .tooltip {
4820 left: 33.3333% !important;
4823 .curtain-tooltip.intro-points-add .tooltip-arrow,
4824 .add-point .tooltip .tooltip-arrow {
4828 .radial-menu-tooltip {
4835 .radial-menu-background {
4838 stroke-opacity: 0.5;
4841 .radial-menu-item circle {
4845 .radial-menu-item circle:active,
4846 .radial-menu-item circle:hover {
4850 .radial-menu-item.disabled circle {
4852 fill: rgba(255,255,255,.5);
4855 .radial-menu-item use {
4860 .radial-menu-item.disabled use {
4861 fill: rgba(32,32,32,.5);
4862 color: rgba(40,40,40,.5);
4870 stroke-dasharray: 5, 5;
4874 ------------------------------------------------------- */
4876 @media only screen and (max-width: 840px) {
4877 /* override hide for save button */
4878 #bar .save .label { display: block;}
4881 @media screen and (max-width: 1200px) {
4882 .user-list { display: none !important; }
4885 @media screen and (max-width: 1000px) {
4886 #userLink { display: none !important; }
4889 @media screen and (max-width: 900px) {
4890 #scale-block { display: none !important; }
4895 ----------------------------------------------------- */
4897 ::-webkit-scrollbar {
4902 border-left: 1px solid #DDD;
4905 ::-webkit-scrollbar-track {
4906 background-clip: padding-box;
4907 border: solid transparent;
4911 ::-webkit-scrollbar-thumb {
4912 background-color: rgba(0,0,0,.2);
4913 background-clip: padding-box;
4914 border: solid transparent;
4915 border-width: 3px 3px 3px 4px;
4918 ::-webkit-scrollbar-track:hover,
4919 ::-webkit-scrollbar-track:active {
4920 background-color: rgba(0,0,0,.05);
4923 /* Intro walkthrough
4924 ----------------------------------------------------- */
4927 pointer-events: all;
4942 .intro-nav-wrap button.step {
4946 .intro-nav-wrap button.step.finished {
4947 background: #8cd05f;
4950 .intro-nav-wrap button.step .icon {
4954 .intro-nav-wrap button.step.finished .icon {
4955 display: inline-block;
4959 .curtain-tooltip .tooltip-inner {
4964 .curtain-tooltip .tooltip-inner {
4968 .curtain-tooltip .tooltip-inner .bold {
4971 border-top: 1px solid #CCC;
4974 margin-right: -20px;
4975 padding: 10px 20px 0 20px;
4978 .curtain-tooltip .tooltip-inner .bold:only-child {
4984 .curtain-tooltip.intro-points-describe {
4985 top: 133px !important;
4988 /* Tooltip illustrations */
4990 .intro-points-add .tooltip-inner::before,
4991 .intro-areas-add .tooltip-inner::before,
4992 .intro-lines-add .tooltip-inner::before {
4998 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat 0 -320px;
5001 .intro-areas-add .tooltip-inner::before {
5002 background-position: 0 -400px;
5005 .intro-lines-add .tooltip-inner::before {
5006 background-position: 0 -480px;
5009 .huge-modal-button {
5015 .huge-modal-button .illustration {
5018 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px;