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-pedestrian .fill,
263 g.midpoint.tag-highway-steps .fill,
264 g.midpoint.tag-highway-path .fill,
265 g.midpoint.tag-highway-footway .fill,
266 g.midpoint.tag-highway-cycleway .fill,
267 g.midpoint.tag-highway-bridleway .fill {
280 g.vertex.vertex-hover {
284 .mode-draw-area g.vertex.vertex-hover,
285 .mode-draw-line g.vertex.vertex-hover,
286 .mode-add-area g.vertex.vertex-hover,
287 .mode-add-line g.vertex.vertex-hover,
288 .mode-add-point g.vertex.vertex-hover,
289 .mode-drag-node g.vertex.vertex-hover {
293 g.vertex.hover:not(.selected) .shadow,
294 g.midpoint.hover:not(.selected) .shadow {
298 g.vertex.selected .shadow {
302 .mode-draw-area g.midpoint,
303 .mode-draw-line g.midpoint,
304 .mode-add-area g.midpoint,
305 .mode-add-line g.midpoint,
306 .mode-add-point g.midpoint {
313 stroke-linecap: round;
314 stroke-linejoin: bevel;
328 path.shadow.hover:not(.selected) {
332 path.shadow.selected {
347 stroke: rgba(255, 255, 255, 0.3);
348 fill: rgba(255, 255, 255, 0.3);
351 .preset-icon-fill-area {
352 border: 1px solid rgb(170, 170, 170);
353 background-color: rgba(170, 170, 170, 0.3);
356 path.stroke.tag-natural {
357 stroke: rgb(182, 225, 153);
359 path.fill.tag-natural {
360 stroke: rgba(182, 225, 153, 0.3);
361 fill: rgba(182, 225, 153, 0.3);
363 .preset-icon-fill-area.tag-natural {
364 border-color: rgb(182, 225, 153);
365 background-color: rgba(182, 225, 153, 0.3);
368 path.stroke.tag-landuse,
369 path.stroke.tag-natural-wood,
370 path.stroke.tag-natural-tree,
371 path.stroke.tag-natural-grassland,
372 path.stroke.tag-natural-grass,
373 path.stroke.tag-leisure-nature_reserve,
374 path.stroke.tag-leisure-pitch,
375 path.stroke.tag-leisure-park {
376 stroke: rgb(140, 208, 95);
378 path.fill.tag-landuse,
379 path.fill.tag-natural-wood,
380 path.fill.tag-natural-tree,
381 path.fill.tag-natural-grassland,
382 path.fill.tag-natural-grass,
383 path.fill.tag-leisure-nature_reserve,
384 path.fill.tag-leisure-pitch,
385 path.fill.tag-leisure-park {
386 stroke: rgba(140, 208, 95, 0.3);
387 fill: rgba(140, 208, 95, 0.3);
389 .preset-icon-fill-area.tag-landuse,
390 .preset-icon-fill-area.tag-natural-wood,
391 .preset-icon-fill-area.tag-natural-tree,
392 .preset-icon-fill-area.tag-natural-grassland,
393 .preset-icon-fill-area.tag-natural-grass,
394 .preset-icon-fill-area.tag-leisure-nature_reserve,
395 .preset-icon-fill-area.tag-leisure-pitch,
396 .preset-icon-fill-area.tag-leisure-park {
397 border-color: rgb(140, 208, 95);
398 background-color: rgba(140, 208, 95, 0.3);
401 path.stroke.tag-natural-water,
402 path.stroke.tag-landuse-basin,
403 path.stroke.tag-landuse-reservoir {
404 stroke: rgb(119, 211, 222);
406 path.fill.tag-landuse-basin,
407 path.fill.tag-landuse-reservoir,
408 path.fill.tag-natural-water {
409 stroke: rgba(119, 211, 222, 0.3);
410 fill: rgba(119, 211, 222, 0.3);
412 .preset-icon-fill-area.tag-landuse-basin,
413 .preset-icon-fill-area.tag-landuse-reservoir,
414 .preset-icon-fill-area.tag-natural-water {
415 border-color: rgb(119, 211, 222);
416 background-color: rgba(119, 211, 222, 0.3);
419 path.stroke.tag-amenity-childcare,
420 path.stroke.tag-amenity-kindergarten,
421 path.stroke.tag-amenity-school,
422 path.stroke.tag-amenity-college,
423 path.stroke.tag-amenity-university {
424 stroke: rgb(255, 255, 148);
426 path.fill.tag-amenity-childcare,
427 path.fill.tag-amenity-kindergarten,
428 path.fill.tag-amenity-school,
429 path.fill.tag-amenity-college,
430 path.fill.tag-amenity-university {
431 stroke: rgba(255, 255, 148, 0.15);
432 fill: rgba(255, 255, 148, 0.15);
434 .preset-icon-fill-area.tag-amenity-childcare,
435 .preset-icon-fill-area.tag-amenity-kindergarten,
436 .preset-icon-fill-area.tag-amenity-school,
437 .preset-icon-fill-area.tag-amenity-college,
438 .preset-icon-fill-area.tag-amenity-university {
439 border-color: rgb(255, 255, 148);
440 background-color: rgba(255, 255, 148, 0.15);
443 path.stroke.tag-landuse-residential {
444 stroke: rgb(196, 189, 25);
446 path.fill.tag-landuse-residential {
447 stroke: rgba(196, 189, 25, 0.3);
448 fill: rgba(196, 189, 25, 0.3);
450 .preset-icon-fill-area.tag-landuse-residential {
451 border-color: rgb(196, 189, 25);
453 box-shadow: inset 0 0 0 5px rgba(196, 189, 25, 0.3);
456 path.stroke.tag-landuse-retail,
457 path.stroke.tag-landuse-commercial {
458 stroke: rgb(214, 136, 26);
460 path.fill.tag-landuse-retail,
461 path.fill.tag-landuse-commercial {
462 stroke: rgba(214, 136, 26, 0.3);
463 fill: rgba(214, 136, 26, 0.3);
465 .preset-icon-fill-area.tag-landuse-retail,
466 .preset-icon-fill-area.tag-landuse-commercial {
467 border-color: rgb(214, 136, 26);
469 box-shadow: inset 0 0 0 5px rgba(214, 136, 26, 0.3);
472 path.stroke.tag-landuse-industrial {
473 stroke: rgb(228, 164, 245);
475 path.fill.tag-landuse-industrial {
476 stroke: rgba(228, 164, 245, 0.3);
477 fill: rgba(228, 164, 245, 0.3);
479 .preset-icon-fill-area.tag-landuse-industrial {
480 border-color: rgb(228, 164, 245);
482 box-shadow: inset 0 0 0 5px rgba(228, 164, 245, 0.3);
485 path.stroke.tag-landuse-quarry {
486 stroke: rgb(166, 149, 123);
488 path.fill.tag-landuse-quarry {
489 stroke: rgba(166, 149, 123, 0.2);
490 fill: rgba(166, 149, 123, 0.2);
492 .preset-icon-fill-area.tag-landuse-quarry {
493 border-color: rgb(166, 149, 123);
494 background-color: rgba(166, 149, 123, 0.2);
497 path.stroke.tag-landuse-landfill {
498 stroke: rgb(255, 153, 51);
500 path.fill.tag-landuse-landfill {
501 stroke: rgba(255, 153, 51, 0.2);
502 fill: rgba(255, 153, 51, 0.2);
504 .preset-icon-fill-area.tag-landuse-landfill {
505 border-color: rgb(255, 153, 51);
506 background-color: rgba(255, 153, 51, 0.2);
509 .pattern-color-construction {
510 fill: rgba(196, 189, 25, 0.2);
512 path.stroke.tag-landuse-construction {
513 stroke: rgb(196, 189, 25);
515 .preset-icon-fill-area.tag-landuse-construction {
516 border-color: rgb(196, 189, 25);
517 background-color: rgba(196, 189, 25, 0.2);
520 path.stroke.tag-landuse-military {
521 stroke: rgb(214, 136, 26);
523 path.fill.tag-landuse-military {
524 stroke: rgba(214, 136, 26, 0.2);
525 fill: rgba(214, 136, 26, 0.2);
527 .preset-icon-fill-area.tag-landuse-military {
528 border-color: rgb(214, 136, 26);
529 background-color: rgba(214, 136, 26, 0.2);
532 .pattern-color-wetland {
533 fill: rgba(182, 225, 153, 0.2);
535 path.stroke.tag-natural-wetland {
536 stroke: rgb(182, 225, 153);
538 .preset-icon-fill-area.tag-natural-wetland {
539 border-color: rgb(182, 225, 153);
540 background-color: rgba(182, 225, 153, 0.2);
543 .pattern-color-meadow {
544 fill: rgba(182, 225, 153, 0.2);
546 path.stroke.tag-landuse-meadow {
547 stroke: rgb(182, 225, 153);
549 .preset-icon-fill-area.tag-landuse-meadow {
550 border-color: rgb(182, 225, 153);
551 background-color: rgba(182, 225, 153, 0.2);
554 .pattern-color-beach {
555 fill: rgba(255, 255, 126, 0.2);
557 path.stroke.tag-natural-beach {
558 stroke: rgb(255, 255, 126);
560 .preset-icon-fill-area.tag-natural-beach {
561 border-color: rgb(255, 255, 126);
562 background-color: rgba(255, 255, 126, 0.2);
565 .pattern-color-scrub {
566 fill: rgba(219, 240, 139, 0.2);
568 path.stroke.tag-natural-scrub {
569 stroke: rgb(219, 240, 139);
571 .preset-icon-fill-area.tag-natural-scrub {
572 border-color: rgb(219, 240, 139);
573 background-color: rgba(219, 240, 139, 0.2);
577 .pattern-color-farmland {
578 fill: rgba(140, 208, 95, 0.2);
580 path.stroke.tag-landuse-farm,
581 path.stroke.tag-landuse-farmland {
582 stroke: rgb(140, 208, 95);
584 .preset-icon-fill-area.tag-landuse-farm,
585 .preset-icon-fill-area.tag-landuse-farmland {
586 background-color: rgba(140, 208, 95, 0.2);
589 .pattern-color-cemetery,
590 .pattern-color-orchard {
591 fill: rgba(140, 208, 95, 0.2);
593 path.stroke.tag-landuse-cemetery,
594 path.stroke.tag-landuse-orchard {
595 stroke: rgb(140, 208, 95);
597 .preset-icon-fill-area.tag-landuse-cemetery,
598 .preset-icon-fill-area.tag-landuse-orchard {
599 background-color: rgba(140, 208, 95, 0.2);
602 path.stroke.tag-amenity-parking {
603 stroke: rgb(170, 170, 170);
605 path.fill.tag-amenity-parking {
606 stroke: rgba(170, 170, 170, 0.3);
607 fill: rgba(170, 170, 170, 0.3);
609 .preset-icon-fill-area.tag-amenity-parking {
610 border-color: rgb(170, 170, 170);
611 background-color: rgba(170, 170, 170, 0.3);
615 path.fill.tag-boundary {
621 path.shadow.tag-highway {
624 path.casing.tag-highway {
628 path.stroke.tag-highway {
633 .low-zoom path.shadow.tag-highway {
636 .low-zoom path.casing.tag-highway {
639 .low-zoom path.stroke.tag-highway {
643 path.stroke.tag-highway-motorway,
644 path.stroke.tag-highway-motorway_link,
645 path.stroke.tag-construction-motorway {
649 path.casing.tag-highway-motorway,
650 path.casing.tag-highway-motorway_link,
651 path.casing.tag-construction-motorway {
655 path.stroke.tag-highway-trunk,
656 path.stroke.tag-highway-trunk_link,
657 path.stroke.tag-construction-trunk {
660 path.casing.tag-highway-trunk,
661 path.casing.tag-highway-trunk_link,
662 path.casing.tag-construction-trunk {
666 path.stroke.tag-highway-primary,
667 path.stroke.tag-highway-primary_link,
668 path.stroke.tag-construction-primary {
671 path.casing.tag-highway-primary,
672 path.casing.tag-highway-primary_link,
673 path.casing.tag-construction-primary {
677 path.stroke.tag-highway-secondary,
678 path.stroke.tag-highway-secondary_link,
679 path.stroke.tag-construction-secondary {
682 path.casing.tag-highway-secondary,
683 path.casing.tag-highway-secondary_link,
684 path.casing.tag-construction-secondary {
688 path.stroke.tag-highway-tertiary,
689 path.stroke.tag-highway-tertiary_link,
690 path.stroke.tag-construction-tertiary {
693 path.casing.tag-highway-tertiary,
694 path.casing.tag-highway-tertiary_link,
695 path.casing.tag-construction-tertiary {
699 path.stroke.tag-highway-unclassified,
700 path.stroke.tag-construction-unclassified {
703 path.casing.tag-highway-unclassified,
704 path.casing.tag-construction-unclassified {
708 path.stroke.tag-highway-residential,
709 path.stroke.tag-construction-residential {
712 path.casing.tag-highway-residential,
713 path.casing.tag-construction-residential {
717 path.stroke.tag-highway-living_street {
721 path.casing.tag-highway-living_street {
726 path.stroke.tag-highway-pedestrian {
728 stroke-dasharray: 2, 8;
731 path.casing.tag-highway-pedestrian {
735 path.stroke.area.tag-highway-pedestrian {
737 stroke-dasharray: none;
741 path.stroke.tag-highway-service {
745 path.casing.tag-highway-service {
749 .low-zoom path.stroke.tag-highway-service {
752 .low-zoom path.casing.tag-highway-service {
756 path.stroke.tag-highway-track {
760 path.casing.tag-highway-track {
763 stroke-linecap: butt;
764 stroke-dasharray: 6, 6;
766 .low-zoom path.stroke.tag-highway-track {
769 .low-zoom path.casing.tag-highway-track {
773 path.stroke.tag-highway-path {
775 stroke-width: 1 !important;
776 stroke-linecap: butt;
777 stroke-dasharray: 8, 4;
779 path.casing.tag-highway-path {
780 stroke-width: 1 !important;
784 path.stroke.tag-highway-footway,
785 path.stroke.tag-highway-cycleway,
786 path.stroke.tag-highway-bridleway {
788 stroke-linecap: butt;
789 stroke-dasharray: 6, 6;
791 path.casing.tag-highway-footway,
792 path.casing.tag-highway-cycleway,
793 path.casing.tag-highway-bridleway {
798 .low-zoom path.stroke.tag-highway-footway,
799 .low-zoom path.stroke.tag-highway-cycleway,
800 .low-zoom path.stroke.tag-highway-bridleway {
803 .low-zoom path.casing.tag-highway-footway,
804 .low-zoom path.casing.tag-highway-cycleway,
805 .low-zoom path.casing.tag-highway-bridleway {
809 path.stroke.tag-highway-footway {
812 path.stroke.tag-highway-cycleway {
815 path.stroke.tag-highway-bridleway {
819 path.stroke.tag-highway-steps {
822 stroke-linecap: butt;
823 stroke-dasharray: 3, 3;
825 path.casing.tag-highway-steps {
832 path.stroke.tag-aeroway-taxiway {
836 path.shadow.tag-aeroway-runway {
839 path.stroke.tag-aeroway-runway {
842 stroke-linecap: butt;
843 stroke-dasharray: 24, 48;
845 path.casing.tag-aeroway-runway {
848 stroke-linecap: square;
850 path.fill.tag-aeroway-runway {
851 stroke: rgba(0, 0, 0, 0.6);
852 fill: rgba(0, 0, 0, 0.6);
854 path.stroke.tag-aeroway-apron {
857 path.fill.tag-aeroway-apron {
858 stroke: rgba(128, 92, 128, 0.2);
859 fill: rgba(128, 92, 128, 0.2);
865 path.stroke.tag-railway {
868 stroke-linecap: butt;
869 stroke-dasharray: 12,12;
872 path.casing.tag-railway {
877 path.stroke.tag-railway-abandoned {
880 path.casing.tag-railway-abandoned {
884 path.stroke.tag-railway-subway {
887 path.casing.tag-railway-subway {
891 path.stroke.tag-railway-platform {
894 stroke-dasharray: none;
896 path.casing.tag-railway-platform {
900 .area.stroke.tag-railway {
903 stroke-dasharray: none;
905 .area.casing.tag-railway {
911 path.fill.tag-waterway {
912 stroke: rgba(119, 211, 222, 0.3);
913 fill: rgba(119, 211, 222, 0.3);
916 path.stroke.tag-waterway {
920 path.casing.tag-waterway {
925 path.stroke.tag-waterway-river {
928 path.casing.tag-waterway-river {
932 path.stroke.tag-waterway-ditch {
936 path.casing.tag-waterway-ditch {
943 path.stroke.tag-power {
947 path.casing.tag-power {
953 path.stroke.tag-boundary {
956 stroke-linecap: butt;
957 stroke-dasharray: 20, 5, 5, 5;
959 path.casing.tag-boundary {
964 path.casing.tag-boundary-protected_area,
965 path.casing.tag-boundary-national_park {
972 path.casing.tag-bridge {
976 stroke-linecap: butt;
979 path.shadow.tag-bridge {
983 path.casing.line.tag-railway.tag-bridge,
984 path.casing.tag-highway-living_street.tag-bridge,
985 path.casing.tag-highway-path.tag-bridge,
986 path.casing.line.tag-highway-pedestrian.tag-bridge,
987 path.casing.tag-highway-service.tag-bridge,
988 path.casing.tag-highway-track.tag-bridge,
989 path.casing.tag-highway-steps.tag-bridge,
990 path.casing.tag-highway-footway.tag-bridge,
991 path.casing.tag-highway-cycleway.tag-bridge,
992 path.casing.tag-highway-bridleway.tag-bridge {
996 path.shadow.line.tag-railway.tag-bridge,
997 path.shadow.tag-highway-living_street.tag-bridge,
998 path.shadow.tag-highway-path.tag-bridge,
999 path.shadow.line.tag-highway-pedestrian.tag-bridge,
1000 path.shadow.tag-highway-service.tag-bridge,
1001 path.shadow.tag-highway-track.tag-bridge,
1002 path.shadow.tag-highway-steps.tag-bridge,
1003 path.shadow.tag-highway-footway.tag-bridge,
1004 path.shadow.tag-highway-cycleway.tag-bridge,
1005 path.shadow.tag-highway-bridleway.tag-bridge {
1010 .low-zoom path.casing.tag-bridge {
1012 stroke-opacity: 0.6;
1014 stroke-linecap: butt;
1017 .low-zoom path.shadow.tag-bridge {
1021 .low-zoom path.casing.line.tag-railway.tag-bridge,
1022 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1023 .low-zoom path.casing.tag-highway-path.tag-bridge,
1024 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1025 .low-zoom path.casing.tag-highway-service.tag-bridge,
1026 .low-zoom path.casing.tag-highway-track.tag-bridge,
1027 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1028 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1029 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1030 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1034 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1035 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1036 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1037 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1038 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1039 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1040 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1041 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1042 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1043 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1049 path.stroke.tag-tunnel {
1050 stroke-opacity: 0.3;
1053 path.casing.tag-tunnel {
1054 stroke-opacity: 0.5;
1057 /* embankments / cuttings */
1059 path.casing.tag-embankment,
1060 path.casing.tag-cutting {
1061 stroke-opacity: 0.5;
1064 stroke-dasharray: 2, 4;
1065 stroke-linecap: butt;
1068 path.shadow.tag-embankment,
1069 path.shadow.tag-cutting {
1073 .low-zoom path.casing.tag-embankment,
1074 .low-zoom path.casing.tag-cutting {
1078 .low-zoom path.shadow.tag-embankment,
1079 .low-zoom path.shadow.tag-cutting {
1086 path.stroke.tag-highway-construction,
1087 path.casing.tag-highway-construction {
1088 stroke-linecap: butt;
1089 stroke-dasharray: 7, 7;
1092 .low-zoom path.stroke.tag-highway-construction,
1093 .low-zoom path.casing.tag-highway-construction {
1094 stroke-linecap: butt;
1095 stroke-dasharray: 5, 5;
1100 pointer-events: none;
1105 .oneway .textpath.tag-waterway {
1109 marker#oneway-marker path {
1120 path.stroke.tag-building,
1121 path.stroke.tag-amenity-shelter {
1122 stroke: rgb(224, 110, 95);
1124 path.fill.tag-building,
1125 path.fill.tag-amenity-shelter {
1126 stroke: rgba(224, 110, 95, 0.3);
1127 fill: rgba(224, 110, 95, 0.3);
1129 .preset-icon-fill-area.tag-building,
1130 .preset-icon-fill-area.tag-amenity-shelter {
1131 border-color: rgb(224, 110, 95);
1132 background-color: rgba(224, 110, 95, 0.3);
1140 text.arealabel-halo,
1141 text.linelabel-halo,
1142 text.pointlabel-halo,
1149 text-anchor: middle;
1150 pointer-events: none;
1151 -webkit-transition: opacity 100ms linear;
1152 transition: opacity 100ms linear;
1153 -moz-transition: opacity 100ms linear;
1156 .linelabel-halo .textpath,
1157 .linelabel .textpath {
1158 dominant-baseline: middle;
1161 /* Opera doesn't support dominant-baseline. See #715 */
1162 .opera .linelabel-halo .textpath,
1163 .opera .linelabel .textpath {
1164 baseline-shift: -33%;
1165 dominant-baseline: auto;
1172 stroke-miterlimit: 1;
1188 pointer-events: all;
1191 .form-field-restrictions .vertex {
1192 pointer-events: none;
1193 cursor: auto !important;
1199 cursor: auto; /* Opera */
1200 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1203 .mode-browse .point,
1204 .mode-select .point {
1205 cursor: pointer; /* Opera */
1206 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1209 .mode-select .vertex,
1210 .mode-browse .vertex {
1211 cursor: pointer; /* Opera */
1212 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1216 .mode-select .line {
1217 cursor: pointer; /* Opera */
1218 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1222 .mode-browse .area {
1223 cursor: pointer; /* Opera */
1224 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1227 .mode-select .midpoint,
1228 .mode-browse .midpoint {
1229 cursor: pointer; /* Opera */
1230 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1233 .mode-select .behavior-multiselect .point,
1234 .mode-select .behavior-multiselect .vertex,
1235 .mode-select .behavior-multiselect .line,
1236 .mode-select .behavior-multiselect .area {
1237 cursor: pointer; /* Opera */
1238 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1241 .mode-select .behavior-multiselect .selected {
1242 cursor: pointer; /* Opera */
1243 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1247 #map .vertex:active,
1250 #map .midpoint:active,
1251 #map .mode-select .selected {
1252 cursor: pointer; /* Opera */
1253 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1256 .mode-draw-line #map,
1257 .mode-draw-area #map,
1258 .mode-add-line #map,
1259 .mode-add-area #map,
1260 .mode-drag-node #map {
1261 cursor: crosshair; /* Opera */
1262 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1265 .mode-draw-line .way.hover,
1266 .mode-draw-area .way.hover,
1267 .mode-add-line .way.hover,
1268 .mode-add-area .way.hover,
1269 .mode-drag-node .way.hover {
1270 cursor: crosshair; /* Opera */
1271 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1274 .mode-draw-line .vertex.hover,
1275 .mode-draw-area .vertex.hover,
1276 .mode-add-line .vertex.hover,
1277 .mode-add-area .vertex.hover,
1278 .mode-drag-node .vertex.hover {
1279 cursor: crosshair; /* Opera */
1280 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1283 .mode-add-point #map,
1287 cursor: crosshair; /* Opera */
1288 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1293 cursor: pointer; /* Opera */
1294 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1298 pointer-events: visibleStroke;
1303 pointer-events: none;
1316 /* Mapillary Layer */
1319 pointer-events: none;
1322 .layer-mapillary g {
1323 pointer-events: visible;
1324 cursor: pointer; /* Opera */
1325 cursor: url(<%= asset_path("iD/img/cursor-select-mapillary.png") %>) 6 1, pointer; /* FF */
1328 .layer-mapillary g * {
1334 .layer-mapillary g:hover * {
1340 .layer-mapillary g.selected * {
1348 .mode-draw-line .vertex.active,
1349 .mode-draw-area .vertex.active,
1350 .mode-drag-node .vertex.active {
1354 .mode-draw-line .way.active,
1355 .mode-draw-area .way.active,
1356 .mode-drag-node .active {
1357 pointer-events: none;
1360 /* Ensure drawing doesn't interact with area fills. */
1361 .mode-add-point .area.fill,
1362 .mode-draw-line .area.fill,
1363 .mode-draw-area .area.fill,
1364 .mode-add-line .area.fill,
1365 .mode-add-area .area.fill,
1366 .mode-drag-node .area.fill {
1367 pointer-events: none;
1372 .low-zoom.fill-wireframe path.stroke,
1373 .fill-wireframe path.stroke {
1375 stroke-opacity: 0.5;
1376 stroke-dasharray: none;
1380 .low-zoom.fill-wireframe path.shadow,
1381 .fill-wireframe path.shadow {
1385 .fill-wireframe path.shadow.hover:not(.selected) {
1386 stroke-opacity: 0.2;
1388 .fill-wireframe path.shadow.selected {
1389 stroke-opacity: 0.4;
1392 .fill-wireframe .point,
1393 .fill-wireframe .icon,
1394 .fill-wireframe path.casing,
1395 .fill-wireframe path.fill,
1396 .fill-wireframe path.oneway {
1400 .fill-partial path.fill {
1403 pointer-events: visibleStroke;
1406 ------------------------------------------------------- */
1409 Opera misbehaves when the window is resized vertically unless 100% width + height are
1410 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1418 font:normal 12px/1.6667 'Helvetica Neue', Arial, sans-serif;
1428 vertical-align: middle;
1447 /* Can't be display: none or the clippaths are ignored. */
1478 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1479 -moz-box-sizing: border-box;
1480 -webkit-box-sizing: border-box;
1481 box-sizing: border-box;
1484 a, button, input, textarea {
1485 -webkit-tap-highlight-color:rgba(0,0,0,0);
1486 -webkit-touch-callout:none;
1491 .checkselect label:hover,
1492 .opacity-options li,
1494 cursor: pointer; /* Opera */
1495 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1502 margin-bottom: 20px;
1507 h4:last-child { margin-bottom: 0;}
1513 margin-bottom: 10px;
1519 padding-bottom: 10px;
1523 outline-color: transparent;
1524 outline-style: none;
1547 -webkit-transition: all 100ms;
1548 -moz-transition: all 100ms;
1549 -o-transition: all 100ms;
1550 transition: all 100ms;
1558 ------------------------------------------------------- */
1562 font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1572 background-color: white;
1573 border:1px solid #ccc;
1578 text-overflow: ellipsis;
1579 -webkit-transition: all 200ms;
1580 -moz-transition: all 200ms;
1581 -o-transition: all 200ms;
1582 transition: all 200ms;
1587 background-color: #F1F1F1;
1590 input[type="checkbox"],
1591 input[type="radio"] {
1599 /* remove bottom border radius when combobox is open */
1600 .combobox + * textarea:focus,
1601 .combobox + * input:focus {
1602 border-bottom-left-radius: 0 !important;
1603 border-bottom-right-radius: 0 !important;
1609 background-color: white;
1610 border-collapse: collapse;
1619 table.tags, table.tags td, table.tags th {
1620 border: 1px solid #CCC;
1625 ------------------------------------------------------- */
1627 .col0 { float:left; width:04.1666%; }
1628 .col1 { float:left; width:08.3333%; }
1629 .col2 { float:left; width:16.6666%; }
1630 .col3 { float:left; width:25.0000%; max-width: 300px; }
1631 .col4 { float:left; width:33.3333%; max-width: 400px; }
1632 .col5 { float:left; width:41.6666%; max-width: 500px; }
1633 .col6 { float:left; width:50.0000%; max-width: 600px; }
1634 .col7 { float:left; width:58.3333%; }
1635 .col8 { float:left; width:66.6666%; }
1636 .col9 { float:left; width:75.0000%; }
1637 .col10 { float:left; width:83.3333%; }
1638 .col11 { float:left; width:91.6666%; }
1639 .col12 { float:left; width:100.0000%; }
1642 ------------------------------------------------------- */
1644 ul li { list-style: none;}
1646 .toggle-list > label {
1651 background-color: white;
1654 -moz-transition: all 100ms;
1655 -o-transition: all 100ms;
1656 transition: all 100ms;
1659 .toggle-list > label:hover {
1660 background-color: #ececec;
1663 .toggle-list > label:not(:last-child) {
1664 border-bottom: 1px solid #ccc;
1667 .toggle-list > label:last-child {
1668 border-radius: 0 0 3px 3px;
1671 .toggle-list label > span {
1674 white-space: nowrap;
1675 text-overflow: ellipsis;
1678 .toggle-list > label.active {
1679 background: #E8EBFF;
1684 ------------------------------------------------------- */
1691 background: #f6f6f6;
1696 background: #ececec;
1701 background:rgba(0,0,0,.5);
1706 .fr { float: right;}
1721 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
1725 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
1726 background-size:5px 5px;
1762 display: inline-block;
1765 /* Crashes Safari: https://github.com/openstreetmap/iD/issues/1188 */
1766 /*-webkit-transition: all 100ms;*/
1767 -moz-transition: all 100ms;
1768 -o-transition: all 100ms;
1769 transition: all 100ms;
1774 background-color: #ececec;
1779 background-color: rgba(255,255,255,.25);
1780 color: rgba(0,0,0,.5);
1785 background: #7092ff;
1795 background-color: #fafafa;
1798 button.minor .icon {
1802 button.minor:hover {
1803 background-color: #f1f1f1;
1807 display: inline-block;
1812 .button-wrap button:only-child {
1816 .button-wrap:last-of-type {
1822 border-right: 1px solid rgba(0,0,0,.5);
1825 .joined button:first-child {
1826 border-radius:4px 0 0 4px;
1829 .joined button:last-child {
1830 border-right-width: 0;
1831 border-radius:0 4px 4px 0;
1835 background: #7092ff;
1838 button.action:focus,
1839 button.action:hover {
1840 background: #597BE7;
1843 button.save.has-count {
1847 button.save .count {
1851 button.save.has-count .count {
1855 background: rgba(255, 255, 255, .5);
1862 margin-left: 8.3333%;
1865 button.save.has-count .count::before {
1874 border-top: 6px solid transparent;
1875 border-bottom: 6px solid transparent;
1876 border-right: 6px solid rgba(255,255,255,.5);
1882 display:inline-block;
1886 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 0;
1887 text-indent:-9999px;
1903 /* Definitions for every icon */
1904 .icon.alert { background-position: 0 0;}
1906 .icon.add-point { background-position: -20px 0;}
1908 .icon.add-line { background-position: -40px 0;}
1910 .icon.add-area { background-position: -60px 0;}
1911 .icon.undo { background-position: -80px 0;}
1912 .icon.redo { background-position: -100px 0;}
1913 .icon.apply { background-position: -120px 0;}
1914 .icon.save { background-position: -140px 0;}
1915 .icon.close { background-position: -160px 0;}
1916 .icon.delete { background-position: -180px 0;}
1917 .icon.remove { background-position: -200px 0;}
1918 .icon.inspect { background-position: -220px 0;}
1919 .icon.plus { background-position: -240px 0;}
1920 .icon.search { background-position: -280px 0;}
1921 .icon.geocode { background-position: -280px 0;}
1922 .icon.layers { background-position: -300px 0;}
1923 .icon.avatar { background-position: -320px 0;}
1924 .icon.nearby { background-position: -340px 0;}
1925 .icon.geolocate { background-position: -360px 0;}
1926 .icon.warning { background-position: -380px 0;}
1927 .icon.bug { background-position: -400px 0;}
1928 .icon.back { background-position: -420px 0;}
1929 .icon.forward { background-position: -440px 0;}
1930 .icon.help { background-position: -460px 0;}
1931 .icon.relation { background-position: -520px 0;}
1932 .icon.relation.route { background-position: -540px 0;}
1933 .icon.relation.multipolygon { background-position: -560px 0;}
1934 .icon.vertex { background-position: -580px 0;}
1935 .icon.data { background-position: -600px 0;}
1937 .icon.inspect.light { background-position: -220px -20px;}
1938 .icon.plus.light { background-position: -240px -20px;}
1939 .icon.zoom-in { background-position: -240px -20px;}
1940 .icon.zoom-out { background-position: -260px -20px;}
1941 .icon.geocode.light { background-position: -280px -20px;}
1942 .icon.layers.light { background-position: -300px -20px;}
1943 .icon.avatar.light { background-position: -320px -20px;}
1944 .icon.nearby.light { background-position: -340px -20px;}
1945 .icon.geolocate.light { background-position: -360px -20px;}
1946 .icon.bug.light { background-position: -400px -20px;}
1947 .icon.help.light { background-position: -460px -20px;}
1948 .icon.data.light { background-position: -600px -20px;}
1950 .icon.back.blue { background-position: -420px -20px;}
1951 .icon.forward.blue { background-position: -440px -20px;}
1953 button[disabled] .icon.alert { background-position: 0 -40px;}
1954 button[disabled] .icon.add-point { background-position: -20px -40px;}
1955 button[disabled] .icon.add-line { background-position: -40px -40px;}
1956 button[disabled] .icon.add-area { background-position: -60px -40px;}
1957 button.disabled .icon.undo { background-position: -80px -40px;}
1958 button.disabled .icon.redo { background-position: -100px -40px;}
1959 button[disabled] .apply.icon { background-position: -120px -40px;}
1960 button[disabled] .close.icon { background-position: -160px -40px;}
1961 button[disabled] .delete.icon { background-position: -180px -40px;}
1962 button[disabled] .icon.remove { background-position: -200px -40px;}
1963 button[disabled] .icon.inspect { background-position: -220px -40px;}
1964 button[disabled] .icon.zoom-in { background-position: -240px -40px;}
1965 button[disabled] .icon.zoom-out { background-position: -260px -40px;}
1966 button[disabled] .icon.geocode { background-position: -280px -40px;}
1967 button[disabled] .icon.layers { background-position: -300px -40px;}
1968 button[disabled] .icon.avatar { background-position: -320px -40px;}
1969 button[disabled] .icon.nearby { background-position: -340px -40px;}
1970 button[disabled] .icon.data { background-position: -600px -40px;}
1972 .icon.point.deleted { background-position: -302px -80px;}
1973 .icon.line.deleted { background-position: -320px -80px;}
1974 .icon.area.deleted { background-position: -340px -80px;}
1976 .icon.point.created { background-position: -302px -100px;}
1977 .icon.line.created { background-position: -320px -100px;}
1978 .icon.area.created { background-position: -340px -100px;}
1980 .icon.point.modified { background-position: -22px 0; }
1982 .icon.modified { opacity: .5; }
1984 /* Out link is special */
1986 .icon.out-link { height: 14px; width: 14px; background-position: -500px 0;}
1987 a:hover .icon.out-link { background-position: -500px -14px;}
1989 .icon.plus-dark { background-position: -240px -40px;}
1991 /* Universal preset icons */
1993 .icon.source { background-position: 0 -200px;}
1994 .icon.address { background-position: -20px -200px;}
1995 .icon.telephone { background-position: -40px -200px;}
1996 .icon.website { background-position: -60px -200px;}
1997 .icon.elevation { background-position: -80px -200px;}
1998 .icon.wikipedia { background-position: -100px -200px;}
1999 .icon.note { background-position: -120px -200px;}
2000 .icon.wheelchair { background-position: -140px -200px;}
2002 /* ToolBar / Persistent UI Elements
2003 ------------------------------------------------------- */
2016 /* Header for modals / panes
2017 ------------------------------------------------------- */
2020 border-bottom: 1px solid #ccc;
2028 white-space: nowrap;
2029 text-overflow: ellipsis;
2047 .preset-list-pane .header button {
2064 padding: 5px 30px 5px 30px;
2065 border-top: 1px solid #ccc;
2066 background-color: #fafafa;
2070 .sidebar-component .body {
2079 ------------------------------------------------------- */
2087 background: #f6f6f6;
2090 .sidebar-component {
2123 background-color: #fff;
2126 .mapillary-image a {
2130 background-color: rgba(0,0,0,.5);
2136 .mapillary-image img {
2142 .mapillary-image.hidden {
2146 .mapillary-image.temp button {
2150 .mapillary-image button {
2158 .feature-list-pane .inspector-body {
2162 .preset-list-pane .inspector-body {
2166 .entity-editor-pane .inspector-body {
2170 .selection-list-pane .inspector-body {
2179 #sidebar .search-header .icon {
2184 pointer-events: none;
2187 #sidebar .search-header input {
2195 border-bottom-width: 1px;
2209 .feature-list-item {
2212 border-bottom: 1px solid #ccc;
2216 .feature-list-item .label {
2219 white-space: nowrap;
2220 text-overflow: ellipsis;
2222 border-left: 1px solid rgba(0, 0, 0, .1);
2223 -moz-transition: all 100ms;
2224 -o-transition: all 100ms;
2225 transition: all 100ms;
2228 .feature-list-item .label .icon {
2232 .feature-list-item:hover .label {
2233 background-color: #ececec;
2236 .feature-list-item .entity-type {
2240 .feature-list-item:hover .entity-type {
2244 .feature-list-item .entity-name {
2245 font-weight: normal;
2251 ------------------------------------------------------- */
2257 padding: 20px 20px 10px 20px;
2258 border-bottom: 1px solid #ccc;
2261 .preset-list-button-wrap {
2263 margin-bottom: 10px;
2267 .preset-list-button {
2271 border: 1px solid #ccc;
2274 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2275 background: #ececec;
2286 .preset-icon-relation {
2291 .preset-list-button .label {
2292 background-color: #f6f6f6;
2301 white-space: nowrap;
2302 text-overflow: ellipsis;
2304 border-left: 1px solid rgba(0, 0, 0, .1);
2305 -moz-transition: all 100ms;
2306 -o-transition: all 100ms;
2307 transition: all 100ms;
2308 border-radius: 0 3px 3px 0;
2311 .preset-list-button:hover .label {
2312 background-color: #ececec;
2315 .preset-list-item button.tag-reference-button {
2317 border: 1px solid #CCC;
2318 border-radius: 0 3px 3px 0;
2323 background: #fafafa;
2326 .preset-list-item button.tag-reference-button .icon {
2330 .current .preset-list-button,
2331 .current .preset-list-button .label {
2332 background-color: #E8EBFF;
2335 .category .preset-list-button:after,
2336 .category .preset-list-button:before {
2340 left: -1px; right: -1px;
2341 border: 1px solid #ccc;
2342 border-bottom: none;
2343 border-radius: 6px 6px 0 0;
2347 .category .preset-list-button:before {
2351 .subgrid .preset-list {
2352 padding: 10px 10px 0 10px;
2356 width: -webkit-calc(100% + 20px);
2361 border: solid rgba(0, 0, 0, 0);
2363 border-bottom-color: #f1f1f1;
2367 margin-left: -webkit-calc(50% - 10px);
2371 /* Preset icon colors */
2373 .preset-icon-fill-area {
2383 .preset-icon-fill-area:after {
2390 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -80px;
2393 /* preset form basics */
2399 .inspector-preset .preset-form {
2401 margin: 0 10px 10px 10px;
2405 .entity-editor-pane .preset-list-item::after {
2414 border: solid rgba(0, 0, 0, 0);
2416 border-bottom-color: #ececec;
2419 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2425 margin-bottom: 10px;
2427 -webkit-transition: margin-bottom 200ms;
2428 -moz-transition: margin-bottom 200ms;
2429 -o-transition: margin-bottom 200ms;
2430 transition: margin-bottom 200ms;
2433 .form-field:last-child {
2440 border: 1px solid #cfcfcf;
2441 padding: 5px 0 5px 10px;
2442 background: #f6f6f6;
2444 border-radius: 4px 4px 0 0;
2448 .form-label-button-wrap {
2454 background: transparent;
2458 .form-label-button-wrap .icon {
2462 .form-label button {
2463 border-left: 1px solid #CCC;
2467 background: #fafafa;
2470 .form-label .modified-icon,
2471 .form-field .remove-icon {
2475 .modified .form-label .modified-icon,
2476 .present .form-label .remove-icon {
2477 display: inline-block;
2480 .form-field > input,
2481 .form-field > textarea,
2482 .form-field .preset-input-wrap {
2483 border: 1px solid #CCC;
2486 border-radius: 0 0 4px 4px;
2489 .form-field textarea {
2494 border-bottom: 1px solid #CCC
2497 /* Preset form (hover mode) */
2499 .inspector-hover .checkselect label:last-of-type,
2500 .inspector-hover .preset-input-wrap .label,
2501 .inspector-hover input,
2502 .inspector-hover label {
2503 background: #ececec;
2507 .inspector-hover .checkselect label:last-of-type {
2511 /* hide and remove from layout */
2513 .inspector-hover label input[type="checkbox"],
2514 .inspector-hover label input[type="radio"],
2515 .inspector-hover .toggle-list label,
2516 .inspector-hover .toggle-list label span,
2517 .inspector-hover .inspector-inner .add-tag,
2518 .inspector-hover .inspector-inner .add-relation,
2519 .inspector-hover .toggle-list label.remove .icon {
2523 opacity: 0 !important;
2529 /* hide but preserve in layout */
2530 .inspector-hover .entity-editor-pane button.minor,
2531 .inspector-hover .combobox-caret,
2532 .inspector-hover .entity-editor-pane .header button,
2533 .inspector-hover .spin-control,
2534 .inspector-hover .hide-toggle:before,
2535 .inspector-hover .more-fields,
2536 .inspector-hover .form-label-button-wrap,
2537 .inspector-hover .tag-reference-button,
2538 .inspector-hover .view-on-osm {
2542 /* Styles for raw tag inspector on hover */
2543 .inspector-hover .tag-row .key-wrap,
2544 .inspector-hover .tag-row .input-wrap-position {
2548 .inspector-hover .tag-row:first-child input.value {
2549 border-top-right-radius: 4px;
2552 .inspector-hover .tag-row:last-child input.value {
2553 border-bottom-right-radius: 4px;
2556 .inspector-hover .tag-row:last-child input.key {
2557 border-bottom-left-radius: 4px;
2560 .inspector-hover .more-fields {
2562 margin-bottom: -10px;
2565 /* Unstyle button fields */
2566 .inspector-hover .toggle-list label.active,
2567 .inspector-hover .entity-editor-pane a.hide-toggle {
2569 background-color: transparent;
2575 .inspector-hover .toggle-list button.active {
2579 /* Add placeholder only on hover for radio buttons */
2580 .inspector-hover .toggle-list .placeholder {
2588 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2589 .toggle-list label.active ~ .placeholder,
2590 .toggle-list .placeholder {
2597 -webkit-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
2598 -moz-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
2599 -o-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
2600 transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
2603 /* first phase hover-to-active animations */
2608 .preset-input-wrap .label {
2609 -webkit-transition: all 200ms;
2610 -moz-transition: all 200ms;
2611 -o-transition: all 200ms;
2612 transition: all 200ms;
2615 /* second phase hover-to-active animations */
2618 .checkselect label:last-of-type {
2619 -webkit-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
2620 -moz-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
2621 -o-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
2622 transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
2625 .entity-editor-pane button.minor,
2627 .entity-editor-pane .header button,
2628 .toggle-list label span,
2632 .hide-toggle:before,
2633 .entity-editor-pane .toggle-list label::before,
2634 .entity-editor-pane .toggle-list label.remove .icon {
2635 -webkit-transition: opacity 200ms 200ms;
2636 -moz-transition: opacity 200ms 200ms;
2637 -o-transition: opacity 200ms 200ms;
2638 transition: opacity 200ms 200ms;
2641 .entity-editor-pane a.hide-toggle {
2642 -webkit-transition: padding-left 200ms 200ms, color 200ms 200ms;
2643 -moz-transition: padding-left 200ms 200ms, color 200ms 200ms;
2644 -o-transition: padding-left 200ms 200ms, color 200ms 200ms;
2645 transition: padding-left 200ms 200ms, color 200ms 200ms;
2648 .entity-editor-pane .toggle-list label:not(.active) {
2649 -webkit-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
2650 -moz-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
2651 -o-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
2652 transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
2655 .entity-editor-pane .toggle-list label {
2656 -webkit-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
2657 -moz-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
2658 -o-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
2659 transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
2662 /* adding additional preset fields */
2665 padding: 0 20px 20px 20px;
2667 -webkit-transition: padding 200ms 200ms, max-height 200ms 200ms;
2668 -moz-transition: padding 200ms 200ms, max-height 200ms 200ms;
2669 -o-transition: padding 200ms 200ms, max-height 200ms 200ms;
2670 transition: padding 200ms 200ms, max-height 200ms 200ms;
2673 .more-fields label { padding: 5px 10px 5px 0; }
2674 .more-fields input { width: 50%;}
2676 /* preset form access */
2678 .preset-input-wrap .label {
2680 background: #F6F6F6;
2684 .form-field-access .preset-input-wrap li {
2685 border-bottom: 1px solid #CCC;
2687 .form-field-access .preset-input-wrap li:last-child {
2691 .preset-input-access-wrap input {
2694 border-left-width: 1px;
2697 .preset-input-wrap li:last-child input {
2698 border-bottom-right-radius: 4px;
2701 /* preset form numbers */
2703 input[type=number] {
2711 display: inline-block;
2713 margin-bottom: -11px;
2717 .spin-control button {
2723 border-left: 1px solid #CCC;
2725 background: rgba(0, 0, 0, 0);
2728 .spin-control button.decrement {
2729 border-bottom-right-radius: 3px;
2732 .spin-control button.decrement::after,
2733 .spin-control button.increment::after {
2735 height: 0; width: 0;
2737 left: 0; right: 0; bottom: 0; top: 0;
2741 .spin-control button.decrement::after {
2742 border-top: 5px solid #CCC;
2743 border-left: 5px solid transparent;
2744 border-right: 5px solid transparent;
2747 .spin-control button.increment::after {
2748 border-bottom: 5px solid #CCC;
2749 border-left: 5px solid transparent;
2750 border-right: 5px solid transparent;
2753 /* preset form checkbox */
2755 .checkselect label:last-of-type {
2762 .checkselect label:hover {
2763 background: #f1f1f1;
2770 .checkselect label:not(.set) input[type="checkbox"] {
2774 /* Preset form radio button */
2776 .toggle-list button.remove {
2777 border-radius: 0 0 3px 3px;
2780 .toggle-list button.remove .icon {
2785 .toggle-list button.remove::before {
2789 .form-field .wiki-lang {
2793 .form-field .wiki-title {
2797 .form-field .wiki-title ~ .combobox-caret {
2802 .form-field .wiki-link {
2804 background: #fafafa;
2809 .form-field .wiki-link:hover {
2810 background: #f1f1f1;
2813 #preset-input-maxspeed {
2815 border-radius: 0 0 0 4px;
2819 .form-field .maxspeed-unit {
2820 border-radius: 0 0 4px 0;
2824 /* Name + translate form */
2826 .form-field .localized-main {
2830 .form-field .button-input-action {
2835 border: 1px solid #CCC;
2836 border-top-width: 0;
2837 border-right-width: 0;
2838 border-radius: 0 0 4px 0;
2840 vertical-align: top;
2843 .form-field .localized-wrap {
2847 .form-field .localized-wrap .entry {
2852 .form-field .localized-wrap .entry::before {
2865 .form-field .localized-wrap .entry .localized-lang {
2867 border-top-width: 0;
2870 .form-field .localized-wrap .entry .localized-value {
2871 border-top-width: 0;
2872 border-radius: 0 0 4px 4px;
2875 .form-field .localized-wrap .form-label button {
2876 border-top-right-radius: 3px;
2879 /* Preset form address */
2886 .addr-row:first-of-type input {
2890 .addr-row input:first-of-type {
2898 .addr-row:last-of-type input:first-of-type {
2899 border-radius: 0 0 0 4px;
2902 .addr-row:last-of-type input:last-of-type {
2903 border-radius: 0 0 4px 0;
2906 /* Restrictions editor */
2908 .form-field-restrictions .preset-input-wrap {
2913 .form-field-restrictions svg {
2918 .form-field-restrictions .restriction-help {
2925 background-color: rgba(255, 255, 255, .8);
2930 /* combobox dropdown */
2935 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
2941 border: 1px solid #ccc;
2942 border-radius: 0 0 4px 4px;
2948 border-top:1px solid #ccc;
2949 text-overflow: ellipsis;
2950 white-space: nowrap;
2954 .combobox a.selected,
2956 background: #ececec;
2959 .combobox a:first-child {
2964 display: inline-block;
2969 vertical-align: top;
2972 .combobox-caret::after {
2974 height: 0; width: 0;
2976 left: 0; right: 0; bottom: 0; top: 0;
2978 border-top: 5px solid #ccc;
2979 border-left: 5px solid transparent;
2980 border-right: 5px solid transparent;
2983 /* Raw Tag Editor */
2999 border-bottom: 1px solid #CCC;
3000 border-left: 1px solid #CCC;
3004 .tag-row .input-wrap-position {
3008 -webkit-transition: width 200ms;
3009 -moz-transition: width 200ms;
3010 -o-transition: width 200ms;
3011 transition: width 200ms;
3014 .tag-row input.key {
3016 background-color: #f6f6f6;
3019 .tag-row input.value {
3020 border-right: 1px solid #CCC;
3023 .tag-row:first-child input.key {
3024 border-top: 1px solid #CCC;
3025 border-top-left-radius: 4px;
3028 .tag-row:first-child input.value {
3029 border-top: 1px solid #CCC;
3036 border: 1px solid #CCC;
3037 border-top-width: 0;
3038 border-left-width: 0;
3041 .tag-row button:hover {
3042 background: #f1f1f1;
3045 .tag-row button .icon {
3049 .tag-row:first-child button {
3050 border-top-width: 1px;
3053 .tag-row:first-child .tag-reference-button {
3054 border-top-right-radius: 4px;
3057 .tag-row:last-child .tag-reference-button {
3058 border-bottom-right-radius: 4px;
3061 .tag-row .tag-reference-button {
3066 background: #fafafa;
3069 /* Adding form fields to tag editor */
3071 .inspector-inner .add-tag {
3075 background: rgba(0,0,0,.5);
3076 border-radius: 0 0 4px 4px;
3079 .inspector-inner .add-tag:hover {
3080 background: rgba(0,0,0,.8);
3083 .inspector-inner .add-tag .label {
3089 button.minor.tag-reference-loading {
3090 background-color: #f5f5f5;
3093 .tag-reference-loading .icon {
3094 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3095 background-position: 0 0;
3098 .tag-reference-body {
3103 .tag-reference-body p,
3104 .tag-reference-body img {
3108 .tag-reference-body p:last-child {
3109 padding-bottom: 10px;
3112 .tag-reference-body a {
3114 padding-bottom: 10px;
3117 .preset-list .tag-reference-body {
3122 .preset-list .tag-reference-body a {
3123 padding-bottom: 20px;
3126 .preset-list .tag-reference-body p,
3127 .preset-list .tag-reference-body img {
3131 .raw-tag-editor .tag-reference-body {
3132 border-bottom: 1px solid #ccc;
3137 .raw-tag-editor .tag-reference-body p:last-child {
3138 padding-bottom: 20px;
3141 .raw-tag-editor .tag-reference-body a {
3142 padding-bottom: 20px;
3148 width: -webkit-calc(33.3333% - 10px);
3149 width: calc(33.3333% - 10px);
3154 margin-bottom: 20px;
3157 /* Raw relation membership editor */
3159 .raw-member-editor .member-list li:first-child,
3160 .raw-membership-editor .member-list li:first-child {
3164 .raw-member-editor .member-row,
3165 .raw-membership-editor .member-row {
3169 .raw-member-editor .member-row .member-entity-name,
3170 .raw-membership-editor .member-row .member-entity-name {
3171 font-weight: normal;
3175 .member-incomplete .member-delete {
3179 .member-row-new .member-entity-input {
3180 border-radius: 4px 4px 0 0;
3181 border: 1px solid #cfcfcf;
3187 background: rgba(0,0,0,.5);
3192 .add-relation:hover {
3193 background: rgba(0,0,0,.8);
3206 .map-control > button {
3208 background: rgba(0,0,0,.5);
3212 .map-control > button:hover {
3213 background: rgba(0, 0, 0, .8);
3216 .map-control > button.active,
3217 .map-control > button.active:hover {
3218 background: #7092ff;
3223 .zoombuttons button.zoom-in {
3224 border-radius: 4px 0 0 0;
3227 /* Background / Map Data Settings */
3230 .map-data-control button {
3234 .background-control button {
3235 border-radius: 4px 0 0 0;
3239 .background-control {
3244 border: 1px solid #CCC;
3247 .background-control .adjustments button:last-child {
3251 .map-data-control .hide-toggle,
3252 .background-control .hide-toggle {
3253 padding-bottom: 10px;
3257 margin-bottom: 10px;
3258 border: 1px solid #CCC;
3265 background-color: white;
3269 .layer-list > li:first-child {
3270 border-radius: 3px 3px 0 0;
3273 .layer-list > li:last-child {
3274 border-radius: 0 0 3px 3px;
3277 .layer-list > li:only-child {
3281 .layer-list li:not(:last-child) {
3282 border-bottom: 1px solid #ccc;
3285 .layer-list li:hover {
3286 background-color: #ececec;
3289 .layer-list li.active {
3290 background: #E8EBFF;
3299 .layer-list label > span {
3302 white-space: nowrap;
3303 text-overflow: ellipsis;
3312 .hide-toggle:before {
3320 border-top: 4px solid transparent;
3321 border-bottom: 4px solid transparent;
3322 border-left: 8px solid #7092ff;
3325 .hide-toggle.expanded:before {
3326 border-top: 8px solid #7092ff;
3328 border-right: 4px solid transparent;
3329 border-left: 4px solid transparent;
3332 .background-control .nudge-container button {
3336 border-right: 1px solid #CCC;
3340 .background-control .nudge::after {
3345 left: 0; right: 0; top: 0; bottom: 0;
3350 .background-control .nudge.left::after {
3351 border-top: 5px solid transparent;
3352 border-bottom: 5px solid transparent;
3353 border-left: 5px solid #222;
3356 .background-control .nudge.right::after {
3357 border-top: 5px solid transparent;
3358 border-bottom: 5px solid transparent;
3359 border-right: 5px solid #222;
3362 .background-control .nudge.top::after {
3363 border-right: 5px solid transparent;
3364 border-left: 5px solid transparent;
3365 border-bottom: 5px solid #222;
3368 .background-control .nudge.bottom::after {
3369 border-right: 5px solid transparent;
3370 border-left: 5px solid transparent;
3371 border-top: 5px solid #222;
3375 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3381 border: 1px solid #ccc;
3384 .opacity-options li {
3390 .opacity-options li .select-box{
3397 .map-data-control li:hover .select-box,
3398 .map-data-control li.selected .select-box,
3399 .background-control li:hover .select-box,
3400 .background-control li.selected .select-box {
3401 border: 2px solid #7092ff;
3402 background: rgba(89, 123, 231, .5);
3406 .map-data-control li.selected:hover .select-box,
3407 .map-data-control li.selected .select-box,
3408 .background-control li.selected:hover .select-box,
3409 .background-control li.selected .select-box {
3413 .background-control .opacity {
3415 display:inline-block;
3420 .map-data-control .layer-list button,
3421 .background-control .layer-list button {
3425 border-left: 1px solid #CCC;
3429 .map-data-control .layer-list button .icon,
3430 .background-control .layer-list button .icon {
3434 .map-data-control .layer-list button:first-of-type,
3435 .background-control .layer-list button:first-of-type {
3436 border-radius: 0 3px 3px 0;
3439 .map-data-control .map-overlay,
3440 .background-control .map-overlay,
3441 .help-control .map-overlay {
3448 .geolocate-control {
3449 margin-bottom: 10px;
3452 .geolocate-control button {
3453 border-radius: 0 0 0 4px;
3456 .map-overlay.content {
3460 padding: 20px 50px 20px 20px;
3467 .help-control button {
3468 border-radius: 0 0 0 4px;
3473 margin-bottom: 20px;
3476 .help-wrap .left-content .body p code {
3482 /* This is two columns, 41.66666 x .4 = 16.6666 */
3486 margin-bottom: 20px;
3490 .help-wrap .toc li a,
3493 border: 1px solid #CCC;
3497 .help-wrap .toc li a {
3501 .help-wrap .toc li a:hover,
3502 .help-wrap .nav a:hover {
3503 background: #ececec;
3506 .help-wrap .toc li a.selected {
3507 background: #E8EBFF;
3510 .help-wrap .toc li:first-child a {
3511 border-radius: 4px 4px 0 0;
3514 .help-wrap .toc li:nth-last-child(2) a {
3515 border-bottom: 1px solid #CCC;
3516 border-radius: 0 0 4px 4px
3519 .help-wrap .toc li.walkthrough a {
3522 border-bottom: 1px solid #ccc;
3536 .help-wrap .nav a:first-child {
3537 border-radius: 4px 0 0 4px;
3540 .help-wrap .nav a:last-child:not(:only-child) {
3541 border-radius: 0 4px 4px 0;
3545 .help-wrap .nav a:only-child {
3551 ------------------------------------------------------- */
3561 transform-origin:0 0;
3562 -ms-transform-origin:0 0;
3563 -webkit-transform-origin:0 0;
3564 -moz-transform-origin:0 0;
3565 -o-transform-origin:0 0;
3566 -moz-user-select: none;
3567 -webkit-user-select: none;
3568 -ms-user-select: none;
3572 #supersurface, .layer-layer {
3581 ------------------------------------------------------- */
3598 .base-layer-attribution,
3599 .overlay-layer-attribution {
3605 .base-layer-attribution {
3609 .overlay-layer-attribution {
3613 .overlay-layer-attribution .attribution:not(:last-child):after {
3629 display: table-cell;
3630 vertical-align: bottom;
3648 font: 12px sans-serif;
3658 shape-rendering: crispEdges;
3669 border-left: 1px solid rgba(255,255,255,.5);
3670 padding: 5px 0 5px 5px;
3674 #about-list li:last-child {
3681 padding: 2px 4px 4px 4px;
3684 .source-switch a.live {
3685 background: #d32232;
3689 .feature-warning a {
3690 background: #1e90ff;
3691 padding: 2px 4px 4px 4px;
3696 .user-list a:not(:last-child):after {
3708 .api-status.offline,
3709 .api-status.readonly,
3715 ------------------------------------------------------- */
3718 display: inline-block;
3727 margin-bottom: 10px;
3730 .modal .description {
3746 background:rgba(0,0,0,0.5);
3748 left:0px; right:0px; top:0px; bottom:0px;
3753 border-bottom: 1px solid #CCC;
3756 .modal-section:last-child {
3764 .modal-actions button,
3765 .save-success a.button {
3766 font-weight: normal;
3768 border-bottom: 1px solid #CCC;
3772 display: inline-block;
3775 .modal-actions button:hover
3776 .save-success a.button:hover {
3777 background-color: #ececec;
3780 .modal-actions button:before,
3781 .save-success a.button:before,
3782 .walkthrough a:before {
3788 margin-bottom: 10px;
3789 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -220px;
3792 .modal-actions :first-child {
3793 border-right: 1px solid #CCC;
3797 ------------------------------------------------------- */
3799 .modal-actions .restore:before {
3800 background-position: -600px -220px;
3803 .modal-actions .reset:before {
3804 background-position: -700px -220px;
3808 ------------------------------------------------------- */
3814 .save-success .button {
3818 .save-success .button.social {
3822 .save-success .button.social:before {
3826 .save-success .button.osm:before {
3827 background-position: 0px -220px;
3830 .save-success .button.twitter:before {
3831 background-position: -100px -245px;
3834 .save-success .button.facebook:before {
3835 background-position: -200px -245px;
3838 .save-success .button.google:before {
3839 background-position: -300px -245px;
3843 ------------------------------------------------------- */
3845 .modal-actions .walkthrough:before,
3846 .walkthrough a:before {
3847 background-position: -400px -220px;
3850 .modal-actions .start:before {
3851 background-position: -500px -220px;
3855 ------------------------------------------------------- */
3857 .mode-save a.user-info {
3858 display: inline-block;
3861 .mode-save .commit-form {
3865 .mode-save button.action {
3873 .mode-save .user-info img {
3877 .mode-save h3 small.count {
3891 .mode-save .commit-info {
3892 margin-bottom: 10px;
3895 .mode-save .changeset-list {
3896 border:1px solid #ccc;
3901 .mode-save .warning-section .changeset-list button {
3902 border-left: 1px solid #CCC;
3905 .mode-save .changeset-list li {
3907 border-top:1px solid #ccc;
3912 .mode-save .changeset-list li:hover {
3913 background-color: #ececec;
3916 .mode-save .changeset-list .alert {
3920 .changeset-list li span.count {
3925 .mode-save .commit-section .changeset-list button {
3926 border-left: 1px solid #CCC;
3929 .changeset-list li span.count:before { content: '('; }
3931 .changeset-list li span.count:after { content: ')'; }
3933 .changeset-list li:first-child { border-top: 0;}
3936 ------------------------------------------------------- */
3958 .notice .zoom-to:hover {
3959 background: #d8e1ff;
3962 .notice .zoom-to .icon {
3967 .icon.zoom-in-invert {
3968 background-position: -240px -40px;
3972 ------------------------------------------------------- */
4009 display: inline-block;
4014 font-weight: normal;
4015 background-color: white;
4021 pointer-events: none;
4025 background: transparent;
4033 border-color: transparent;
4034 border-style: solid;
4038 border-left-color: white;
4039 border-width: 5px 0 5px 5px;
4058 border-color: transparent;
4059 border-style: solid;
4063 border-right-color: white;
4064 border-width: 5px 5px 5px 0;
4071 border-color: transparent;
4072 border-style: solid;
4075 .tooltip.top .tooltip-arrow {
4079 border-top-color: white;
4080 border-width: 5px 5px 0;
4083 .tooltip.right .tooltip-arrow {
4087 border-right-color: white;
4088 border-width: 5px 5px 5px 0;
4091 .tooltip.left .tooltip-arrow {
4095 border-left-color: white;
4096 border-width: 5px 0 5px 5px;
4099 .tooltip.bottom .tooltip-arrow {
4103 border-bottom-color: white;
4104 border-width: 0 5px 5px;
4108 background: #F6F6F6;
4110 margin: 10px -10px -10px;
4111 border-radius: 0 0 3px 3px;
4114 .tooltip-inner .keyhint {
4118 display: inline-block;
4120 border: 1px solid #CCC;
4126 .tooltip-inner .keyhint::after {
4135 border: 1px solid #CCC;
4139 /* Exceptions for tooltip layouts */
4141 /* make tooltips in panels dark */
4142 .map-overlay .tooltip.top .tooltip-arrow,
4143 .entity-editor-pane .tooltip.top .tooltip-arrow,
4144 .warning-section .tooltip.top .tooltip-arrow {
4145 border-top-color: #000;
4148 .map-overlay .tooltip.bottom .tooltip-arrow,
4149 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4150 .warning-section .tooltip.bottom .tooltip-arrow {
4151 border-bottom-color: #000;
4154 .map-overlay .tooltip.left .tooltip-arrow,
4155 .entity-editor-pane .tooltip.left .tooltip-arrow,
4156 .warning-section .tooltip.left .tooltip-arrow {
4157 border-left-color: #000;
4160 .map-overlay .tooltip.right .tooltip-arrow,
4161 .entity-editor-pane .tooltip.right .tooltip-arrow,
4162 .warning-section .tooltip.right .tooltip-arrow {
4163 border-right-color: #000;
4166 .map-overlay .tooltip-inner,
4167 .map-overlay .keyhint-wrap,
4168 .entity-editor-pane .tooltip-inner,
4169 .warning-section .tooltip-inner {
4173 /* commit warning tooltips need to be closer */
4174 .warning-section .tooltip.top {
4178 /* Uncramp map-control tooltips */
4179 .map-control .tooltip {
4182 /* Move over tooltips that are near the edge of screen */
4183 .add-point .tooltip {
4184 left: 33.3333% !important;
4187 .curtain-tooltip.intro-points-add .tooltip-arrow,
4188 .add-point .tooltip .tooltip-arrow {
4192 .radial-menu-tooltip {
4199 .radial-menu-background {
4201 stroke-opacity: 0.5;
4208 .radial-menu-item:hover {
4212 .radial-menu-item:active {
4216 .radial-menu-item.disabled {
4218 fill: rgba(255,255,255,.5);
4226 stroke-dasharray: 5, 5;
4230 ------------------------------------------------------- */
4232 @media only screen and (max-width: 840px) {
4233 #bar .icon.icon-pre-text { margin-right: 0;}
4234 /* override hide for save button */
4235 #bar .save .label { display: block;}
4238 @media screen and (max-width: 1200px) {
4239 .user-list { display: none !important; }
4242 @media screen and (max-width: 1000px) {
4243 #userLink { display: none !important; }
4246 @media screen and (max-width: 900px) {
4247 #scale-block { display: none !important; }
4252 ----------------------------------------------------- */
4254 ::-webkit-scrollbar {
4259 border-left: 1px solid #DDD;
4262 ::-webkit-scrollbar-track {
4263 background-clip: padding-box;
4264 border: solid transparent;
4268 ::-webkit-scrollbar-thumb {
4269 background-color: rgba(0,0,0,.2);
4270 background-clip: padding-box;
4271 border: solid transparent;
4272 border-width: 3px 3px 3px 4px;
4275 ::-webkit-scrollbar-track:hover,
4276 ::-webkit-scrollbar-track:active {
4277 background-color: rgba(0,0,0,.05);
4280 /* Intro walkthrough
4281 ----------------------------------------------------- */
4284 pointer-events: all;
4299 .intro-nav-wrap button.step {
4303 .intro-nav-wrap button.step.finished {
4304 background: #8cd05f;
4307 .intro-nav-wrap button.step .icon {
4311 .intro-nav-wrap button.step.finished .icon {
4312 display: inline-block;
4316 .curtain-tooltip .tooltip-inner {
4321 .curtain-tooltip .tooltip-inner {
4325 .curtain-tooltip .tooltip-inner .bold {
4328 border-top: 1px solid #CCC;
4331 margin-right: -20px;
4332 padding: 10px 20px 0 20px;
4335 .curtain-tooltip .tooltip-inner .bold:only-child {
4341 .curtain-tooltip.intro-points-describe {
4342 top: 133px !important;
4345 /* Tooltip illustrations */
4347 .intro-points-add .tooltip-inner::before,
4348 .intro-areas-add .tooltip-inner::before,
4349 .intro-lines-add .tooltip-inner::before {
4355 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -320px;
4358 .intro-areas-add .tooltip-inner::before {
4359 background-position: 0 -400px;
4362 .intro-lines-add .tooltip-inner::before {
4363 background-position: 0 -480px;
4366 .huge-modal-button {
4372 .huge-modal-button .illustration {
4375 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -400px -220px;
4378 /* This file is generated by make. Do NOT edit manually. */
4380 .preset-icon{background-image:url(<%= asset_path("iD/img/maki-sprite.png") %>);background-repeat:no-repeat;width:24px;height:24px;}
4381 .preset-icon-line{background-image:url(<%= asset_path("iD/img/line-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
4382 .preset-icon-relation{background-image:url(<%= asset_path("iD/img/relation-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
4383 .feature-circle-stroked{background-position:-0px -0px;}
4384 .feature-circle{background-position:-54px -0px;}
4385 .feature-square-stroked{background-position:-108px -0px;}
4386 .feature-square{background-position:-162px -0px;}
4387 .feature-triangle-stroked{background-position:-216px -0px;}
4388 .feature-triangle{background-position:-0px -24px;}
4389 .feature-star-stroked{background-position:-54px -24px;}
4390 .feature-star{background-position:-108px -24px;}
4391 .feature-cross{background-position:-162px -24px;}
4392 .feature-marker-stroked{background-position:-216px -24px;}
4393 .feature-marker{background-position:-0px -48px;}
4394 .feature-religious-jewish{background-position:-54px -48px;}
4395 .feature-religious-christian{background-position:-108px -48px;}
4396 .feature-religious-muslim{background-position:-162px -48px;}
4397 .feature-cemetery{background-position:-216px -48px;}
4398 .feature-rocket{background-position:-0px -72px;}
4399 .feature-airport{background-position:-54px -72px;}
4400 .feature-heliport{background-position:-108px -72px;}
4401 .feature-rail{background-position:-162px -72px;}
4402 .feature-rail-metro{background-position:-216px -72px;}
4403 .feature-rail-light{background-position:-0px -96px;}
4404 .feature-bus{background-position:-54px -96px;}
4405 .feature-fuel{background-position:-108px -96px;}
4406 .feature-parking{background-position:-162px -96px;}
4407 .feature-parking-garage{background-position:-216px -96px;}
4408 .feature-airfield{background-position:-0px -120px;}
4409 .feature-roadblock{background-position:-54px -120px;}
4410 .feature-ferry{background-position:-108px -120px;}
4411 .feature-harbor{background-position:-162px -120px;}
4412 .feature-bicycle{background-position:-216px -120px;}
4413 .feature-park{background-position:-0px -144px;}
4414 .feature-park2{background-position:-54px -144px;}
4415 .feature-museum{background-position:-108px -144px;}
4416 .feature-lodging{background-position:-162px -144px;}
4417 .feature-monument{background-position:-216px -144px;}
4418 .feature-zoo{background-position:-0px -168px;}
4419 .feature-garden{background-position:-54px -168px;}
4420 .feature-campsite{background-position:-108px -168px;}
4421 .feature-theatre{background-position:-162px -168px;}
4422 .feature-art-gallery{background-position:-216px -168px;}
4423 .feature-pitch{background-position:-0px -192px;}
4424 .feature-soccer{background-position:-54px -192px;}
4425 .feature-america-football{background-position:-108px -192px;}
4426 .feature-tennis{background-position:-162px -192px;}
4427 .feature-basketball{background-position:-216px -192px;}
4428 .feature-baseball{background-position:-0px -216px;}
4429 .feature-golf{background-position:-54px -216px;}
4430 .feature-swimming{background-position:-108px -216px;}
4431 .feature-cricket{background-position:-162px -216px;}
4432 .feature-skiing{background-position:-216px -216px;}
4433 .feature-school{background-position:-0px -240px;}
4434 .feature-college{background-position:-54px -240px;}
4435 .feature-library{background-position:-108px -240px;}
4436 .feature-post{background-position:-162px -240px;}
4437 .feature-fire-station{background-position:-216px -240px;}
4438 .feature-town-hall{background-position:-0px -264px;}
4439 .feature-police{background-position:-54px -264px;}
4440 .feature-prison{background-position:-108px -264px;}
4441 .feature-embassy{background-position:-162px -264px;}
4442 .feature-beer{background-position:-216px -264px;}
4443 .feature-restaurant{background-position:-0px -288px;}
4444 .feature-cafe{background-position:-54px -288px;}
4445 .feature-shop{background-position:-108px -288px;}
4446 .feature-fast-food{background-position:-162px -288px;}
4447 .feature-bar{background-position:-216px -288px;}
4448 .feature-bank{background-position:-0px -312px;}
4449 .feature-grocery{background-position:-54px -312px;}
4450 .feature-cinema{background-position:-108px -312px;}
4451 .feature-pharmacy{background-position:-162px -312px;}
4452 .feature-hospital{background-position:-216px -312px;}
4453 .feature-danger{background-position:-0px -336px;}
4454 .feature-industrial{background-position:-54px -336px;}
4455 .feature-warehouse{background-position:-108px -336px;}
4456 .feature-commercial{background-position:-162px -336px;}
4457 .feature-building{background-position:-216px -336px;}
4458 .feature-place-of-worship{background-position:-0px -360px;}
4459 .feature-alcohol-shop{background-position:-54px -360px;}
4460 .feature-logging{background-position:-108px -360px;}
4461 .feature-oil-well{background-position:-162px -360px;}
4462 .feature-slaughterhouse{background-position:-216px -360px;}
4463 .feature-dam{background-position:-0px -384px;}
4464 .feature-water{background-position:-54px -384px;}
4465 .feature-wetland{background-position:-108px -384px;}
4466 .feature-disability{background-position:-162px -384px;}
4467 .feature-telephone{background-position:-216px -384px;}
4468 .feature-emergency-telephone{background-position:-0px -408px;}
4469 .feature-toilets{background-position:-54px -408px;}
4470 .feature-waste-basket{background-position:-108px -408px;}
4471 .feature-music{background-position:-162px -408px;}
4472 .feature-land-use{background-position:-216px -408px;}
4473 .feature-city{background-position:-0px -432px;}
4474 .feature-town{background-position:-54px -432px;}
4475 .feature-village{background-position:-108px -432px;}
4476 .feature-farm{background-position:-162px -432px;}
4477 .feature-bakery{background-position:-216px -432px;}
4478 .feature-dog-park{background-position:-0px -456px;}
4479 .feature-lighthouse{background-position:-54px -456px;}
4480 .feature-clothing-store{background-position:-108px -456px;}
4481 .feature-polling-place{background-position:-162px -456px;}
4482 .feature-playground{background-position:-216px -456px;}
4483 .feature-entrance{background-position:-0px -480px;}
4484 .feature-heart{background-position:-54px -480px;}
4485 .feature-london-underground{background-position:-108px -480px;}
4486 .feature-minefield{background-position:-162px -480px;}
4487 .feature-rail-underground{background-position:-216px -480px;}
4488 .feature-rail-above{background-position:-0px -504px;}
4489 .feature-camera{background-position:-54px -504px;}
4490 .feature-laundry{background-position:-108px -504px;}
4491 .feature-car{background-position:-162px -504px;}
4492 .feature-suitcase{background-position:-216px -504px;}
4493 .feature-hairdresser{background-position:-0px -528px;}
4494 .feature-chemist{background-position:-54px -528px;}
4495 .feature-mobilephone{background-position:-108px -528px;}
4496 .feature-scooter{background-position:-162px -528px;}
4497 .feature-gift{background-position:-216px -528px;}
4498 .feature-ice-cream{background-position:-0px -552px;}
4499 .preset-icon-line.feature-highway-motorway{background-position:-20px -25px;}
4500 .preset-icon-line.feature-highway-trunk{background-position:-80px -25px;}
4501 .preset-icon-line.feature-highway-primary{background-position:-140px -25px;}
4502 .preset-icon-line.feature-highway-secondary{background-position:-200px -25px;}
4503 .preset-icon-line.feature-highway-tertiary{background-position:-260px -25px;}
4504 .preset-icon-line.feature-highway-motorway-link{background-position:-320px -25px;}
4505 .preset-icon-line.feature-highway-trunk-link{background-position:-380px -25px;}
4506 .preset-icon-line.feature-highway-primary-link{background-position:-440px -25px;}
4507 .preset-icon-line.feature-highway-secondary-link{background-position:-500px -25px;}
4508 .preset-icon-line.feature-highway-tertiary-link{background-position:-560px -25px;}
4509 .preset-icon-line.feature-highway-residential{background-position:-620px -25px;}
4510 .preset-icon-line.feature-highway-unclassified{background-position:-680px -25px;}
4511 .preset-icon-line.feature-highway-service{background-position:-740px -25px;}
4512 .preset-icon-line.feature-highway-road{background-position:-800px -25px;}
4513 .preset-icon-line.feature-highway-track{background-position:-860px -25px;}
4514 .preset-icon-line.feature-highway-living-street{background-position:-920px -25px;}
4515 .preset-icon-line.feature-highway-path{background-position:-980px -25px;}
4516 .preset-icon-line.feature-highway-cycleway{background-position:-1040px -25px;}
4517 .preset-icon-line.feature-highway-footway{background-position:-1100px -25px;}
4518 .preset-icon-line.feature-highway-bridleway{background-position:-1160px -25px;}
4519 .preset-icon-line.feature-highway-steps{background-position:-1220px -25px;}
4520 .preset-icon-line.feature-railway-rail{background-position:-1280px -25px;}
4521 .preset-icon-line.feature-railway-disused{background-position:-1340px -25px;}
4522 .preset-icon-line.feature-railway-abandoned{background-position:-1400px -25px;}
4523 .preset-icon-line.feature-railway-subway{background-position:-1460px -25px;}
4524 .preset-icon-line.feature-railway-light-rail{background-position:-1520px -25px;}
4525 .preset-icon-line.feature-railway-monorail{background-position:-1580px -25px;}
4526 .preset-icon-line.feature-waterway-river{background-position:-1640px -25px;}
4527 .preset-icon-line.feature-waterway-stream{background-position:-1700px -25px;}
4528 .preset-icon-line.feature-waterway-canal{background-position:-1760px -25px;}
4529 .preset-icon-line.feature-waterway-ditch{background-position:-1820px -25px;}
4530 .preset-icon-line.feature-power-line{background-position:-1880px -25px;}
4531 .preset-icon-line.feature-other-line{background-position:-1940px -25px;}
4532 .preset-icon-line.feature-category-roads{background-position:-2000px -25px;}
4533 .preset-icon-line.feature-category-rail{background-position:-2060px -25px;}
4534 .preset-icon-line.feature-category-path{background-position:-2120px -25px;}
4535 .preset-icon-line.feature-category-water{background-position:-2180px -25px;}
4536 .preset-icon-line.feature-ferry{background-position:-2240px -25px;}
4537 .preset-icon-line.feature-pipeline{background-position:-2300px -25px;}
4538 .preset-icon-relation.feature-relation{background-position:-20px -25px;}
4539 .preset-icon-relation.feature-restriction{background-position:-80px -25px;}
4540 .preset-icon-relation.feature-multipolygon{background-position:-140px -25px;}
4541 .preset-icon-relation.feature-boundary{background-position:-200px -25px;}
4542 .preset-icon-relation.feature-route{background-position:-260px -25px;}
4543 .preset-icon-relation.feature-route-road{background-position:-320px -25px;}
4544 .preset-icon-relation.feature-route-bicycle{background-position:-380px -25px;}
4545 .preset-icon-relation.feature-route-foot{background-position:-440px -25px;}
4546 .preset-icon-relation.feature-route-bus{background-position:-500px -25px;}
4547 .preset-icon-relation.feature-route-train{background-position:-560px -25px;}
4548 .preset-icon-relation.feature-route-detour{background-position:-620px -25px;}
4549 .preset-icon-relation.feature-route-tram{background-position:-680px -25px;}
4550 .preset-icon-relation.feature-route-ferry{background-position:-740px -25px;}
4551 .preset-icon-relation.feature-route-power{background-position:-800px -25px;}
4552 .preset-icon-relation.feature-route-pipeline{background-position:-860px -25px;}
4553 .preset-icon-relation.feature-route-master{background-position:-920px -25px;}
4554 .preset-icon-relation.feature-restriction-no-straight-on{background-position:-980px -25px;}
4555 .preset-icon-relation.feature-restriction-no-u-turn{background-position:-1040px -25px;}
4556 .preset-icon-relation.feature-restriction-no-left-turn{background-position:-1100px -25px;}
4557 .preset-icon-relation.feature-restriction-no-right-turn{background-position:-1160px -25px;}
4558 .preset-icon-relation.feature-restriction-only-straight-on{background-position:-1220px -25px;}
4559 .preset-icon-relation.feature-restriction-only-left-turn{background-position:-1280px -25px;}
4560 .preset-icon-relation.feature-restriction-only-right-turn{background-position:-1340px -25px;}