1 /* http://meyerweb.com/eric/tools/css/reset/
3 License: none (public domain)
6 html, body, div, span, applet, object, iframe,
7 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8 a, abbr, acronym, address, big, cite, code,
9 del, dfn, em, img, ins, kbd, q, s, samp,
10 small, strike, strong, sub, sup, tt, var,
12 dl, dt, dd, ol, ul, li,
13 fieldset, form, label, legend,
14 table, caption, tbody, tfoot, thead, tr, th, td,
15 article, aside, canvas, details, embed,
16 figure, figcaption, footer, header, hgroup,
17 menu, nav, output, ruby, section, summary,
18 time, mark, audio, video {
24 vertical-align: baseline;
26 /* HTML5 display-role reset for older browsers */
27 article, aside, details, figcaption, figure,
28 footer, header, hgroup, menu, nav, section {
40 blockquote:before, blockquote:after,
46 border-collapse: collapse;
49 a { text-decoration: none;}
51 * 1. Corrects font family not being inherited in all browsers.
52 * 2. Corrects font size not being inherited in all browsers.
53 * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
60 font-family: inherit; /* 1 */
61 font-size: 100%; /* 2 */
67 * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
76 /* Hide default number spinner controls */
77 input[type="number"]::-webkit-inner-spin-button,
78 input[type="number"]::-webkit-outer-spin-button {
83 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
84 * and `video` controls.
85 * 2. Corrects inability to style clickable `input` types in iOS.
86 * 3. Improves usability and consistency of cursor style between image-type
91 html input[type="button"], /* 1 */
93 input[type="submit"] {
94 -webkit-appearance: button; /* 2 */
95 cursor: pointer; /* 3 */
99 * Re-set default cursor for disabled elements.
108 * 1. Addresses box sizing set to `content-box` in IE 8/9.
109 * 2. Removes excess padding in IE 8/9.
112 input[type="checkbox"],
113 input[type="radio"] {
114 box-sizing: border-box; /* 1 */
119 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
120 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
121 * (include `-moz` to future-proof).
124 input[type="search"] {
125 -webkit-appearance: textfield; /* 1 */
126 -moz-box-sizing: border-box;
127 -webkit-box-sizing: border-box; /* 2 */
128 box-sizing: border-box;
132 * Removes inner padding and search cancel button in Safari 5 and Chrome
136 input[type="search"]::-webkit-search-cancel-button,
137 input[type="search"]::-webkit-search-decoration {
138 -webkit-appearance: none;
142 * Removes inner padding and border in Firefox 4+.
145 button::-moz-focus-inner,
146 input::-moz-focus-inner {
152 ** Markup free clearing
153 ** Details: http://www.positioniseverything.net/easyclearing.html
157 content: " "; /* 1 */
158 display: table; /* 2 */
165 use { pointer-events: none; }
168 .layer-osm path:not(.oneway) { fill: none; } /* IE needs :not(.oneway) */
170 /* the above fill: none rule affects paths in <use> shadow dom only in Firefox */
171 .layer-osm use.icon path { fill: #333; } /* FF svg Maki icons */
172 .layer-osm .turn use path { fill: #000; } /* FF turn restriction icons */
173 #turn-only-shape2, #turn-only-u-shape2 { fill: #7092FF; } /* FF turn-only, turn-only-u */
174 #turn-no-shape2, #turn-no-u-shape2 { fill: #E06D5F; } /* FF turn-no, turn-no-u */
175 #turn-yes-shape2, #turn-yes-u-shape2 { fill: #8CD05F; } /* FF turn-yes, turn-yes-u */
184 pointer-events: stroke;
203 g.point.hover:not(.selected) .shadow {
207 g.point.selected .shadow {
211 g.point.active, g.point.active * {
212 pointer-events: none;
215 /* vertices and midpoints */
227 g.vertex.shared .stroke {
238 g.midpoint.tag-highway-corridor .fill,
239 g.midpoint.tag-highway-pedestrian .fill,
240 g.midpoint.tag-highway-steps .fill,
241 g.midpoint.tag-highway-path .fill,
242 g.midpoint.tag-highway-footway .fill,
243 g.midpoint.tag-highway-cycleway .fill,
244 g.midpoint.tag-highway-bridleway .fill {
257 g.vertex.vertex-hover {
261 .mode-draw-area g.vertex.vertex-hover,
262 .mode-draw-line g.vertex.vertex-hover,
263 .mode-add-area g.vertex.vertex-hover,
264 .mode-add-line g.vertex.vertex-hover,
265 .mode-add-point g.vertex.vertex-hover,
266 .mode-drag-node g.vertex.vertex-hover {
270 g.vertex.hover:not(.selected) .shadow,
271 g.midpoint.hover:not(.selected) .shadow {
275 g.vertex.selected .shadow {
279 .mode-draw-area g.midpoint,
280 .mode-draw-line g.midpoint,
281 .mode-add-area g.midpoint,
282 .mode-add-line g.midpoint,
283 .mode-add-point g.midpoint {
289 .preset-icon .icon.other-line {
295 stroke-linecap: round;
296 stroke-linejoin: bevel;
310 path.shadow.hover:not(.selected) {
314 path.shadow.selected {
329 stroke: rgba(255, 255, 255, 0.3);
330 fill: rgba(255, 255, 255, 0.3);
333 .preset-icon-fill-area {
334 border: 1px solid rgb(170, 170, 170);
335 background-color: rgba(170, 170, 170, 0.3);
338 path.stroke.tag-natural {
339 stroke: rgb(182, 225, 153);
341 path.fill.tag-natural {
342 stroke: rgba(182, 225, 153, 0.3);
343 fill: rgba(182, 225, 153, 0.3);
345 .preset-icon-fill-area.tag-natural {
346 border-color: rgb(182, 225, 153);
347 background-color: rgba(182, 225, 153, 0.3);
350 path.stroke.tag-landuse,
351 path.stroke.tag-natural-wood,
352 path.stroke.tag-natural-tree,
353 path.stroke.tag-natural-grassland,
354 path.stroke.tag-natural-grass,
355 path.stroke.tag-leisure-nature_reserve,
356 path.stroke.tag-leisure-pitch,
357 path.stroke.tag-leisure-park {
358 stroke: rgb(140, 208, 95);
360 path.fill.tag-landuse,
361 path.fill.tag-natural-wood,
362 path.fill.tag-natural-tree,
363 path.fill.tag-natural-grassland,
364 path.fill.tag-natural-grass,
365 path.fill.tag-leisure-nature_reserve,
366 path.fill.tag-leisure-pitch,
367 path.fill.tag-leisure-park {
368 stroke: rgba(140, 208, 95, 0.3);
369 fill: rgba(140, 208, 95, 0.3);
371 .preset-icon-fill-area.tag-landuse,
372 .preset-icon-fill-area.tag-natural-wood,
373 .preset-icon-fill-area.tag-natural-tree,
374 .preset-icon-fill-area.tag-natural-grassland,
375 .preset-icon-fill-area.tag-natural-grass,
376 .preset-icon-fill-area.tag-leisure-nature_reserve,
377 .preset-icon-fill-area.tag-leisure-pitch,
378 .preset-icon-fill-area.tag-leisure-park {
379 border-color: rgb(140, 208, 95);
380 background-color: rgba(140, 208, 95, 0.3);
383 path.stroke.tag-amenity-swimming_pool,
384 path.stroke.tag-leisure-swimming_pool,
385 path.stroke.tag-natural-water,
386 path.stroke.tag-landuse-basin,
387 path.stroke.tag-landuse-reservoir {
388 stroke: rgb(119, 211, 222);
390 path.fill.tag-amenity-swimming_pool,
391 path.fill.tag-leisure-swimming_pool,
392 path.fill.tag-landuse-basin,
393 path.fill.tag-landuse-reservoir,
394 path.fill.tag-natural-water {
395 stroke: rgba(119, 211, 222, 0.3);
396 fill: rgba(119, 211, 222, 0.3);
398 .preset-icon-fill-area.tag-amenity-swimming_pool,
399 .preset-icon-fill-area.tag-leisure-swimming_pool,
400 .preset-icon-fill-area.tag-landuse-basin,
401 .preset-icon-fill-area.tag-landuse-reservoir,
402 .preset-icon-fill-area.tag-natural-water {
403 border-color: rgb(119, 211, 222);
404 background-color: rgba(119, 211, 222, 0.3);
407 path.stroke.tag-amenity-childcare,
408 path.stroke.tag-amenity-kindergarten,
409 path.stroke.tag-amenity-school,
410 path.stroke.tag-amenity-college,
411 path.stroke.tag-amenity-university {
412 stroke: rgb(255, 255, 148);
414 path.fill.tag-amenity-childcare,
415 path.fill.tag-amenity-kindergarten,
416 path.fill.tag-amenity-school,
417 path.fill.tag-amenity-college,
418 path.fill.tag-amenity-university {
419 stroke: rgba(255, 255, 148, 0.15);
420 fill: rgba(255, 255, 148, 0.15);
422 .preset-icon-fill-area.tag-amenity-childcare,
423 .preset-icon-fill-area.tag-amenity-kindergarten,
424 .preset-icon-fill-area.tag-amenity-school,
425 .preset-icon-fill-area.tag-amenity-college,
426 .preset-icon-fill-area.tag-amenity-university {
427 border-color: rgb(255, 255, 148);
428 background-color: rgba(255, 255, 148, 0.15);
431 path.stroke.tag-landuse-residential {
432 stroke: rgb(196, 189, 25);
434 path.fill.tag-landuse-residential {
435 stroke: rgba(196, 189, 25, 0.3);
436 fill: rgba(196, 189, 25, 0.3);
438 .preset-icon-fill-area.tag-landuse-residential {
439 border-color: rgb(196, 189, 25);
440 background: rgba(196, 189, 25, 0.3);
443 path.stroke.tag-landuse-retail,
444 path.stroke.tag-landuse-commercial {
445 stroke: rgb(214, 136, 26);
447 path.fill.tag-landuse-retail,
448 path.fill.tag-landuse-commercial {
449 stroke: rgba(214, 136, 26, 0.3);
450 fill: rgba(214, 136, 26, 0.3);
452 .preset-icon-fill-area.tag-landuse-retail,
453 .preset-icon-fill-area.tag-landuse-commercial {
454 border-color: rgb(214, 136, 26);
455 background-color: rgba(214, 136, 26, 0.3);
458 path.stroke.tag-landuse-industrial {
459 stroke: rgb(228, 164, 245);
461 path.fill.tag-landuse-industrial {
462 stroke: rgba(228, 164, 245, 0.3);
463 fill: rgba(228, 164, 245, 0.3);
465 .preset-icon-fill-area.tag-landuse-industrial {
466 border-color: rgb(228, 164, 245);
467 background-color: rgba(228, 164, 245, 0.3);
470 path.stroke.tag-landuse-quarry {
471 stroke: rgb(166, 149, 123);
473 path.fill.tag-landuse-quarry {
474 stroke: rgba(166, 149, 123, 0.2);
475 fill: rgba(166, 149, 123, 0.2);
477 .preset-icon-fill-area.tag-landuse-quarry {
478 border-color: rgb(166, 149, 123);
479 background-color: rgba(166, 149, 123, 0.2);
482 path.stroke.tag-landuse-landfill {
483 stroke: rgb(255, 153, 51);
485 path.fill.tag-landuse-landfill {
486 stroke: rgba(255, 153, 51, 0.2);
487 fill: rgba(255, 153, 51, 0.2);
489 .preset-icon-fill-area.tag-landuse-landfill {
490 border-color: rgb(255, 153, 51);
491 background-color: rgba(255, 153, 51, 0.2);
494 .pattern-color-construction {
495 fill: rgba(196, 189, 25, 0.2);
497 path.stroke.tag-landuse.tag-status {
498 stroke: rgb(196, 189, 25);
500 .preset-icon-fill-area.tag-landuse.tag-status {
501 border-color: rgb(196, 189, 25);
502 background-color: rgba(196, 189, 25, 0.2);
505 path.stroke.tag-landuse-military {
506 stroke: rgb(214, 136, 26);
508 path.fill.tag-landuse-military {
509 stroke: rgba(214, 136, 26, 0.2);
510 fill: rgba(214, 136, 26, 0.2);
512 .preset-icon-fill-area.tag-landuse-military {
513 border-color: rgb(214, 136, 26);
514 background-color: rgba(214, 136, 26, 0.2);
517 .pattern-color-wetland {
518 fill: rgba(182, 225, 153, 0.2);
520 path.stroke.tag-natural-wetland {
521 stroke: rgb(182, 225, 153);
523 .preset-icon-fill-area.tag-natural-wetland {
524 border-color: rgb(182, 225, 153);
525 background-color: rgba(182, 225, 153, 0.2);
528 .pattern-color-meadow {
529 fill: rgba(182, 225, 153, 0.2);
531 path.stroke.tag-landuse-meadow {
532 stroke: rgb(182, 225, 153);
534 .preset-icon-fill-area.tag-landuse-meadow {
535 border-color: rgb(182, 225, 153);
536 background-color: rgba(182, 225, 153, 0.2);
539 .pattern-color-beach {
540 fill: rgba(255, 255, 126, 0.2);
542 path.stroke.tag-natural-beach {
543 stroke: rgb(255, 255, 126);
545 .preset-icon-fill-area.tag-natural-beach {
546 border-color: rgb(255, 255, 126);
547 background-color: rgba(255, 255, 126, 0.2);
550 .pattern-color-scrub {
551 fill: rgba(219, 240, 139, 0.2);
553 path.stroke.tag-natural-scrub {
554 stroke: rgb(219, 240, 139);
556 .preset-icon-fill-area.tag-natural-scrub {
557 border-color: rgb(219, 240, 139);
558 background-color: rgba(219, 240, 139, 0.2);
562 .pattern-color-farmland {
563 fill: rgba(140, 208, 95, 0.2);
565 path.stroke.tag-landuse-farm,
566 path.stroke.tag-landuse-farmland {
567 stroke: rgb(140, 208, 95);
569 .preset-icon-fill-area.tag-landuse-farm,
570 .preset-icon-fill-area.tag-landuse-farmland {
571 background-color: rgba(140, 208, 95, 0.2);
574 .pattern-color-cemetery,
575 .pattern-color-orchard {
576 fill: rgba(140, 208, 95, 0.2);
578 path.stroke.tag-landuse-cemetery,
579 path.stroke.tag-landuse-orchard {
580 stroke: rgb(140, 208, 95);
582 .preset-icon-fill-area.tag-landuse-cemetery,
583 .preset-icon-fill-area.tag-landuse-orchard {
584 background-color: rgba(140, 208, 95, 0.2);
587 path.stroke.tag-amenity-parking {
588 stroke: rgb(170, 170, 170);
590 path.fill.tag-amenity-parking {
591 stroke: rgba(170, 170, 170, 0.3);
592 fill: rgba(170, 170, 170, 0.3);
594 .preset-icon-fill-area.tag-amenity-parking {
595 border-color: rgb(170, 170, 170);
596 background-color: rgba(170, 170, 170, 0.3);
602 path.stroke.area.tag-highway {
604 stroke-dasharray: none;
610 .preset-icon .icon.tag-highway.other-line {
615 path.shadow.tag-highway {
618 path.casing.tag-highway {
622 path.stroke.tag-highway {
627 .low-zoom path.shadow.tag-highway {
630 .low-zoom path.casing.tag-highway {
633 .low-zoom path.stroke.tag-highway {
637 .preset-icon .icon.highway-motorway,
638 .preset-icon .icon.highway-motorway-link {
642 path.stroke.tag-highway-motorway,
643 path.stroke.tag-highway-motorway_link,
644 path.stroke.tag-motorway {
647 path.casing.tag-highway-motorway,
648 path.casing.tag-highway-motorway_link,
649 path.casing.tag-motorway {
653 .preset-icon .icon.highway-trunk,
654 .preset-icon .icon.highway-trunk-link {
658 path.stroke.tag-highway-trunk,
659 path.stroke.tag-highway-trunk_link,
660 path.stroke.tag-trunk {
663 path.casing.tag-highway-trunk,
664 path.casing.tag-highway-trunk_link,
665 path.casing.tag-trunk {
669 .preset-icon .icon.highway-primary,
670 .preset-icon .icon.highway-primary-link {
674 path.stroke.tag-highway-primary,
675 path.stroke.tag-highway-primary_link,
676 path.stroke.tag-primary {
679 path.casing.tag-highway-primary,
680 path.casing.tag-highway-primary_link,
681 path.casing.tag-primary {
685 .preset-icon .icon.highway-secondary,
686 .preset-icon .icon.highway-secondary-link {
690 path.stroke.tag-highway-secondary,
691 path.stroke.tag-highway-secondary_link,
692 path.stroke.tag-secondary {
695 path.casing.tag-highway-secondary,
696 path.casing.tag-highway-secondary_link,
697 path.casing.tag-secondary {
701 .preset-icon .icon.highway-tertiary,
702 .preset-icon .icon.highway-tertiary-link {
706 path.stroke.tag-highway-tertiary,
707 path.stroke.tag-highway-tertiary_link,
708 path.stroke.tag-tertiary {
711 path.casing.tag-highway-tertiary,
712 path.casing.tag-highway-tertiary_link,
713 path.casing.tag-tertiary {
717 .legacy-carto .preset-icon .icon.highway-motorway,
718 .legacy-carto .preset-icon .icon.highway-motorway-link {
722 .legacy-carto path.stroke.tag-highway-motorway,
723 .legacy-carto path.stroke.tag-highway-motorway_link,
724 .legacy-carto path.stroke.tag-motorway {
727 .legacy-carto path.casing.tag-highway-motorway,
728 .legacy-carto path.casing.tag-highway-motorway_link,
729 .legacy-carto path.casing.tag-motorway {
733 .legacy-carto .preset-icon .icon.highway-trunk,
734 .legacy-carto .preset-icon .icon.highway-trunk-link {
738 .legacy-carto path.stroke.tag-highway-trunk,
739 .legacy-carto path.stroke.tag-highway-trunk_link,
740 .legacy-carto path.stroke.tag-trunk {
743 .legacy-carto path.casing.tag-highway-trunk,
744 .legacy-carto path.casing.tag-highway-trunk_link,
745 .legacy-carto path.casing.tag-trunk {
749 .legacy-carto .preset-icon .icon.highway-primary,
750 .legacy-carto .preset-icon .icon.highway-primary-link {
754 .legacy-carto path.stroke.tag-highway-primary,
755 .legacy-carto path.stroke.tag-highway-primary_link,
756 .legacy-carto path.stroke.tag-primary {
759 .legacy-carto path.casing.tag-highway-primary,
760 .legacy-carto path.casing.tag-highway-primary_link,
761 .legacy-carto path.casing.tag-primary {
765 .legacy-carto .preset-icon .icon.highway-secondary,
766 .legacy-carto .preset-icon .icon.highway-secondary-link {
770 .legacy-carto path.stroke.tag-highway-secondary,
771 .legacy-carto path.stroke.tag-highway-secondary_link,
772 .legacy-carto path.stroke.tag-secondary {
775 .legacy-carto path.casing.tag-highway-secondary,
776 .legacy-carto path.casing.tag-highway-secondary_link,
777 .legacy-carto path.casing.tag-secondary {
781 .legacy-carto .preset-icon .icon.highway-tertiary,
782 .legacy-carto .preset-icon .icon.highway-tertiary-link {
786 .legacy-carto path.stroke.tag-highway-tertiary,
787 .legacy-carto path.stroke.tag-highway-tertiary_link,
788 .legacy-carto path.stroke.tag-tertiary {
791 .legacy-carto path.casing.tag-highway-tertiary,
792 .legacy-carto path.casing.tag-highway-tertiary_link,
793 .legacy-carto path.casing.tag-tertiary {
797 .preset-icon .icon.highway-residential {
801 path.stroke.tag-highway-residential,
802 path.stroke.tag-residential {
805 path.casing.tag-highway-residential,
806 path.casing.tag-residential {
810 .preset-icon .icon.highway-unclassified {
814 path.stroke.tag-highway-unclassified,
815 path.stroke.tag-unclassified {
818 path.casing.tag-highway-unclassified,
819 path.casing.tag-unclassified {
824 /* narrow highways */
825 path.stroke.tag-highway-living_street,
826 path.stroke.tag-highway-service,
827 path.stroke.tag-highway-track,
828 path.stroke.tag-highway-path,
829 path.stroke.tag-highway-footway,
830 path.stroke.tag-highway-cycleway,
831 path.stroke.tag-highway-bridleway,
832 path.stroke.tag-highway-corridor,
833 path.stroke.tag-highway-pedestrian,
834 path.stroke.tag-highway-steps,
835 path.stroke.tag-highway-road,
836 path.stroke.tag-living_street,
837 path.stroke.tag-service,
838 path.stroke.tag-track,
839 path.stroke.tag-path,
840 path.stroke.tag-footway,
841 path.stroke.tag-cycleway,
842 path.stroke.tag-bridleway,
843 path.stroke.tag-corridor,
844 path.stroke.tag-pedestrian,
845 path.stroke.tag-steps,
846 path.stroke.tag-road {
849 path.casing.tag-highway-living_street,
850 path.casing.tag-highway-service,
851 path.casing.tag-highway-track,
852 path.casing.tag-highway-path,
853 path.casing.tag-highway-footway,
854 path.casing.tag-highway-cycleway,
855 path.casing.tag-highway-bridleway,
856 path.casing.tag-highway-corridor,
857 path.casing.tag-highway-pedestrian,
858 path.casing.tag-highway-steps,
859 path.casing.tag-highway-road,
860 path.casing.tag-living_street,
861 path.casing.tag-service,
862 path.casing.tag-track,
863 path.casing.tag-path,
864 path.casing.tag-footway,
865 path.casing.tag-cycleway,
866 path.casing.tag-bridleway,
867 path.casing.tag-corridor,
868 path.casing.tag-pedestrian,
869 path.casing.tag-steps,
870 path.casing.tag-road {
874 .low-zoom path.stroke.tag-highway-living_street,
875 .low-zoom path.stroke.tag-highway-service,
876 .low-zoom path.stroke.tag-highway-track,
877 .low-zoom path.stroke.tag-highway-path,
878 .low-zoom path.stroke.tag-highway-footway,
879 .low-zoom path.stroke.tag-highway-cycleway,
880 .low-zoom path.stroke.tag-highway-bridleway,
881 .low-zoom path.stroke.tag-highway-corridor,
882 .low-zoom path.stroke.tag-highway-pedestrian,
883 .low-zoom path.stroke.tag-highway-steps,
884 .low-zoom path.stroke.tag-highway-road,
885 .low-zoom path.stroke.tag-living_street,
886 .low-zoom path.stroke.tag-service,
887 .low-zoom path.stroke.tag-track,
888 .low-zoom path.stroke.tag-path,
889 .low-zoom path.stroke.tag-footway,
890 .low-zoom path.stroke.tag-cycleway,
891 .low-zoom path.stroke.tag-bridleway,
892 .low-zoom path.stroke.tag-corridor,
893 .low-zoom path.stroke.tag-pedestrian,
894 .low-zoom path.stroke.tag-steps,
895 .low-zoom path.stroke.tag-road {
898 .low-zoom path.casing.tag-highway-living_street,
899 .low-zoom path.casing.tag-highway-service,
900 .low-zoom path.casing.tag-highway-track,
901 .low-zoom path.casing.tag-highway-path,
902 .low-zoom path.casing.tag-highway-footway,
903 .low-zoom path.casing.tag-highway-cycleway,
904 .low-zoom path.casing.tag-highway-bridleway,
905 .low-zoom path.casing.tag-highway-corridor,
906 .low-zoom path.casing.tag-highway-pedestrian,
907 .low-zoom path.casing.tag-highway-steps,
908 .low-zoom path.casing.tag-highway-road,
909 .low-zoom path.casing.tag-living_street,
910 .low-zoom path.casing.tag-service,
911 .low-zoom path.casing.tag-track,
912 .low-zoom path.casing.tag-path,
913 .low-zoom path.casing.tag-footway,
914 .low-zoom path.casing.tag-cycleway,
915 .low-zoom path.casing.tag-bridleway,
916 .low-zoom path.casing.tag-corridor,
917 .low-zoom path.casing.tag-pedestrian,
918 .low-zoom path.casing.tag-steps,
919 .low-zoom path.casing.tag-road {
923 .preset-icon .icon.highway-living-street {
927 path.stroke.tag-highway-living_street,
928 path.stroke.tag-living_street {
931 path.casing.tag-highway-living_street,
932 path.casing.tag-living_street {
936 .preset-icon .icon.highway-footway.tag-highway-corridor,
937 .preset-icon .icon.highway-footway.tag-highway-pedestrian {
941 path.stroke.tag-highway-corridor,
942 path.stroke.tag-highway-pedestrian,
943 path.stroke.tag-corridor,
944 path.stroke.tag-pedestrian {
946 stroke-dasharray: 2, 8;
948 path.casing.tag-highway-corridor,
949 path.casing.tag-highway-pedestrian,
950 path.casing.tag-corridor,
951 path.casing.tag-pedestrian,
952 path.casing.tag-highway-corridor.tag-unpaved,
953 path.casing.tag-highway-pedestrian.tag-unpaved,
954 path.casing.tag-corridor.tag-unpaved,
955 path.casing.tag-pedestrian.tag-unpaved {
957 stroke-linecap: round;
958 stroke-dasharray: none;
961 .preset-icon .icon.highway-road {
965 path.stroke.tag-highway-road,
966 path.stroke.tag-road {
969 path.casing.tag-highway-road,
970 path.casing.tag-road {
974 .preset-icon .icon.highway-service {
978 path.stroke.tag-highway-service,
979 path.stroke.tag-service {
982 path.casing.tag-highway-service,
983 path.casing.tag-service {
987 .preset-icon .icon.highway-track {
991 path.stroke.tag-highway-track,
992 path.stroke.tag-track {
995 path.casing.tag-highway-track,
996 path.casing.tag-track {
1000 path.stroke.tag-highway-path,
1001 path.stroke.tag-highway-footway,
1002 path.stroke.tag-highway-cycleway,
1003 path.stroke.tag-highway-bridleway {
1004 stroke-linecap: butt;
1005 stroke-dasharray: 6, 6;
1008 path.casing.tag-highway-path,
1009 path.casing.tag-highway-path.tag-unpaved {
1011 stroke-linecap: round;
1012 stroke-dasharray: none;
1014 path.casing.tag-highway-footway,
1015 path.casing.tag-highway-cycleway,
1016 path.casing.tag-highway-bridleway,
1017 path.casing.tag-highway-footway.tag-unpaved,
1018 path.casing.tag-highway-cycleway.tag-unpaved,
1019 path.casing.tag-highway-bridleway.tag-unpaved {
1021 stroke-linecap: round;
1022 stroke-dasharray: none;
1025 .preset-icon .icon.category-path,
1026 .preset-icon .icon.highway-path {
1030 path.stroke.tag-highway-path {
1034 .preset-icon .icon.tag-route-foot,
1035 .preset-icon .icon.tag-route-hiking,
1036 .preset-icon .icon.highway-footway {
1040 path.stroke.tag-highway-footway {
1044 .preset-icon .icon.highway-footway.tag-crossing {
1047 path.stroke.tag-highway-footway.tag-crossing {
1049 stroke-dasharray: 6, 4;
1052 .preset-icon .icon.tag-route-bicycle,
1053 .preset-icon .icon.highway-cycleway {
1057 path.stroke.tag-highway-cycleway {
1061 .preset-icon .icon.tag-route-horse,
1062 .preset-icon .icon.highway-bridleway {
1066 path.stroke.tag-highway-bridleway {
1070 .preset-icon .icon.highway-steps {
1074 path.stroke.tag-highway-steps {
1076 stroke-linecap: butt;
1077 stroke-dasharray: 3, 3;
1079 path.casing.tag-highway-steps,
1080 path.casing.tag-highway-steps.tag-unpaved {
1082 stroke-linecap: round;
1083 stroke-dasharray: none;
1088 path.stroke.tag-aeroway-taxiway {
1092 path.shadow.tag-aeroway-runway {
1095 path.stroke.tag-aeroway-runway {
1098 stroke-linecap: butt;
1099 stroke-dasharray: 24, 48;
1101 path.casing.tag-aeroway-runway {
1104 stroke-linecap: square;
1106 path.fill.tag-aeroway-runway {
1107 stroke: rgba(0, 0, 0, 0.6);
1108 fill: rgba(0, 0, 0, 0.6);
1110 path.stroke.tag-aeroway-apron {
1113 path.fill.tag-aeroway-apron {
1114 stroke: rgba(128, 92, 128, 0.2);
1115 fill: rgba(128, 92, 128, 0.2);
1120 .preset-icon .icon.tag-railway.other-line {
1124 .preset-icon .icon.tag-railway {
1128 path.stroke.tag-railway {
1131 stroke-linecap: butt;
1132 stroke-dasharray: 12,12;
1134 path.casing.tag-railway {
1139 .preset-icon .icon.tag-railway-disused,
1140 .preset-icon .icon.tag-railway-abandoned {
1144 path.stroke.tag-railway-abandoned {
1147 path.casing.tag-railway-abandoned {
1151 .preset-icon .icon.tag-railway-subway {
1155 path.stroke.tag-railway-subway {
1158 path.casing.tag-railway-subway {
1162 path.stroke.tag-railway-platform {
1165 stroke-dasharray: none;
1167 path.casing.tag-railway-platform {
1171 .area.stroke.tag-railway {
1174 stroke-dasharray: none;
1176 .area.casing.tag-railway {
1182 .preset-icon .icon.tag-waterway.other-line {
1186 .preset-icon .icon.category-water,
1187 .preset-icon .icon.tag-route-ferry,
1188 .preset-icon .icon.tag-waterway {
1193 path.fill.tag-waterway {
1194 stroke: rgba(119, 211, 222, 0.3);
1195 fill: rgba(119, 211, 222, 0.3);
1198 path.stroke.tag-waterway {
1202 path.casing.tag-waterway {
1207 path.stroke.tag-waterway-river {
1210 path.casing.tag-waterway-river {
1214 .preset-icon .icon.tag-waterway-ditch {
1217 path.stroke.tag-waterway-ditch {
1221 path.casing.tag-waterway-ditch {
1226 path.area.stroke.tag-waterway-dock,
1227 path.area.stroke.tag-waterway-boatyard,
1228 path.area.stroke.tag-waterway-fuel {
1232 path.area.casing.tag-waterway-dock,
1233 path.area.casing.tag-waterway-boatyard,
1234 path.area.casing.tag-waterway-fuel {
1237 path.area.fill.tag-waterway-dock,
1238 path.area.fill.tag-waterway-boatyard,
1239 path.area.fill.tag-waterway-fuel {
1240 stroke: rgba(255, 255, 255, 0.3);
1241 fill: rgba(255, 255, 255, 0.3);
1246 .preset-icon .icon.tag-man_made-pipeline,
1247 .preset-icon .icon.tag-power {
1252 path.stroke.tag-power {
1256 path.casing.tag-power {
1262 path.stroke.tag-boundary {
1265 stroke-linecap: butt;
1266 stroke-dasharray: 20, 5, 5, 5;
1268 path.casing.tag-boundary {
1273 path.casing.tag-boundary-protected_area,
1274 path.casing.tag-boundary-national_park {
1280 path.stroke.tag-barrier {
1283 stroke-linecap: round;
1284 stroke-dasharray: 15, 5, 1, 5;
1286 .low-zoom path.stroke.tag-barrier {
1288 stroke-linecap: butt;
1289 stroke-dasharray: 8, 2, 2, 2;
1294 path.casing.tag-bridge {
1296 stroke-opacity: 0.6;
1298 stroke-linecap: butt;
1299 stroke-dasharray: none;
1302 path.shadow.tag-bridge {
1305 path.casing.line.tag-railway.tag-bridge,
1306 path.casing.tag-highway-living_street.tag-bridge,
1307 path.casing.tag-highway-path.tag-bridge,
1308 path.casing.tag-highway-corridor.tag-bridge,
1309 path.casing.line.tag-highway-pedestrian.tag-bridge,
1310 path.casing.tag-highway-service.tag-bridge,
1311 path.casing.tag-highway-track.tag-bridge,
1312 path.casing.tag-highway-steps.tag-bridge,
1313 path.casing.tag-highway-footway.tag-bridge,
1314 path.casing.tag-highway-cycleway.tag-bridge,
1315 path.casing.tag-highway-bridleway.tag-bridge {
1318 path.shadow.line.tag-railway.tag-bridge,
1319 path.shadow.tag-highway-living_street.tag-bridge,
1320 path.shadow.tag-highway-path.tag-bridge,
1321 path.shadow.tag-highway-corridor.tag-bridge,
1322 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1323 path.shadow.tag-highway-service.tag-bridge,
1324 path.shadow.tag-highway-track.tag-bridge,
1325 path.shadow.tag-highway-steps.tag-bridge,
1326 path.shadow.tag-highway-footway.tag-bridge,
1327 path.shadow.tag-highway-cycleway.tag-bridge,
1328 path.shadow.tag-highway-bridleway.tag-bridge {
1331 .low-zoom path.casing.tag-bridge {
1334 .low-zoom path.shadow.tag-bridge {
1338 .low-zoom path.casing.line.tag-railway.tag-bridge,
1339 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1340 .low-zoom path.casing.tag-highway-path.tag-bridge,
1341 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1342 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1343 .low-zoom path.casing.tag-highway-service.tag-bridge,
1344 .low-zoom path.casing.tag-highway-track.tag-bridge,
1345 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1346 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1347 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1348 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1352 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1353 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1354 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1355 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1356 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1357 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1358 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1359 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1360 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1361 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1362 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1368 path.stroke.tag-tunnel {
1369 stroke-opacity: 0.3;
1371 path.casing.tag-tunnel {
1372 stroke-opacity: 0.5;
1373 stroke-linecap: butt;
1374 stroke-dasharray: none;
1378 /* embankments / cuttings */
1379 path.casing.tag-embankment,
1380 path.casing.tag-cutting {
1381 stroke-opacity: 0.5;
1384 stroke-dasharray: 2, 4;
1385 stroke-linecap: butt;
1388 path.shadow.tag-embankment,
1389 path.shadow.tag-cutting {
1393 .low-zoom path.casing.tag-embankment,
1394 .low-zoom path.casing.tag-cutting {
1398 .low-zoom path.shadow.tag-embankment,
1399 .low-zoom path.shadow.tag-cutting {
1404 /* Surface - unpaved */
1405 path.casing.tag-unpaved {
1407 stroke-linecap: butt;
1408 stroke-dasharray: 4, 3;
1410 .low-zoom path.casing.tag-unpaved {
1411 stroke-dasharray: 3, 2;
1413 path.casing.tag-bridge.tag-unpaved {
1415 stroke-dasharray: 4, 3;
1417 .low-zoom path.casing.tag-bridge.tag-unpaved {
1419 stroke-dasharray: 3, 2;
1423 /* Status (e.g. construction, proposed, abandoned) */
1424 path.stroke.tag-status,
1425 path.casing.tag-status {
1426 stroke-linecap: butt;
1427 stroke-dasharray: 7, 3;
1429 .low-zoom path.stroke.tag-status,
1430 .low-zoom path.casing.tag-status {
1431 stroke-dasharray: 5, 2;
1436 path.stroke.tag-building,
1437 path.stroke.tag-amenity-shelter {
1438 stroke: rgb(224, 110, 95);
1440 path.fill.tag-building,
1441 path.fill.tag-amenity-shelter {
1442 stroke: rgba(224, 110, 95, 0.3);
1443 fill: rgba(224, 110, 95, 0.3);
1445 .preset-icon-fill-area.tag-building,
1446 .preset-icon-fill-area.tag-amenity-shelter {
1447 border-color: rgb(224, 110, 95);
1448 background-color: rgba(224, 110, 95, 0.3);
1452 /* Labels / Markers */
1456 pointer-events: none;
1461 .oneway .textpath.tag-waterway {
1470 text.arealabel-halo,
1471 text.linelabel-halo,
1472 text.pointlabel-halo,
1479 text-anchor: middle;
1480 pointer-events: none;
1481 -webkit-transition: opacity 100ms linear;
1482 transition: opacity 100ms linear;
1483 -moz-transition: opacity 100ms linear;
1486 .linelabel-halo .textpath,
1487 .linelabel .textpath {
1488 dominant-baseline: middle;
1491 /* Opera doesn't support dominant-baseline. See #715 */
1492 .opera .linelabel-halo .textpath,
1493 .opera .linelabel .textpath {
1494 baseline-shift: -33%;
1495 dominant-baseline: auto;
1502 stroke-miterlimit: 1;
1518 pointer-events: all;
1521 .form-field-restrictions .vertex {
1522 pointer-events: none;
1523 cursor: auto !important;
1530 cursor: auto; /* Opera */
1531 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1534 .mode-browse .point,
1535 .mode-select .point {
1536 cursor: pointer; /* Opera */
1537 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1540 .mode-select .vertex,
1541 .mode-browse .vertex {
1542 cursor: pointer; /* Opera */
1543 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1547 .mode-select .line {
1548 cursor: pointer; /* Opera */
1549 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1553 .mode-browse .area {
1554 cursor: pointer; /* Opera */
1555 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1558 .mode-select .midpoint,
1559 .mode-browse .midpoint {
1560 cursor: pointer; /* Opera */
1561 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1564 .mode-select .behavior-multiselect .point,
1565 .mode-select .behavior-multiselect .vertex,
1566 .mode-select .behavior-multiselect .line,
1567 .mode-select .behavior-multiselect .area {
1568 cursor: pointer; /* Opera */
1569 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1572 .mode-select .behavior-multiselect .selected {
1573 cursor: pointer; /* Opera */
1574 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1578 #map .vertex:active,
1581 #map .midpoint:active,
1582 #map .mode-select .selected {
1583 cursor: pointer; /* Opera */
1584 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1587 .mode-draw-line #map,
1588 .mode-draw-area #map,
1589 .mode-add-line #map,
1590 .mode-add-area #map,
1591 .mode-drag-node #map {
1592 cursor: crosshair; /* Opera */
1593 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1596 .mode-draw-line .way.hover,
1597 .mode-draw-area .way.hover,
1598 .mode-add-line .way.hover,
1599 .mode-add-area .way.hover,
1600 .mode-drag-node .way.hover {
1601 cursor: crosshair; /* Opera */
1602 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1605 .mode-draw-line .vertex.hover,
1606 .mode-draw-area .vertex.hover,
1607 .mode-add-line .vertex.hover,
1608 .mode-add-area .vertex.hover,
1609 .mode-drag-node .vertex.hover {
1610 cursor: crosshair; /* Opera */
1611 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1614 .mode-add-point #map,
1615 .mode-browse.lasso #map,
1616 .mode-browse.lasso .way,
1617 .mode-browse.lasso .vertex,
1618 .mode-browse.lasso .midpoint,
1619 .mode-select.lasso #map,
1620 .mode-select.lasso .way,
1621 .mode-select.lasso .vertex,
1622 .mode-select.lasso .midpoint {
1623 cursor: crosshair; /* Opera */
1624 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1629 cursor: pointer; /* Opera */
1630 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1634 pointer-events: visibleStroke;
1639 pointer-events: none;
1652 /* Mapillary Image Layer */
1654 .layer-mapillary-images {
1655 pointer-events: none;
1658 .layer-mapillary-images .viewfield-group {
1659 pointer-events: visible;
1660 cursor: pointer; /* Opera */
1661 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1664 .layer-mapillary-images .viewfield-group * {
1671 .layer-mapillary-images .viewfield-group:hover * {
1678 .layer-mapillary-images .viewfield-group.selected * {
1685 .layer-mapillary-images .viewfield-group:hover path.viewfield,
1686 .layer-mapillary-images .viewfield-group.selected path.viewfield,
1687 .layer-mapillary-images .viewfield-group path.viewfield {
1692 /* Mapillary Sign Layer */
1694 .layer-mapillary-signs {
1695 pointer-events: none;
1698 .layer-mapillary-signs .icon-sign body {
1702 border: 2px solid transparent;
1703 pointer-events: visible;
1704 cursor: pointer; /* Opera */
1705 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1709 .layer-mapillary-signs .icon-sign:hover body {
1710 border: 2px solid rgba(255,198,0,0.8);
1714 .layer-mapillary-signs .icon-sign.selected body {
1715 border: 2px solid rgba(255,0,0,0.8);
1719 .layer-mapillary-signs .icon-sign .t {
1725 .layer-mapillary-signs .icon-sign:hover .t,
1726 .layer-mapillary-signs .icon-sign.selected .t {
1732 .mode-draw-line .vertex.active,
1733 .mode-draw-area .vertex.active,
1734 .mode-drag-node .vertex.active {
1738 .mode-draw-line .way.active,
1739 .mode-draw-area .way.active,
1740 .mode-drag-node .active {
1741 pointer-events: none;
1744 /* Ensure drawing doesn't interact with area fills. */
1745 .mode-add-point .area.fill,
1746 .mode-draw-line .area.fill,
1747 .mode-draw-area .area.fill,
1748 .mode-add-line .area.fill,
1749 .mode-add-area .area.fill,
1750 .mode-drag-node .area.fill {
1751 pointer-events: none;
1756 .low-zoom.fill-wireframe path.stroke,
1757 .fill-wireframe path.stroke {
1759 stroke-opacity: 0.5;
1760 stroke-dasharray: none;
1764 .low-zoom.fill-wireframe path.shadow,
1765 .fill-wireframe path.shadow {
1769 .fill-wireframe path.shadow.hover:not(.selected) {
1770 stroke-opacity: 0.4;
1772 .fill-wireframe path.shadow.selected {
1773 stroke-opacity: 0.6;
1776 .fill-wireframe .point,
1777 .fill-wireframe .areaicon,
1778 .fill-wireframe path.casing,
1779 .fill-wireframe path.fill,
1780 .fill-wireframe path.oneway {
1784 .fill-partial path.fill {
1787 pointer-events: visibleStroke;
1790 ------------------------------------------------------- */
1793 Opera misbehaves when the window is resized vertically unless 100% width + height are
1794 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1802 font:normal 12px/1.6667 'Helvetica Neue', Arial, sans-serif;
1812 vertical-align: middle;
1830 /* Can't be display: none or the clippaths are ignored. */
1859 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1860 -moz-box-sizing: border-box;
1861 -webkit-box-sizing: border-box;
1862 box-sizing: border-box;
1865 a, button, input, textarea {
1866 -webkit-tap-highlight-color:rgba(0,0,0,0);
1867 -webkit-touch-callout:none;
1872 .checkselect label:hover,
1873 .opacity-options li,
1875 cursor: pointer; /* Opera */
1876 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1883 margin-bottom: 20px;
1888 h4:last-child { margin-bottom: 0;}
1894 margin-bottom: 10px;
1900 padding-bottom: 10px;
1904 outline-color: transparent;
1905 outline-style: none;
1935 ------------------------------------------------------- */
1939 font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1949 background-color: white;
1951 border:1px solid #ccc;
1956 text-overflow: ellipsis;
1961 background-color: #F1F1F1;
1964 input[type="checkbox"],
1965 input[type="radio"] {
1973 /* remove bottom border radius when combobox is open */
1974 .combobox + * textarea:focus,
1975 .combobox + * input:focus {
1976 border-bottom-left-radius: 0 !important;
1977 border-bottom-right-radius: 0 !important;
1983 background-color: white;
1984 border-collapse: collapse;
1993 table.tags, table.tags td, table.tags th {
1994 border: 1px solid #CCC;
2003 ------------------------------------------------------- */
2005 .col0 { float:left; width:04.1666%; }
2006 .col1 { float:left; width:08.3333%; }
2007 .col2 { float:left; width:16.6666%; }
2008 .col3 { float:left; width:25.0000%; max-width: 300px; }
2009 .col4 { float:left; width:33.3333%; max-width: 400px; }
2010 .col5 { float:left; width:41.6666%; max-width: 500px; }
2011 .col6 { float:left; width:50.0000%; max-width: 600px; }
2012 .col7 { float:left; width:58.3333%; }
2013 .col8 { float:left; width:66.6666%; }
2014 .col9 { float:left; width:75.0000%; }
2015 .col10 { float:left; width:83.3333%; }
2016 .col11 { float:left; width:91.6666%; }
2017 .col12 { float:left; width:100.0000%; }
2020 ------------------------------------------------------- */
2022 ul li { list-style: none;}
2024 .toggle-list > label {
2029 background-color: white;
2034 .toggle-list > label:hover {
2035 background-color: #ececec;
2038 .toggle-list > label:not(:last-child) {
2039 border-bottom: 1px solid #ccc;
2042 .toggle-list > label:last-child {
2043 border-radius: 0 0 3px 3px;
2046 .toggle-list label > span {
2049 white-space: nowrap;
2050 text-overflow: ellipsis;
2053 .toggle-list > label.active {
2054 background: #E8EBFF;
2059 ------------------------------------------------------- */
2066 background: #f6f6f6;
2071 background: #ececec;
2076 background:rgba(0,0,0,.5);
2081 background:rgba(0,0,0,.75);
2086 .fr { float: right;}
2104 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2108 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2109 background-size:5px 5px;
2145 display: inline-block;
2152 background-color: #ececec;
2157 background-color: rgba(255,255,255,.25);
2158 color: rgba(0,0,0,.4);
2163 background: #7092ff;
2173 background-color: #fafafa;
2176 button.minor .icon {
2180 button.minor:hover {
2181 background-color: #f1f1f1;
2185 display: inline-block;
2190 .button-wrap button:only-child {
2194 .button-wrap:last-of-type {
2200 border-right: 1px solid rgba(0,0,0,.5);
2203 .fillL .joined button {
2204 border-right: 1px solid white;
2207 .joined button:first-child {
2208 border-radius:4px 0 0 4px;
2211 .joined button:last-child {
2212 border-right-width: 0;
2213 border-radius:0 4px 4px 0;
2217 background: #7092ff;
2221 button[disabled].action,
2222 button[disabled].action:hover {
2223 background: #cccccc;
2227 button.action:focus,
2228 button.action:hover {
2229 background: #597BE7;
2232 button.secondary-action {
2233 background: #ececec;
2236 button.secondary-action:focus,
2237 button.secondary-action:hover {
2238 background: #cccccc;
2241 button.save.has-count {
2245 button.save .count {
2249 button.save.has-count .count {
2262 margin-left: 8.3333%;
2265 button.save.has-count .count::before {
2274 border-top: 6px solid transparent;
2275 border-bottom: 6px solid transparent;
2276 border-right-width: 6px;
2277 border-right-style: solid;
2278 border-right-color: inherit;
2284 vertical-align: top;
2290 vertical-align: text-top;
2325 /* ToolBar / Persistent UI Elements
2326 ------------------------------------------------------- */
2339 /* Header for modals / panes
2340 ------------------------------------------------------- */
2343 border-bottom: 1px solid #ccc;
2351 white-space: nowrap;
2352 text-overflow: ellipsis;
2354 padding: 20px 20px 20px 40px;
2370 .entity-editor-pane .header button.preset-close,
2371 .preset-list-pane .header button.preset-choose {
2377 .entity-editor-pane .header button.preset-choose {
2400 padding: 5px 20px 5px 20px;
2401 border-top: 1px solid #ccc;
2402 background-color: #fafafa;
2406 .sidebar-component .body {
2415 ------------------------------------------------------- */
2423 background: #f6f6f6;
2426 .sidebar-component {
2455 .feature-list-pane .inspector-body {
2459 .preset-list-pane .inspector-body {
2463 .entity-editor-pane .inspector-body {
2467 .selection-list-pane .inspector-body {
2476 #sidebar .search-header .icon {
2481 pointer-events: none;
2484 #sidebar .search-header input {
2492 border-bottom-width: 1px;
2506 .feature-list-item {
2509 border-bottom: 1px solid #ccc;
2513 .feature-list-item .label {
2516 white-space: nowrap;
2517 text-overflow: ellipsis;
2519 border-left: 1px solid rgba(0, 0, 0, .1);
2522 .feature-list-item .label .icon {
2526 .feature-list-item:hover .label {
2527 background-color: #ececec;
2530 .feature-list-item .entity-type {
2534 .feature-list-item:hover .entity-type {
2538 .feature-list-item .entity-name {
2539 font-weight: normal;
2545 ------------------------------------------------------- */
2551 padding: 20px 20px 10px 20px;
2552 border-bottom: 1px solid #ccc;
2555 .preset-list-button-wrap {
2557 margin-bottom: 10px;
2561 .preset-list-button {
2565 border: 1px solid #ccc;
2568 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2569 background: #ececec;
2572 .preset-icon-fill-area {
2582 .preset-icon-frame {
2591 .preset-icon-frame .icon {
2603 .preset-icon-60 .icon {
2615 .preset-icon-44 .icon {
2623 left: 13px; /* Maki icons off center? */
2627 .preset-icon-32 .icon {
2632 .preset-list-button .label {
2633 background-color: #f6f6f6;
2642 white-space: nowrap;
2643 text-overflow: ellipsis;
2645 border-left: 1px solid rgba(0, 0, 0, .1);
2646 border-radius: 0 3px 3px 0;
2649 .preset-list-button:hover .label {
2650 background-color: #ececec;
2653 .preset-list-item button.tag-reference-button {
2655 border: 1px solid #CCC;
2656 border-radius: 0 3px 3px 0;
2661 background: #fafafa;
2664 .preset-list-item button.tag-reference-button:hover {
2665 background: #f1f1f1;
2668 .preset-list-item button.tag-reference-button .icon {
2672 .current .preset-list-button,
2673 .current .preset-list-button .label {
2674 background-color: #E8EBFF;
2677 .category .preset-list-button:after,
2678 .category .preset-list-button:before {
2682 left: -1px; right: -1px;
2683 border: 1px solid #ccc;
2684 border-bottom: none;
2685 border-radius: 6px 6px 0 0;
2689 .category .preset-list-button:before {
2693 .subgrid .preset-list {
2694 padding: 10px 10px 0 10px;
2698 width: -webkit-calc(100% + 20px);
2703 border: solid rgba(0, 0, 0, 0);
2705 border-bottom-color: #f1f1f1;
2709 margin-left: -webkit-calc(50% - 10px);
2714 /* preset form basics */
2718 padding-bottom: 10px;
2721 .inspector-preset a.hide-toggle {
2722 margin: 0 20px 10px 20px;
2725 .inspector-preset .preset-form {
2727 margin: 0 10px 10px 10px;
2731 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2736 margin-bottom: 10px;
2738 -webkit-transition: margin-bottom 200ms;
2739 -moz-transition: margin-bottom 200ms;
2740 -o-transition: margin-bottom 200ms;
2741 transition: margin-bottom 200ms;
2744 .form-field:last-child {
2751 border: 1px solid #cfcfcf;
2752 padding: 5px 0 5px 10px;
2753 background: #f6f6f6;
2755 border-radius: 4px 4px 0 0;
2759 .form-label-button-wrap {
2765 background: transparent;
2769 .form-label-button-wrap .tag-reference-button {
2770 border-radius: 0 3px 0 0;
2773 .form-label-button-wrap .icon {
2777 .form-label button {
2778 border-left: 1px solid #ccc;
2782 background: #f6f6f6;
2784 .form-label button:hover {
2785 background: #f1f1f1;
2788 .form-label .modified-icon,
2789 .form-field .remove-icon {
2793 .modified .form-label .modified-icon,
2794 .present .form-label .remove-icon {
2795 display: inline-block;
2798 .form-field > input,
2799 .form-field > textarea,
2800 .form-field .preset-input-wrap {
2801 border: 1px solid #ccc;
2804 border-radius: 0 0 4px 4px;
2808 .form-field textarea {
2813 border-bottom: 1px solid #ccc
2816 /* Preset form (hover mode) */
2818 .inspector-hover .checkselect label:last-of-type,
2819 .inspector-hover .preset-input-wrap .label,
2820 .inspector-hover .form-field-multicombo,
2821 .inspector-hover input,
2822 .inspector-hover label {
2823 background: #ececec;
2827 .inspector-hover .form-field-multicombo .chips,
2828 .inspector-hover .checkselect label:last-of-type {
2832 .inspector-hover .form-field-multicombo .chips {
2834 border: 1px solid #ccc;
2837 /* hide and remove from layout */
2839 .inspector-hover label input[type="checkbox"],
2840 .inspector-hover label input[type="radio"],
2841 .inspector-hover .toggle-list label,
2842 .inspector-hover .toggle-list label span,
2843 .inspector-hover .inspector-inner .add-tag,
2844 .inspector-hover .inspector-inner .add-relation,
2845 .inspector-hover .form-field-multicombo .combobox-input,
2846 .inspector-hover .toggle-list label.remove .icon {
2850 opacity: 0 !important;
2856 /* hide but preserve in layout */
2857 .inspector-hover .entity-editor-pane button.minor,
2858 .inspector-hover .combobox-caret,
2859 .inspector-hover .entity-editor-pane .header button,
2860 .inspector-hover .spin-control,
2861 .inspector-hover .form-field-multicombo .chips .remove,
2862 .inspector-hover .hide-toggle:before,
2863 .inspector-hover .more-fields,
2864 .inspector-hover .form-label-button-wrap,
2865 .inspector-hover .tag-reference-button,
2866 .inspector-hover .view-on-osm {
2870 /* Styles for raw tag inspector on hover */
2871 .inspector-hover .tag-row .key-wrap,
2872 .inspector-hover .tag-row .form-field.input-wrap-position {
2876 .inspector-hover .tag-row:first-child input.value {
2877 border-top-right-radius: 4px;
2880 .inspector-hover .tag-row:last-child input.value {
2881 border-bottom-right-radius: 4px;
2884 .inspector-hover .tag-row:last-child input.key {
2885 border-bottom-left-radius: 4px;
2888 .inspector-hover .more-fields {
2890 margin-bottom: -10px;
2893 /* Unstyle button fields */
2894 .inspector-hover .toggle-list label.active,
2895 .inspector-hover .entity-editor-pane a.hide-toggle {
2897 background-color: transparent;
2903 .inspector-hover .toggle-list button.active {
2907 /* Add placeholder only on hover for radio buttons */
2908 .inspector-hover .toggle-list .placeholder {
2916 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2917 .toggle-list label.active ~ .placeholder,
2918 .toggle-list .placeholder {
2927 /* adding additional preset fields */
2930 padding: 0 20px 20px 20px;
2934 .more-fields label { padding: 5px 10px 5px 0; }
2935 .more-fields input { width: 50%;}
2937 /* preset form access */
2939 .preset-input-wrap .label {
2941 background: #F6F6F6;
2945 .form-field-access .preset-input-wrap li {
2946 border-bottom: 1px solid #CCC;
2948 .form-field-access .preset-input-wrap li:last-child {
2952 .preset-input-access-wrap input {
2955 border-left-width: 1px;
2958 .preset-input-wrap li:last-child input {
2959 border-bottom-right-radius: 4px;
2962 /* preset form multicombo */
2964 .form-field-multicombo {
2965 border: 1px solid #cfcfcf;
2967 padding: 5px 0 5px 10px;
2970 border-radius: 0 0 4px 4px;
2974 .form-field-multicombo:focus {
2978 .form-field-multicombo.active {
2979 border-bottom-left-radius: 0px;
2980 border-bottom-right-radius: 0px;
2983 .form-field-multicombo li {
2984 background-color: #eff2f7;
2985 border: 1px solid #ccd5e3;
2988 display: inline-block;
2994 .form-field-multicombo a {
2995 font-family: Arial, Helvetica, sans-serif !important;
2996 font-size: 16px !important;
2999 margin: 1px 0 0 5px;
3005 .form-field-multicombo input {
3006 border: 1px solid #ddd;
3011 .form-field-multicombo .combobox-caret {
3012 margin: 3px 3px 3px -30px;
3015 .form-field-multicombo input:focus {
3016 border-radius: 4px !important;
3019 /* preset form cycleway */
3021 .form-field-cycleway .preset-input-wrap li {
3022 border-bottom: 1px solid #CCC;
3024 .form-field-cycleway .preset-input-wrap li:last-child {
3028 .preset-input-cycleway-wrap input {
3031 border-left-width: 1px;
3034 /* preset form numbers */
3036 input[type=number] {
3044 display: inline-block;
3046 margin-bottom: -11px;
3050 .spin-control button {
3056 border-left: 1px solid #CCC;
3058 background: rgba(0, 0, 0, 0);
3061 .spin-control button.decrement {
3062 border-bottom-right-radius: 3px;
3065 .spin-control button.decrement::after,
3066 .spin-control button.increment::after {
3068 height: 0; width: 0;
3070 left: 0; right: 0; bottom: 0; top: 0;
3074 .spin-control button.decrement::after {
3075 border-top: 5px solid #CCC;
3076 border-left: 5px solid transparent;
3077 border-right: 5px solid transparent;
3080 .spin-control button.increment::after {
3081 border-bottom: 5px solid #CCC;
3082 border-left: 5px solid transparent;
3083 border-right: 5px solid transparent;
3086 /* preset form checkbox */
3088 .checkselect label:last-of-type {
3095 .checkselect label:hover {
3096 background: #f1f1f1;
3103 .checkselect label:not(.set) input[type="checkbox"] {
3107 /* Preset form radio button */
3109 .toggle-list button.remove {
3110 border-radius: 0 0 3px 3px;
3113 .toggle-list button.remove .icon {
3118 .toggle-list button.remove::before {
3122 .form-field .wiki-lang {
3126 .form-field .wiki-title {
3130 .form-field .wiki-title ~ .combobox-caret {
3135 .form-field .wiki-link {
3137 background: #fafafa;
3142 .form-field .wiki-link:hover {
3143 background: #f1f1f1;
3146 #preset-input-maxspeed {
3148 border-radius: 0 0 0 4px;
3152 .form-field .maxspeed-unit {
3153 border-radius: 0 0 4px 0;
3157 /* Name + translate form */
3159 .form-field .localized-main {
3163 .form-field .button-input-action {
3168 border: 1px solid #CCC;
3169 border-top-width: 0;
3170 border-right-width: 0;
3171 border-radius: 0 0 4px 0;
3173 vertical-align: top;
3176 .form-field .localized-wrap {
3180 .form-field .localized-wrap .entry {
3185 .form-field .localized-wrap .entry::before {
3198 .form-field .localized-wrap .entry .localized-lang {
3200 border-top-width: 0;
3203 .form-field .localized-wrap .entry .localized-value {
3204 border-top-width: 0;
3205 border-radius: 0 0 4px 4px;
3208 .form-field .localized-wrap .form-label button {
3209 border-top-right-radius: 3px;
3212 /* Preset form address */
3219 .addr-row:first-of-type input {
3223 .addr-row input:first-of-type {
3231 .addr-row:last-of-type input:first-of-type {
3232 border-radius: 0 0 0 4px;
3235 .addr-row:last-of-type input:last-of-type {
3236 border-radius: 0 0 4px 0;
3239 /* Restrictions editor */
3241 .form-field-restrictions .preset-input-wrap {
3246 .form-field-restrictions svg {
3251 .form-field-restrictions .restriction-help {
3258 background-color: rgba(255, 255, 255, .8);
3263 /* combobox dropdown */
3268 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3274 border: 1px solid #ccc;
3275 border-radius: 0 0 4px 4px;
3281 border-top:1px solid #ccc;
3282 text-overflow: ellipsis;
3283 white-space: nowrap;
3287 .combobox a.selected,
3289 background: #ececec;
3292 .combobox a:first-child {
3297 display: inline-block;
3302 vertical-align: top;
3305 .combobox-caret::after {
3307 height: 0; width: 0;
3309 left: 0; right: 0; bottom: 0; top: 0;
3311 border-top: 5px solid #ccc;
3312 border-left: 5px solid transparent;
3313 border-right: 5px solid transparent;
3316 /* Raw Tag Editor */
3332 border-bottom: 1px solid #CCC;
3333 border-left: 1px solid #CCC;
3337 .tag-row .input-wrap-position {
3343 .tag-row input.key {
3345 background-color: #f6f6f6;
3348 .tag-row input.value {
3349 border-right: 1px solid #CCC;
3352 .tag-row:first-child input.key {
3353 border-top: 1px solid #CCC;
3354 border-top-left-radius: 4px;
3357 .tag-row:first-child input.value {
3358 border-top: 1px solid #CCC;
3365 border: 1px solid #CCC;
3366 border-top-width: 0;
3367 border-left-width: 0;
3370 .tag-row button:hover {
3371 background: #f1f1f1;
3374 .tag-row button .icon {
3378 .tag-row:first-child button {
3379 border-top-width: 1px;
3382 .tag-row:first-child .tag-reference-button {
3383 border-top-right-radius: 4px;
3386 .tag-row:last-child .tag-reference-button {
3387 border-bottom-right-radius: 4px;
3390 .tag-row .tag-reference-button {
3395 background: #fafafa;
3398 /* Adding form fields to tag editor */
3400 .inspector-inner .add-tag {
3404 background: rgba(0,0,0,.5);
3405 border-radius: 0 0 4px 4px;
3408 .inspector-inner .add-tag:hover {
3409 background: rgba(0,0,0,.8);
3412 .inspector-inner .add-tag .label {
3418 button.minor.tag-reference-loading {
3419 background-color: #f5f5f5;
3422 .tag-reference-loading .icon {
3423 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3424 background-position: 0 0;
3427 .tag-reference-body {
3432 .tag-reference-body p,
3433 .tag-reference-body img {
3437 .tag-reference-body p:last-child {
3438 padding-bottom: 10px;
3441 .tag-reference-body a {
3443 padding-bottom: 10px;
3446 .preset-list .tag-reference-body {
3451 .preset-list .tag-reference-body a {
3452 padding-bottom: 20px;
3455 .preset-list .tag-reference-body p,
3456 .preset-list .tag-reference-body img {
3460 .raw-tag-editor .tag-reference-body {
3461 border-bottom: 1px solid #ccc;
3466 .raw-tag-editor .tag-reference-body p:last-child {
3467 padding-bottom: 20px;
3470 .raw-tag-editor .tag-reference-body a {
3471 padding-bottom: 20px;
3477 width: -webkit-calc(33.3333% - 10px);
3478 width: calc(33.3333% - 10px);
3483 margin-bottom: 20px;
3486 /* Raw relation membership editor */
3488 .raw-member-editor .member-list li:first-child,
3489 .raw-membership-editor .member-list li:first-child {
3493 .raw-member-editor .member-row,
3494 .raw-membership-editor .member-row {
3498 .raw-member-editor .member-row .member-entity-name,
3499 .raw-membership-editor .member-row .member-entity-name {
3500 font-weight: normal;
3504 .member-incomplete .member-delete {
3508 .member-row-new .member-entity-input {
3509 border-radius: 4px 4px 0 0;
3510 border: 1px solid #cfcfcf;
3516 background: rgba(0,0,0,.5);
3521 .add-relation:hover {
3522 background: rgba(0,0,0,.8);
3525 /* Fullscreen button */
3532 div.full-screen .tooltip {
3536 div.full-screen > button, div.full-screen > button.active {
3539 background: transparent;
3542 div.full-screen > button:hover {
3543 background-color: rgba(0, 0, 0, .8);
3556 .map-control > button {
3558 background: rgba(0,0,0,.5);
3562 .map-control > button:hover {
3563 background: rgba(0, 0, 0, .8);
3566 .map-control > button.active,
3567 .map-control > button.active:hover {
3568 background: #7092ff;
3573 .zoombuttons button.zoom-in {
3574 border-radius: 4px 0 0 0;
3577 /* Background / Map Data Settings */
3579 .map-data-control button {
3583 .background-control button {
3584 border-radius: 4px 0 0 0;
3588 .background-control {
3593 margin-bottom: 10px;
3596 .map-data-control .hide-toggle,
3597 .background-control .hide-toggle {
3598 padding-bottom: 10px;
3601 .layer-list, .controls-list {
3602 margin-bottom: 10px;
3603 border: 1px solid #CCC;
3610 background-color: white;
3618 .layer-list > li:first-child {
3619 border-radius: 3px 3px 0 0;
3622 .layer-list > li:last-child {
3623 border-radius: 0 0 3px 3px;
3626 .layer-list > li:only-child {
3630 .layer-list li:not(:last-child) {
3631 border-bottom: 1px solid #ccc;
3634 .layer-list li:hover {
3635 background-color: #ececec;
3638 .layer-list li.active,
3639 .layer-list li.switch {
3640 background: #E8EBFF;
3643 .layer-list li.best > div.best {
3644 display: inline-block;
3649 /* make sure tooltip fits in map-control panel */
3650 /* if too wide, placement will be wrong the first time it displays */
3651 .layer-list li.best .tooltip-inner {
3661 .layer-list label > span {
3664 white-space: nowrap;
3665 text-overflow: ellipsis;
3676 .minimap-toggle.active {
3677 background: #E8EBFF;
3680 .minimap-toggle:hover {
3681 background-color: #ececec;
3690 .hide-toggle:before {
3698 border-top: 4px solid transparent;
3699 border-bottom: 4px solid transparent;
3700 border-left: 8px solid #7092ff;
3703 .hide-toggle.expanded:before {
3704 border-top: 8px solid #7092ff;
3706 border-right: 4px solid transparent;
3707 border-left: 4px solid transparent;
3710 /* Adjust Alignment controls */
3712 .background-control .nudge-container {
3713 border: 1px solid #ccc;
3718 .nudge-container .nudge-instructions {
3719 padding-bottom: 15px;
3722 .nudge-container .nudge-outer-rect {
3723 background-color: #eee;
3724 border: 1px solid #ccc;
3729 justify-content: center;
3730 align-items: center;
3736 .nudge-container .nudge-inner-rect {
3737 background-color: #fff;
3738 border: 1px solid #ccc;
3744 .nudge-container .nudge::after {
3749 left: 0; right: 0; top: 0; bottom: 0;
3754 .nudge-container input {
3761 .nudge-container input.error {
3762 border: 1px solid #FF7878;
3767 .nudge-container input:focus {
3768 background-color: transparent;
3771 .nudge-container button {
3776 background-color: transparent;
3779 .nudge-container button.right {
3784 .nudge-container button.left {
3789 .nudge-container button.top {
3794 .nudge-container button.bottom {
3798 .nudge-container button.nudge-reset {
3809 background-color: transparent;
3813 .background-control .nudge.right::after {
3814 border-top: 5px solid transparent;
3815 border-bottom: 5px solid transparent;
3816 border-left: 5px solid #222;
3819 .background-control .nudge.left::after {
3820 border-top: 5px solid transparent;
3821 border-bottom: 5px solid transparent;
3822 border-right: 5px solid #222;
3825 .background-control .nudge.top::after {
3826 border-right: 5px solid transparent;
3827 border-left: 5px solid transparent;
3828 border-bottom: 5px solid #222;
3831 .background-control .nudge.bottom::after {
3832 border-right: 5px solid transparent;
3833 border-left: 5px solid transparent;
3834 border-top: 5px solid #222;
3838 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3844 border: 1px solid #ccc;
3847 .opacity-options li {
3853 .opacity-options li .select-box{
3860 .map-data-control li:hover .select-box,
3861 .map-data-control li.selected .select-box,
3862 .background-control li:hover .select-box,
3863 .background-control li.selected .select-box {
3864 border: 2px solid #7092ff;
3865 background: rgba(89, 123, 231, .5);
3869 .map-data-control li.selected:hover .select-box,
3870 .map-data-control li.selected .select-box,
3871 .background-control li.selected:hover .select-box,
3872 .background-control li.selected .select-box {
3876 .background-control .opacity {
3878 display:inline-block;
3883 .map-data-control .layer-list button,
3884 .background-control .layer-list button {
3888 border-left: 1px solid #CCC;
3892 .map-data-control .layer-list button .icon,
3893 .background-control .layer-list button .icon {
3897 .map-data-control .layer-list button:first-of-type,
3898 .background-control .layer-list button:first-of-type {
3899 border-radius: 0 3px 3px 0;
3902 .map-data-control .map-overlay,
3903 .background-control .map-overlay,
3904 .help-control .map-overlay {
3911 .geolocate-control {
3912 margin-bottom: 10px;
3915 .geolocate-control button {
3916 border-radius: 0 0 0 4px;
3919 .map-overlay.content {
3923 padding: 20px 50px 20px 20px;
3930 .help-control button {
3931 border-radius: 0 0 0 4px;
3936 margin-bottom: 20px;
3939 .help-wrap .left-content .body p code {
3945 /* This is two columns, 41.66666 x .4 = 16.6666 */
3949 margin-bottom: 20px;
3953 .help-wrap .toc li a,
3956 border: 1px solid #CCC;
3960 .help-wrap .toc li a {
3964 .help-wrap .toc li a:hover,
3965 .help-wrap .nav a:hover {
3966 background: #ececec;
3969 .help-wrap .toc li a.selected {
3970 background: #E8EBFF;
3973 .help-wrap .toc li:first-child a {
3974 border-radius: 4px 4px 0 0;
3977 .help-wrap .toc li:nth-last-child(2) a {
3978 border-bottom: 1px solid #CCC;
3979 border-radius: 0 0 4px 4px
3982 .help-wrap .toc li.walkthrough a {
3985 border-bottom: 1px solid #ccc;
3999 .help-wrap .nav a:first-child {
4000 border-radius: 4px 0 0 4px;
4003 .help-wrap .nav a:last-child:not(:only-child) {
4004 border-radius: 0 4px 4px 0;
4008 .help-wrap .nav a:only-child {
4015 ------------------------------------------------------- */
4019 transform-origin:0 0;
4020 -ms-transform-origin:0 0;
4021 -webkit-transform-origin:0 0;
4022 -moz-transform-origin:0 0;
4023 -o-transform-origin:0 0;
4025 -moz-user-select: none;
4026 -webkit-user-select: none;
4027 -ms-user-select: none;
4032 -webkit-transition: opacity 200ms linear;
4033 transition: opacity 200ms linear;
4034 -moz-transition: opacity 200ms linear;
4038 background: rgba(0, 0, 0, 0.7);
4046 transform-origin:0 0;
4047 -ms-transform-origin:0 0;
4048 -webkit-transform-origin:0 0;
4049 -moz-transform-origin:0 0;
4050 -o-transform-origin:0 0;
4052 -moz-user-select: none;
4053 -webkit-user-select: none;
4054 -ms-user-select: none;
4059 border: 1px solid red;
4072 ------------------------------------------------------- */
4082 transform-origin:0 0;
4083 -ms-transform-origin:0 0;
4084 -webkit-transform-origin:0 0;
4085 -moz-transform-origin:0 0;
4086 -o-transform-origin:0 0;
4088 -moz-user-select: none;
4089 -webkit-user-select: none;
4090 -ms-user-select: none;
4094 #supersurface, .layer {
4103 ------------------------------------------------------- */
4112 border: #aaa 1px solid;
4113 box-shadow: 0 0 2em black;
4117 transform-origin:0 0;
4118 -ms-transform-origin:0 0;
4119 -webkit-transform-origin:0 0;
4120 -moz-transform-origin:0 0;
4121 -o-transform-origin:0 0;
4123 -moz-user-select: none;
4124 -webkit-user-select: none;
4125 -ms-user-select: none;
4129 .map-in-map-viewport,
4138 .map-in-map-viewport {
4149 stroke: rgba(255, 255, 0, 0.75);
4151 shape-rendering: crispEdges;
4154 .map-in-map-bbox.thick {
4160 ------------------------------------------------------- */
4162 stroke: currentColor;
4166 .map-in-map-data .debug {
4170 .red { color: rgba(255, 0, 0, 0.75); }
4171 .green { color: rgba(0, 255, 0, 0.75); }
4172 .blue { color: rgba(0, 0, 255, 0.75); }
4173 .yellow { color: rgba(255, 255, 0, 0.75); }
4174 .cyan { color: rgba(0, 255, 255, 0.75); }
4175 .magenta { color: rgba(255, 0, 255, 0.75); }
4176 .orange { color: rgba(255, 153, 0, 0.75); }
4177 .pink { color: rgba(255, 0, 153, 0.75); }
4178 .purple { color: rgba(153, 0, 255, 0.75); }
4186 pointer-events: none;
4189 .debug-legend-item {
4192 .debug-legend-item:before {
4198 ------------------------------------------------------- */
4205 border-radius: 4px 0 0 0;
4206 border-bottom: 1px solid black;
4209 .infobox .infobox-heading {
4211 border-radius: 4px 0 0 0;
4222 background: #7092ff;
4231 ------------------------------------------------------- */
4239 pointer-events: none;
4250 #attrib * { pointer-events: all; }
4252 .base-layer-attribution,
4253 .overlay-layer-attribution {
4259 .base-layer-attribution {
4263 .overlay-layer-attribution {
4267 .overlay-layer-attribution .attribution:not(:last-child):after {
4280 pointer-events: all;
4284 display: table-cell;
4285 vertical-align: bottom;
4290 -moz-user-select: none;
4291 -webkit-user-select: none;
4292 -ms-user-select: none;
4311 font: 12px sans-serif;
4321 shape-rendering: crispEdges;
4333 border-left: 1px solid rgba(255,255,255,.5);
4334 padding: 5px 0 5px 5px;
4338 #about-list li:last-child {
4345 padding: 2px 4px 4px 4px;
4348 .source-switch a.live {
4349 background: #d32232;
4353 .feature-warning a {
4354 background: #1e90ff;
4355 padding: 2px 4px 4px 4px;
4360 .user-list a:not(:last-child):after {
4372 .api-status.offline,
4373 .api-status.readonly,
4379 ------------------------------------------------------- */
4383 display: inline-block;
4394 margin-bottom: 10px;
4397 .modal .description {
4413 background:rgba(0,0,0,0.5);
4415 left:0px; right:0px; top:0px; bottom:0px;
4420 border-bottom: 1px solid #CCC;
4423 .modal-section.header h3 {
4427 .modal-section.buttons {
4431 .modal-section.buttons .action {
4432 display: inline-block;
4435 vertical-align: middle;
4438 .save-section .buttons .action,
4439 .save-section .buttons .secondary-action {
4440 display: inline-block;
4443 vertical-align: middle;
4450 .modal-actions button,
4451 .save-success a.button {
4452 font-weight: normal;
4454 border-bottom: 1px solid #CCC;
4458 display: inline-block;
4461 .modal-actions button:hover
4462 .save-success a.button:hover {
4463 background-color: #ececec;
4466 .modal-actions button:before,
4467 .save-success a.button.osm:before,
4468 .walkthrough a:before {
4475 margin-bottom: 10px;
4476 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -200px -460px;
4479 .modal-actions :first-child {
4480 border-right: 1px solid #CCC;
4483 .modal-section:last-child {
4488 ------------------------------------------------------- */
4490 .modal-actions .restore:before {
4491 background-position: -500px -460px;
4494 .modal-actions .reset:before {
4495 background-position: -600px -460px;
4499 ------------------------------------------------------- */
4502 padding: 15px 15px 0 15px;
4504 .save-success a.details {
4507 .save-success .button {
4511 .save-success a.button.social {
4515 .save-success .icon.social {
4521 .save-success .button.osm:before {
4522 background-position: -200px -460px;
4526 ------------------------------------------------------- */
4528 .modal-actions .walkthrough:before,
4529 .walkthrough a:before {
4530 background-position: -300px -460px;
4533 .modal-actions .start:before {
4534 background-position: -400px -460px;
4538 ------------------------------------------------------- */
4540 .mode-save a.user-info {
4541 display: inline-block;
4544 .mode-save .commit-form {
4548 .mode-save .user-info img {
4552 .mode-save h3 small.count {
4566 .mode-save .commit-info {
4567 margin-bottom: 10px;
4570 .mode-save .changeset-list {
4571 border:1px solid #ccc;
4576 .mode-save .warning-section .changeset-list button {
4577 border-left: 1px solid #CCC;
4580 .mode-save .changeset-list li {
4582 border-top:1px solid #ccc;
4587 .mode-save .changeset-list li:hover {
4588 background-color: #ececec;
4591 .mode-save .changeset-list .alert {
4595 .changeset-list li span.count {
4600 .mode-save .commit-section .changeset-list button {
4601 border-left: 1px solid #CCC;
4604 .changeset-list li span.count:before { content: '('; }
4606 .changeset-list li span.count:after { content: ')'; }
4608 .changeset-list li:first-child { border-top: 0;}
4610 /* Conflict resolution
4611 ------------------------------------------------------- */
4615 background-color: #ffffbb;
4616 border-bottom: 1px solid #ccc;
4619 .conflicts-buttons {
4623 .mode-save button.conflicts-button {
4627 .conflict-container {
4628 border-bottom: 1px solid #ccc;
4631 .conflict-description {
4637 padding: 20px 20px 0 20px;
4640 .conflict-detail-container {
4652 .conflict-nav-buttons {
4653 padding: 10px 0 20px 0;
4656 .conflict-nav-button {
4661 ------------------------------------------------------- */
4683 .notice .zoom-to:hover {
4684 background: #d8e1ff;
4687 .notice .zoom-to .icon {
4693 ------------------------------------------------------- */
4730 display: inline-block;
4735 font-weight: normal;
4736 background-color: white;
4742 pointer-events: none;
4746 background: transparent;
4754 border-color: transparent;
4755 border-style: solid;
4759 border-left-color: white;
4760 border-width: 5px 0 5px 5px;
4779 border-color: transparent;
4780 border-style: solid;
4784 border-right-color: white;
4785 border-width: 5px 5px 5px 0;
4792 border-color: transparent;
4793 border-style: solid;
4796 .tooltip.top .tooltip-arrow {
4800 border-top-color: white;
4801 border-width: 5px 5px 0;
4804 .tooltip.right .tooltip-arrow {
4808 border-right-color: white;
4809 border-width: 5px 5px 5px 0;
4812 .tooltip.left .tooltip-arrow {
4816 border-left-color: white;
4817 border-width: 5px 0 5px 5px;
4820 .tooltip.bottom .tooltip-arrow {
4824 border-bottom-color: white;
4825 border-width: 0 5px 5px;
4829 background: #F6F6F6;
4831 margin: 10px -10px -10px;
4832 border-radius: 0 0 3px 3px;
4835 .tooltip-inner .keyhint {
4839 /* Exceptions for tooltip layouts */
4841 /* make tooltips in panels dark */
4842 .map-overlay .tooltip.top .tooltip-arrow,
4843 .entity-editor-pane .tooltip.top .tooltip-arrow,
4844 .warning-section .tooltip.top .tooltip-arrow {
4845 border-top-color: #000;
4848 .map-overlay .tooltip.bottom .tooltip-arrow,
4849 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4850 .warning-section .tooltip.bottom .tooltip-arrow {
4851 border-bottom-color: #000;
4854 .map-overlay .tooltip.left .tooltip-arrow,
4855 .entity-editor-pane .tooltip.left .tooltip-arrow,
4856 .warning-section .tooltip.left .tooltip-arrow {
4857 border-left-color: #000;
4860 .map-overlay .tooltip.right .tooltip-arrow,
4861 .entity-editor-pane .tooltip.right .tooltip-arrow,
4862 .warning-section .tooltip.right .tooltip-arrow {
4863 border-right-color: #000;
4866 .map-overlay .tooltip-inner,
4867 .map-overlay .keyhint-wrap,
4868 .entity-editor-pane .tooltip-inner,
4869 .warning-section .tooltip-inner {
4873 /* commit warning tooltips need to be closer */
4874 .warning-section .tooltip.top {
4878 /* Uncramp map-control tooltips */
4879 .map-control .tooltip {
4882 /* Move over tooltips that are near the edge of screen */
4883 .add-point .tooltip {
4884 left: 33.3333% !important;
4887 .curtain-tooltip.intro-points-add .tooltip-arrow,
4888 .add-point .tooltip .tooltip-arrow {
4892 .radial-menu-tooltip {
4899 .radial-menu-background {
4902 stroke-opacity: 0.5;
4905 .radial-menu-item circle {
4909 .radial-menu-item circle:active,
4910 .radial-menu-item circle:hover {
4914 .radial-menu-item.disabled circle {
4916 fill: rgba(255,255,255,.5);
4919 .radial-menu-item use {
4924 .radial-menu-item.disabled use {
4925 fill: rgba(32,32,32,.5);
4926 color: rgba(40,40,40,.5);
4934 stroke-dasharray: 5, 5;
4938 ------------------------------------------------------- */
4940 @media only screen and (max-width: 840px) {
4941 /* override hide for save button */
4942 #bar .save .label { display: block;}
4945 @media screen and (max-width: 1200px) {
4946 .user-list { display: none !important; }
4949 @media screen and (max-width: 1000px) {
4950 #userLink { display: none !important; }
4953 @media screen and (max-width: 900px) {
4954 #scale-block { display: none !important; }
4959 ----------------------------------------------------- */
4961 ::-webkit-scrollbar {
4966 border-left: 1px solid #DDD;
4969 ::-webkit-scrollbar-track {
4970 background-clip: padding-box;
4971 border: solid transparent;
4975 ::-webkit-scrollbar-thumb {
4976 background-color: rgba(0,0,0,.2);
4977 background-clip: padding-box;
4978 border: solid transparent;
4979 border-width: 3px 3px 3px 4px;
4982 ::-webkit-scrollbar-track:hover,
4983 ::-webkit-scrollbar-track:active {
4984 background-color: rgba(0,0,0,.05);
4987 /* Intro walkthrough
4988 ----------------------------------------------------- */
4991 pointer-events: all;
5006 .intro-nav-wrap button.step {
5010 .intro-nav-wrap button.step.finished {
5011 background: #8cd05f;
5014 .intro-nav-wrap button.step .icon {
5018 .intro-nav-wrap button.step.finished .icon {
5019 display: inline-block;
5023 .curtain-tooltip .tooltip-inner {
5028 .curtain-tooltip .tooltip-inner {
5032 .curtain-tooltip .tooltip-inner .bold {
5035 border-top: 1px solid #CCC;
5038 margin-right: -20px;
5039 padding: 10px 20px 0 20px;
5042 .curtain-tooltip .tooltip-inner .bold:only-child {
5048 .curtain-tooltip.intro-points-describe {
5049 top: 133px !important;
5052 /* Tooltip illustrations */
5054 .intro-points-add .tooltip-inner::before,
5055 .intro-areas-add .tooltip-inner::before,
5056 .intro-lines-add .tooltip-inner::before {
5062 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat 0 -320px;
5065 .intro-areas-add .tooltip-inner::before {
5066 background-position: 0 -400px;
5069 .intro-lines-add .tooltip-inner::before {
5070 background-position: 0 -480px;
5073 .huge-modal-button {
5079 .huge-modal-button .illustration {
5082 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px;
5087 ------------------------------------------------------- */
5094 background-color: #fff;
5097 .mapillary-wrap.hidden {
5101 .mapillary-wrap .uil-ripple-css {
5106 .mapillary-wrap .uil-ripple-css div {
5110 .mapillary-wrap button.thumb-hide {
5123 .mly-wrapper.active {
5124 visibility: visible;