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;
1950 border:1px solid #ccc;
1955 text-overflow: ellipsis;
1960 background-color: #F1F1F1;
1963 input[type="checkbox"],
1964 input[type="radio"] {
1972 /* remove bottom border radius when combobox is open */
1973 .combobox + * textarea:focus,
1974 .combobox + * input:focus {
1975 border-bottom-left-radius: 0 !important;
1976 border-bottom-right-radius: 0 !important;
1982 background-color: white;
1983 border-collapse: collapse;
1992 table.tags, table.tags td, table.tags th {
1993 border: 1px solid #CCC;
2002 ------------------------------------------------------- */
2004 .col0 { float:left; width:04.1666%; }
2005 .col1 { float:left; width:08.3333%; }
2006 .col2 { float:left; width:16.6666%; }
2007 .col3 { float:left; width:25.0000%; max-width: 300px; }
2008 .col4 { float:left; width:33.3333%; max-width: 400px; }
2009 .col5 { float:left; width:41.6666%; max-width: 500px; }
2010 .col6 { float:left; width:50.0000%; max-width: 600px; }
2011 .col7 { float:left; width:58.3333%; }
2012 .col8 { float:left; width:66.6666%; }
2013 .col9 { float:left; width:75.0000%; }
2014 .col10 { float:left; width:83.3333%; }
2015 .col11 { float:left; width:91.6666%; }
2016 .col12 { float:left; width:100.0000%; }
2019 ------------------------------------------------------- */
2021 ul li { list-style: none;}
2023 .toggle-list > label {
2028 background-color: white;
2033 .toggle-list > label:hover {
2034 background-color: #ececec;
2037 .toggle-list > label:not(:last-child) {
2038 border-bottom: 1px solid #ccc;
2041 .toggle-list > label:last-child {
2042 border-radius: 0 0 3px 3px;
2045 .toggle-list label > span {
2048 white-space: nowrap;
2049 text-overflow: ellipsis;
2052 .toggle-list > label.active {
2053 background: #E8EBFF;
2058 ------------------------------------------------------- */
2065 background: #f6f6f6;
2070 background: #ececec;
2075 background:rgba(0,0,0,.5);
2080 background:rgba(0,0,0,.75);
2085 .fr { float: right;}
2103 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
2107 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
2108 background-size:5px 5px;
2144 display: inline-block;
2151 background-color: #ececec;
2156 background-color: rgba(255,255,255,.25);
2157 color: rgba(0,0,0,.4);
2162 background: #7092ff;
2172 background-color: #fafafa;
2175 button.minor .icon {
2179 button.minor:hover {
2180 background-color: #f1f1f1;
2184 display: inline-block;
2189 .button-wrap button:only-child {
2193 .button-wrap:last-of-type {
2199 border-right: 1px solid rgba(0,0,0,.5);
2202 .fillL .joined button {
2203 border-right: 1px solid white;
2206 .joined button:first-child {
2207 border-radius:4px 0 0 4px;
2210 .joined button:last-child {
2211 border-right-width: 0;
2212 border-radius:0 4px 4px 0;
2216 background: #7092ff;
2220 button[disabled].action,
2221 button[disabled].action:hover {
2222 background: #cccccc;
2226 button.action:focus,
2227 button.action:hover {
2228 background: #597BE7;
2231 button.secondary-action {
2232 background: #ececec;
2235 button.secondary-action:focus,
2236 button.secondary-action:hover {
2237 background: #cccccc;
2240 button.save.has-count {
2244 button.save .count {
2248 button.save.has-count .count {
2261 margin-left: 8.3333%;
2264 button.save.has-count .count::before {
2273 border-top: 6px solid transparent;
2274 border-bottom: 6px solid transparent;
2275 border-right-width: 6px;
2276 border-right-style: solid;
2277 border-right-color: inherit;
2283 vertical-align: top;
2289 vertical-align: text-top;
2324 /* ToolBar / Persistent UI Elements
2325 ------------------------------------------------------- */
2338 /* Header for modals / panes
2339 ------------------------------------------------------- */
2342 border-bottom: 1px solid #ccc;
2350 white-space: nowrap;
2351 text-overflow: ellipsis;
2353 padding: 20px 20px 20px 40px;
2369 .entity-editor-pane .header button.preset-close,
2370 .preset-list-pane .header button.preset-choose {
2376 .entity-editor-pane .header button.preset-choose {
2399 padding: 5px 20px 5px 20px;
2400 border-top: 1px solid #ccc;
2401 background-color: #fafafa;
2405 .sidebar-component .body {
2414 ------------------------------------------------------- */
2422 background: #f6f6f6;
2425 .sidebar-component {
2457 background-color: #fff;
2460 .mapillary-image a {
2464 background-color: rgba(0,0,0,.5);
2469 .mapillary-image img {
2475 .mapillary-image.hidden {
2479 .mapillary-image.temp button {
2483 .mapillary-image button {
2491 .feature-list-pane .inspector-body {
2495 .preset-list-pane .inspector-body {
2499 .entity-editor-pane .inspector-body {
2503 .selection-list-pane .inspector-body {
2512 #sidebar .search-header .icon {
2517 pointer-events: none;
2520 #sidebar .search-header input {
2528 border-bottom-width: 1px;
2542 .feature-list-item {
2545 border-bottom: 1px solid #ccc;
2549 .feature-list-item .label {
2552 white-space: nowrap;
2553 text-overflow: ellipsis;
2555 border-left: 1px solid rgba(0, 0, 0, .1);
2558 .feature-list-item .label .icon {
2562 .feature-list-item:hover .label {
2563 background-color: #ececec;
2566 .feature-list-item .entity-type {
2570 .feature-list-item:hover .entity-type {
2574 .feature-list-item .entity-name {
2575 font-weight: normal;
2581 ------------------------------------------------------- */
2587 padding: 20px 20px 10px 20px;
2588 border-bottom: 1px solid #ccc;
2591 .preset-list-button-wrap {
2593 margin-bottom: 10px;
2597 .preset-list-button {
2601 border: 1px solid #ccc;
2604 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2605 background: #ececec;
2608 .preset-icon-fill-area {
2618 .preset-icon-frame {
2627 .preset-icon-frame .icon {
2639 .preset-icon-60 .icon {
2651 .preset-icon-44 .icon {
2659 left: 13px; /* Maki icons off center? */
2663 .preset-icon-32 .icon {
2668 .preset-list-button .label {
2669 background-color: #f6f6f6;
2678 white-space: nowrap;
2679 text-overflow: ellipsis;
2681 border-left: 1px solid rgba(0, 0, 0, .1);
2682 border-radius: 0 3px 3px 0;
2685 .preset-list-button:hover .label {
2686 background-color: #ececec;
2689 .preset-list-item button.tag-reference-button {
2691 border: 1px solid #CCC;
2692 border-radius: 0 3px 3px 0;
2697 background: #fafafa;
2700 .preset-list-item button.tag-reference-button:hover {
2701 background: #f1f1f1;
2704 .preset-list-item button.tag-reference-button .icon {
2708 .current .preset-list-button,
2709 .current .preset-list-button .label {
2710 background-color: #E8EBFF;
2713 .category .preset-list-button:after,
2714 .category .preset-list-button:before {
2718 left: -1px; right: -1px;
2719 border: 1px solid #ccc;
2720 border-bottom: none;
2721 border-radius: 6px 6px 0 0;
2725 .category .preset-list-button:before {
2729 .subgrid .preset-list {
2730 padding: 10px 10px 0 10px;
2734 width: -webkit-calc(100% + 20px);
2739 border: solid rgba(0, 0, 0, 0);
2741 border-bottom-color: #f1f1f1;
2745 margin-left: -webkit-calc(50% - 10px);
2750 /* preset form basics */
2754 padding-bottom: 10px;
2757 .inspector-preset a.hide-toggle {
2758 margin: 0 20px 10px 20px;
2761 .inspector-preset .preset-form {
2763 margin: 0 10px 10px 10px;
2767 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2772 margin-bottom: 10px;
2774 -webkit-transition: margin-bottom 200ms;
2775 -moz-transition: margin-bottom 200ms;
2776 -o-transition: margin-bottom 200ms;
2777 transition: margin-bottom 200ms;
2780 .form-field:last-child {
2787 border: 1px solid #cfcfcf;
2788 padding: 5px 0 5px 10px;
2789 background: #f6f6f6;
2791 border-radius: 4px 4px 0 0;
2795 .form-label-button-wrap {
2801 background: transparent;
2805 .form-label-button-wrap .tag-reference-button {
2806 border-radius: 0 3px 0 0;
2809 .form-label-button-wrap .icon {
2813 .form-label button {
2814 border-left: 1px solid #ccc;
2818 background: #f6f6f6;
2820 .form-label button:hover {
2821 background: #f1f1f1;
2824 .form-label .modified-icon,
2825 .form-field .remove-icon {
2829 .modified .form-label .modified-icon,
2830 .present .form-label .remove-icon {
2831 display: inline-block;
2834 .form-field > input,
2835 .form-field > textarea,
2836 .form-field .preset-input-wrap {
2837 border: 1px solid #ccc;
2840 border-radius: 0 0 4px 4px;
2844 .form-field textarea {
2849 border-bottom: 1px solid #ccc
2852 /* Preset form (hover mode) */
2854 .inspector-hover .checkselect label:last-of-type,
2855 .inspector-hover .preset-input-wrap .label,
2856 .inspector-hover .form-field-multicombo,
2857 .inspector-hover input,
2858 .inspector-hover label {
2859 background: #ececec;
2863 .inspector-hover .form-field-multicombo .chips,
2864 .inspector-hover .checkselect label:last-of-type {
2868 .inspector-hover .form-field-multicombo .chips {
2870 border: 1px solid #ccc;
2873 /* hide and remove from layout */
2875 .inspector-hover label input[type="checkbox"],
2876 .inspector-hover label input[type="radio"],
2877 .inspector-hover .toggle-list label,
2878 .inspector-hover .toggle-list label span,
2879 .inspector-hover .inspector-inner .add-tag,
2880 .inspector-hover .inspector-inner .add-relation,
2881 .inspector-hover .form-field-multicombo .combobox-input,
2882 .inspector-hover .toggle-list label.remove .icon {
2886 opacity: 0 !important;
2892 /* hide but preserve in layout */
2893 .inspector-hover .entity-editor-pane button.minor,
2894 .inspector-hover .combobox-caret,
2895 .inspector-hover .entity-editor-pane .header button,
2896 .inspector-hover .spin-control,
2897 .inspector-hover .form-field-multicombo .chips .remove,
2898 .inspector-hover .hide-toggle:before,
2899 .inspector-hover .more-fields,
2900 .inspector-hover .form-label-button-wrap,
2901 .inspector-hover .tag-reference-button,
2902 .inspector-hover .view-on-osm {
2906 /* Styles for raw tag inspector on hover */
2907 .inspector-hover .tag-row .key-wrap,
2908 .inspector-hover .tag-row .form-field.input-wrap-position {
2912 .inspector-hover .tag-row:first-child input.value {
2913 border-top-right-radius: 4px;
2916 .inspector-hover .tag-row:last-child input.value {
2917 border-bottom-right-radius: 4px;
2920 .inspector-hover .tag-row:last-child input.key {
2921 border-bottom-left-radius: 4px;
2924 .inspector-hover .more-fields {
2926 margin-bottom: -10px;
2929 /* Unstyle button fields */
2930 .inspector-hover .toggle-list label.active,
2931 .inspector-hover .entity-editor-pane a.hide-toggle {
2933 background-color: transparent;
2939 .inspector-hover .toggle-list button.active {
2943 /* Add placeholder only on hover for radio buttons */
2944 .inspector-hover .toggle-list .placeholder {
2952 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2953 .toggle-list label.active ~ .placeholder,
2954 .toggle-list .placeholder {
2963 /* adding additional preset fields */
2966 padding: 0 20px 20px 20px;
2970 .more-fields label { padding: 5px 10px 5px 0; }
2971 .more-fields input { width: 50%;}
2973 /* preset form access */
2975 .preset-input-wrap .label {
2977 background: #F6F6F6;
2981 .form-field-access .preset-input-wrap li {
2982 border-bottom: 1px solid #CCC;
2984 .form-field-access .preset-input-wrap li:last-child {
2988 .preset-input-access-wrap input {
2991 border-left-width: 1px;
2994 .preset-input-wrap li:last-child input {
2995 border-bottom-right-radius: 4px;
2998 /* preset form multicombo */
3000 .form-field-multicombo {
3001 border: 1px solid #cfcfcf;
3003 padding: 5px 0 5px 10px;
3006 border-radius: 0 0 4px 4px;
3010 .form-field-multicombo:focus {
3014 .form-field-multicombo.active {
3015 border-bottom-left-radius: 0px;
3016 border-bottom-right-radius: 0px;
3019 .form-field-multicombo li {
3020 background-color: #eff2f7;
3021 border: 1px solid #ccd5e3;
3024 display: inline-block;
3030 .form-field-multicombo a {
3031 font-family: Arial, Helvetica, sans-serif !important;
3032 font-size: 16px !important;
3035 margin: 1px 0 0 5px;
3041 .form-field-multicombo input {
3042 border: 1px solid #ddd;
3047 .form-field-multicombo .combobox-caret {
3048 margin: 3px 3px 3px -30px;
3051 .form-field-multicombo input:focus {
3052 border-radius: 4px !important;
3055 /* preset form cycleway */
3057 .form-field-cycleway .preset-input-wrap li {
3058 border-bottom: 1px solid #CCC;
3060 .form-field-cycleway .preset-input-wrap li:last-child {
3064 .preset-input-cycleway-wrap input {
3067 border-left-width: 1px;
3070 /* preset form numbers */
3072 input[type=number] {
3080 display: inline-block;
3082 margin-bottom: -11px;
3086 .spin-control button {
3092 border-left: 1px solid #CCC;
3094 background: rgba(0, 0, 0, 0);
3097 .spin-control button.decrement {
3098 border-bottom-right-radius: 3px;
3101 .spin-control button.decrement::after,
3102 .spin-control button.increment::after {
3104 height: 0; width: 0;
3106 left: 0; right: 0; bottom: 0; top: 0;
3110 .spin-control button.decrement::after {
3111 border-top: 5px solid #CCC;
3112 border-left: 5px solid transparent;
3113 border-right: 5px solid transparent;
3116 .spin-control button.increment::after {
3117 border-bottom: 5px solid #CCC;
3118 border-left: 5px solid transparent;
3119 border-right: 5px solid transparent;
3122 /* preset form checkbox */
3124 .checkselect label:last-of-type {
3131 .checkselect label:hover {
3132 background: #f1f1f1;
3139 .checkselect label:not(.set) input[type="checkbox"] {
3143 /* Preset form radio button */
3145 .toggle-list button.remove {
3146 border-radius: 0 0 3px 3px;
3149 .toggle-list button.remove .icon {
3154 .toggle-list button.remove::before {
3158 .form-field .wiki-lang {
3162 .form-field .wiki-title {
3166 .form-field .wiki-title ~ .combobox-caret {
3171 .form-field .wiki-link {
3173 background: #fafafa;
3178 .form-field .wiki-link:hover {
3179 background: #f1f1f1;
3182 #preset-input-maxspeed {
3184 border-radius: 0 0 0 4px;
3188 .form-field .maxspeed-unit {
3189 border-radius: 0 0 4px 0;
3193 /* Name + translate form */
3195 .form-field .localized-main {
3199 .form-field .button-input-action {
3204 border: 1px solid #CCC;
3205 border-top-width: 0;
3206 border-right-width: 0;
3207 border-radius: 0 0 4px 0;
3209 vertical-align: top;
3212 .form-field .localized-wrap {
3216 .form-field .localized-wrap .entry {
3221 .form-field .localized-wrap .entry::before {
3234 .form-field .localized-wrap .entry .localized-lang {
3236 border-top-width: 0;
3239 .form-field .localized-wrap .entry .localized-value {
3240 border-top-width: 0;
3241 border-radius: 0 0 4px 4px;
3244 .form-field .localized-wrap .form-label button {
3245 border-top-right-radius: 3px;
3248 /* Preset form address */
3255 .addr-row:first-of-type input {
3259 .addr-row input:first-of-type {
3267 .addr-row:last-of-type input:first-of-type {
3268 border-radius: 0 0 0 4px;
3271 .addr-row:last-of-type input:last-of-type {
3272 border-radius: 0 0 4px 0;
3275 /* Restrictions editor */
3277 .form-field-restrictions .preset-input-wrap {
3282 .form-field-restrictions svg {
3287 .form-field-restrictions .restriction-help {
3294 background-color: rgba(255, 255, 255, .8);
3299 /* combobox dropdown */
3304 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3310 border: 1px solid #ccc;
3311 border-radius: 0 0 4px 4px;
3317 border-top:1px solid #ccc;
3318 text-overflow: ellipsis;
3319 white-space: nowrap;
3323 .combobox a.selected,
3325 background: #ececec;
3328 .combobox a:first-child {
3333 display: inline-block;
3338 vertical-align: top;
3341 .combobox-caret::after {
3343 height: 0; width: 0;
3345 left: 0; right: 0; bottom: 0; top: 0;
3347 border-top: 5px solid #ccc;
3348 border-left: 5px solid transparent;
3349 border-right: 5px solid transparent;
3352 /* Raw Tag Editor */
3368 border-bottom: 1px solid #CCC;
3369 border-left: 1px solid #CCC;
3373 .tag-row .input-wrap-position {
3379 .tag-row input.key {
3381 background-color: #f6f6f6;
3384 .tag-row input.value {
3385 border-right: 1px solid #CCC;
3388 .tag-row:first-child input.key {
3389 border-top: 1px solid #CCC;
3390 border-top-left-radius: 4px;
3393 .tag-row:first-child input.value {
3394 border-top: 1px solid #CCC;
3401 border: 1px solid #CCC;
3402 border-top-width: 0;
3403 border-left-width: 0;
3406 .tag-row button:hover {
3407 background: #f1f1f1;
3410 .tag-row button .icon {
3414 .tag-row:first-child button {
3415 border-top-width: 1px;
3418 .tag-row:first-child .tag-reference-button {
3419 border-top-right-radius: 4px;
3422 .tag-row:last-child .tag-reference-button {
3423 border-bottom-right-radius: 4px;
3426 .tag-row .tag-reference-button {
3431 background: #fafafa;
3434 /* Adding form fields to tag editor */
3436 .inspector-inner .add-tag {
3440 background: rgba(0,0,0,.5);
3441 border-radius: 0 0 4px 4px;
3444 .inspector-inner .add-tag:hover {
3445 background: rgba(0,0,0,.8);
3448 .inspector-inner .add-tag .label {
3454 button.minor.tag-reference-loading {
3455 background-color: #f5f5f5;
3458 .tag-reference-loading .icon {
3459 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3460 background-position: 0 0;
3463 .tag-reference-body {
3468 .tag-reference-body p,
3469 .tag-reference-body img {
3473 .tag-reference-body p:last-child {
3474 padding-bottom: 10px;
3477 .tag-reference-body a {
3479 padding-bottom: 10px;
3482 .preset-list .tag-reference-body {
3487 .preset-list .tag-reference-body a {
3488 padding-bottom: 20px;
3491 .preset-list .tag-reference-body p,
3492 .preset-list .tag-reference-body img {
3496 .raw-tag-editor .tag-reference-body {
3497 border-bottom: 1px solid #ccc;
3502 .raw-tag-editor .tag-reference-body p:last-child {
3503 padding-bottom: 20px;
3506 .raw-tag-editor .tag-reference-body a {
3507 padding-bottom: 20px;
3513 width: -webkit-calc(33.3333% - 10px);
3514 width: calc(33.3333% - 10px);
3519 margin-bottom: 20px;
3522 /* Raw relation membership editor */
3524 .raw-member-editor .member-list li:first-child,
3525 .raw-membership-editor .member-list li:first-child {
3529 .raw-member-editor .member-row,
3530 .raw-membership-editor .member-row {
3534 .raw-member-editor .member-row .member-entity-name,
3535 .raw-membership-editor .member-row .member-entity-name {
3536 font-weight: normal;
3540 .member-incomplete .member-delete {
3544 .member-row-new .member-entity-input {
3545 border-radius: 4px 4px 0 0;
3546 border: 1px solid #cfcfcf;
3552 background: rgba(0,0,0,.5);
3557 .add-relation:hover {
3558 background: rgba(0,0,0,.8);
3561 /* Fullscreen button */
3568 div.full-screen .tooltip {
3572 div.full-screen > button, div.full-screen > button.active {
3575 background: transparent;
3578 div.full-screen > button:hover {
3579 background-color: rgba(0, 0, 0, .8);
3592 .map-control > button {
3594 background: rgba(0,0,0,.5);
3598 .map-control > button:hover {
3599 background: rgba(0, 0, 0, .8);
3602 .map-control > button.active,
3603 .map-control > button.active:hover {
3604 background: #7092ff;
3609 .zoombuttons button.zoom-in {
3610 border-radius: 4px 0 0 0;
3613 /* Background / Map Data Settings */
3615 .map-data-control button {
3619 .background-control button {
3620 border-radius: 4px 0 0 0;
3624 .background-control {
3629 margin-bottom: 10px;
3632 .map-data-control .hide-toggle,
3633 .background-control .hide-toggle {
3634 padding-bottom: 10px;
3637 .layer-list, .controls-list {
3638 margin-bottom: 10px;
3639 border: 1px solid #CCC;
3646 background-color: white;
3654 .layer-list > li:first-child {
3655 border-radius: 3px 3px 0 0;
3658 .layer-list > li:last-child {
3659 border-radius: 0 0 3px 3px;
3662 .layer-list > li:only-child {
3666 .layer-list li:not(:last-child) {
3667 border-bottom: 1px solid #ccc;
3670 .layer-list li:hover {
3671 background-color: #ececec;
3674 .layer-list li.active,
3675 .layer-list li.switch {
3676 background: #E8EBFF;
3679 .layer-list li.best > div.best {
3680 display: inline-block;
3685 /* make sure tooltip fits in map-control panel */
3686 /* if too wide, placement will be wrong the first time it displays */
3687 .layer-list li.best .tooltip-inner {
3697 .layer-list label > span {
3700 white-space: nowrap;
3701 text-overflow: ellipsis;
3712 .minimap-toggle.active {
3713 background: #E8EBFF;
3716 .minimap-toggle:hover {
3717 background-color: #ececec;
3726 .hide-toggle:before {
3734 border-top: 4px solid transparent;
3735 border-bottom: 4px solid transparent;
3736 border-left: 8px solid #7092ff;
3739 .hide-toggle.expanded:before {
3740 border-top: 8px solid #7092ff;
3742 border-right: 4px solid transparent;
3743 border-left: 4px solid transparent;
3746 /* Adjust Alignment controls */
3748 .background-control .nudge-container {
3749 border: 1px solid #ccc;
3754 .nudge-container .nudge-instructions {
3755 padding-bottom: 15px;
3758 .nudge-container .nudge-outer-rect {
3759 background-color: #eee;
3760 border: 1px solid #ccc;
3765 justify-content: center;
3766 align-items: center;
3772 .nudge-container .nudge-inner-rect {
3773 background-color: #fff;
3774 border: 1px solid #ccc;
3780 .nudge-container .nudge::after {
3785 left: 0; right: 0; top: 0; bottom: 0;
3790 .nudge-container input {
3797 .nudge-container input.error {
3798 border: 1px solid #FF7878;
3803 .nudge-container input:focus {
3804 background-color: transparent;
3807 .nudge-container button {
3812 background-color: transparent;
3815 .nudge-container button.right {
3820 .nudge-container button.left {
3825 .nudge-container button.top {
3830 .nudge-container button.bottom {
3834 .nudge-container button.nudge-reset {
3845 background-color: transparent;
3849 .background-control .nudge.right::after {
3850 border-top: 5px solid transparent;
3851 border-bottom: 5px solid transparent;
3852 border-left: 5px solid #222;
3855 .background-control .nudge.left::after {
3856 border-top: 5px solid transparent;
3857 border-bottom: 5px solid transparent;
3858 border-right: 5px solid #222;
3861 .background-control .nudge.top::after {
3862 border-right: 5px solid transparent;
3863 border-left: 5px solid transparent;
3864 border-bottom: 5px solid #222;
3867 .background-control .nudge.bottom::after {
3868 border-right: 5px solid transparent;
3869 border-left: 5px solid transparent;
3870 border-top: 5px solid #222;
3874 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3880 border: 1px solid #ccc;
3883 .opacity-options li {
3889 .opacity-options li .select-box{
3896 .map-data-control li:hover .select-box,
3897 .map-data-control li.selected .select-box,
3898 .background-control li:hover .select-box,
3899 .background-control li.selected .select-box {
3900 border: 2px solid #7092ff;
3901 background: rgba(89, 123, 231, .5);
3905 .map-data-control li.selected:hover .select-box,
3906 .map-data-control li.selected .select-box,
3907 .background-control li.selected:hover .select-box,
3908 .background-control li.selected .select-box {
3912 .background-control .opacity {
3914 display:inline-block;
3919 .map-data-control .layer-list button,
3920 .background-control .layer-list button {
3924 border-left: 1px solid #CCC;
3928 .map-data-control .layer-list button .icon,
3929 .background-control .layer-list button .icon {
3933 .map-data-control .layer-list button:first-of-type,
3934 .background-control .layer-list button:first-of-type {
3935 border-radius: 0 3px 3px 0;
3938 .map-data-control .map-overlay,
3939 .background-control .map-overlay,
3940 .help-control .map-overlay {
3947 .geolocate-control {
3948 margin-bottom: 10px;
3951 .geolocate-control button {
3952 border-radius: 0 0 0 4px;
3955 .map-overlay.content {
3959 padding: 20px 50px 20px 20px;
3966 .help-control button {
3967 border-radius: 0 0 0 4px;
3972 margin-bottom: 20px;
3975 .help-wrap .left-content .body p code {
3981 /* This is two columns, 41.66666 x .4 = 16.6666 */
3985 margin-bottom: 20px;
3989 .help-wrap .toc li a,
3992 border: 1px solid #CCC;
3996 .help-wrap .toc li a {
4000 .help-wrap .toc li a:hover,
4001 .help-wrap .nav a:hover {
4002 background: #ececec;
4005 .help-wrap .toc li a.selected {
4006 background: #E8EBFF;
4009 .help-wrap .toc li:first-child a {
4010 border-radius: 4px 4px 0 0;
4013 .help-wrap .toc li:nth-last-child(2) a {
4014 border-bottom: 1px solid #CCC;
4015 border-radius: 0 0 4px 4px
4018 .help-wrap .toc li.walkthrough a {
4021 border-bottom: 1px solid #ccc;
4035 .help-wrap .nav a:first-child {
4036 border-radius: 4px 0 0 4px;
4039 .help-wrap .nav a:last-child:not(:only-child) {
4040 border-radius: 0 4px 4px 0;
4044 .help-wrap .nav a:only-child {
4051 ------------------------------------------------------- */
4055 transform-origin:0 0;
4056 -ms-transform-origin:0 0;
4057 -webkit-transform-origin:0 0;
4058 -moz-transform-origin:0 0;
4059 -o-transform-origin:0 0;
4061 -moz-user-select: none;
4062 -webkit-user-select: none;
4063 -ms-user-select: none;
4068 -webkit-transition: opacity 200ms linear;
4069 transition: opacity 200ms linear;
4070 -moz-transition: opacity 200ms linear;
4074 background: rgba(0, 0, 0, 0.7);
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;
4095 border: 1px solid red;
4108 ------------------------------------------------------- */
4118 transform-origin:0 0;
4119 -ms-transform-origin:0 0;
4120 -webkit-transform-origin:0 0;
4121 -moz-transform-origin:0 0;
4122 -o-transform-origin:0 0;
4124 -moz-user-select: none;
4125 -webkit-user-select: none;
4126 -ms-user-select: none;
4130 #supersurface, .layer {
4139 ------------------------------------------------------- */
4149 border: #aaa 1px solid;
4150 box-shadow: 0 0 2em black;
4154 transform-origin:0 0;
4155 -ms-transform-origin:0 0;
4156 -webkit-transform-origin:0 0;
4157 -moz-transform-origin:0 0;
4158 -o-transform-origin:0 0;
4160 -moz-user-select: none;
4161 -webkit-user-select: none;
4162 -ms-user-select: none;
4187 stroke: rgba(255, 255, 0, 0.75);
4189 shape-rendering: crispEdges;
4192 .map-in-map-bbox.thick {
4197 ------------------------------------------------------- */
4204 border-radius: 4px 0 0 0;
4205 border-bottom: 1px solid black;
4208 .infobox .infobox-heading {
4210 border-radius: 4px 0 0 0;
4221 background: #7092ff;
4230 ------------------------------------------------------- */
4238 pointer-events: none;
4249 #attrib * { pointer-events: all; }
4251 .base-layer-attribution,
4252 .overlay-layer-attribution {
4258 .base-layer-attribution {
4262 .overlay-layer-attribution {
4266 .overlay-layer-attribution .attribution:not(:last-child):after {
4279 pointer-events: all;
4283 display: table-cell;
4284 vertical-align: bottom;
4289 -moz-user-select: none;
4290 -webkit-user-select: none;
4291 -ms-user-select: none;
4310 font: 12px sans-serif;
4320 shape-rendering: crispEdges;
4332 border-left: 1px solid rgba(255,255,255,.5);
4333 padding: 5px 0 5px 5px;
4337 #about-list li:last-child {
4344 padding: 2px 4px 4px 4px;
4347 .source-switch a.live {
4348 background: #d32232;
4352 .feature-warning a {
4353 background: #1e90ff;
4354 padding: 2px 4px 4px 4px;
4359 .user-list a:not(:last-child):after {
4371 .api-status.offline,
4372 .api-status.readonly,
4378 ------------------------------------------------------- */
4382 display: inline-block;
4393 margin-bottom: 10px;
4396 .modal .description {
4412 background:rgba(0,0,0,0.5);
4414 left:0px; right:0px; top:0px; bottom:0px;
4419 border-bottom: 1px solid #CCC;
4422 .modal-section.header h3 {
4426 .modal-section.buttons {
4430 .modal-section.buttons .action {
4431 display: inline-block;
4434 vertical-align: middle;
4437 .save-section .buttons .action,
4438 .save-section .buttons .secondary-action {
4439 display: inline-block;
4442 vertical-align: middle;
4449 .modal-actions button,
4450 .save-success a.button {
4451 font-weight: normal;
4453 border-bottom: 1px solid #CCC;
4457 display: inline-block;
4460 .modal-actions button:hover
4461 .save-success a.button:hover {
4462 background-color: #ececec;
4465 .modal-actions button:before,
4466 .save-success a.button.osm:before,
4467 .walkthrough a:before {
4474 margin-bottom: 10px;
4475 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -200px -460px;
4478 .modal-actions :first-child {
4479 border-right: 1px solid #CCC;
4482 .modal-section:last-child {
4487 ------------------------------------------------------- */
4489 .modal-actions .restore:before {
4490 background-position: -500px -460px;
4493 .modal-actions .reset:before {
4494 background-position: -600px -460px;
4498 ------------------------------------------------------- */
4501 padding: 15px 15px 0 15px;
4503 .save-success a.details {
4506 .save-success .button {
4510 .save-success a.button.social {
4514 .save-success .icon.social {
4520 .save-success .button.osm:before {
4521 background-position: -200px -460px;
4525 ------------------------------------------------------- */
4527 .modal-actions .walkthrough:before,
4528 .walkthrough a:before {
4529 background-position: -300px -460px;
4532 .modal-actions .start:before {
4533 background-position: -400px -460px;
4537 ------------------------------------------------------- */
4539 .mode-save a.user-info {
4540 display: inline-block;
4543 .mode-save .commit-form {
4547 .mode-save .user-info img {
4551 .mode-save h3 small.count {
4565 .mode-save .commit-info {
4566 margin-bottom: 10px;
4569 .mode-save .changeset-list {
4570 border:1px solid #ccc;
4575 .mode-save .warning-section .changeset-list button {
4576 border-left: 1px solid #CCC;
4579 .mode-save .changeset-list li {
4581 border-top:1px solid #ccc;
4586 .mode-save .changeset-list li:hover {
4587 background-color: #ececec;
4590 .mode-save .changeset-list .alert {
4594 .changeset-list li span.count {
4599 .mode-save .commit-section .changeset-list button {
4600 border-left: 1px solid #CCC;
4603 .changeset-list li span.count:before { content: '('; }
4605 .changeset-list li span.count:after { content: ')'; }
4607 .changeset-list li:first-child { border-top: 0;}
4609 /* Conflict resolution
4610 ------------------------------------------------------- */
4614 background-color: #ffffbb;
4615 border-bottom: 1px solid #ccc;
4618 .conflicts-buttons {
4622 .mode-save button.conflicts-button {
4626 .conflict-container {
4627 border-bottom: 1px solid #ccc;
4630 .conflict-description {
4636 padding: 20px 20px 0 20px;
4639 .conflict-detail-container {
4651 .conflict-nav-buttons {
4652 padding: 10px 0 20px 0;
4655 .conflict-nav-button {
4660 ------------------------------------------------------- */
4682 .notice .zoom-to:hover {
4683 background: #d8e1ff;
4686 .notice .zoom-to .icon {
4692 ------------------------------------------------------- */
4729 display: inline-block;
4734 font-weight: normal;
4735 background-color: white;
4741 pointer-events: none;
4745 background: transparent;
4753 border-color: transparent;
4754 border-style: solid;
4758 border-left-color: white;
4759 border-width: 5px 0 5px 5px;
4778 border-color: transparent;
4779 border-style: solid;
4783 border-right-color: white;
4784 border-width: 5px 5px 5px 0;
4791 border-color: transparent;
4792 border-style: solid;
4795 .tooltip.top .tooltip-arrow {
4799 border-top-color: white;
4800 border-width: 5px 5px 0;
4803 .tooltip.right .tooltip-arrow {
4807 border-right-color: white;
4808 border-width: 5px 5px 5px 0;
4811 .tooltip.left .tooltip-arrow {
4815 border-left-color: white;
4816 border-width: 5px 0 5px 5px;
4819 .tooltip.bottom .tooltip-arrow {
4823 border-bottom-color: white;
4824 border-width: 0 5px 5px;
4828 background: #F6F6F6;
4830 margin: 10px -10px -10px;
4831 border-radius: 0 0 3px 3px;
4834 .tooltip-inner .keyhint {
4838 /* Exceptions for tooltip layouts */
4840 /* make tooltips in panels dark */
4841 .map-overlay .tooltip.top .tooltip-arrow,
4842 .entity-editor-pane .tooltip.top .tooltip-arrow,
4843 .warning-section .tooltip.top .tooltip-arrow {
4844 border-top-color: #000;
4847 .map-overlay .tooltip.bottom .tooltip-arrow,
4848 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4849 .warning-section .tooltip.bottom .tooltip-arrow {
4850 border-bottom-color: #000;
4853 .map-overlay .tooltip.left .tooltip-arrow,
4854 .entity-editor-pane .tooltip.left .tooltip-arrow,
4855 .warning-section .tooltip.left .tooltip-arrow {
4856 border-left-color: #000;
4859 .map-overlay .tooltip.right .tooltip-arrow,
4860 .entity-editor-pane .tooltip.right .tooltip-arrow,
4861 .warning-section .tooltip.right .tooltip-arrow {
4862 border-right-color: #000;
4865 .map-overlay .tooltip-inner,
4866 .map-overlay .keyhint-wrap,
4867 .entity-editor-pane .tooltip-inner,
4868 .warning-section .tooltip-inner {
4872 /* commit warning tooltips need to be closer */
4873 .warning-section .tooltip.top {
4877 /* Uncramp map-control tooltips */
4878 .map-control .tooltip {
4881 /* Move over tooltips that are near the edge of screen */
4882 .add-point .tooltip {
4883 left: 33.3333% !important;
4886 .curtain-tooltip.intro-points-add .tooltip-arrow,
4887 .add-point .tooltip .tooltip-arrow {
4891 .radial-menu-tooltip {
4898 .radial-menu-background {
4901 stroke-opacity: 0.5;
4904 .radial-menu-item circle {
4908 .radial-menu-item circle:active,
4909 .radial-menu-item circle:hover {
4913 .radial-menu-item.disabled circle {
4915 fill: rgba(255,255,255,.5);
4918 .radial-menu-item use {
4923 .radial-menu-item.disabled use {
4924 fill: rgba(32,32,32,.5);
4925 color: rgba(40,40,40,.5);
4933 stroke-dasharray: 5, 5;
4937 ------------------------------------------------------- */
4939 @media only screen and (max-width: 840px) {
4940 /* override hide for save button */
4941 #bar .save .label { display: block;}
4944 @media screen and (max-width: 1200px) {
4945 .user-list { display: none !important; }
4948 @media screen and (max-width: 1000px) {
4949 #userLink { display: none !important; }
4952 @media screen and (max-width: 900px) {
4953 #scale-block { display: none !important; }
4958 ----------------------------------------------------- */
4960 ::-webkit-scrollbar {
4965 border-left: 1px solid #DDD;
4968 ::-webkit-scrollbar-track {
4969 background-clip: padding-box;
4970 border: solid transparent;
4974 ::-webkit-scrollbar-thumb {
4975 background-color: rgba(0,0,0,.2);
4976 background-clip: padding-box;
4977 border: solid transparent;
4978 border-width: 3px 3px 3px 4px;
4981 ::-webkit-scrollbar-track:hover,
4982 ::-webkit-scrollbar-track:active {
4983 background-color: rgba(0,0,0,.05);
4986 /* Intro walkthrough
4987 ----------------------------------------------------- */
4990 pointer-events: all;
5005 .intro-nav-wrap button.step {
5009 .intro-nav-wrap button.step.finished {
5010 background: #8cd05f;
5013 .intro-nav-wrap button.step .icon {
5017 .intro-nav-wrap button.step.finished .icon {
5018 display: inline-block;
5022 .curtain-tooltip .tooltip-inner {
5027 .curtain-tooltip .tooltip-inner {
5031 .curtain-tooltip .tooltip-inner .bold {
5034 border-top: 1px solid #CCC;
5037 margin-right: -20px;
5038 padding: 10px 20px 0 20px;
5041 .curtain-tooltip .tooltip-inner .bold:only-child {
5047 .curtain-tooltip.intro-points-describe {
5048 top: 133px !important;
5051 /* Tooltip illustrations */
5053 .intro-points-add .tooltip-inner::before,
5054 .intro-areas-add .tooltip-inner::before,
5055 .intro-lines-add .tooltip-inner::before {
5061 background:transparent url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat 0 -320px;
5064 .intro-areas-add .tooltip-inner::before {
5065 background-position: 0 -400px;
5068 .intro-lines-add .tooltip-inner::before {
5069 background-position: 0 -480px;
5072 .huge-modal-button {
5078 .huge-modal-button .illustration {
5081 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px;