1 /* http://meyerweb.com/eric/tools/css/reset/
3 License: none (public domain)
6 html, body, div, span, applet, object, iframe,
7 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8 a, abbr, acronym, address, big, cite, code,
9 del, dfn, em, img, ins, kbd, q, s, samp,
10 small, strike, strong, sub, sup, tt, var,
12 dl, dt, dd, ol, ul, li,
13 fieldset, form, label, legend,
14 table, caption, tbody, tfoot, thead, tr, th, td,
15 article, aside, canvas, details, embed,
16 figure, figcaption, footer, header, hgroup,
17 menu, nav, output, ruby, section, summary,
18 time, mark, audio, video {
24 vertical-align: baseline;
26 /* HTML5 display-role reset for older browsers */
27 article, aside, details, figcaption, figure,
28 footer, header, hgroup, menu, nav, section {
40 blockquote:before, blockquote:after,
46 border-collapse: collapse;
49 a { text-decoration: none;}
51 * 1. Corrects font family not being inherited in all browsers.
52 * 2. Corrects font size not being inherited in all browsers.
53 * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
60 font-family: inherit; /* 1 */
61 font-size: 100%; /* 2 */
67 * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
76 /* Hide default number spinner controls */
77 input[type="number"]::-webkit-inner-spin-button,
78 input[type="number"]::-webkit-outer-spin-button {
83 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
84 * and `video` controls.
85 * 2. Corrects inability to style clickable `input` types in iOS.
86 * 3. Improves usability and consistency of cursor style between image-type
91 html input[type="button"], /* 1 */
93 input[type="submit"] {
94 -webkit-appearance: button; /* 2 */
95 cursor: pointer; /* 3 */
99 * Re-set default cursor for disabled elements.
108 * 1. Addresses box sizing set to `content-box` in IE 8/9.
109 * 2. Removes excess padding in IE 8/9.
112 input[type="checkbox"],
113 input[type="radio"] {
114 box-sizing: border-box; /* 1 */
119 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
120 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
121 * (include `-moz` to future-proof).
124 input[type="search"] {
125 -webkit-appearance: textfield; /* 1 */
126 -moz-box-sizing: border-box;
127 -webkit-box-sizing: border-box; /* 2 */
128 box-sizing: border-box;
132 * Removes inner padding and search cancel button in Safari 5 and Chrome
136 input[type="search"]::-webkit-search-cancel-button,
137 input[type="search"]::-webkit-search-decoration {
138 -webkit-appearance: none;
142 * Removes inner padding and border in Firefox 4+.
145 button::-moz-focus-inner,
146 input::-moz-focus-inner {
152 ** Markup free clearing
153 ** Details: http://www.positioniseverything.net/easyclearing.html
157 content: " "; /* 1 */
158 display: table; /* 2 */
167 transform-origin:0 0;
168 -ms-transform-origin:0 0;
169 -webkit-transform-origin:0 0;
170 -moz-transform-origin:0 0;
171 -o-transform-origin:0 0;
175 -webkit-transition: opacity 200ms linear;
176 transition: opacity 200ms linear;
177 -moz-transition: opacity 200ms linear;
193 pointer-events: none;
203 pointer-events: stroke;
207 -webkit-transition: 200ms;
208 -moz-transition: 200ms;
227 g.point.hover:not(.selected) .shadow {
231 g.point.selected .shadow {
235 g.point.active, g.point.active * {
236 pointer-events: none;
239 /* vertices and midpoints */
251 g.vertex.shared .stroke {
262 g.midpoint.tag-highway-corridor .fill,
263 g.midpoint.tag-highway-pedestrian .fill,
264 g.midpoint.tag-highway-steps .fill,
265 g.midpoint.tag-highway-path .fill,
266 g.midpoint.tag-highway-footway .fill,
267 g.midpoint.tag-highway-cycleway .fill,
268 g.midpoint.tag-highway-bridleway .fill {
281 g.vertex.vertex-hover {
285 .mode-draw-area g.vertex.vertex-hover,
286 .mode-draw-line g.vertex.vertex-hover,
287 .mode-add-area g.vertex.vertex-hover,
288 .mode-add-line g.vertex.vertex-hover,
289 .mode-add-point g.vertex.vertex-hover,
290 .mode-drag-node g.vertex.vertex-hover {
294 g.vertex.hover:not(.selected) .shadow,
295 g.midpoint.hover:not(.selected) .shadow {
299 g.vertex.selected .shadow {
303 .mode-draw-area g.midpoint,
304 .mode-draw-line g.midpoint,
305 .mode-add-area g.midpoint,
306 .mode-add-line g.midpoint,
307 .mode-add-point g.midpoint {
314 stroke-linecap: round;
315 stroke-linejoin: bevel;
329 path.shadow.hover:not(.selected) {
333 path.shadow.selected {
348 stroke: rgba(255, 255, 255, 0.3);
349 fill: rgba(255, 255, 255, 0.3);
352 .preset-icon-fill-area {
353 border: 1px solid rgb(170, 170, 170);
354 background-color: rgba(170, 170, 170, 0.3);
357 path.stroke.tag-natural {
358 stroke: rgb(182, 225, 153);
360 path.fill.tag-natural {
361 stroke: rgba(182, 225, 153, 0.3);
362 fill: rgba(182, 225, 153, 0.3);
364 .preset-icon-fill-area.tag-natural {
365 border-color: rgb(182, 225, 153);
366 background-color: rgba(182, 225, 153, 0.3);
369 path.stroke.tag-landuse,
370 path.stroke.tag-natural-wood,
371 path.stroke.tag-natural-tree,
372 path.stroke.tag-natural-grassland,
373 path.stroke.tag-natural-grass,
374 path.stroke.tag-leisure-nature_reserve,
375 path.stroke.tag-leisure-pitch,
376 path.stroke.tag-leisure-park {
377 stroke: rgb(140, 208, 95);
379 path.fill.tag-landuse,
380 path.fill.tag-natural-wood,
381 path.fill.tag-natural-tree,
382 path.fill.tag-natural-grassland,
383 path.fill.tag-natural-grass,
384 path.fill.tag-leisure-nature_reserve,
385 path.fill.tag-leisure-pitch,
386 path.fill.tag-leisure-park {
387 stroke: rgba(140, 208, 95, 0.3);
388 fill: rgba(140, 208, 95, 0.3);
390 .preset-icon-fill-area.tag-landuse,
391 .preset-icon-fill-area.tag-natural-wood,
392 .preset-icon-fill-area.tag-natural-tree,
393 .preset-icon-fill-area.tag-natural-grassland,
394 .preset-icon-fill-area.tag-natural-grass,
395 .preset-icon-fill-area.tag-leisure-nature_reserve,
396 .preset-icon-fill-area.tag-leisure-pitch,
397 .preset-icon-fill-area.tag-leisure-park {
398 border-color: rgb(140, 208, 95);
399 background-color: rgba(140, 208, 95, 0.3);
402 path.stroke.tag-natural-water,
403 path.stroke.tag-landuse-basin,
404 path.stroke.tag-landuse-reservoir {
405 stroke: rgb(119, 211, 222);
407 path.fill.tag-landuse-basin,
408 path.fill.tag-landuse-reservoir,
409 path.fill.tag-natural-water {
410 stroke: rgba(119, 211, 222, 0.3);
411 fill: rgba(119, 211, 222, 0.3);
413 .preset-icon-fill-area.tag-landuse-basin,
414 .preset-icon-fill-area.tag-landuse-reservoir,
415 .preset-icon-fill-area.tag-natural-water {
416 border-color: rgb(119, 211, 222);
417 background-color: rgba(119, 211, 222, 0.3);
420 path.stroke.tag-amenity-childcare,
421 path.stroke.tag-amenity-kindergarten,
422 path.stroke.tag-amenity-school,
423 path.stroke.tag-amenity-college,
424 path.stroke.tag-amenity-university {
425 stroke: rgb(255, 255, 148);
427 path.fill.tag-amenity-childcare,
428 path.fill.tag-amenity-kindergarten,
429 path.fill.tag-amenity-school,
430 path.fill.tag-amenity-college,
431 path.fill.tag-amenity-university {
432 stroke: rgba(255, 255, 148, 0.15);
433 fill: rgba(255, 255, 148, 0.15);
435 .preset-icon-fill-area.tag-amenity-childcare,
436 .preset-icon-fill-area.tag-amenity-kindergarten,
437 .preset-icon-fill-area.tag-amenity-school,
438 .preset-icon-fill-area.tag-amenity-college,
439 .preset-icon-fill-area.tag-amenity-university {
440 border-color: rgb(255, 255, 148);
441 background-color: rgba(255, 255, 148, 0.15);
444 path.stroke.tag-landuse-residential {
445 stroke: rgb(196, 189, 25);
447 path.fill.tag-landuse-residential {
448 stroke: rgba(196, 189, 25, 0.3);
449 fill: rgba(196, 189, 25, 0.3);
451 .preset-icon-fill-area.tag-landuse-residential {
452 border-color: rgb(196, 189, 25);
454 box-shadow: inset 0 0 0 5px rgba(196, 189, 25, 0.3);
457 path.stroke.tag-landuse-retail,
458 path.stroke.tag-landuse-commercial {
459 stroke: rgb(214, 136, 26);
461 path.fill.tag-landuse-retail,
462 path.fill.tag-landuse-commercial {
463 stroke: rgba(214, 136, 26, 0.3);
464 fill: rgba(214, 136, 26, 0.3);
466 .preset-icon-fill-area.tag-landuse-retail,
467 .preset-icon-fill-area.tag-landuse-commercial {
468 border-color: rgb(214, 136, 26);
470 box-shadow: inset 0 0 0 5px rgba(214, 136, 26, 0.3);
473 path.stroke.tag-landuse-industrial {
474 stroke: rgb(228, 164, 245);
476 path.fill.tag-landuse-industrial {
477 stroke: rgba(228, 164, 245, 0.3);
478 fill: rgba(228, 164, 245, 0.3);
480 .preset-icon-fill-area.tag-landuse-industrial {
481 border-color: rgb(228, 164, 245);
483 box-shadow: inset 0 0 0 5px rgba(228, 164, 245, 0.3);
486 path.stroke.tag-landuse-quarry {
487 stroke: rgb(166, 149, 123);
489 path.fill.tag-landuse-quarry {
490 stroke: rgba(166, 149, 123, 0.2);
491 fill: rgba(166, 149, 123, 0.2);
493 .preset-icon-fill-area.tag-landuse-quarry {
494 border-color: rgb(166, 149, 123);
495 background-color: rgba(166, 149, 123, 0.2);
498 path.stroke.tag-landuse-landfill {
499 stroke: rgb(255, 153, 51);
501 path.fill.tag-landuse-landfill {
502 stroke: rgba(255, 153, 51, 0.2);
503 fill: rgba(255, 153, 51, 0.2);
505 .preset-icon-fill-area.tag-landuse-landfill {
506 border-color: rgb(255, 153, 51);
507 background-color: rgba(255, 153, 51, 0.2);
510 .pattern-color-construction {
511 fill: rgba(196, 189, 25, 0.2);
513 path.stroke.tag-landuse.tag-ephemeral {
514 stroke: rgb(196, 189, 25);
516 .preset-icon-fill-area.tag-landuse.tag-ephemeral {
517 border-color: rgb(196, 189, 25);
518 background-color: rgba(196, 189, 25, 0.2);
521 path.stroke.tag-landuse-military {
522 stroke: rgb(214, 136, 26);
524 path.fill.tag-landuse-military {
525 stroke: rgba(214, 136, 26, 0.2);
526 fill: rgba(214, 136, 26, 0.2);
528 .preset-icon-fill-area.tag-landuse-military {
529 border-color: rgb(214, 136, 26);
530 background-color: rgba(214, 136, 26, 0.2);
533 .pattern-color-wetland {
534 fill: rgba(182, 225, 153, 0.2);
536 path.stroke.tag-natural-wetland {
537 stroke: rgb(182, 225, 153);
539 .preset-icon-fill-area.tag-natural-wetland {
540 border-color: rgb(182, 225, 153);
541 background-color: rgba(182, 225, 153, 0.2);
544 .pattern-color-meadow {
545 fill: rgba(182, 225, 153, 0.2);
547 path.stroke.tag-landuse-meadow {
548 stroke: rgb(182, 225, 153);
550 .preset-icon-fill-area.tag-landuse-meadow {
551 border-color: rgb(182, 225, 153);
552 background-color: rgba(182, 225, 153, 0.2);
555 .pattern-color-beach {
556 fill: rgba(255, 255, 126, 0.2);
558 path.stroke.tag-natural-beach {
559 stroke: rgb(255, 255, 126);
561 .preset-icon-fill-area.tag-natural-beach {
562 border-color: rgb(255, 255, 126);
563 background-color: rgba(255, 255, 126, 0.2);
566 .pattern-color-scrub {
567 fill: rgba(219, 240, 139, 0.2);
569 path.stroke.tag-natural-scrub {
570 stroke: rgb(219, 240, 139);
572 .preset-icon-fill-area.tag-natural-scrub {
573 border-color: rgb(219, 240, 139);
574 background-color: rgba(219, 240, 139, 0.2);
578 .pattern-color-farmland {
579 fill: rgba(140, 208, 95, 0.2);
581 path.stroke.tag-landuse-farm,
582 path.stroke.tag-landuse-farmland {
583 stroke: rgb(140, 208, 95);
585 .preset-icon-fill-area.tag-landuse-farm,
586 .preset-icon-fill-area.tag-landuse-farmland {
587 background-color: rgba(140, 208, 95, 0.2);
590 .pattern-color-cemetery,
591 .pattern-color-orchard {
592 fill: rgba(140, 208, 95, 0.2);
594 path.stroke.tag-landuse-cemetery,
595 path.stroke.tag-landuse-orchard {
596 stroke: rgb(140, 208, 95);
598 .preset-icon-fill-area.tag-landuse-cemetery,
599 .preset-icon-fill-area.tag-landuse-orchard {
600 background-color: rgba(140, 208, 95, 0.2);
603 path.stroke.tag-amenity-parking {
604 stroke: rgb(170, 170, 170);
606 path.fill.tag-amenity-parking {
607 stroke: rgba(170, 170, 170, 0.3);
608 fill: rgba(170, 170, 170, 0.3);
610 .preset-icon-fill-area.tag-amenity-parking {
611 border-color: rgb(170, 170, 170);
612 background-color: rgba(170, 170, 170, 0.3);
616 path.fill.tag-boundary {
622 path.stroke.area.tag-highway {
624 stroke-dasharray: none;
630 path.shadow.tag-highway {
633 path.casing.tag-highway {
637 path.stroke.tag-highway {
642 .low-zoom path.shadow.tag-highway {
645 .low-zoom path.casing.tag-highway {
648 .low-zoom path.stroke.tag-highway {
652 path.stroke.tag-highway-motorway,
653 path.stroke.tag-highway-motorway_link,
654 path.stroke.tag-motorway {
658 path.casing.tag-highway-motorway,
659 path.casing.tag-highway-motorway_link,
660 path.casing.tag-motorway {
664 path.stroke.tag-highway-trunk,
665 path.stroke.tag-highway-trunk_link,
666 path.stroke.tag-trunk {
669 path.casing.tag-highway-trunk,
670 path.casing.tag-highway-trunk_link,
671 path.casing.tag-trunk {
675 path.stroke.tag-highway-primary,
676 path.stroke.tag-highway-primary_link,
677 path.stroke.tag-primary {
680 path.casing.tag-highway-primary,
681 path.casing.tag-highway-primary_link,
682 path.casing.tag-primary {
686 path.stroke.tag-highway-secondary,
687 path.stroke.tag-highway-secondary_link,
688 path.stroke.tag-secondary {
691 path.casing.tag-highway-secondary,
692 path.casing.tag-highway-secondary_link,
693 path.casing.tag-secondary {
697 path.stroke.tag-highway-tertiary,
698 path.stroke.tag-highway-tertiary_link,
699 path.stroke.tag-tertiary {
702 path.casing.tag-highway-tertiary,
703 path.casing.tag-highway-tertiary_link,
704 path.casing.tag-tertiary {
708 path.stroke.tag-highway-unclassified,
709 path.stroke.tag-unclassified {
712 path.casing.tag-highway-unclassified,
713 path.casing.tag-unclassified {
717 path.stroke.tag-highway-residential,
718 path.stroke.tag-residential {
721 path.casing.tag-highway-residential,
722 path.casing.tag-residential {
726 /* narrow highways */
727 path.stroke.tag-highway-living_street,
728 path.stroke.tag-highway-service,
729 path.stroke.tag-highway-track,
730 path.stroke.tag-highway-path,
731 path.stroke.tag-highway-footway,
732 path.stroke.tag-highway-cycleway,
733 path.stroke.tag-highway-bridleway,
734 path.stroke.tag-highway-corridor,
735 path.stroke.tag-highway-pedestrian,
736 path.stroke.tag-highway-steps,
737 path.stroke.tag-highway-road,
738 path.stroke.tag-living_street,
739 path.stroke.tag-service,
740 path.stroke.tag-track,
741 path.stroke.tag-path,
742 path.stroke.tag-footway,
743 path.stroke.tag-cycleway,
744 path.stroke.tag-bridleway,
745 path.stroke.tag-corridor,
746 path.stroke.tag-pedestrian,
747 path.stroke.tag-steps,
748 path.stroke.tag-road {
751 path.casing.tag-highway-living_street,
752 path.casing.tag-highway-service,
753 path.casing.tag-highway-track,
754 path.casing.tag-highway-path,
755 path.casing.tag-highway-footway,
756 path.casing.tag-highway-cycleway,
757 path.casing.tag-highway-bridleway,
758 path.casing.tag-highway-corridor,
759 path.casing.tag-highway-pedestrian,
760 path.casing.tag-highway-steps,
761 path.casing.tag-highway-road,
762 path.casing.tag-living_street,
763 path.casing.tag-service,
764 path.casing.tag-track,
765 path.casing.tag-path,
766 path.casing.tag-footway,
767 path.casing.tag-cycleway,
768 path.casing.tag-bridleway,
769 path.casing.tag-corridor,
770 path.casing.tag-pedestrian,
771 path.casing.tag-steps,
772 path.casing.tag-road {
776 .low-zoom path.stroke.tag-highway-living_street,
777 .low-zoom path.stroke.tag-highway-service,
778 .low-zoom path.stroke.tag-highway-track,
779 .low-zoom path.stroke.tag-highway-path,
780 .low-zoom path.stroke.tag-highway-footway,
781 .low-zoom path.stroke.tag-highway-cycleway,
782 .low-zoom path.stroke.tag-highway-bridleway,
783 .low-zoom path.stroke.tag-highway-corridor,
784 .low-zoom path.stroke.tag-highway-pedestrian,
785 .low-zoom path.stroke.tag-highway-steps,
786 .low-zoom path.stroke.tag-highway-road,
787 .low-zoom path.stroke.tag-living_street,
788 .low-zoom path.stroke.tag-service,
789 .low-zoom path.stroke.tag-track,
790 .low-zoom path.stroke.tag-path,
791 .low-zoom path.stroke.tag-footway,
792 .low-zoom path.stroke.tag-cycleway,
793 .low-zoom path.stroke.tag-bridleway,
794 .low-zoom path.stroke.tag-corridor,
795 .low-zoom path.stroke.tag-pedestrian,
796 .low-zoom path.stroke.tag-steps,
797 .low-zoom path.stroke.tag-road {
800 .low-zoom path.casing.tag-highway-living_street,
801 .low-zoom path.casing.tag-highway-service,
802 .low-zoom path.casing.tag-highway-track,
803 .low-zoom path.casing.tag-highway-path,
804 .low-zoom path.casing.tag-highway-footway,
805 .low-zoom path.casing.tag-highway-cycleway,
806 .low-zoom path.casing.tag-highway-bridleway,
807 .low-zoom path.casing.tag-highway-corridor,
808 .low-zoom path.casing.tag-highway-pedestrian,
809 .low-zoom path.casing.tag-highway-steps,
810 .low-zoom path.casing.tag-highway-road,
811 .low-zoom path.casing.tag-living_street,
812 .low-zoom path.casing.tag-service,
813 .low-zoom path.casing.tag-track,
814 .low-zoom path.casing.tag-path,
815 .low-zoom path.casing.tag-footway,
816 .low-zoom path.casing.tag-cycleway,
817 .low-zoom path.casing.tag-bridleway,
818 .low-zoom path.casing.tag-corridor,
819 .low-zoom path.casing.tag-pedestrian,
820 .low-zoom path.casing.tag-steps,
821 .low-zoom path.casing.tag-road {
826 path.stroke.tag-highway-living_street,
827 path.stroke.tag-living_street {
830 path.casing.tag-highway-living_street,
831 path.casing.tag-living_street {
835 path.stroke.tag-highway-corridor,
836 path.stroke.tag-highway-pedestrian,
837 path.stroke.tag-corridor,
838 path.stroke.tag-pedestrian {
840 stroke-dasharray: 2, 8;
842 path.casing.tag-highway-corridor,
843 path.casing.tag-highway-pedestrian,
844 path.casing.tag-corridor,
845 path.casing.tag-pedestrian {
849 path.stroke.tag-highway-road,
850 path.stroke.tag-road {
853 path.casing.tag-highway-road,
854 path.casing.tag-road {
858 path.stroke.tag-highway-service,
859 path.stroke.tag-service {
862 path.casing.tag-highway-service,
863 path.casing.tag-service {
867 path.stroke.tag-highway-track,
868 path.stroke.tag-track {
871 path.casing.tag-highway-track,
872 path.casing.tag-track {
874 stroke-linecap: butt;
875 stroke-dasharray: 6, 6;
879 path.stroke.tag-highway-path,
880 path.stroke.tag-highway-footway,
881 path.stroke.tag-highway-cycleway,
882 path.stroke.tag-highway-bridleway {
883 stroke-linecap: butt;
884 stroke-dasharray: 6, 6;
887 path.casing.tag-highway-path{
890 path.casing.tag-highway-footway,
891 path.casing.tag-highway-cycleway,
892 path.casing.tag-highway-bridleway {
896 path.stroke.tag-highway-path {
899 path.stroke.tag-highway-footway {
902 path.stroke.tag-highway-cycleway {
905 path.stroke.tag-highway-bridleway {
909 path.stroke.tag-highway-steps {
911 stroke-linecap: butt;
912 stroke-dasharray: 3, 3;
914 path.casing.tag-highway-steps {
920 path.stroke.tag-aeroway-taxiway {
924 path.shadow.tag-aeroway-runway {
927 path.stroke.tag-aeroway-runway {
930 stroke-linecap: butt;
931 stroke-dasharray: 24, 48;
933 path.casing.tag-aeroway-runway {
936 stroke-linecap: square;
938 path.fill.tag-aeroway-runway {
939 stroke: rgba(0, 0, 0, 0.6);
940 fill: rgba(0, 0, 0, 0.6);
942 path.stroke.tag-aeroway-apron {
945 path.fill.tag-aeroway-apron {
946 stroke: rgba(128, 92, 128, 0.2);
947 fill: rgba(128, 92, 128, 0.2);
953 path.stroke.tag-railway {
956 stroke-linecap: butt;
957 stroke-dasharray: 12,12;
960 path.casing.tag-railway {
965 path.stroke.tag-railway-abandoned {
968 path.casing.tag-railway-abandoned {
972 path.stroke.tag-railway-subway {
975 path.casing.tag-railway-subway {
979 path.stroke.tag-railway-platform {
982 stroke-dasharray: none;
984 path.casing.tag-railway-platform {
988 .area.stroke.tag-railway {
991 stroke-dasharray: none;
993 .area.casing.tag-railway {
999 path.fill.tag-waterway {
1000 stroke: rgba(119, 211, 222, 0.3);
1001 fill: rgba(119, 211, 222, 0.3);
1004 path.stroke.tag-waterway {
1008 path.casing.tag-waterway {
1013 path.stroke.tag-waterway-river {
1016 path.casing.tag-waterway-river {
1020 path.stroke.tag-waterway-ditch {
1024 path.casing.tag-waterway-ditch {
1031 path.stroke.tag-power {
1035 path.casing.tag-power {
1041 path.stroke.tag-boundary {
1044 stroke-linecap: butt;
1045 stroke-dasharray: 20, 5, 5, 5;
1047 path.casing.tag-boundary {
1052 path.casing.tag-boundary-protected_area,
1053 path.casing.tag-boundary-national_park {
1059 path.stroke.tag-barrier {
1062 stroke-linecap: round;
1063 stroke-dasharray: 15, 5, 1, 5;
1065 .low-zoom path.stroke.tag-barrier {
1067 stroke-linecap: butt;
1068 stroke-dasharray: 8, 2, 2, 2;
1073 path.casing.tag-bridge {
1075 stroke-opacity: 0.6;
1077 stroke-linecap: butt;
1080 path.shadow.tag-bridge {
1084 path.casing.line.tag-railway.tag-bridge,
1085 path.casing.tag-highway-living_street.tag-bridge,
1086 path.casing.tag-highway-path.tag-bridge,
1087 path.casing.tag-highway-corridor.tag-bridge,
1088 path.casing.line.tag-highway-pedestrian.tag-bridge,
1089 path.casing.tag-highway-service.tag-bridge,
1090 path.casing.tag-highway-track.tag-bridge,
1091 path.casing.tag-highway-steps.tag-bridge,
1092 path.casing.tag-highway-footway.tag-bridge,
1093 path.casing.tag-highway-cycleway.tag-bridge,
1094 path.casing.tag-highway-bridleway.tag-bridge {
1098 path.shadow.line.tag-railway.tag-bridge,
1099 path.shadow.tag-highway-living_street.tag-bridge,
1100 path.shadow.tag-highway-path.tag-bridge,
1101 path.shadow.tag-highway-corridor.tag-bridge,
1102 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1103 path.shadow.tag-highway-service.tag-bridge,
1104 path.shadow.tag-highway-track.tag-bridge,
1105 path.shadow.tag-highway-steps.tag-bridge,
1106 path.shadow.tag-highway-footway.tag-bridge,
1107 path.shadow.tag-highway-cycleway.tag-bridge,
1108 path.shadow.tag-highway-bridleway.tag-bridge {
1113 .low-zoom path.casing.tag-bridge {
1115 stroke-opacity: 0.6;
1117 stroke-linecap: butt;
1120 .low-zoom path.shadow.tag-bridge {
1124 .low-zoom path.casing.line.tag-railway.tag-bridge,
1125 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1126 .low-zoom path.casing.tag-highway-path.tag-bridge,
1127 .low-zoom path.casing.tag-highway-corridor.tag-bridge,
1128 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1129 .low-zoom path.casing.tag-highway-service.tag-bridge,
1130 .low-zoom path.casing.tag-highway-track.tag-bridge,
1131 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1132 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1133 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1134 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1138 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1139 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1140 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1141 .low-zoom path.shadow.tag-highway-corridor.tag-bridge,
1142 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1143 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1144 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1145 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1146 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1147 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1148 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1154 path.stroke.tag-tunnel {
1155 stroke-opacity: 0.3;
1158 path.casing.tag-tunnel {
1159 stroke-opacity: 0.5;
1162 /* embankments / cuttings */
1164 path.casing.tag-embankment,
1165 path.casing.tag-cutting {
1166 stroke-opacity: 0.5;
1169 stroke-dasharray: 2, 4;
1170 stroke-linecap: butt;
1173 path.shadow.tag-embankment,
1174 path.shadow.tag-cutting {
1178 .low-zoom path.casing.tag-embankment,
1179 .low-zoom path.casing.tag-cutting {
1183 .low-zoom path.shadow.tag-embankment,
1184 .low-zoom path.shadow.tag-cutting {
1191 path.stroke.tag-ephemeral,
1192 path.casing.tag-ephemeral {
1193 stroke-linecap: butt;
1194 stroke-dasharray: 7, 3;
1197 .low-zoom path.stroke.tag-ephemeral,
1198 .low-zoom path.casing.tag-ephemeral {
1199 stroke-linecap: butt;
1200 stroke-dasharray: 5, 2;
1205 pointer-events: none;
1210 .oneway .textpath.tag-waterway {
1214 marker#oneway-marker path {
1225 path.stroke.tag-building,
1226 path.stroke.tag-amenity-shelter {
1227 stroke: rgb(224, 110, 95);
1229 path.fill.tag-building,
1230 path.fill.tag-amenity-shelter {
1231 stroke: rgba(224, 110, 95, 0.3);
1232 fill: rgba(224, 110, 95, 0.3);
1234 .preset-icon-fill-area.tag-building,
1235 .preset-icon-fill-area.tag-amenity-shelter {
1236 border-color: rgb(224, 110, 95);
1237 background-color: rgba(224, 110, 95, 0.3);
1245 text.arealabel-halo,
1246 text.linelabel-halo,
1247 text.pointlabel-halo,
1254 text-anchor: middle;
1255 pointer-events: none;
1256 -webkit-transition: opacity 100ms linear;
1257 transition: opacity 100ms linear;
1258 -moz-transition: opacity 100ms linear;
1261 .linelabel-halo .textpath,
1262 .linelabel .textpath {
1263 dominant-baseline: middle;
1266 /* Opera doesn't support dominant-baseline. See #715 */
1267 .opera .linelabel-halo .textpath,
1268 .opera .linelabel .textpath {
1269 baseline-shift: -33%;
1270 dominant-baseline: auto;
1277 stroke-miterlimit: 1;
1293 pointer-events: all;
1296 .form-field-restrictions .vertex {
1297 pointer-events: none;
1298 cursor: auto !important;
1305 cursor: auto; /* Opera */
1306 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1309 .mode-browse .point,
1310 .mode-select .point {
1311 cursor: pointer; /* Opera */
1312 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1315 .mode-select .vertex,
1316 .mode-browse .vertex {
1317 cursor: pointer; /* Opera */
1318 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1322 .mode-select .line {
1323 cursor: pointer; /* Opera */
1324 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1328 .mode-browse .area {
1329 cursor: pointer; /* Opera */
1330 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1333 .mode-select .midpoint,
1334 .mode-browse .midpoint {
1335 cursor: pointer; /* Opera */
1336 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1339 .mode-select .behavior-multiselect .point,
1340 .mode-select .behavior-multiselect .vertex,
1341 .mode-select .behavior-multiselect .line,
1342 .mode-select .behavior-multiselect .area {
1343 cursor: pointer; /* Opera */
1344 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1347 .mode-select .behavior-multiselect .selected {
1348 cursor: pointer; /* Opera */
1349 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1353 #map .vertex:active,
1356 #map .midpoint:active,
1357 #map .mode-select .selected {
1358 cursor: pointer; /* Opera */
1359 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1362 .mode-draw-line #map,
1363 .mode-draw-area #map,
1364 .mode-add-line #map,
1365 .mode-add-area #map,
1366 .mode-drag-node #map {
1367 cursor: crosshair; /* Opera */
1368 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1371 .mode-draw-line .way.hover,
1372 .mode-draw-area .way.hover,
1373 .mode-add-line .way.hover,
1374 .mode-add-area .way.hover,
1375 .mode-drag-node .way.hover {
1376 cursor: crosshair; /* Opera */
1377 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1380 .mode-draw-line .vertex.hover,
1381 .mode-draw-area .vertex.hover,
1382 .mode-add-line .vertex.hover,
1383 .mode-add-area .vertex.hover,
1384 .mode-drag-node .vertex.hover {
1385 cursor: crosshair; /* Opera */
1386 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1389 .mode-add-point #map,
1390 .mode-browse.lasso #map,
1391 .mode-browse.lasso .way,
1392 .mode-browse.lasso .vertex,
1393 .mode-browse.lasso .midpoint,
1394 .mode-select.lasso #map,
1395 .mode-select.lasso .way,
1396 .mode-select.lasso .vertex,
1397 .mode-select.lasso .midpoint {
1398 cursor: crosshair; /* Opera */
1399 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1404 cursor: pointer; /* Opera */
1405 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1409 pointer-events: visibleStroke;
1414 pointer-events: none;
1427 /* Mapillary Layer */
1430 pointer-events: none;
1433 .layer-mapillary g {
1434 pointer-events: visible;
1435 cursor: pointer; /* Opera */
1436 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1439 .layer-mapillary g * {
1445 .layer-mapillary g:hover * {
1451 .layer-mapillary g.selected * {
1457 .layer-mapillary g:hover path.viewfield,
1458 .layer-mapillary g.selected path.viewfield,
1459 .layer-mapillary g path.viewfield {
1466 .mode-draw-line .vertex.active,
1467 .mode-draw-area .vertex.active,
1468 .mode-drag-node .vertex.active {
1472 .mode-draw-line .way.active,
1473 .mode-draw-area .way.active,
1474 .mode-drag-node .active {
1475 pointer-events: none;
1478 /* Ensure drawing doesn't interact with area fills. */
1479 .mode-add-point .area.fill,
1480 .mode-draw-line .area.fill,
1481 .mode-draw-area .area.fill,
1482 .mode-add-line .area.fill,
1483 .mode-add-area .area.fill,
1484 .mode-drag-node .area.fill {
1485 pointer-events: none;
1490 .low-zoom.fill-wireframe path.stroke,
1491 .fill-wireframe path.stroke {
1493 stroke-opacity: 0.5;
1494 stroke-dasharray: none;
1498 .low-zoom.fill-wireframe path.shadow,
1499 .fill-wireframe path.shadow {
1503 .fill-wireframe path.shadow.hover:not(.selected) {
1504 stroke-opacity: 0.2;
1506 .fill-wireframe path.shadow.selected {
1507 stroke-opacity: 0.4;
1510 .fill-wireframe .point,
1511 .fill-wireframe .icon,
1512 .fill-wireframe path.casing,
1513 .fill-wireframe path.fill,
1514 .fill-wireframe path.oneway {
1518 .fill-partial path.fill {
1521 pointer-events: visibleStroke;
1524 ------------------------------------------------------- */
1527 Opera misbehaves when the window is resized vertically unless 100% width + height are
1528 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1536 font:normal 12px/1.6667 'Helvetica Neue', Arial, sans-serif;
1546 vertical-align: middle;
1564 /* Can't be display: none or the clippaths are ignored. */
1593 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1594 -moz-box-sizing: border-box;
1595 -webkit-box-sizing: border-box;
1596 box-sizing: border-box;
1599 a, button, input, textarea {
1600 -webkit-tap-highlight-color:rgba(0,0,0,0);
1601 -webkit-touch-callout:none;
1606 .checkselect label:hover,
1607 .opacity-options li,
1609 cursor: pointer; /* Opera */
1610 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1617 margin-bottom: 20px;
1622 h4:last-child { margin-bottom: 0;}
1628 margin-bottom: 10px;
1634 padding-bottom: 10px;
1638 outline-color: transparent;
1639 outline-style: none;
1669 ------------------------------------------------------- */
1673 font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1683 background-color: white;
1684 border:1px solid #ccc;
1689 text-overflow: ellipsis;
1694 background-color: #F1F1F1;
1697 input[type="checkbox"],
1698 input[type="radio"] {
1706 /* remove bottom border radius when combobox is open */
1707 .combobox + * textarea:focus,
1708 .combobox + * input:focus {
1709 border-bottom-left-radius: 0 !important;
1710 border-bottom-right-radius: 0 !important;
1716 background-color: white;
1717 border-collapse: collapse;
1726 table.tags, table.tags td, table.tags th {
1727 border: 1px solid #CCC;
1732 ------------------------------------------------------- */
1734 .col0 { float:left; width:04.1666%; }
1735 .col1 { float:left; width:08.3333%; }
1736 .col2 { float:left; width:16.6666%; }
1737 .col3 { float:left; width:25.0000%; max-width: 300px; }
1738 .col4 { float:left; width:33.3333%; max-width: 400px; }
1739 .col5 { float:left; width:41.6666%; max-width: 500px; }
1740 .col6 { float:left; width:50.0000%; max-width: 600px; }
1741 .col7 { float:left; width:58.3333%; }
1742 .col8 { float:left; width:66.6666%; }
1743 .col9 { float:left; width:75.0000%; }
1744 .col10 { float:left; width:83.3333%; }
1745 .col11 { float:left; width:91.6666%; }
1746 .col12 { float:left; width:100.0000%; }
1749 ------------------------------------------------------- */
1751 ul li { list-style: none;}
1753 .toggle-list > label {
1758 background-color: white;
1763 .toggle-list > label:hover {
1764 background-color: #ececec;
1767 .toggle-list > label:not(:last-child) {
1768 border-bottom: 1px solid #ccc;
1771 .toggle-list > label:last-child {
1772 border-radius: 0 0 3px 3px;
1775 .toggle-list label > span {
1778 white-space: nowrap;
1779 text-overflow: ellipsis;
1782 .toggle-list > label.active {
1783 background: #E8EBFF;
1788 ------------------------------------------------------- */
1795 background: #f6f6f6;
1800 background: #ececec;
1805 background:rgba(0,0,0,.5);
1810 background:rgba(0,0,0,.75);
1815 .fr { float: right;}
1830 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
1834 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
1835 background-size:5px 5px;
1871 display: inline-block;
1878 background-color: #ececec;
1883 background-color: rgba(255,255,255,.25);
1884 color: rgba(0,0,0,.5);
1889 background: #7092ff;
1899 background-color: #fafafa;
1902 button.minor .icon {
1906 button.minor:hover {
1907 background-color: #f1f1f1;
1911 display: inline-block;
1916 .button-wrap button:only-child {
1920 .button-wrap:last-of-type {
1926 border-right: 1px solid rgba(0,0,0,.5);
1929 .fillL .joined button {
1930 border-right: 1px solid white;
1933 .joined button:first-child {
1934 border-radius:4px 0 0 4px;
1937 .joined button:last-child {
1938 border-right-width: 0;
1939 border-radius:0 4px 4px 0;
1943 background: #7092ff;
1947 button[disabled].action,
1948 button[disabled].action:hover {
1949 background: #cccccc;
1953 button.action:focus,
1954 button.action:hover {
1955 background: #597BE7;
1958 button.secondary-action {
1959 background: #ececec;
1962 button.secondary-action:focus,
1963 button.secondary-action:hover {
1964 background: #cccccc;
1967 button.save.has-count {
1971 button.save .count {
1975 button.save.has-count .count {
1979 background: rgba(255, 255, 255, .5);
1986 margin-left: 8.3333%;
1989 button.save.has-count .count::before {
1998 border-top: 6px solid transparent;
1999 border-bottom: 6px solid transparent;
2000 border-right: 6px solid rgba(255,255,255,.5);
2006 display:inline-block;
2010 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 0;
2011 text-indent:-9999px;
2027 /* Definitions for every icon */
2028 .icon.alert { background-position: 0 0;}
2030 .icon.add-point { background-position: -20px 0;}
2032 .icon.add-line { background-position: -40px 0;}
2034 .icon.add-area { background-position: -60px 0;}
2035 .icon.undo { background-position: -80px 0;}
2036 .icon.redo { background-position: -100px 0;}
2037 .icon.apply { background-position: -120px 0;}
2038 .icon.save { background-position: -140px 0;}
2039 .icon.close { background-position: -160px 0;}
2040 .icon.delete { background-position: -180px 0;}
2041 .icon.remove { background-position: -200px 0;}
2042 .icon.inspect { background-position: -220px 0;}
2043 .icon.plus { background-position: -240px 0;}
2044 .icon.search { background-position: -280px 0;}
2045 .icon.geocode { background-position: -280px 0;}
2046 .icon.layers { background-position: -300px 0;}
2047 .icon.avatar { background-position: -320px 0;}
2048 .icon.nearby { background-position: -340px 0;}
2049 .icon.geolocate { background-position: -360px 0;}
2050 .icon.warning { background-position: -380px 0;}
2051 .icon.bug { background-position: -400px 0;}
2052 .icon.back { background-position: -420px 0;}
2053 .icon.forward { background-position: -440px 0;}
2054 .icon.help { background-position: -460px 0;}
2055 .icon.relation { background-position: -520px 0;}
2056 .icon.relation.route { background-position: -540px 0;}
2057 .icon.relation.multipolygon { background-position: -560px 0;}
2058 .icon.vertex { background-position: -580px 0;}
2059 .icon.data { background-position: -600px 0;}
2061 .icon.inspect.light { background-position: -220px -20px;}
2062 .icon.plus.light { background-position: -240px -20px;}
2063 .icon.zoom-in { background-position: -240px -20px;}
2064 .icon.zoom-out { background-position: -260px -20px;}
2065 .icon.geocode.light { background-position: -280px -20px;}
2066 .icon.layers.light { background-position: -300px -20px;}
2067 .icon.avatar.light { background-position: -320px -20px;}
2068 .icon.nearby.light { background-position: -340px -20px;}
2069 .icon.geolocate.light { background-position: -360px -20px;}
2070 .icon.bug.light { background-position: -400px -20px;}
2071 .icon.help.light { background-position: -460px -20px;}
2072 .icon.data.light { background-position: -600px -20px;}
2074 .icon.back.blue { background-position: -420px -20px;}
2075 .icon.forward.blue { background-position: -440px -20px;}
2077 .icon.full-screen { background-position: -620px -20px;}
2078 .active .icon.full-screen { background-position: -640px -20px;}
2080 button[disabled] .icon.alert { background-position: 0 -40px;}
2081 button[disabled] .icon.add-point { background-position: -20px -40px;}
2082 button[disabled] .icon.add-line { background-position: -40px -40px;}
2083 button[disabled] .icon.add-area { background-position: -60px -40px;}
2084 button.disabled .icon.undo { background-position: -80px -40px;}
2085 button.disabled .icon.redo { background-position: -100px -40px;}
2086 button[disabled] .apply.icon { background-position: -120px -40px;}
2087 button[disabled] .close.icon { background-position: -160px -40px;}
2088 button[disabled] .delete.icon { background-position: -180px -40px;}
2089 button[disabled] .icon.remove { background-position: -200px -40px;}
2090 button[disabled] .icon.inspect { background-position: -220px -40px;}
2091 button[disabled] .icon.zoom-in { background-position: -240px -40px;}
2092 button[disabled] .icon.zoom-out { background-position: -260px -40px;}
2093 button[disabled] .icon.geocode { background-position: -280px -40px;}
2094 button[disabled] .icon.layers { background-position: -300px -40px;}
2095 button[disabled] .icon.avatar { background-position: -320px -40px;}
2096 button[disabled] .icon.nearby { background-position: -340px -40px;}
2097 button[disabled] .icon.data { background-position: -600px -40px;}
2099 .icon.point.deleted { background-position: -480px -80px;}
2100 .icon.line.deleted { background-position: -500px -80px;}
2101 .icon.area.deleted { background-position: -520px -80px;}
2103 .icon.point.created { background-position: -480px -100px;}
2104 .icon.line.created { background-position: -500px -100px;}
2105 .icon.area.created { background-position: -520px -100px;}
2107 .icon.point.modified { background-position: -22px 0; }
2109 .icon.modified { opacity: .5; }
2111 /* Out link is special */
2113 .icon.out-link { height: 14px; width: 14px; background-position: -500px 0;}
2114 a:hover .icon.out-link { background-position: -500px -14px;}
2116 .icon.plus-dark { background-position: -240px -40px;}
2118 /* Universal preset icons */
2120 .icon.source { background-position: 0 -200px;}
2121 .icon.address { background-position: -20px -200px;}
2122 .icon.telephone { background-position: -40px -200px;}
2123 .icon.website { background-position: -60px -200px;}
2124 .icon.elevation { background-position: -80px -200px;}
2125 .icon.wikipedia { background-position: -100px -200px;}
2126 .icon.note { background-position: -120px -200px;}
2127 .icon.wheelchair { background-position: -140px -200px;}
2129 /* ToolBar / Persistent UI Elements
2130 ------------------------------------------------------- */
2143 /* Header for modals / panes
2144 ------------------------------------------------------- */
2147 border-bottom: 1px solid #ccc;
2155 white-space: nowrap;
2156 text-overflow: ellipsis;
2174 .preset-list-pane .header button {
2191 padding: 5px 20px 5px 20px;
2192 border-top: 1px solid #ccc;
2193 background-color: #fafafa;
2197 .sidebar-component .body {
2206 ------------------------------------------------------- */
2214 background: #f6f6f6;
2217 .sidebar-component {
2250 background-color: #fff;
2253 .mapillary-image a {
2257 background-color: rgba(0,0,0,.5);
2263 .mapillary-image img {
2269 .mapillary-image.hidden {
2273 .mapillary-image.temp button {
2277 .mapillary-image button {
2285 .feature-list-pane .inspector-body {
2289 .preset-list-pane .inspector-body {
2293 .entity-editor-pane .inspector-body {
2297 .selection-list-pane .inspector-body {
2306 #sidebar .search-header .icon {
2311 pointer-events: none;
2314 #sidebar .search-header input {
2322 border-bottom-width: 1px;
2336 .feature-list-item {
2339 border-bottom: 1px solid #ccc;
2343 .feature-list-item .label {
2346 white-space: nowrap;
2347 text-overflow: ellipsis;
2349 border-left: 1px solid rgba(0, 0, 0, .1);
2352 .feature-list-item .label .icon {
2356 .feature-list-item:hover .label {
2357 background-color: #ececec;
2360 .feature-list-item .entity-type {
2364 .feature-list-item:hover .entity-type {
2368 .feature-list-item .entity-name {
2369 font-weight: normal;
2375 ------------------------------------------------------- */
2381 padding: 20px 20px 10px 20px;
2382 border-bottom: 1px solid #ccc;
2385 .preset-list-button-wrap {
2387 margin-bottom: 10px;
2391 .preset-list-button {
2395 border: 1px solid #ccc;
2398 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2399 background: #ececec;
2410 .preset-icon-relation {
2415 .preset-list-button .label {
2416 background-color: #f6f6f6;
2425 white-space: nowrap;
2426 text-overflow: ellipsis;
2428 border-left: 1px solid rgba(0, 0, 0, .1);
2429 border-radius: 0 3px 3px 0;
2432 .preset-list-button:hover .label {
2433 background-color: #ececec;
2436 .preset-list-item button.tag-reference-button {
2438 border: 1px solid #CCC;
2439 border-radius: 0 3px 3px 0;
2444 background: #fafafa;
2447 .preset-list-item button.tag-reference-button .icon {
2451 .current .preset-list-button,
2452 .current .preset-list-button .label {
2453 background-color: #E8EBFF;
2456 .category .preset-list-button:after,
2457 .category .preset-list-button:before {
2461 left: -1px; right: -1px;
2462 border: 1px solid #ccc;
2463 border-bottom: none;
2464 border-radius: 6px 6px 0 0;
2468 .category .preset-list-button:before {
2472 .subgrid .preset-list {
2473 padding: 10px 10px 0 10px;
2477 width: -webkit-calc(100% + 20px);
2482 border: solid rgba(0, 0, 0, 0);
2484 border-bottom-color: #f1f1f1;
2488 margin-left: -webkit-calc(50% - 10px);
2492 /* Preset icon colors */
2494 .preset-icon-fill-area {
2504 .preset-icon-fill-area:after {
2511 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -80px;
2514 /* preset form basics */
2520 .inspector-preset .preset-form {
2522 margin: 0 10px 10px 10px;
2526 .entity-editor-pane .preset-list-item::after {
2535 border: solid rgba(0, 0, 0, 0);
2537 border-bottom-color: #ececec;
2540 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2546 margin-bottom: 10px;
2548 -webkit-transition: margin-bottom 200ms;
2549 -moz-transition: margin-bottom 200ms;
2550 -o-transition: margin-bottom 200ms;
2551 transition: margin-bottom 200ms;
2554 .form-field:last-child {
2561 border: 1px solid #cfcfcf;
2562 padding: 5px 0 5px 10px;
2563 background: #f6f6f6;
2565 border-radius: 4px 4px 0 0;
2569 .form-label-button-wrap {
2575 background: transparent;
2579 .form-label-button-wrap .tag-reference-button {
2580 border-radius: 0 3px 0 0;
2583 .form-label-button-wrap .icon {
2587 .form-label button {
2588 border-left: 1px solid #CCC;
2592 background: #fafafa;
2595 .form-label .modified-icon,
2596 .form-field .remove-icon {
2600 .modified .form-label .modified-icon,
2601 .present .form-label .remove-icon {
2602 display: inline-block;
2605 .form-field > input,
2606 .form-field > textarea,
2607 .form-field .preset-input-wrap {
2608 border: 1px solid #CCC;
2611 border-radius: 0 0 4px 4px;
2614 .form-field textarea {
2619 border-bottom: 1px solid #CCC
2622 /* Preset form (hover mode) */
2624 .inspector-hover .checkselect label:last-of-type,
2625 .inspector-hover .preset-input-wrap .label,
2626 .inspector-hover input,
2627 .inspector-hover label {
2628 background: #ececec;
2632 .inspector-hover .checkselect label:last-of-type {
2636 /* hide and remove from layout */
2638 .inspector-hover label input[type="checkbox"],
2639 .inspector-hover label input[type="radio"],
2640 .inspector-hover .toggle-list label,
2641 .inspector-hover .toggle-list label span,
2642 .inspector-hover .inspector-inner .add-tag,
2643 .inspector-hover .inspector-inner .add-relation,
2644 .inspector-hover .toggle-list label.remove .icon {
2648 opacity: 0 !important;
2654 /* hide but preserve in layout */
2655 .inspector-hover .entity-editor-pane button.minor,
2656 .inspector-hover .combobox-caret,
2657 .inspector-hover .entity-editor-pane .header button,
2658 .inspector-hover .spin-control,
2659 .inspector-hover .hide-toggle:before,
2660 .inspector-hover .more-fields,
2661 .inspector-hover .form-label-button-wrap,
2662 .inspector-hover .tag-reference-button,
2663 .inspector-hover .view-on-osm {
2667 /* Styles for raw tag inspector on hover */
2668 .inspector-hover .tag-row .key-wrap,
2669 .inspector-hover .tag-row .form-field.input-wrap-position {
2673 .inspector-hover .tag-row:first-child input.value {
2674 border-top-right-radius: 4px;
2677 .inspector-hover .tag-row:last-child input.value {
2678 border-bottom-right-radius: 4px;
2681 .inspector-hover .tag-row:last-child input.key {
2682 border-bottom-left-radius: 4px;
2685 .inspector-hover .more-fields {
2687 margin-bottom: -10px;
2690 /* Unstyle button fields */
2691 .inspector-hover .toggle-list label.active,
2692 .inspector-hover .entity-editor-pane a.hide-toggle {
2694 background-color: transparent;
2700 .inspector-hover .toggle-list button.active {
2704 /* Add placeholder only on hover for radio buttons */
2705 .inspector-hover .toggle-list .placeholder {
2713 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2714 .toggle-list label.active ~ .placeholder,
2715 .toggle-list .placeholder {
2724 /* adding additional preset fields */
2727 padding: 0 20px 20px 20px;
2731 .more-fields label { padding: 5px 10px 5px 0; }
2732 .more-fields input { width: 50%;}
2734 /* preset form access */
2736 .preset-input-wrap .label {
2738 background: #F6F6F6;
2742 .form-field-access .preset-input-wrap li {
2743 border-bottom: 1px solid #CCC;
2745 .form-field-access .preset-input-wrap li:last-child {
2749 .preset-input-access-wrap input {
2752 border-left-width: 1px;
2755 .preset-input-wrap li:last-child input {
2756 border-bottom-right-radius: 4px;
2759 /* preset form cycleway */
2761 .form-field-cycleway .preset-input-wrap li {
2762 border-bottom: 1px solid #CCC;
2764 .form-field-cycleway .preset-input-wrap li:last-child {
2768 .preset-input-cycleway-wrap input {
2771 border-left-width: 1px;
2774 /* preset form numbers */
2776 input[type=number] {
2784 display: inline-block;
2786 margin-bottom: -11px;
2790 .spin-control button {
2796 border-left: 1px solid #CCC;
2798 background: rgba(0, 0, 0, 0);
2801 .spin-control button.decrement {
2802 border-bottom-right-radius: 3px;
2805 .spin-control button.decrement::after,
2806 .spin-control button.increment::after {
2808 height: 0; width: 0;
2810 left: 0; right: 0; bottom: 0; top: 0;
2814 .spin-control button.decrement::after {
2815 border-top: 5px solid #CCC;
2816 border-left: 5px solid transparent;
2817 border-right: 5px solid transparent;
2820 .spin-control button.increment::after {
2821 border-bottom: 5px solid #CCC;
2822 border-left: 5px solid transparent;
2823 border-right: 5px solid transparent;
2826 /* preset form checkbox */
2828 .checkselect label:last-of-type {
2835 .checkselect label:hover {
2836 background: #f1f1f1;
2843 .checkselect label:not(.set) input[type="checkbox"] {
2847 /* Preset form radio button */
2849 .toggle-list button.remove {
2850 border-radius: 0 0 3px 3px;
2853 .toggle-list button.remove .icon {
2858 .toggle-list button.remove::before {
2862 .form-field .wiki-lang {
2866 .form-field .wiki-title {
2870 .form-field .wiki-title ~ .combobox-caret {
2875 .form-field .wiki-link {
2877 background: #fafafa;
2882 .form-field .wiki-link:hover {
2883 background: #f1f1f1;
2886 #preset-input-maxspeed {
2888 border-radius: 0 0 0 4px;
2892 .form-field .maxspeed-unit {
2893 border-radius: 0 0 4px 0;
2897 /* Name + translate form */
2899 .form-field .localized-main {
2903 .form-field .button-input-action {
2908 border: 1px solid #CCC;
2909 border-top-width: 0;
2910 border-right-width: 0;
2911 border-radius: 0 0 4px 0;
2913 vertical-align: top;
2916 .form-field .localized-wrap {
2920 .form-field .localized-wrap .entry {
2925 .form-field .localized-wrap .entry::before {
2938 .form-field .localized-wrap .entry .localized-lang {
2940 border-top-width: 0;
2943 .form-field .localized-wrap .entry .localized-value {
2944 border-top-width: 0;
2945 border-radius: 0 0 4px 4px;
2948 .form-field .localized-wrap .form-label button {
2949 border-top-right-radius: 3px;
2952 /* Preset form address */
2959 .addr-row:first-of-type input {
2963 .addr-row input:first-of-type {
2971 .addr-row:last-of-type input:first-of-type {
2972 border-radius: 0 0 0 4px;
2975 .addr-row:last-of-type input:last-of-type {
2976 border-radius: 0 0 4px 0;
2979 /* Restrictions editor */
2981 .form-field-restrictions .preset-input-wrap {
2986 .form-field-restrictions svg {
2991 .form-field-restrictions .restriction-help {
2998 background-color: rgba(255, 255, 255, .8);
3003 /* combobox dropdown */
3008 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
3014 border: 1px solid #ccc;
3015 border-radius: 0 0 4px 4px;
3021 border-top:1px solid #ccc;
3022 text-overflow: ellipsis;
3023 white-space: nowrap;
3027 .combobox a.selected,
3029 background: #ececec;
3032 .combobox a:first-child {
3037 display: inline-block;
3042 vertical-align: top;
3045 .combobox-caret::after {
3047 height: 0; width: 0;
3049 left: 0; right: 0; bottom: 0; top: 0;
3051 border-top: 5px solid #ccc;
3052 border-left: 5px solid transparent;
3053 border-right: 5px solid transparent;
3056 /* Raw Tag Editor */
3072 border-bottom: 1px solid #CCC;
3073 border-left: 1px solid #CCC;
3077 .tag-row .input-wrap-position {
3083 .tag-row input.key {
3085 background-color: #f6f6f6;
3088 .tag-row input.value {
3089 border-right: 1px solid #CCC;
3092 .tag-row:first-child input.key {
3093 border-top: 1px solid #CCC;
3094 border-top-left-radius: 4px;
3097 .tag-row:first-child input.value {
3098 border-top: 1px solid #CCC;
3105 border: 1px solid #CCC;
3106 border-top-width: 0;
3107 border-left-width: 0;
3110 .tag-row button:hover {
3111 background: #f1f1f1;
3114 .tag-row button .icon {
3118 .tag-row:first-child button {
3119 border-top-width: 1px;
3122 .tag-row:first-child .tag-reference-button {
3123 border-top-right-radius: 4px;
3126 .tag-row:last-child .tag-reference-button {
3127 border-bottom-right-radius: 4px;
3130 .tag-row .tag-reference-button {
3135 background: #fafafa;
3138 /* Adding form fields to tag editor */
3140 .inspector-inner .add-tag {
3144 background: rgba(0,0,0,.5);
3145 border-radius: 0 0 4px 4px;
3148 .inspector-inner .add-tag:hover {
3149 background: rgba(0,0,0,.8);
3152 .inspector-inner .add-tag .label {
3158 button.minor.tag-reference-loading {
3159 background-color: #f5f5f5;
3162 .tag-reference-loading .icon {
3163 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3164 background-position: 0 0;
3167 .tag-reference-body {
3172 .tag-reference-body p,
3173 .tag-reference-body img {
3177 .tag-reference-body p:last-child {
3178 padding-bottom: 10px;
3181 .tag-reference-body a {
3183 padding-bottom: 10px;
3186 .preset-list .tag-reference-body {
3191 .preset-list .tag-reference-body a {
3192 padding-bottom: 20px;
3195 .preset-list .tag-reference-body p,
3196 .preset-list .tag-reference-body img {
3200 .raw-tag-editor .tag-reference-body {
3201 border-bottom: 1px solid #ccc;
3206 .raw-tag-editor .tag-reference-body p:last-child {
3207 padding-bottom: 20px;
3210 .raw-tag-editor .tag-reference-body a {
3211 padding-bottom: 20px;
3217 width: -webkit-calc(33.3333% - 10px);
3218 width: calc(33.3333% - 10px);
3223 margin-bottom: 20px;
3226 /* Raw relation membership editor */
3228 .raw-member-editor .member-list li:first-child,
3229 .raw-membership-editor .member-list li:first-child {
3233 .raw-member-editor .member-row,
3234 .raw-membership-editor .member-row {
3238 .raw-member-editor .member-row .member-entity-name,
3239 .raw-membership-editor .member-row .member-entity-name {
3240 font-weight: normal;
3244 .member-incomplete .member-delete {
3248 .member-row-new .member-entity-input {
3249 border-radius: 4px 4px 0 0;
3250 border: 1px solid #cfcfcf;
3256 background: rgba(0,0,0,.5);
3261 .add-relation:hover {
3262 background: rgba(0,0,0,.8);
3265 /* Fullscreen button */
3272 div.full-screen .tooltip {
3276 div.full-screen > button, div.full-screen > button.active {
3279 background: transparent;
3282 div.full-screen > button:hover {
3283 background-color: rgba(0, 0, 0, .8);
3296 .map-control > button {
3298 background: rgba(0,0,0,.5);
3302 .map-control > button:hover {
3303 background: rgba(0, 0, 0, .8);
3306 .map-control > button.active,
3307 .map-control > button.active:hover {
3308 background: #7092ff;
3313 .zoombuttons button.zoom-in {
3314 border-radius: 4px 0 0 0;
3317 /* Background / Map Data Settings */
3320 .map-data-control button {
3324 .background-control button {
3325 border-radius: 4px 0 0 0;
3329 .background-control {
3334 border: 1px solid #CCC;
3337 .background-control .adjustments button:last-child {
3341 .map-data-control .hide-toggle,
3342 .background-control .hide-toggle {
3343 padding-bottom: 10px;
3346 .layer-list, .controls-list {
3347 margin-bottom: 10px;
3348 border: 1px solid #CCC;
3355 background-color: white;
3359 .layer-list > li:first-child {
3360 border-radius: 3px 3px 0 0;
3363 .layer-list > li:last-child {
3364 border-radius: 0 0 3px 3px;
3367 .layer-list > li:only-child {
3371 .layer-list li:not(:last-child) {
3372 border-bottom: 1px solid #ccc;
3375 .layer-list li:hover {
3376 background-color: #ececec;
3379 .layer-list li.active {
3380 background: #E8EBFF;
3389 .layer-list label > span {
3392 white-space: nowrap;
3393 text-overflow: ellipsis;
3404 .minimap-toggle.active {
3405 background: #E8EBFF;
3408 .minimap-toggle:hover {
3409 background-color: #ececec;
3418 .hide-toggle:before {
3426 border-top: 4px solid transparent;
3427 border-bottom: 4px solid transparent;
3428 border-left: 8px solid #7092ff;
3431 .hide-toggle.expanded:before {
3432 border-top: 8px solid #7092ff;
3434 border-right: 4px solid transparent;
3435 border-left: 4px solid transparent;
3438 .background-control .nudge-container button {
3442 border-right: 1px solid #CCC;
3446 .background-control .nudge::after {
3451 left: 0; right: 0; top: 0; bottom: 0;
3456 .background-control .nudge.left::after {
3457 border-top: 5px solid transparent;
3458 border-bottom: 5px solid transparent;
3459 border-left: 5px solid #222;
3462 .background-control .nudge.right::after {
3463 border-top: 5px solid transparent;
3464 border-bottom: 5px solid transparent;
3465 border-right: 5px solid #222;
3468 .background-control .nudge.top::after {
3469 border-right: 5px solid transparent;
3470 border-left: 5px solid transparent;
3471 border-bottom: 5px solid #222;
3474 .background-control .nudge.bottom::after {
3475 border-right: 5px solid transparent;
3476 border-left: 5px solid transparent;
3477 border-top: 5px solid #222;
3481 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3487 border: 1px solid #ccc;
3490 .opacity-options li {
3496 .opacity-options li .select-box{
3503 .map-data-control li:hover .select-box,
3504 .map-data-control li.selected .select-box,
3505 .background-control li:hover .select-box,
3506 .background-control li.selected .select-box {
3507 border: 2px solid #7092ff;
3508 background: rgba(89, 123, 231, .5);
3512 .map-data-control li.selected:hover .select-box,
3513 .map-data-control li.selected .select-box,
3514 .background-control li.selected:hover .select-box,
3515 .background-control li.selected .select-box {
3519 .background-control .opacity {
3521 display:inline-block;
3526 .map-data-control .layer-list button,
3527 .background-control .layer-list button {
3531 border-left: 1px solid #CCC;
3535 .map-data-control .layer-list button .icon,
3536 .background-control .layer-list button .icon {
3540 .map-data-control .layer-list button:first-of-type,
3541 .background-control .layer-list button:first-of-type {
3542 border-radius: 0 3px 3px 0;
3545 .map-data-control .map-overlay,
3546 .background-control .map-overlay,
3547 .help-control .map-overlay {
3554 .geolocate-control {
3555 margin-bottom: 10px;
3558 .geolocate-control button {
3559 border-radius: 0 0 0 4px;
3562 .map-overlay.content {
3566 padding: 20px 50px 20px 20px;
3573 .help-control button {
3574 border-radius: 0 0 0 4px;
3579 margin-bottom: 20px;
3582 .help-wrap .left-content .body p code {
3588 /* This is two columns, 41.66666 x .4 = 16.6666 */
3592 margin-bottom: 20px;
3596 .help-wrap .toc li a,
3599 border: 1px solid #CCC;
3603 .help-wrap .toc li a {
3607 .help-wrap .toc li a:hover,
3608 .help-wrap .nav a:hover {
3609 background: #ececec;
3612 .help-wrap .toc li a.selected {
3613 background: #E8EBFF;
3616 .help-wrap .toc li:first-child a {
3617 border-radius: 4px 4px 0 0;
3620 .help-wrap .toc li:nth-last-child(2) a {
3621 border-bottom: 1px solid #CCC;
3622 border-radius: 0 0 4px 4px
3625 .help-wrap .toc li.walkthrough a {
3628 border-bottom: 1px solid #ccc;
3642 .help-wrap .nav a:first-child {
3643 border-radius: 4px 0 0 4px;
3646 .help-wrap .nav a:last-child:not(:only-child) {
3647 border-radius: 0 4px 4px 0;
3651 .help-wrap .nav a:only-child {
3657 ------------------------------------------------------- */
3667 transform-origin:0 0;
3668 -ms-transform-origin:0 0;
3669 -webkit-transform-origin:0 0;
3670 -moz-transform-origin:0 0;
3671 -o-transform-origin:0 0;
3672 -moz-user-select: none;
3673 -webkit-user-select: none;
3674 -ms-user-select: none;
3678 #supersurface, .layer-layer {
3687 ------------------------------------------------------- */
3697 border: #aaa 1px solid;
3698 box-shadow: 0 0 2em black;
3702 transform-origin:0 0;
3703 -ms-transform-origin:0 0;
3704 -webkit-transform-origin:0 0;
3705 -moz-transform-origin:0 0;
3706 -o-transform-origin:0 0;
3707 -moz-user-select: none;
3708 -webkit-user-select: none;
3709 -ms-user-select: none;
3733 stroke: rgba(255, 255, 0, 0.75);
3735 shape-rendering: crispEdges;
3738 .map-in-map-bbox.thick {
3743 ------------------------------------------------------- */
3750 border-radius: 4px 0 0 0;
3751 border-bottom: 1px solid black;
3754 .infobox .selection-heading {
3756 border-radius: 4px 0 0 0;
3767 background: #7092ff;
3776 ------------------------------------------------------- */
3792 pointer-events: none;
3795 #attrib * { pointer-events: all; }
3797 .base-layer-attribution,
3798 .overlay-layer-attribution {
3804 .base-layer-attribution {
3808 .overlay-layer-attribution {
3812 .overlay-layer-attribution .attribution:not(:last-child):after {
3828 display: table-cell;
3829 vertical-align: bottom;
3847 font: 12px sans-serif;
3857 shape-rendering: crispEdges;
3868 border-left: 1px solid rgba(255,255,255,.5);
3869 padding: 5px 0 5px 5px;
3873 #about-list li:last-child {
3880 padding: 2px 4px 4px 4px;
3883 .source-switch a.live {
3884 background: #d32232;
3888 .feature-warning a {
3889 background: #1e90ff;
3890 padding: 2px 4px 4px 4px;
3895 .user-list a:not(:last-child):after {
3907 .api-status.offline,
3908 .api-status.readonly,
3914 ------------------------------------------------------- */
3918 display: inline-block;
3929 margin-bottom: 10px;
3932 .modal .description {
3948 background:rgba(0,0,0,0.5);
3950 left:0px; right:0px; top:0px; bottom:0px;
3955 border-bottom: 1px solid #CCC;
3958 .modal-section.header h3 {
3962 .modal-section.buttons {
3966 .modal-section.buttons .action {
3967 display: inline-block;
3970 vertical-align: middle;
3973 .save-section .buttons .action {
3974 display: inline-block;
3977 vertical-align: middle;
3984 .modal-actions button,
3985 .save-success a.button {
3986 font-weight: normal;
3988 border-bottom: 1px solid #CCC;
3992 display: inline-block;
3995 .modal-actions button:hover
3996 .save-success a.button:hover {
3997 background-color: #ececec;
4000 .modal-actions button:before,
4001 .save-success a.button:before,
4002 .walkthrough a:before {
4009 margin-bottom: 10px;
4010 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -220px;
4013 .modal-actions :first-child {
4014 border-right: 1px solid #CCC;
4017 .modal-section:last-child {
4022 ------------------------------------------------------- */
4024 .modal-actions .restore:before {
4025 background-position: -600px -220px;
4028 .modal-actions .reset:before {
4029 background-position: -700px -220px;
4033 ------------------------------------------------------- */
4039 .save-success .button {
4043 .save-success .button.social {
4047 .save-success .button.social:before {
4051 .save-success .button.osm:before {
4052 background-position: 0px -220px;
4055 .save-success .button.twitter:before {
4056 background-position: -100px -245px;
4059 .save-success .button.facebook:before {
4060 background-position: -200px -245px;
4063 .save-success .button.google:before {
4064 background-position: -300px -245px;
4068 ------------------------------------------------------- */
4070 .modal-actions .walkthrough:before,
4071 .walkthrough a:before {
4072 background-position: -400px -220px;
4075 .modal-actions .start:before {
4076 background-position: -500px -220px;
4080 ------------------------------------------------------- */
4082 .mode-save a.user-info {
4083 display: inline-block;
4086 .mode-save .commit-form {
4090 .mode-save .user-info img {
4094 .mode-save h3 small.count {
4108 .mode-save .commit-info {
4109 margin-bottom: 10px;
4112 .mode-save .changeset-list {
4113 border:1px solid #ccc;
4118 .mode-save .warning-section .changeset-list button {
4119 border-left: 1px solid #CCC;
4122 .mode-save .changeset-list li {
4124 border-top:1px solid #ccc;
4129 .mode-save .changeset-list li:hover {
4130 background-color: #ececec;
4133 .mode-save .changeset-list .alert {
4137 .changeset-list li span.count {
4142 .mode-save .commit-section .changeset-list button {
4143 border-left: 1px solid #CCC;
4146 .changeset-list li span.count:before { content: '('; }
4148 .changeset-list li span.count:after { content: ')'; }
4150 .changeset-list li:first-child { border-top: 0;}
4152 /* Conflict resolution
4153 ------------------------------------------------------- */
4157 background-color: #ffffbb;
4158 border-bottom: 1px solid #ccc;
4161 .conflicts-buttons {
4165 .mode-save button.conflicts-button {
4169 .conflict-container {
4170 border-bottom: 1px solid #ccc;
4173 .conflict-description {
4179 padding: 20px 20px 0 20px;
4182 .conflict-detail-container {
4194 .conflict-nav-buttons {
4195 padding: 10px 0 20px 0;
4198 .conflict-nav-button {
4203 ------------------------------------------------------- */
4225 .notice .zoom-to:hover {
4226 background: #d8e1ff;
4229 .notice .zoom-to .icon {
4234 .icon.zoom-in-invert {
4235 background-position: -240px -40px;
4239 ------------------------------------------------------- */
4276 display: inline-block;
4281 font-weight: normal;
4282 background-color: white;
4288 pointer-events: none;
4292 background: transparent;
4300 border-color: transparent;
4301 border-style: solid;
4305 border-left-color: white;
4306 border-width: 5px 0 5px 5px;
4325 border-color: transparent;
4326 border-style: solid;
4330 border-right-color: white;
4331 border-width: 5px 5px 5px 0;
4338 border-color: transparent;
4339 border-style: solid;
4342 .tooltip.top .tooltip-arrow {
4346 border-top-color: white;
4347 border-width: 5px 5px 0;
4350 .tooltip.right .tooltip-arrow {
4354 border-right-color: white;
4355 border-width: 5px 5px 5px 0;
4358 .tooltip.left .tooltip-arrow {
4362 border-left-color: white;
4363 border-width: 5px 0 5px 5px;
4366 .tooltip.bottom .tooltip-arrow {
4370 border-bottom-color: white;
4371 border-width: 0 5px 5px;
4375 background: #F6F6F6;
4377 margin: 10px -10px -10px;
4378 border-radius: 0 0 3px 3px;
4381 .tooltip-inner .keyhint {
4385 /* Exceptions for tooltip layouts */
4387 /* make tooltips in panels dark */
4388 .map-overlay .tooltip.top .tooltip-arrow,
4389 .entity-editor-pane .tooltip.top .tooltip-arrow,
4390 .warning-section .tooltip.top .tooltip-arrow {
4391 border-top-color: #000;
4394 .map-overlay .tooltip.bottom .tooltip-arrow,
4395 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4396 .warning-section .tooltip.bottom .tooltip-arrow {
4397 border-bottom-color: #000;
4400 .map-overlay .tooltip.left .tooltip-arrow,
4401 .entity-editor-pane .tooltip.left .tooltip-arrow,
4402 .warning-section .tooltip.left .tooltip-arrow {
4403 border-left-color: #000;
4406 .map-overlay .tooltip.right .tooltip-arrow,
4407 .entity-editor-pane .tooltip.right .tooltip-arrow,
4408 .warning-section .tooltip.right .tooltip-arrow {
4409 border-right-color: #000;
4412 .map-overlay .tooltip-inner,
4413 .map-overlay .keyhint-wrap,
4414 .entity-editor-pane .tooltip-inner,
4415 .warning-section .tooltip-inner {
4419 /* commit warning tooltips need to be closer */
4420 .warning-section .tooltip.top {
4424 /* Uncramp map-control tooltips */
4425 .map-control .tooltip {
4428 /* Move over tooltips that are near the edge of screen */
4429 .add-point .tooltip {
4430 left: 33.3333% !important;
4433 .curtain-tooltip.intro-points-add .tooltip-arrow,
4434 .add-point .tooltip .tooltip-arrow {
4438 .radial-menu-tooltip {
4445 .radial-menu-background {
4447 stroke-opacity: 0.5;
4454 .radial-menu-item:hover {
4458 .radial-menu-item:active {
4462 .radial-menu-item.disabled {
4464 fill: rgba(255,255,255,.5);
4472 stroke-dasharray: 5, 5;
4476 ------------------------------------------------------- */
4478 @media only screen and (max-width: 840px) {
4479 #bar .icon.icon-pre-text { margin-right: 0;}
4480 /* override hide for save button */
4481 #bar .save .label { display: block;}
4484 @media screen and (max-width: 1200px) {
4485 .user-list { display: none !important; }
4488 @media screen and (max-width: 1000px) {
4489 #userLink { display: none !important; }
4492 @media screen and (max-width: 900px) {
4493 #scale-block { display: none !important; }
4498 ----------------------------------------------------- */
4500 ::-webkit-scrollbar {
4505 border-left: 1px solid #DDD;
4508 ::-webkit-scrollbar-track {
4509 background-clip: padding-box;
4510 border: solid transparent;
4514 ::-webkit-scrollbar-thumb {
4515 background-color: rgba(0,0,0,.2);
4516 background-clip: padding-box;
4517 border: solid transparent;
4518 border-width: 3px 3px 3px 4px;
4521 ::-webkit-scrollbar-track:hover,
4522 ::-webkit-scrollbar-track:active {
4523 background-color: rgba(0,0,0,.05);
4526 /* Intro walkthrough
4527 ----------------------------------------------------- */
4530 pointer-events: all;
4545 .intro-nav-wrap button.step {
4549 .intro-nav-wrap button.step.finished {
4550 background: #8cd05f;
4553 .intro-nav-wrap button.step .icon {
4557 .intro-nav-wrap button.step.finished .icon {
4558 display: inline-block;
4562 .curtain-tooltip .tooltip-inner {
4567 .curtain-tooltip .tooltip-inner {
4571 .curtain-tooltip .tooltip-inner .bold {
4574 border-top: 1px solid #CCC;
4577 margin-right: -20px;
4578 padding: 10px 20px 0 20px;
4581 .curtain-tooltip .tooltip-inner .bold:only-child {
4587 .curtain-tooltip.intro-points-describe {
4588 top: 133px !important;
4591 /* Tooltip illustrations */
4593 .intro-points-add .tooltip-inner::before,
4594 .intro-areas-add .tooltip-inner::before,
4595 .intro-lines-add .tooltip-inner::before {
4601 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -320px;
4604 .intro-areas-add .tooltip-inner::before {
4605 background-position: 0 -400px;
4608 .intro-lines-add .tooltip-inner::before {
4609 background-position: 0 -480px;
4612 .huge-modal-button {
4618 .huge-modal-button .illustration {
4621 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -400px -220px;
4624 /* This file is generated by make. Do NOT edit manually. */
4626 .preset-icon{background-image:url(<%= asset_path("iD/img/maki-sprite.png") %>);background-repeat:no-repeat;width:24px;height:24px;}
4627 .preset-icon-line{background-image:url(<%= asset_path("iD/img/line-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
4628 .preset-icon-relation{background-image:url(<%= asset_path("iD/img/relation-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
4629 .feature-circle-stroked{background-position:-0px -0px;}
4630 .feature-circle{background-position:-54px -0px;}
4631 .feature-square-stroked{background-position:-108px -0px;}
4632 .feature-square{background-position:-162px -0px;}
4633 .feature-triangle-stroked{background-position:-216px -0px;}
4634 .feature-triangle{background-position:-0px -24px;}
4635 .feature-star-stroked{background-position:-54px -24px;}
4636 .feature-star{background-position:-108px -24px;}
4637 .feature-cross{background-position:-162px -24px;}
4638 .feature-marker-stroked{background-position:-216px -24px;}
4639 .feature-marker{background-position:-0px -48px;}
4640 .feature-religious-jewish{background-position:-54px -48px;}
4641 .feature-religious-christian{background-position:-108px -48px;}
4642 .feature-religious-muslim{background-position:-162px -48px;}
4643 .feature-cemetery{background-position:-216px -48px;}
4644 .feature-rocket{background-position:-0px -72px;}
4645 .feature-airport{background-position:-54px -72px;}
4646 .feature-heliport{background-position:-108px -72px;}
4647 .feature-rail{background-position:-162px -72px;}
4648 .feature-rail-metro{background-position:-216px -72px;}
4649 .feature-rail-light{background-position:-0px -96px;}
4650 .feature-bus{background-position:-54px -96px;}
4651 .feature-fuel{background-position:-108px -96px;}
4652 .feature-parking{background-position:-162px -96px;}
4653 .feature-parking-garage{background-position:-216px -96px;}
4654 .feature-airfield{background-position:-0px -120px;}
4655 .feature-roadblock{background-position:-54px -120px;}
4656 .feature-ferry{background-position:-108px -120px;}
4657 .feature-harbor{background-position:-162px -120px;}
4658 .feature-bicycle{background-position:-216px -120px;}
4659 .feature-park{background-position:-0px -144px;}
4660 .feature-park2{background-position:-54px -144px;}
4661 .feature-museum{background-position:-108px -144px;}
4662 .feature-lodging{background-position:-162px -144px;}
4663 .feature-monument{background-position:-216px -144px;}
4664 .feature-zoo{background-position:-0px -168px;}
4665 .feature-garden{background-position:-54px -168px;}
4666 .feature-campsite{background-position:-108px -168px;}
4667 .feature-theatre{background-position:-162px -168px;}
4668 .feature-art-gallery{background-position:-216px -168px;}
4669 .feature-pitch{background-position:-0px -192px;}
4670 .feature-soccer{background-position:-54px -192px;}
4671 .feature-america-football{background-position:-108px -192px;}
4672 .feature-tennis{background-position:-162px -192px;}
4673 .feature-basketball{background-position:-216px -192px;}
4674 .feature-baseball{background-position:-0px -216px;}
4675 .feature-golf{background-position:-54px -216px;}
4676 .feature-swimming{background-position:-108px -216px;}
4677 .feature-cricket{background-position:-162px -216px;}
4678 .feature-skiing{background-position:-216px -216px;}
4679 .feature-school{background-position:-0px -240px;}
4680 .feature-college{background-position:-54px -240px;}
4681 .feature-library{background-position:-108px -240px;}
4682 .feature-post{background-position:-162px -240px;}
4683 .feature-fire-station{background-position:-216px -240px;}
4684 .feature-town-hall{background-position:-0px -264px;}
4685 .feature-police{background-position:-54px -264px;}
4686 .feature-prison{background-position:-108px -264px;}
4687 .feature-embassy{background-position:-162px -264px;}
4688 .feature-beer{background-position:-216px -264px;}
4689 .feature-restaurant{background-position:-0px -288px;}
4690 .feature-cafe{background-position:-54px -288px;}
4691 .feature-shop{background-position:-108px -288px;}
4692 .feature-fast-food{background-position:-162px -288px;}
4693 .feature-bar{background-position:-216px -288px;}
4694 .feature-bank{background-position:-0px -312px;}
4695 .feature-grocery{background-position:-54px -312px;}
4696 .feature-cinema{background-position:-108px -312px;}
4697 .feature-pharmacy{background-position:-162px -312px;}
4698 .feature-hospital{background-position:-216px -312px;}
4699 .feature-danger{background-position:-0px -336px;}
4700 .feature-industrial{background-position:-54px -336px;}
4701 .feature-warehouse{background-position:-108px -336px;}
4702 .feature-commercial{background-position:-162px -336px;}
4703 .feature-building{background-position:-216px -336px;}
4704 .feature-place-of-worship{background-position:-0px -360px;}
4705 .feature-alcohol-shop{background-position:-54px -360px;}
4706 .feature-logging{background-position:-108px -360px;}
4707 .feature-oil-well{background-position:-162px -360px;}
4708 .feature-slaughterhouse{background-position:-216px -360px;}
4709 .feature-dam{background-position:-0px -384px;}
4710 .feature-water{background-position:-54px -384px;}
4711 .feature-wetland{background-position:-108px -384px;}
4712 .feature-disability{background-position:-162px -384px;}
4713 .feature-telephone{background-position:-216px -384px;}
4714 .feature-emergency-telephone{background-position:-0px -408px;}
4715 .feature-toilets{background-position:-54px -408px;}
4716 .feature-waste-basket{background-position:-108px -408px;}
4717 .feature-music{background-position:-162px -408px;}
4718 .feature-land-use{background-position:-216px -408px;}
4719 .feature-city{background-position:-0px -432px;}
4720 .feature-town{background-position:-54px -432px;}
4721 .feature-village{background-position:-108px -432px;}
4722 .feature-farm{background-position:-162px -432px;}
4723 .feature-bakery{background-position:-216px -432px;}
4724 .feature-dog-park{background-position:-0px -456px;}
4725 .feature-lighthouse{background-position:-54px -456px;}
4726 .feature-clothing-store{background-position:-108px -456px;}
4727 .feature-polling-place{background-position:-162px -456px;}
4728 .feature-playground{background-position:-216px -456px;}
4729 .feature-entrance{background-position:-0px -480px;}
4730 .feature-heart{background-position:-54px -480px;}
4731 .feature-london-underground{background-position:-108px -480px;}
4732 .feature-minefield{background-position:-162px -480px;}
4733 .feature-rail-underground{background-position:-216px -480px;}
4734 .feature-rail-above{background-position:-0px -504px;}
4735 .feature-camera{background-position:-54px -504px;}
4736 .feature-laundry{background-position:-108px -504px;}
4737 .feature-car{background-position:-162px -504px;}
4738 .feature-suitcase{background-position:-216px -504px;}
4739 .feature-hairdresser{background-position:-0px -528px;}
4740 .feature-chemist{background-position:-54px -528px;}
4741 .feature-mobilephone{background-position:-108px -528px;}
4742 .feature-scooter{background-position:-162px -528px;}
4743 .feature-gift{background-position:-216px -528px;}
4744 .feature-ice-cream{background-position:-0px -552px;}
4745 .preset-icon-line.feature-highway-motorway{background-position:-20px -25px;}
4746 .preset-icon-line.feature-highway-trunk{background-position:-80px -25px;}
4747 .preset-icon-line.feature-highway-primary{background-position:-140px -25px;}
4748 .preset-icon-line.feature-highway-secondary{background-position:-200px -25px;}
4749 .preset-icon-line.feature-highway-tertiary{background-position:-260px -25px;}
4750 .preset-icon-line.feature-highway-motorway-link{background-position:-320px -25px;}
4751 .preset-icon-line.feature-highway-trunk-link{background-position:-380px -25px;}
4752 .preset-icon-line.feature-highway-primary-link{background-position:-440px -25px;}
4753 .preset-icon-line.feature-highway-secondary-link{background-position:-500px -25px;}
4754 .preset-icon-line.feature-highway-tertiary-link{background-position:-560px -25px;}
4755 .preset-icon-line.feature-highway-residential{background-position:-620px -25px;}
4756 .preset-icon-line.feature-highway-unclassified{background-position:-680px -25px;}
4757 .preset-icon-line.feature-highway-service{background-position:-740px -25px;}
4758 .preset-icon-line.feature-highway-road{background-position:-800px -25px;}
4759 .preset-icon-line.feature-highway-track{background-position:-860px -25px;}
4760 .preset-icon-line.feature-highway-living-street{background-position:-920px -25px;}
4761 .preset-icon-line.feature-highway-path{background-position:-980px -25px;}
4762 .preset-icon-line.feature-highway-cycleway{background-position:-1040px -25px;}
4763 .preset-icon-line.feature-highway-footway{background-position:-1100px -25px;}
4764 .preset-icon-line.feature-highway-bridleway{background-position:-1160px -25px;}
4765 .preset-icon-line.feature-highway-steps{background-position:-1220px -25px;}
4766 .preset-icon-line.feature-railway-rail{background-position:-1280px -25px;}
4767 .preset-icon-line.feature-railway-disused{background-position:-1340px -25px;}
4768 .preset-icon-line.feature-railway-abandoned{background-position:-1400px -25px;}
4769 .preset-icon-line.feature-railway-subway{background-position:-1460px -25px;}
4770 .preset-icon-line.feature-railway-light-rail{background-position:-1520px -25px;}
4771 .preset-icon-line.feature-railway-monorail{background-position:-1580px -25px;}
4772 .preset-icon-line.feature-waterway-river{background-position:-1640px -25px;}
4773 .preset-icon-line.feature-waterway-stream{background-position:-1700px -25px;}
4774 .preset-icon-line.feature-waterway-canal{background-position:-1760px -25px;}
4775 .preset-icon-line.feature-waterway-ditch{background-position:-1820px -25px;}
4776 .preset-icon-line.feature-power-line{background-position:-1880px -25px;}
4777 .preset-icon-line.feature-other-line{background-position:-1940px -25px;}
4778 .preset-icon-line.feature-category-roads{background-position:-2000px -25px;}
4779 .preset-icon-line.feature-category-rail{background-position:-2060px -25px;}
4780 .preset-icon-line.feature-category-path{background-position:-2120px -25px;}
4781 .preset-icon-line.feature-category-water{background-position:-2180px -25px;}
4782 .preset-icon-line.feature-ferry{background-position:-2240px -25px;}
4783 .preset-icon-line.feature-pipeline{background-position:-2300px -25px;}
4784 .preset-icon-relation.feature-relation{background-position:-20px -25px;}
4785 .preset-icon-relation.feature-restriction{background-position:-80px -25px;}
4786 .preset-icon-relation.feature-multipolygon{background-position:-141px -25px;}
4787 .preset-icon-relation.feature-boundary{background-position:-200px -25px;}
4788 .preset-icon-relation.feature-route{background-position:-260px -25px;}
4789 .preset-icon-relation.feature-route-road{background-position:-320px -25px;}
4790 .preset-icon-relation.feature-route-bicycle{background-position:-380px -25px;}
4791 .preset-icon-relation.feature-route-foot{background-position:-440px -25px;}
4792 .preset-icon-relation.feature-route-bus{background-position:-500px -25px;}
4793 .preset-icon-relation.feature-route-train{background-position:-560px -25px;}
4794 .preset-icon-relation.feature-route-detour{background-position:-620px -25px;}
4795 .preset-icon-relation.feature-route-tram{background-position:-680px -25px;}
4796 .preset-icon-relation.feature-route-ferry{background-position:-740px -25px;}
4797 .preset-icon-relation.feature-route-power{background-position:-800px -25px;}
4798 .preset-icon-relation.feature-route-pipeline{background-position:-860px -25px;}
4799 .preset-icon-relation.feature-route-master{background-position:-920px -25px;}
4800 .preset-icon-relation.feature-restriction-no-straight-on{background-position:-980px -25px;}
4801 .preset-icon-relation.feature-restriction-no-u-turn{background-position:-1040px -25px;}
4802 .preset-icon-relation.feature-restriction-no-left-turn{background-position:-1100px -25px;}
4803 .preset-icon-relation.feature-restriction-no-right-turn{background-position:-1160px -25px;}
4804 .preset-icon-relation.feature-restriction-only-straight-on{background-position:-1220px -25px;}
4805 .preset-icon-relation.feature-restriction-only-left-turn{background-position:-1280px -25px;}
4806 .preset-icon-relation.feature-restriction-only-right-turn{background-position:-1340px -25px;}