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;}
2123 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2127 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2128 background-size:5px 5px;
2164 display: inline-block;
2171 background-color: #ececec;
2176 background-color: rgba(255,255,255,.25);
2177 color: rgba(0,0,0,.5);
2182 background: #7092ff;
2192 background-color: #fafafa;
2195 button.minor .icon {
2199 button.minor:hover {
2200 background-color: #f1f1f1;
2204 display: inline-block;
2209 .button-wrap button:only-child {
2213 .button-wrap:last-of-type {
2219 border-right: 1px solid rgba(0,0,0,.5);
2222 .fillL .joined button {
2223 border-right: 1px solid white;
2226 .joined button:first-child {
2227 border-radius:4px 0 0 4px;
2230 .joined button:last-child {
2231 border-right-width: 0;
2232 border-radius:0 4px 4px 0;
2236 background: #7092ff;
2240 button[disabled].action,
2241 button[disabled].action:hover {
2242 background: #cccccc;
2246 button.action:focus,
2247 button.action:hover {
2248 background: #597BE7;
2251 button.secondary-action {
2252 background: #ececec;
2255 button.secondary-action:focus,
2256 button.secondary-action:hover {
2257 background: #cccccc;
2260 button.save.has-count {
2264 button.save .count {
2268 button.save.has-count .count {
2272 background: rgba(255, 255, 255, .5);
2279 margin-left: 8.3333%;
2282 button.save.has-count .count::before {
2291 border-top: 6px solid transparent;
2292 border-bottom: 6px solid transparent;
2293 border-right: 6px solid rgba(255,255,255,.5);
2299 vertical-align: top;
2305 vertical-align: text-top;
2340 /* ToolBar / Persistent UI Elements
2341 ------------------------------------------------------- */
2354 /* Header for modals / panes
2355 ------------------------------------------------------- */
2358 border-bottom: 1px solid #ccc;
2366 white-space: nowrap;
2367 text-overflow: ellipsis;
2369 padding: 20px 20px 20px 40px;
2385 .entity-editor-pane .header button.preset-close,
2386 .preset-list-pane .header button.preset-choose {
2392 .entity-editor-pane .header button.preset-choose {
2415 padding: 5px 20px 5px 20px;
2416 border-top: 1px solid #ccc;
2417 background-color: #fafafa;
2421 .sidebar-component .body {
2430 ------------------------------------------------------- */
2438 background: #f6f6f6;
2441 .sidebar-component {
2473 background-color: #fff;
2476 .mapillary-image a {
2480 background-color: rgba(0,0,0,.5);
2485 .mapillary-image img {
2491 .mapillary-image.hidden {
2495 .mapillary-image.temp button {
2499 .mapillary-image button {
2507 .feature-list-pane .inspector-body {
2511 .preset-list-pane .inspector-body {
2515 .entity-editor-pane .inspector-body {
2519 .selection-list-pane .inspector-body {
2528 #sidebar .search-header .icon {
2533 pointer-events: none;
2536 #sidebar .search-header input {
2544 border-bottom-width: 1px;
2558 .feature-list-item {
2561 border-bottom: 1px solid #ccc;
2565 .feature-list-item .label {
2568 white-space: nowrap;
2569 text-overflow: ellipsis;
2571 border-left: 1px solid rgba(0, 0, 0, .1);
2574 .feature-list-item .label .icon {
2578 .feature-list-item:hover .label {
2579 background-color: #ececec;
2582 .feature-list-item .entity-type {
2586 .feature-list-item:hover .entity-type {
2590 .feature-list-item .entity-name {
2591 font-weight: normal;
2597 ------------------------------------------------------- */
2603 padding: 20px 20px 10px 20px;
2604 border-bottom: 1px solid #ccc;
2607 .preset-list-button-wrap {
2609 margin-bottom: 10px;
2613 .preset-list-button {
2617 border: 1px solid #ccc;
2620 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2621 background: #ececec;
2624 .preset-icon-fill-area {
2634 .preset-icon-frame {
2643 .preset-icon-frame .icon {
2655 .preset-icon-60 .icon {
2667 .preset-icon-44 .icon {
2675 left: 13px; /* Maki icons off center? */
2679 .preset-icon-32 .icon {
2684 .preset-list-button .label {
2685 background-color: #f6f6f6;
2694 white-space: nowrap;
2695 text-overflow: ellipsis;
2697 border-left: 1px solid rgba(0, 0, 0, .1);
2698 border-radius: 0 3px 3px 0;
2701 .preset-list-button:hover .label {
2702 background-color: #ececec;
2705 .preset-list-item button.tag-reference-button {
2707 border: 1px solid #CCC;
2708 border-radius: 0 3px 3px 0;
2713 background: #fafafa;
2716 .preset-list-item button.tag-reference-button:hover {
2717 background: #f1f1f1;
2720 .preset-list-item button.tag-reference-button .icon {
2724 .current .preset-list-button,
2725 .current .preset-list-button .label {
2726 background-color: #E8EBFF;
2729 .category .preset-list-button:after,
2730 .category .preset-list-button:before {
2734 left: -1px; right: -1px;
2735 border: 1px solid #ccc;
2736 border-bottom: none;
2737 border-radius: 6px 6px 0 0;
2741 .category .preset-list-button:before {
2745 .subgrid .preset-list {
2746 padding: 10px 10px 0 10px;
2750 width: -webkit-calc(100% + 20px);
2755 border: solid rgba(0, 0, 0, 0);
2757 border-bottom-color: #f1f1f1;
2761 margin-left: -webkit-calc(50% - 10px);
2766 /* preset form basics */
2770 padding-bottom: 10px;
2773 .inspector-preset a.hide-toggle {
2774 margin: 0 20px 10px 20px;
2777 .inspector-preset .preset-form {
2779 margin: 0 10px 10px 10px;
2783 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2788 margin-bottom: 10px;
2790 -webkit-transition: margin-bottom 200ms;
2791 -moz-transition: margin-bottom 200ms;
2792 -o-transition: margin-bottom 200ms;
2793 transition: margin-bottom 200ms;
2796 .form-field:last-child {
2803 border: 1px solid #cfcfcf;
2804 padding: 5px 0 5px 10px;
2805 background: #f6f6f6;
2807 border-radius: 4px 4px 0 0;
2811 .form-label-button-wrap {
2817 background: transparent;
2821 .form-label-button-wrap .tag-reference-button {
2822 border-radius: 0 3px 0 0;
2825 .form-label-button-wrap .icon {
2829 .form-label button {
2830 border-left: 1px solid #CCC;
2834 background: #f6f6f6;
2836 .form-label button:hover {
2837 background: #f1f1f1;
2840 .form-label .modified-icon,
2841 .form-field .remove-icon {
2845 .modified .form-label .modified-icon,
2846 .present .form-label .remove-icon {
2847 display: inline-block;
2850 .form-field > input,
2851 .form-field > textarea,
2852 .form-field .preset-input-wrap {
2853 border: 1px solid #CCC;
2856 border-radius: 0 0 4px 4px;
2860 .form-field textarea {
2865 border-bottom: 1px solid #CCC
2868 /* Preset form (hover mode) */
2870 .inspector-hover .checkselect label:last-of-type,
2871 .inspector-hover .preset-input-wrap .label,
2872 .inspector-hover input,
2873 .inspector-hover label {
2874 background: #ececec;
2878 .inspector-hover .checkselect label:last-of-type {
2882 /* hide and remove from layout */
2884 .inspector-hover label input[type="checkbox"],
2885 .inspector-hover label input[type="radio"],
2886 .inspector-hover .toggle-list label,
2887 .inspector-hover .toggle-list label span,
2888 .inspector-hover .inspector-inner .add-tag,
2889 .inspector-hover .inspector-inner .add-relation,
2890 .inspector-hover .toggle-list label.remove .icon {
2894 opacity: 0 !important;
2900 /* hide but preserve in layout */
2901 .inspector-hover .entity-editor-pane button.minor,
2902 .inspector-hover .combobox-caret,
2903 .inspector-hover .entity-editor-pane .header button,
2904 .inspector-hover .spin-control,
2905 .inspector-hover .hide-toggle:before,
2906 .inspector-hover .more-fields,
2907 .inspector-hover .form-label-button-wrap,
2908 .inspector-hover .tag-reference-button,
2909 .inspector-hover .view-on-osm {
2913 /* Styles for raw tag inspector on hover */
2914 .inspector-hover .tag-row .key-wrap,
2915 .inspector-hover .tag-row .form-field.input-wrap-position {
2919 .inspector-hover .tag-row:first-child input.value {
2920 border-top-right-radius: 4px;
2923 .inspector-hover .tag-row:last-child input.value {
2924 border-bottom-right-radius: 4px;
2927 .inspector-hover .tag-row:last-child input.key {
2928 border-bottom-left-radius: 4px;
2931 .inspector-hover .more-fields {
2933 margin-bottom: -10px;
2936 /* Unstyle button fields */
2937 .inspector-hover .toggle-list label.active,
2938 .inspector-hover .entity-editor-pane a.hide-toggle {
2940 background-color: transparent;
2946 .inspector-hover .toggle-list button.active {
2950 /* Add placeholder only on hover for radio buttons */
2951 .inspector-hover .toggle-list .placeholder {
2959 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2960 .toggle-list label.active ~ .placeholder,
2961 .toggle-list .placeholder {
2970 /* adding additional preset fields */
2973 padding: 0 20px 20px 20px;
2977 .more-fields label { padding: 5px 10px 5px 0; }
2978 .more-fields input { width: 50%;}
2980 /* preset form access */
2982 .preset-input-wrap .label {
2984 background: #F6F6F6;
2988 .form-field-access .preset-input-wrap li {
2989 border-bottom: 1px solid #CCC;
2991 .form-field-access .preset-input-wrap li:last-child {
2995 .preset-input-access-wrap input {
2998 border-left-width: 1px;
3001 .preset-input-wrap li:last-child input {
3002 border-bottom-right-radius: 4px;
3005 /* preset form cycleway */
3007 .form-field-cycleway .preset-input-wrap li {
3008 border-bottom: 1px solid #CCC;
3010 .form-field-cycleway .preset-input-wrap li:last-child {
3014 .preset-input-cycleway-wrap input {
3017 border-left-width: 1px;
3020 /* preset form numbers */
3022 input[type=number] {
3030 display: inline-block;
3032 margin-bottom: -11px;
3036 .spin-control button {
3042 border-left: 1px solid #CCC;
3044 background: rgba(0, 0, 0, 0);
3047 .spin-control button.decrement {
3048 border-bottom-right-radius: 3px;
3051 .spin-control button.decrement::after,
3052 .spin-control button.increment::after {
3054 height: 0; width: 0;
3056 left: 0; right: 0; bottom: 0; top: 0;
3060 .spin-control button.decrement::after {
3061 border-top: 5px solid #CCC;
3062 border-left: 5px solid transparent;
3063 border-right: 5px solid transparent;
3066 .spin-control button.increment::after {
3067 border-bottom: 5px solid #CCC;
3068 border-left: 5px solid transparent;
3069 border-right: 5px solid transparent;
3072 /* preset form checkbox */
3074 .checkselect label:last-of-type {
3081 .checkselect label:hover {
3082 background: #f1f1f1;
3089 .checkselect label:not(.set) input[type="checkbox"] {
3093 /* Preset form radio button */
3095 .toggle-list button.remove {
3096 border-radius: 0 0 3px 3px;
3099 .toggle-list button.remove .icon {
3104 .toggle-list button.remove::before {
3108 .form-field .wiki-lang {
3112 .form-field .wiki-title {
3116 .form-field .wiki-title ~ .combobox-caret {
3121 .form-field .wiki-link {
3123 background: #fafafa;
3128 .form-field .wiki-link:hover {
3129 background: #f1f1f1;
3132 #preset-input-maxspeed {
3134 border-radius: 0 0 0 4px;
3138 .form-field .maxspeed-unit {
3139 border-radius: 0 0 4px 0;
3143 /* Name + translate form */
3145 .form-field .localized-main {
3149 .form-field .button-input-action {
3154 border: 1px solid #CCC;
3155 border-top-width: 0;
3156 border-right-width: 0;
3157 border-radius: 0 0 4px 0;
3159 vertical-align: top;
3162 .form-field .localized-wrap {
3166 .form-field .localized-wrap .entry {
3171 .form-field .localized-wrap .entry::before {
3184 .form-field .localized-wrap .entry .localized-lang {
3186 border-top-width: 0;
3189 .form-field .localized-wrap .entry .localized-value {
3190 border-top-width: 0;
3191 border-radius: 0 0 4px 4px;
3194 .form-field .localized-wrap .form-label button {
3195 border-top-right-radius: 3px;
3198 /* Preset form address */
3205 .addr-row:first-of-type input {
3209 .addr-row input:first-of-type {
3217 .addr-row:last-of-type input:first-of-type {
3218 border-radius: 0 0 0 4px;
3221 .addr-row:last-of-type input:last-of-type {
3222 border-radius: 0 0 4px 0;
3225 /* Restrictions editor */
3227 .form-field-restrictions .preset-input-wrap {
3232 .form-field-restrictions svg {
3237 .form-field-restrictions .restriction-help {
3244 background-color: rgba(255, 255, 255, .8);
3249 /* combobox dropdown */
3254 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3260 border: 1px solid #ccc;
3261 border-radius: 0 0 4px 4px;
3267 border-top:1px solid #ccc;
3268 text-overflow: ellipsis;
3269 white-space: nowrap;
3273 .combobox a.selected,
3275 background: #ececec;
3278 .combobox a:first-child {
3283 display: inline-block;
3288 vertical-align: top;
3291 .combobox-caret::after {
3293 height: 0; width: 0;
3295 left: 0; right: 0; bottom: 0; top: 0;
3297 border-top: 5px solid #ccc;
3298 border-left: 5px solid transparent;
3299 border-right: 5px solid transparent;
3302 /* Raw Tag Editor */
3318 border-bottom: 1px solid #CCC;
3319 border-left: 1px solid #CCC;
3323 .tag-row .input-wrap-position {
3329 .tag-row input.key {
3331 background-color: #f6f6f6;
3334 .tag-row input.value {
3335 border-right: 1px solid #CCC;
3338 .tag-row:first-child input.key {
3339 border-top: 1px solid #CCC;
3340 border-top-left-radius: 4px;
3343 .tag-row:first-child input.value {
3344 border-top: 1px solid #CCC;
3351 border: 1px solid #CCC;
3352 border-top-width: 0;
3353 border-left-width: 0;
3356 .tag-row button:hover {
3357 background: #f1f1f1;
3360 .tag-row button .icon {
3364 .tag-row:first-child button {
3365 border-top-width: 1px;
3368 .tag-row:first-child .tag-reference-button {
3369 border-top-right-radius: 4px;
3372 .tag-row:last-child .tag-reference-button {
3373 border-bottom-right-radius: 4px;
3376 .tag-row .tag-reference-button {
3381 background: #fafafa;
3384 /* Adding form fields to tag editor */
3386 .inspector-inner .add-tag {
3390 background: rgba(0,0,0,.5);
3391 border-radius: 0 0 4px 4px;
3394 .inspector-inner .add-tag:hover {
3395 background: rgba(0,0,0,.8);
3398 .inspector-inner .add-tag .label {
3404 button.minor.tag-reference-loading {
3405 background-color: #f5f5f5;
3408 .tag-reference-loading .icon {
3409 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3410 background-position: 0 0;
3413 .tag-reference-body {
3418 .tag-reference-body p,
3419 .tag-reference-body img {
3423 .tag-reference-body p:last-child {
3424 padding-bottom: 10px;
3427 .tag-reference-body a {
3429 padding-bottom: 10px;
3432 .preset-list .tag-reference-body {
3437 .preset-list .tag-reference-body a {
3438 padding-bottom: 20px;
3441 .preset-list .tag-reference-body p,
3442 .preset-list .tag-reference-body img {
3446 .raw-tag-editor .tag-reference-body {
3447 border-bottom: 1px solid #ccc;
3452 .raw-tag-editor .tag-reference-body p:last-child {
3453 padding-bottom: 20px;
3456 .raw-tag-editor .tag-reference-body a {
3457 padding-bottom: 20px;
3463 width: -webkit-calc(33.3333% - 10px);
3464 width: calc(33.3333% - 10px);
3469 margin-bottom: 20px;
3472 /* Raw relation membership editor */
3474 .raw-member-editor .member-list li:first-child,
3475 .raw-membership-editor .member-list li:first-child {
3479 .raw-member-editor .member-row,
3480 .raw-membership-editor .member-row {
3484 .raw-member-editor .member-row .member-entity-name,
3485 .raw-membership-editor .member-row .member-entity-name {
3486 font-weight: normal;
3490 .member-incomplete .member-delete {
3494 .member-row-new .member-entity-input {
3495 border-radius: 4px 4px 0 0;
3496 border: 1px solid #cfcfcf;
3502 background: rgba(0,0,0,.5);
3507 .add-relation:hover {
3508 background: rgba(0,0,0,.8);
3511 /* Fullscreen button */
3518 div.full-screen .tooltip {
3522 div.full-screen > button, div.full-screen > button.active {
3525 background: transparent;
3528 div.full-screen > button:hover {
3529 background-color: rgba(0, 0, 0, .8);
3542 .map-control > button {
3544 background: rgba(0,0,0,.5);
3548 .map-control > button:hover {
3549 background: rgba(0, 0, 0, .8);
3552 .map-control > button.active,
3553 .map-control > button.active:hover {
3554 background: #7092ff;
3559 .zoombuttons button.zoom-in {
3560 border-radius: 4px 0 0 0;
3563 /* Background / Map Data Settings */
3566 .map-data-control button {
3570 .background-control button {
3571 border-radius: 4px 0 0 0;
3575 .background-control {
3580 border: 1px solid #CCC;
3584 margin-bottom: 10px;
3587 .background-control .adjustments button:last-child {
3591 .map-data-control .hide-toggle,
3592 .background-control .hide-toggle {
3593 padding-bottom: 10px;
3596 .layer-list, .controls-list {
3597 margin-bottom: 10px;
3598 border: 1px solid #CCC;
3605 background-color: white;
3613 .layer-list > li:first-child {
3614 border-radius: 3px 3px 0 0;
3617 .layer-list > li:last-child {
3618 border-radius: 0 0 3px 3px;
3621 .layer-list > li:only-child {
3625 .layer-list li:not(:last-child) {
3626 border-bottom: 1px solid #ccc;
3629 .layer-list li:hover {
3630 background-color: #ececec;
3633 .layer-list li.active {
3634 background: #E8EBFF;
3637 .layer-list li.best > div.best {
3638 display: inline-block;
3643 /* make sure tooltip fits in map-control panel */
3644 /* if too wide, placement will be wrong the first time it displays */
3645 .layer-list li.best .tooltip-inner {
3655 .layer-list label > span {
3658 white-space: nowrap;
3659 text-overflow: ellipsis;
3670 .minimap-toggle.active {
3671 background: #E8EBFF;
3674 .minimap-toggle:hover {
3675 background-color: #ececec;
3684 .hide-toggle:before {
3692 border-top: 4px solid transparent;
3693 border-bottom: 4px solid transparent;
3694 border-left: 8px solid #7092ff;
3697 .hide-toggle.expanded:before {
3698 border-top: 8px solid #7092ff;
3700 border-right: 4px solid transparent;
3701 border-left: 4px solid transparent;
3704 .background-control .nudge-container button {
3708 border-right: 1px solid #CCC;
3712 .background-control .nudge::after {
3717 left: 0; right: 0; top: 0; bottom: 0;
3722 .background-control .nudge.left::after {
3723 border-top: 5px solid transparent;
3724 border-bottom: 5px solid transparent;
3725 border-left: 5px solid #222;
3728 .background-control .nudge.right::after {
3729 border-top: 5px solid transparent;
3730 border-bottom: 5px solid transparent;
3731 border-right: 5px solid #222;
3734 .background-control .nudge.top::after {
3735 border-right: 5px solid transparent;
3736 border-left: 5px solid transparent;
3737 border-bottom: 5px solid #222;
3740 .background-control .nudge.bottom::after {
3741 border-right: 5px solid transparent;
3742 border-left: 5px solid transparent;
3743 border-top: 5px solid #222;
3747 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3753 border: 1px solid #ccc;
3756 .opacity-options li {
3762 .opacity-options li .select-box{
3769 .map-data-control li:hover .select-box,
3770 .map-data-control li.selected .select-box,
3771 .background-control li:hover .select-box,
3772 .background-control li.selected .select-box {
3773 border: 2px solid #7092ff;
3774 background: rgba(89, 123, 231, .5);
3778 .map-data-control li.selected:hover .select-box,
3779 .map-data-control li.selected .select-box,
3780 .background-control li.selected:hover .select-box,
3781 .background-control li.selected .select-box {
3785 .background-control .opacity {
3787 display:inline-block;
3792 .map-data-control .layer-list button,
3793 .background-control .layer-list button {
3797 border-left: 1px solid #CCC;
3801 .map-data-control .layer-list button .icon,
3802 .background-control .layer-list button .icon {
3806 .map-data-control .layer-list button:first-of-type,
3807 .background-control .layer-list button:first-of-type {
3808 border-radius: 0 3px 3px 0;
3811 .map-data-control .map-overlay,
3812 .background-control .map-overlay,
3813 .help-control .map-overlay {
3820 .geolocate-control {
3821 margin-bottom: 10px;
3824 .geolocate-control button {
3825 border-radius: 0 0 0 4px;
3828 .map-overlay.content {
3832 padding: 20px 50px 20px 20px;
3839 .help-control button {
3840 border-radius: 0 0 0 4px;
3845 margin-bottom: 20px;
3848 .help-wrap .left-content .body p code {
3854 /* This is two columns, 41.66666 x .4 = 16.6666 */
3858 margin-bottom: 20px;
3862 .help-wrap .toc li a,
3865 border: 1px solid #CCC;
3869 .help-wrap .toc li a {
3873 .help-wrap .toc li a:hover,
3874 .help-wrap .nav a:hover {
3875 background: #ececec;
3878 .help-wrap .toc li a.selected {
3879 background: #E8EBFF;
3882 .help-wrap .toc li:first-child a {
3883 border-radius: 4px 4px 0 0;
3886 .help-wrap .toc li:nth-last-child(2) a {
3887 border-bottom: 1px solid #CCC;
3888 border-radius: 0 0 4px 4px
3891 .help-wrap .toc li.walkthrough a {
3894 border-bottom: 1px solid #ccc;
3908 .help-wrap .nav a:first-child {
3909 border-radius: 4px 0 0 4px;
3912 .help-wrap .nav a:last-child:not(:only-child) {
3913 border-radius: 0 4px 4px 0;
3917 .help-wrap .nav a:only-child {
3923 ------------------------------------------------------- */
3933 transform-origin:0 0;
3934 -ms-transform-origin:0 0;
3935 -webkit-transform-origin:0 0;
3936 -moz-transform-origin:0 0;
3937 -o-transform-origin:0 0;
3938 -moz-user-select: none;
3939 -webkit-user-select: none;
3940 -ms-user-select: none;
3944 #supersurface, .layer {
3953 ------------------------------------------------------- */
3963 border: #aaa 1px solid;
3964 box-shadow: 0 0 2em black;
3968 transform-origin:0 0;
3969 -ms-transform-origin:0 0;
3970 -webkit-transform-origin:0 0;
3971 -moz-transform-origin:0 0;
3972 -o-transform-origin:0 0;
3973 -moz-user-select: none;
3974 -webkit-user-select: none;
3975 -ms-user-select: none;
3999 stroke: rgba(255, 255, 0, 0.75);
4001 shape-rendering: crispEdges;
4004 .map-in-map-bbox.thick {
4009 ------------------------------------------------------- */
4016 border-radius: 4px 0 0 0;
4017 border-bottom: 1px solid black;
4020 .infobox .infobox-heading {
4022 border-radius: 4px 0 0 0;
4033 background: #7092ff;
4042 ------------------------------------------------------- */
4050 pointer-events: none;
4061 #attrib * { pointer-events: all; }
4063 .base-layer-attribution,
4064 .overlay-layer-attribution {
4070 .base-layer-attribution {
4074 .overlay-layer-attribution {
4078 .overlay-layer-attribution .attribution:not(:last-child):after {
4091 pointer-events: all;
4095 display: table-cell;
4096 vertical-align: bottom;
4114 font: 12px sans-serif;
4124 shape-rendering: crispEdges;
4136 border-left: 1px solid rgba(255,255,255,.5);
4137 padding: 5px 0 5px 5px;
4141 #about-list li:last-child {
4148 padding: 2px 4px 4px 4px;
4151 .source-switch a.live {
4152 background: #d32232;
4156 .feature-warning a {
4157 background: #1e90ff;
4158 padding: 2px 4px 4px 4px;
4163 .user-list a:not(:last-child):after {
4175 .api-status.offline,
4176 .api-status.readonly,
4182 ------------------------------------------------------- */
4186 display: inline-block;
4197 margin-bottom: 10px;
4200 .modal .description {
4216 background:rgba(0,0,0,0.5);
4218 left:0px; right:0px; top:0px; bottom:0px;
4223 border-bottom: 1px solid #CCC;
4226 .modal-section.header h3 {
4230 .modal-section.buttons {
4234 .modal-section.buttons .action {
4235 display: inline-block;
4238 vertical-align: middle;
4241 .save-section .buttons .action {
4242 display: inline-block;
4245 vertical-align: middle;
4252 .modal-actions button,
4253 .save-success a.button {
4254 font-weight: normal;
4256 border-bottom: 1px solid #CCC;
4260 display: inline-block;
4263 .modal-actions button:hover
4264 .save-success a.button:hover {
4265 background-color: #ececec;
4268 .modal-actions button:before,
4269 .save-success a.button.osm:before,
4270 .walkthrough a:before {
4277 margin-bottom: 10px;
4278 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -200px -460px;
4281 .modal-actions :first-child {
4282 border-right: 1px solid #CCC;
4285 .modal-section:last-child {
4290 ------------------------------------------------------- */
4292 .modal-actions .restore:before {
4293 background-position: -500px -460px;
4296 .modal-actions .reset:before {
4297 background-position: -600px -460px;
4301 ------------------------------------------------------- */
4304 padding: 15px 15px 0 15px;
4306 .save-success a.details {
4309 .save-success .button {
4313 .save-success a.button.social {
4317 .save-success .icon.social {
4323 .save-success .button.osm:before {
4324 background-position: -200px -460px;
4328 ------------------------------------------------------- */
4330 .modal-actions .walkthrough:before,
4331 .walkthrough a:before {
4332 background-position: -300px -460px;
4335 .modal-actions .start:before {
4336 background-position: -400px -460px;
4340 ------------------------------------------------------- */
4342 .mode-save a.user-info {
4343 display: inline-block;
4346 .mode-save .commit-form {
4350 .mode-save .user-info img {
4354 .mode-save h3 small.count {
4368 .mode-save .commit-info {
4369 margin-bottom: 10px;
4372 .mode-save .changeset-list {
4373 border:1px solid #ccc;
4378 .mode-save .warning-section .changeset-list button {
4379 border-left: 1px solid #CCC;
4382 .mode-save .changeset-list li {
4384 border-top:1px solid #ccc;
4389 .mode-save .changeset-list li:hover {
4390 background-color: #ececec;
4393 .mode-save .changeset-list .alert {
4397 .changeset-list li span.count {
4402 .mode-save .commit-section .changeset-list button {
4403 border-left: 1px solid #CCC;
4406 .changeset-list li span.count:before { content: '('; }
4408 .changeset-list li span.count:after { content: ')'; }
4410 .changeset-list li:first-child { border-top: 0;}
4412 /* Conflict resolution
4413 ------------------------------------------------------- */
4417 background-color: #ffffbb;
4418 border-bottom: 1px solid #ccc;
4421 .conflicts-buttons {
4425 .mode-save button.conflicts-button {
4429 .conflict-container {
4430 border-bottom: 1px solid #ccc;
4433 .conflict-description {
4439 padding: 20px 20px 0 20px;
4442 .conflict-detail-container {
4454 .conflict-nav-buttons {
4455 padding: 10px 0 20px 0;
4458 .conflict-nav-button {
4463 ------------------------------------------------------- */
4485 .notice .zoom-to:hover {
4486 background: #d8e1ff;
4489 .notice .zoom-to .icon {
4495 ------------------------------------------------------- */
4532 display: inline-block;
4537 font-weight: normal;
4538 background-color: white;
4544 pointer-events: none;
4548 background: transparent;
4556 border-color: transparent;
4557 border-style: solid;
4561 border-left-color: white;
4562 border-width: 5px 0 5px 5px;
4581 border-color: transparent;
4582 border-style: solid;
4586 border-right-color: white;
4587 border-width: 5px 5px 5px 0;
4594 border-color: transparent;
4595 border-style: solid;
4598 .tooltip.top .tooltip-arrow {
4602 border-top-color: white;
4603 border-width: 5px 5px 0;
4606 .tooltip.right .tooltip-arrow {
4610 border-right-color: white;
4611 border-width: 5px 5px 5px 0;
4614 .tooltip.left .tooltip-arrow {
4618 border-left-color: white;
4619 border-width: 5px 0 5px 5px;
4622 .tooltip.bottom .tooltip-arrow {
4626 border-bottom-color: white;
4627 border-width: 0 5px 5px;
4631 background: #F6F6F6;
4633 margin: 10px -10px -10px;
4634 border-radius: 0 0 3px 3px;
4637 .tooltip-inner .keyhint {
4641 /* Exceptions for tooltip layouts */
4643 /* make tooltips in panels dark */
4644 .map-overlay .tooltip.top .tooltip-arrow,
4645 .entity-editor-pane .tooltip.top .tooltip-arrow,
4646 .warning-section .tooltip.top .tooltip-arrow {
4647 border-top-color: #000;
4650 .map-overlay .tooltip.bottom .tooltip-arrow,
4651 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4652 .warning-section .tooltip.bottom .tooltip-arrow {
4653 border-bottom-color: #000;
4656 .map-overlay .tooltip.left .tooltip-arrow,
4657 .entity-editor-pane .tooltip.left .tooltip-arrow,
4658 .warning-section .tooltip.left .tooltip-arrow {
4659 border-left-color: #000;
4662 .map-overlay .tooltip.right .tooltip-arrow,
4663 .entity-editor-pane .tooltip.right .tooltip-arrow,
4664 .warning-section .tooltip.right .tooltip-arrow {
4665 border-right-color: #000;
4668 .map-overlay .tooltip-inner,
4669 .map-overlay .keyhint-wrap,
4670 .entity-editor-pane .tooltip-inner,
4671 .warning-section .tooltip-inner {
4675 /* commit warning tooltips need to be closer */
4676 .warning-section .tooltip.top {
4680 /* Uncramp map-control tooltips */
4681 .map-control .tooltip {
4684 /* Move over tooltips that are near the edge of screen */
4685 .add-point .tooltip {
4686 left: 33.3333% !important;
4689 .curtain-tooltip.intro-points-add .tooltip-arrow,
4690 .add-point .tooltip .tooltip-arrow {
4694 .radial-menu-tooltip {
4701 .radial-menu-background {
4704 stroke-opacity: 0.5;
4707 .radial-menu-item circle {
4711 .radial-menu-item circle:active,
4712 .radial-menu-item circle:hover {
4716 .radial-menu-item.disabled circle {
4718 fill: rgba(255,255,255,.5);
4721 .radial-menu-item use {
4726 .radial-menu-item.disabled use {
4727 fill: rgba(32,32,32,.5);
4728 color: rgba(40,40,40,.5);
4736 stroke-dasharray: 5, 5;
4740 ------------------------------------------------------- */
4742 @media only screen and (max-width: 840px) {
4743 /* override hide for save button */
4744 #bar .save .label { display: block;}
4747 @media screen and (max-width: 1200px) {
4748 .user-list { display: none !important; }
4751 @media screen and (max-width: 1000px) {
4752 #userLink { display: none !important; }
4755 @media screen and (max-width: 900px) {
4756 #scale-block { display: none !important; }
4761 ----------------------------------------------------- */
4763 ::-webkit-scrollbar {
4768 border-left: 1px solid #DDD;
4771 ::-webkit-scrollbar-track {
4772 background-clip: padding-box;
4773 border: solid transparent;
4777 ::-webkit-scrollbar-thumb {
4778 background-color: rgba(0,0,0,.2);
4779 background-clip: padding-box;
4780 border: solid transparent;
4781 border-width: 3px 3px 3px 4px;
4784 ::-webkit-scrollbar-track:hover,
4785 ::-webkit-scrollbar-track:active {
4786 background-color: rgba(0,0,0,.05);
4789 /* Intro walkthrough
4790 ----------------------------------------------------- */
4793 pointer-events: all;
4808 .intro-nav-wrap button.step {
4812 .intro-nav-wrap button.step.finished {
4813 background: #8cd05f;
4816 .intro-nav-wrap button.step .icon {
4820 .intro-nav-wrap button.step.finished .icon {
4821 display: inline-block;
4825 .curtain-tooltip .tooltip-inner {
4830 .curtain-tooltip .tooltip-inner {
4834 .curtain-tooltip .tooltip-inner .bold {
4837 border-top: 1px solid #CCC;
4840 margin-right: -20px;
4841 padding: 10px 20px 0 20px;
4844 .curtain-tooltip .tooltip-inner .bold:only-child {
4850 .curtain-tooltip.intro-points-describe {
4851 top: 133px !important;
4854 /* Tooltip illustrations */
4856 .intro-points-add .tooltip-inner::before,
4857 .intro-areas-add .tooltip-inner::before,
4858 .intro-lines-add .tooltip-inner::before {
4864 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat 0 -320px;
4867 .intro-areas-add .tooltip-inner::before {
4868 background-position: 0 -400px;
4871 .intro-lines-add .tooltip-inner::before {
4872 background-position: 0 -480px;
4875 .huge-modal-button {
4881 .huge-modal-button .illustration {
4884 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px;