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 {
346 fill: rgba(255, 255, 255, 0.3);
349 .preset-icon-fill-area {
350 border: 1px solid rgb(170, 170, 170);
351 background-color: rgba(170, 170, 170, 0.3);
354 path.stroke.tag-natural {
355 stroke: rgb(182, 225, 153);
357 path.fill.tag-natural {
358 fill: rgba(182, 225, 153, 0.3);
360 .preset-icon-fill-area.tag-natural {
361 border-color: rgb(182, 225, 153);
362 background-color: rgba(182, 225, 153, 0.3);
365 path.stroke.tag-natural-water {
366 stroke: rgb(119, 211, 222);
368 path.fill.tag-natural-water {
369 fill: rgba(119, 211, 222, 0.3);
371 .preset-icon-fill-area.tag-natural-water {
372 border-color: rgb(119, 211, 222);
373 background-color: rgba(119, 211, 222, 0.3);
376 path.stroke.tag-amenity-school {
377 stroke: rgb(255, 255, 148);
379 path.fill.tag-amenity-school {
380 fill: rgba(255, 255, 148, 0.2);
382 .preset-icon-fill-area.tag-amenity-school {
383 border-color: rgb(255, 255, 148);
384 background-color: rgba(255, 255, 148, 0.2);
387 path.stroke.tag-amenity-university {
388 stroke: rgb(255, 255, 148);
390 path.fill.tag-amenity-university {
391 fill: rgba(255, 255, 148, 0.1);
393 .preset-icon-fill-area.tag-amenity-university {
394 border-color: rgb(255, 255, 148);
395 background-color: rgba(255, 255, 148, 0.1);
398 path.stroke.tag-landuse,
399 path.stroke.tag-natural-wood,
400 path.stroke.tag-natural-tree,
401 path.stroke.tag-natural-grassland,
402 path.stroke.tag-natural-grass,
403 path.stroke.tag-leisure-pitch,
404 path.stroke.tag-leisure-park {
405 stroke: rgb(140, 208, 95);
407 path.fill.tag-landuse,
408 path.fill.tag-natural-wood,
409 path.fill.tag-natural-tree,
410 path.fill.tag-natural-grassland,
411 path.fill.tag-natural-grass,
412 path.fill.tag-leisure-pitch,
413 path.fill.tag-leisure-park {
414 fill: rgba(140, 208, 95, 0.2);
416 .preset-icon-fill-area.tag-landuse,
417 .preset-icon-fill-area.tag-natural-wood,
418 .preset-icon-fill-area.tag-natural-tree,
419 .preset-icon-fill-area.tag-natural-grassland,
420 .preset-icon-fill-area.tag-natural-grass,
421 .preset-icon-fill-area.tag-leisure-pitch,
422 .preset-icon-fill-area.tag-leisure-park {
423 border-color: rgb(140, 208, 95);
424 background-color: rgba(140, 208, 95, 0.2);
427 path.fill.tag-landuse-residential,
428 path.fill.tag-landuse-retail,
429 path.fill.tag-landuse-commercial,
430 path.fill.tag-landuse-industrial {
435 path.stroke.tag-landuse-residential {
436 stroke: rgb(224, 110, 95);
438 path.fill.tag-landuse-residential {
439 stroke: rgba(224, 110, 95, 0.3);
441 .preset-icon-fill-area.tag-landuse-residential {
442 border-color: rgb(224, 110, 95);
444 box-shadow: inset 0 0 0 5px rgba(224, 110, 95, 0.3);
447 path.stroke.tag-landuse-retail,
448 path.stroke.tag-landuse-commercial {
449 stroke: rgb(234, 176, 86);
451 path.fill.tag-landuse-retail,
452 path.fill.tag-landuse-commercial {
453 stroke: rgba(234, 176, 86, 0.3);
455 .preset-icon-fill-area.tag-landuse-retail,
456 .preset-icon-fill-area.tag-landuse-commercial {
457 border-color: rgb(234, 176, 86);
459 box-shadow: inset 0 0 0 5px rgba(234, 176, 86, 0.3);
462 path.stroke.tag-landuse-industrial {
463 stroke: rgb(228, 164, 245);
465 path.fill.tag-landuse-industrial {
466 stroke: rgba(228, 164, 245, 0.3);
468 .preset-icon-fill-area.tag-landuse-industrial {
469 border-color: rgb(228, 164, 245);
471 box-shadow: inset 0 0 0 5px rgba(228, 164, 245, 0.3);
474 path.stroke.tag-landuse-basin,
475 path.stroke.tag-landuse-reservoir {
476 stroke: rgb(119, 211, 222);
478 path.fill.tag-landuse-basin,
479 path.fill.tag-landuse-reservoir {
480 fill: rgba(119, 211, 222, 0.3);
482 .preset-icon-fill-area.tag-landuse-basin,
483 .preset-icon-fill-area.tag-landuse-reservoir {
484 border-color: rgb(119, 211, 222);
485 background-color: rgba(119, 211, 222, 0.3);
488 path.stroke.tag-landuse-quarry {
489 stroke: rgb(166, 149, 123);
491 path.fill.tag-landuse-quarry {
492 fill: rgba(166, 149, 123, 0.2);
494 .preset-icon-fill-area.tag-landuse-quarry {
495 border-color: rgb(166, 149, 123);
496 background-color: rgba(166, 149, 123, 0.2);
499 path.stroke.tag-landuse-landfill {
500 stroke: rgb(255, 153, 51);
502 path.fill.tag-landuse-landfill {
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 path.stroke.tag-landuse-construction {
511 stroke: rgb(224, 110, 95);
513 .pattern-color-construction {
514 fill: rgba(224, 110, 95, 0.2);
516 .preset-icon-fill-area.tag-landuse-construction {
517 border-color: rgb(224, 110, 95);
518 background-color: rgba(224, 110, 95, 0.2);
521 path.stroke.tag-landuse-military {
522 stroke: rgb(224, 110, 95);
524 .preset-icon-fill-area.tag-landuse-military {
525 border-color: rgb(224, 110, 95);
526 background-color: rgba(224, 110, 95, 0.2);
529 path.stroke.tag-natural-wetland {
530 stroke: rgb(182, 225, 153);
532 .pattern-color-wetland {
533 fill: rgba(182, 225, 153, 0.2);
535 .preset-icon-fill-area.tag-natural-wetland {
536 border-color: rgb(182, 225, 153);
537 background-color: rgba(182, 225, 153, 0.2);
540 path.stroke.tag-landuse-meadow {
541 stroke: rgb(182, 225, 153);
543 .pattern-color-meadow {
544 fill: rgba(182, 225, 153, 0.2);
546 .preset-icon-fill-area.tag-landuse-meadow {
547 border-color: rgb(182, 225, 153);
548 background-color: rgba(182, 225, 153, 0.2);
551 path.stroke.tag-natural-beach {
552 stroke: rgb(255, 255, 126);
554 .pattern-color-beach {
555 fill: rgba(255, 255, 126, 0.2);
557 .preset-icon-fill-area.tag-natural-beach {
558 border-color: rgb(255, 255, 126);
559 background-color: rgba(255, 255, 126, 0.2);
562 path.stroke.tag-natural-scrub {
563 stroke: rgb(219, 240, 139);
565 .pattern-color-scrub {
566 fill: rgba(219, 240, 139, 0.2);
568 .preset-icon-fill-area.tag-natural-scrub {
569 border-color: rgb(219, 240, 139);
570 background-color: rgba(219, 240, 139, 0.2);
574 .pattern-color-farmland {
575 fill: rgba(140, 208, 95, 0.2);
577 .preset-icon-fill-area.tag-landuse-farm,
578 .preset-icon-fill-area.tag-landuse-farmland {
579 background-color: rgba(140, 208, 95, 0.2);
582 .pattern-color-cemetery {
583 fill: rgba(140, 208, 95, 0.2)
585 .preset-icon-fill-area.tag-landuse-cemetery {
586 background-color: rgba(140, 208, 95, 0.2);
589 .pattern-color-orchard {
590 fill: rgba(140, 208, 95, 0.2)
592 .preset-icon-fill-area.tag-landuse-orchard {
593 background-color: rgba(140, 208, 95, 0.8);
596 path.stroke.tag-amenity-parking {
597 stroke: rgb(170, 170, 170);
599 path.fill.tag-amenity-parking {
600 fill: rgba(170, 170, 170, 0.3);
602 .preset-icon-fill-area.tag-amenity-parking {
603 border-color: rgb(170, 170, 170);
604 background-color: rgba(170, 170, 170, 0.3);
608 path.fill.tag-boundary {
614 path.shadow.tag-highway {
617 path.casing.tag-highway {
621 path.stroke.tag-highway {
626 .low-zoom path.shadow.tag-highway {
629 .low-zoom path.casing.tag-highway {
632 .low-zoom path.stroke.tag-highway {
636 path.stroke.tag-highway-motorway,
637 path.stroke.tag-highway-motorway_link,
638 path.stroke.tag-construction-motorway {
642 path.casing.tag-highway-motorway,
643 path.casing.tag-highway-motorway_link,
644 path.casing.tag-construction-motorway {
648 path.stroke.tag-highway-trunk,
649 path.stroke.tag-highway-trunk_link,
650 path.stroke.tag-construction-trunk {
653 path.casing.tag-highway-trunk,
654 path.casing.tag-highway-trunk_link,
655 path.casing.tag-construction-trunk {
659 path.stroke.tag-highway-primary,
660 path.stroke.tag-highway-primary_link,
661 path.stroke.tag-construction-primary {
664 path.casing.tag-highway-primary,
665 path.casing.tag-highway-primary_link,
666 path.casing.tag-construction-primary {
670 path.stroke.tag-highway-secondary,
671 path.stroke.tag-highway-secondary_link,
672 path.stroke.tag-construction-secondary {
675 path.casing.tag-highway-secondary,
676 path.casing.tag-highway-secondary_link,
677 path.casing.tag-construction-secondary {
681 path.stroke.tag-highway-tertiary,
682 path.stroke.tag-highway-tertiary_link,
683 path.stroke.tag-construction-tertiary {
686 path.casing.tag-highway-tertiary,
687 path.casing.tag-highway-tertiary_link,
688 path.casing.tag-construction-tertiary {
692 path.stroke.tag-highway-unclassified,
693 path.stroke.tag-construction-unclassified {
696 path.casing.tag-highway-unclassified,
697 path.casing.tag-construction-unclassified {
701 path.stroke.tag-highway-residential,
702 path.stroke.tag-construction-residential {
705 path.casing.tag-highway-residential,
706 path.casing.tag-construction-residential {
710 path.stroke.tag-highway-living_street {
714 path.casing.tag-highway-living_street {
719 path.stroke.line.tag-highway-pedestrian {
721 stroke-dasharray: 2, 8;
722 stroke-width:4 !important;
723 shapeRendering: auto;
725 path.casing.line.tag-highway-pedestrian {
727 stroke-width:6 !important;
729 path.stroke.area.tag-highway-pedestrian {
734 path.stroke.tag-highway-service {
738 path.casing.tag-highway-service {
742 .low-zoom path.stroke.tag-highway-service {
745 .low-zoom path.casing.tag-highway-service {
749 path.stroke.tag-highway-track {
753 path.casing.tag-highway-track {
756 stroke-linecap: butt;
757 stroke-dasharray: 6, 6;
759 .low-zoom path.stroke.tag-highway-track {
762 .low-zoom path.casing.tag-highway-track {
766 path.stroke.tag-highway-path {
768 stroke-width: 1 !important;
769 stroke-linecap: butt;
770 stroke-dasharray: 8, 4;
772 path.casing.tag-highway-path {
773 stroke-width: 1 !important;
777 path.stroke.tag-highway-footway,
778 path.stroke.tag-highway-cycleway,
779 path.stroke.tag-highway-bridleway {
781 stroke-linecap: butt;
782 stroke-dasharray: 6, 6;
784 path.casing.tag-highway-footway,
785 path.casing.tag-highway-cycleway,
786 path.casing.tag-highway-bridleway {
791 .low-zoom path.stroke.tag-highway-footway,
792 .low-zoom path.stroke.tag-highway-cycleway,
793 .low-zoom path.stroke.tag-highway-bridleway {
796 .low-zoom path.casing.tag-highway-footway,
797 .low-zoom path.casing.tag-highway-cycleway,
798 .low-zoom path.casing.tag-highway-bridleway {
802 path.stroke.tag-highway-footway {
805 path.stroke.tag-highway-cycleway {
808 path.stroke.tag-highway-bridleway {
812 path.stroke.tag-highway-steps {
815 stroke-linecap: butt;
816 stroke-dasharray: 3, 3;
818 path.casing.tag-highway-steps {
825 path.stroke.tag-aeroway-taxiway {
829 path.shadow.tag-aeroway-runway {
832 path.stroke.tag-aeroway-runway {
835 stroke-linecap: butt;
836 stroke-dasharray: 24, 48;
838 path.casing.tag-aeroway-runway {
841 stroke-linecap: square;
843 path.fill.tag-aeroway-runway {
844 fill: rgba(0, 0, 0, 0.6);
846 path.stroke.tag-aeroway-apron {
849 path.fill.tag-aeroway-apron {
850 fill: rgba(128, 92, 128, 0.2);
856 path.stroke.tag-railway {
859 stroke-linecap: butt;
860 stroke-dasharray: 12,12;
863 path.casing.tag-railway {
868 path.stroke.tag-railway-abandoned {
871 path.casing.tag-railway-abandoned {
875 path.stroke.tag-railway-subway {
878 path.casing.tag-railway-subway {
882 path.stroke.tag-railway-platform {
885 stroke-dasharray: none;
887 path.casing.tag-railway-platform {
891 .area.stroke.tag-railway {
894 stroke-dasharray: none;
896 .area.casing.tag-railway {
902 path.fill.tag-waterway {
903 fill: rgba(119, 211, 222, 0.3);
906 path.stroke.tag-waterway {
910 path.casing.tag-waterway {
915 path.stroke.tag-waterway-river {
918 path.casing.tag-waterway-river {
922 path.stroke.tag-waterway-ditch {
926 path.casing.tag-waterway-ditch {
933 path.stroke.tag-power {
937 path.casing.tag-power {
943 path.stroke.tag-boundary {
946 stroke-linecap: butt;
947 stroke-dasharray: 20, 5, 5, 5;
949 path.casing.tag-boundary {
954 path.casing.tag-boundary-protected_area,
955 path.casing.tag-boundary-national_park {
962 path.casing.tag-bridge {
966 stroke-linecap: butt;
969 path.shadow.tag-bridge {
973 path.casing.line.tag-railway.tag-bridge,
974 path.casing.tag-highway-living_street.tag-bridge,
975 path.casing.tag-highway-path.tag-bridge,
976 path.casing.line.tag-highway-pedestrian.tag-bridge,
977 path.casing.tag-highway-service.tag-bridge,
978 path.casing.tag-highway-track.tag-bridge,
979 path.casing.tag-highway-steps.tag-bridge,
980 path.casing.tag-highway-footway.tag-bridge,
981 path.casing.tag-highway-cycleway.tag-bridge,
982 path.casing.tag-highway-bridleway.tag-bridge {
986 path.shadow.line.tag-railway.tag-bridge,
987 path.shadow.tag-highway-living_street.tag-bridge,
988 path.shadow.tag-highway-path.tag-bridge,
989 path.shadow.line.tag-highway-pedestrian.tag-bridge,
990 path.shadow.tag-highway-service.tag-bridge,
991 path.shadow.tag-highway-track.tag-bridge,
992 path.shadow.tag-highway-steps.tag-bridge,
993 path.shadow.tag-highway-footway.tag-bridge,
994 path.shadow.tag-highway-cycleway.tag-bridge,
995 path.shadow.tag-highway-bridleway.tag-bridge {
1000 .low-zoom path.casing.tag-bridge {
1002 stroke-opacity: 0.6;
1004 stroke-linecap: butt;
1007 .low-zoom path.shadow.tag-bridge {
1011 .low-zoom path.casing.line.tag-railway.tag-bridge,
1012 .low-zoom path.casing.tag-highway-living_street.tag-bridge,
1013 .low-zoom path.casing.tag-highway-path.tag-bridge,
1014 .low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
1015 .low-zoom path.casing.tag-highway-service.tag-bridge,
1016 .low-zoom path.casing.tag-highway-track.tag-bridge,
1017 .low-zoom path.casing.tag-highway-steps.tag-bridge,
1018 .low-zoom path.casing.tag-highway-footway.tag-bridge,
1019 .low-zoom path.casing.tag-highway-cycleway.tag-bridge,
1020 .low-zoom path.casing.tag-highway-bridleway.tag-bridge {
1024 .low-zoom path.shadow.line.tag-railway.tag-bridge,
1025 .low-zoom path.shadow.tag-highway-living_street.tag-bridge,
1026 .low-zoom path.shadow.tag-highway-path.tag-bridge,
1027 .low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
1028 .low-zoom path.shadow.tag-highway-service.tag-bridge,
1029 .low-zoom path.shadow.tag-highway-track.tag-bridge,
1030 .low-zoom path.shadow.tag-highway-steps.tag-bridge,
1031 .low-zoom path.shadow.tag-highway-footway.tag-bridge,
1032 .low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
1033 .low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
1041 path.stroke.tag-tunnel {
1042 stroke-opacity: 0.3;
1045 path.casing.tag-tunnel {
1046 stroke-opacity: 0.5;
1049 /* embankments / cuttings */
1051 path.casing.tag-embankment,
1052 path.casing.tag-cutting {
1053 stroke-opacity: 0.5;
1056 stroke-dasharray: 2, 4;
1057 stroke-linecap: butt;
1060 path.shadow.tag-embankment,
1061 path.shadow.tag-cutting {
1065 .low-zoom path.casing.tag-embankment,
1066 .low-zoom path.casing.tag-cutting {
1070 .low-zoom path.shadow.tag-embankment,
1071 .low-zoom path.shadow.tag-cutting {
1078 path.stroke.tag-highway-construction,
1079 path.casing.tag-highway-construction {
1080 stroke-linecap: butt;
1081 stroke-dasharray: 7, 7;
1084 .low-zoom path.stroke.tag-highway-construction,
1085 .low-zoom path.casing.tag-highway-construction {
1086 stroke-linecap: butt;
1087 stroke-dasharray: 5, 5;
1092 pointer-events: none;
1097 .oneway .textpath.tag-waterway {
1101 marker#oneway-marker path {
1112 path.stroke.tag-building,
1113 path.stroke.tag-amenity-shelter {
1114 stroke: rgb(224, 110, 95);
1116 path.fill.tag-building,
1117 path.fill.tag-amenity-shelter {
1118 fill: rgba(224, 110, 95, 0.3);
1120 .preset-icon-fill-area.tag-building,
1121 .preset-icon-fill-area.tag-amenity-shelter {
1122 border-color: rgb(224, 110, 95);
1123 background-color: rgba(224, 110, 95, 0.3);
1131 text.arealabel-halo,
1132 text.linelabel-halo,
1133 text.pointlabel-halo,
1140 text-anchor: middle;
1141 pointer-events: none;
1142 -webkit-transition: opacity 100ms linear;
1143 transition: opacity 100ms linear;
1144 -moz-transition: opacity 100ms linear;
1147 .linelabel-halo .textpath,
1148 .linelabel .textpath {
1149 dominant-baseline: middle;
1152 /* Opera doesn't support dominant-baseline. See #715 */
1153 .opera .linelabel-halo .textpath,
1154 .opera .linelabel .textpath {
1155 baseline-shift: -33%;
1156 dominant-baseline: auto;
1163 stroke-miterlimit: 1;
1179 pointer-events: all;
1182 .form-field-restrictions .vertex {
1183 pointer-events: none;
1184 cursor: auto !important;
1190 cursor: auto; /* Opera */
1191 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1194 .mode-browse .point,
1195 .mode-select .point {
1196 cursor: pointer; /* Opera */
1197 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1200 .mode-select .vertex,
1201 .mode-browse .vertex {
1202 cursor: pointer; /* Opera */
1203 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1207 .mode-select .line {
1208 cursor: pointer; /* Opera */
1209 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1213 .mode-browse .area {
1214 cursor: pointer; /* Opera */
1215 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1218 .mode-select .midpoint,
1219 .mode-browse .midpoint {
1220 cursor: pointer; /* Opera */
1221 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1224 .mode-select .behavior-multiselect .point,
1225 .mode-select .behavior-multiselect .vertex,
1226 .mode-select .behavior-multiselect .line,
1227 .mode-select .behavior-multiselect .area {
1228 cursor: pointer; /* Opera */
1229 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1232 .mode-select .behavior-multiselect .selected {
1233 cursor: pointer; /* Opera */
1234 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1238 #map .vertex:active,
1241 #map .midpoint:active,
1242 #map .mode-select .selected {
1243 cursor: pointer; /* Opera */
1244 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1247 .mode-draw-line #map,
1248 .mode-draw-area #map,
1249 .mode-add-line #map,
1250 .mode-add-area #map,
1251 .mode-drag-node #map {
1252 cursor: crosshair; /* Opera */
1253 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1256 .mode-draw-line .way.hover,
1257 .mode-draw-area .way.hover,
1258 .mode-add-line .way.hover,
1259 .mode-add-area .way.hover,
1260 .mode-drag-node .way.hover {
1261 cursor: crosshair; /* Opera */
1262 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1265 .mode-draw-line .vertex.hover,
1266 .mode-draw-area .vertex.hover,
1267 .mode-add-line .vertex.hover,
1268 .mode-add-area .vertex.hover,
1269 .mode-drag-node .vertex.hover {
1270 cursor: crosshair; /* Opera */
1271 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1274 .mode-add-point #map,
1278 cursor: crosshair; /* Opera */
1279 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1284 cursor: pointer; /* Opera */
1285 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1289 pointer-events: visibleStroke;
1297 pointer-events: none;
1307 .mode-draw-line .vertex.active,
1308 .mode-draw-area .vertex.active,
1309 .mode-drag-node .vertex.active {
1313 .mode-draw-line .way.active,
1314 .mode-draw-area .way.active,
1315 .mode-drag-node .active {
1316 pointer-events: none;
1319 /* Ensure drawing doesn't interact with area fills. */
1320 .mode-add-point .area.fill,
1321 .mode-draw-line .area.fill,
1322 .mode-draw-area .area.fill,
1323 .mode-add-line .area.fill,
1324 .mode-add-area .area.fill,
1325 .mode-drag-node .area.fill {
1326 pointer-events: none;
1329 ------------------------------------------------------- */
1332 Opera misbehaves when the window is resized vertically unless 100% width + height are
1333 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1341 font:normal 12px/1.6667 'Helvetica Neue', Arial, sans-serif;
1351 vertical-align: middle;
1370 /* Can't be display: none or the clippaths are ignored. */
1401 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1402 -moz-box-sizing: border-box;
1403 -webkit-box-sizing: border-box;
1404 box-sizing: border-box;
1407 a, button, input, textarea {
1408 -webkit-tap-highlight-color:rgba(0,0,0,0);
1409 -webkit-touch-callout:none;
1414 .checkselect label:hover,
1415 .opacity-options li,
1417 cursor: pointer; /* Opera */
1418 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1425 margin-bottom: 20px;
1430 h4:last-child { margin-bottom: 0;}
1436 margin-bottom: 10px;
1442 padding-bottom: 10px;
1446 outline-color: transparent;
1447 outline-style: none;
1470 -webkit-transition: all 100ms;
1471 -moz-transition: all 100ms;
1472 -o-transition: all 100ms;
1473 transition: all 100ms;
1481 ------------------------------------------------------- */
1485 font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1495 background-color: white;
1496 border:1px solid #ccc;
1501 text-overflow: ellipsis;
1502 -webkit-transition: all 200ms;
1503 -moz-transition: all 200ms;
1504 -o-transition: all 200ms;
1505 transition: all 200ms;
1510 background-color: #F1F1F1;
1513 input[type="checkbox"],
1514 input[type="radio"] {
1522 /* remove bottom border radius when combobox is open */
1523 .combobox + * textarea:focus,
1524 .combobox + * input:focus {
1525 border-bottom-left-radius: 0 !important;
1526 border-bottom-right-radius: 0 !important;
1532 background-color: white;
1533 border-collapse: collapse;
1542 table.tags, table.tags td, table.tags th {
1543 border: 1px solid #CCC;
1548 ------------------------------------------------------- */
1550 .col0 { float:left; width:04.1666%; }
1551 .col1 { float:left; width:08.3333%; }
1552 .col2 { float:left; width:16.6666%; }
1553 .col3 { float:left; width:25.0000%; max-width: 300px; }
1554 .col4 { float:left; width:33.3333%; max-width: 400px; }
1555 .col5 { float:left; width:41.6666%; max-width: 500px; }
1556 .col6 { float:left; width:50.0000%; max-width: 600px; }
1557 .col7 { float:left; width:58.3333%; }
1558 .col8 { float:left; width:66.6666%; }
1559 .col9 { float:left; width:75.0000%; }
1560 .col10 { float:left; width:83.3333%; }
1561 .col11 { float:left; width:91.6666%; }
1562 .col12 { float:left; width:100.0000%; }
1565 ------------------------------------------------------- */
1567 ul li { list-style: none;}
1569 .toggle-list > label {
1574 background-color: white;
1577 -moz-transition: all 100ms;
1578 -o-transition: all 100ms;
1579 transition: all 100ms;
1582 .toggle-list > label:hover {
1583 background-color: #ececec;
1586 .toggle-list > label:not(:last-child) {
1587 border-bottom: 1px solid #ccc;
1590 .toggle-list > label:last-child {
1591 border-radius: 0 0 3px 3px;
1594 .toggle-list label > span {
1597 white-space: nowrap;
1598 text-overflow: ellipsis;
1601 .toggle-list > label.active {
1602 background: #E8EBFF;
1607 border-left: 1px solid rgba(255,255,255,.5);
1608 padding: 5px 0 5px 5px;
1612 ul.link-list li:last-child {
1619 ------------------------------------------------------- */
1626 background: #f6f6f6;
1631 background: #ececec;
1636 background:rgba(0,0,0,.5);
1641 .fr { float: right;}
1655 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
1659 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
1660 background-size:5px 5px;
1695 display: inline-block;
1698 /* Crashes Safari: https://github.com/openstreetmap/iD/issues/1188 */
1699 /*-webkit-transition: all 100ms;*/
1700 -moz-transition: all 100ms;
1701 -o-transition: all 100ms;
1702 transition: all 100ms;
1707 background-color: #ececec;
1712 background-color: rgba(255,255,255,.25);
1713 color: rgba(0,0,0,.5);
1718 background: #7092ff;
1728 background-color: #fafafa;
1731 button.minor .icon {
1735 button.minor:hover {
1736 background-color: #f1f1f1;
1740 display: inline-block;
1745 .button-wrap button:only-child {
1749 .button-wrap:last-of-type {
1755 border-right: 1px solid rgba(0,0,0,.5);
1758 .joined button:first-child {
1759 border-radius:4px 0 0 4px;
1762 .joined button:last-child {
1763 border-right-width: 0;
1764 border-radius:0 4px 4px 0;
1768 background: #7092ff;
1771 button.action:focus,
1772 button.action:hover {
1773 background: #597BE7;
1776 button.save.has-count {
1780 button.save .count {
1784 button.save.has-count .count {
1788 background: rgba(255, 255, 255, .5);
1795 margin-left: 8.3333%;
1798 button.save.has-count .count::before {
1807 border-top: 6px solid transparent;
1808 border-bottom: 6px solid transparent;
1809 border-right: 6px solid rgba(255,255,255,.5);
1815 display:inline-block;
1819 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 0;
1820 text-indent:-9999px;
1836 /* Definitions for every icon */
1837 .icon.alert { background-position: 0 0;}
1839 .icon.add-point { background-position: -20px 0;}
1841 .icon.add-line { background-position: -40px 0;}
1843 .icon.add-area { background-position: -60px 0;}
1844 .icon.undo { background-position: -80px 0;}
1845 .icon.redo { background-position: -100px 0;}
1846 .icon.apply { background-position: -120px 0;}
1847 .icon.save { background-position: -140px 0;}
1848 .icon.close { background-position: -160px 0;}
1849 .icon.delete { background-position: -180px 0;}
1850 .icon.remove { background-position: -200px 0;}
1851 .icon.inspect { background-position: -220px 0;}
1852 .icon.plus { background-position: -240px 0;}
1853 .icon.search { background-position: -280px 0;}
1854 .icon.geocode { background-position: -280px 0;}
1855 .icon.layers { background-position: -300px 0;}
1856 .icon.avatar { background-position: -320px 0;}
1857 .icon.nearby { background-position: -340px 0;}
1858 .icon.geolocate { background-position: -360px 0;}
1859 .icon.warning { background-position: -380px 0;}
1860 .icon.bug { background-position: -400px 0;}
1861 .icon.back { background-position: -420px 0;}
1862 .icon.forward { background-position: -440px 0;}
1863 .icon.help { background-position: -460px 0;}
1864 .icon.relation { background-position: -520px 0;}
1865 .icon.relation.route { background-position: -540px 0;}
1866 .icon.relation.multipolygon { background-position: -560px 0;}
1867 .icon.vertex { background-position: -580px 0;}
1869 .icon.inspect.light { background-position: -220px -20px;}
1870 .icon.plus.light { background-position: -240px -20px;}
1871 .icon.zoom-in { background-position: -240px -20px;}
1872 .icon.zoom-out { background-position: -260px -20px;}
1873 .icon.geocode.light { background-position: -280px -20px;}
1874 .icon.layers.light { background-position: -300px -20px;}
1875 .icon.avatar.light { background-position: -320px -20px;}
1876 .icon.nearby.light { background-position: -340px -20px;}
1877 .icon.geolocate.light { background-position: -360px -20px;}
1878 .icon.bug.light { background-position: -400px -20px;}
1879 .icon.help.light { background-position: -460px -20px;}
1881 .icon.back.blue { background-position: -420px -20px;}
1882 .icon.forward.blue { background-position: -440px -20px;}
1884 button[disabled] .icon.alert { background-position: 0 -40px;}
1885 button[disabled] .icon.add-point { background-position: -20px -40px;}
1886 button[disabled] .icon.add-line { background-position: -40px -40px;}
1887 button[disabled] .icon.add-area { background-position: -60px -40px;}
1888 button.disabled .icon.undo { background-position: -80px -40px;}
1889 button.disabled .icon.redo { background-position: -100px -40px;}
1890 button[disabled] .apply.icon { background-position: -120px -40px;}
1891 button[disabled] .close.icon { background-position: -160px -40px;}
1892 button[disabled] .delete.icon { background-position: -180px -40px;}
1893 button[disabled] .icon.remove { background-position: -200px -40px;}
1894 button[disabled] .icon.inspect { background-position: -220px -40px;}
1895 button[disabled] .icon.zoom-in { background-position: -240px -40px;}
1896 button[disabled] .icon.zoom-out { background-position: -260px -40px;}
1897 button[disabled] .icon.geocode { background-position: -280px -40px;}
1898 button[disabled] .icon.layers { background-position: -300px -40px;}
1899 button[disabled] .icon.avatar { background-position: -320px -40px;}
1900 button[disabled] .icon.nearby { background-position: -340px -40px;}
1902 .icon.point.deleted { background-position: -302px -80px;}
1903 .icon.line.deleted { background-position: -320px -80px;}
1904 .icon.area.deleted { background-position: -340px -80px;}
1906 .icon.point.created { background-position: -302px -100px;}
1907 .icon.line.created { background-position: -320px -100px;}
1908 .icon.area.created { background-position: -340px -100px;}
1910 .icon.point.modified { background-position: -22px 0; }
1912 .icon.modified { opacity: .5; }
1914 /* Out link is special */
1916 .icon.out-link { height: 14px; width: 14px; background-position: -500px 0;}
1917 a:hover .icon.out-link { background-position: -500px -14px;}
1919 .icon.plus-dark { background-position: -240px -40px;}
1921 /* Universal preset icons */
1923 .icon.source { background-position: 0 -200px;}
1924 .icon.address { background-position: -20px -200px;}
1925 .icon.telephone { background-position: -40px -200px;}
1926 .icon.website { background-position: -60px -200px;}
1927 .icon.elevation { background-position: -80px -200px;}
1928 .icon.wikipedia { background-position: -100px -200px;}
1929 .icon.note { background-position: -120px -200px;}
1930 .icon.wheelchair { background-position: -140px -200px;}
1932 /* ToolBar / Persistent UI Elements
1933 ------------------------------------------------------- */
1946 /* Header for modals / panes
1947 ------------------------------------------------------- */
1950 border-bottom: 1px solid #ccc;
1958 white-space: nowrap;
1959 text-overflow: ellipsis;
1977 .preset-list-pane .header button {
1994 padding: 5px 30px 5px 30px;
1995 border-top: 1px solid #ccc;
1996 background-color: #fafafa;
2000 .sidebar-component .body {
2009 ------------------------------------------------------- */
2017 background: #f6f6f6;
2020 .sidebar-component {
2046 .feature-list-pane .inspector-body {
2050 .preset-list-pane .inspector-body {
2054 .entity-editor-pane .inspector-body {
2058 .selection-list-pane .inspector-body {
2067 #sidebar .search-header .icon {
2072 pointer-events: none;
2075 #sidebar .search-header input {
2083 border-bottom-width: 1px;
2097 .feature-list-item {
2100 border-bottom: 1px solid #ccc;
2104 .feature-list-item .label {
2107 white-space: nowrap;
2108 text-overflow: ellipsis;
2110 border-left: 1px solid rgba(0, 0, 0, .1);
2111 -moz-transition: all 100ms;
2112 -o-transition: all 100ms;
2113 transition: all 100ms;
2116 .feature-list-item .label .icon {
2120 .feature-list-item:hover .label {
2121 background-color: #ececec;
2124 .feature-list-item .entity-type {
2128 .feature-list-item:hover .entity-type {
2132 .feature-list-item .entity-name {
2133 font-weight: normal;
2139 ------------------------------------------------------- */
2145 padding: 20px 20px 10px 20px;
2146 border-bottom: 1px solid #ccc;
2149 .preset-list-button-wrap {
2151 margin-bottom: 10px;
2155 .preset-list-button {
2159 border: 1px solid #ccc;
2162 .preset-list.filtered .preset-list-item:first-child .preset-list-button {
2163 background: #ececec;
2174 .preset-icon-relation {
2179 .preset-list-button .label {
2180 background-color: #f6f6f6;
2189 white-space: nowrap;
2190 text-overflow: ellipsis;
2192 border-left: 1px solid rgba(0, 0, 0, .1);
2193 -moz-transition: all 100ms;
2194 -o-transition: all 100ms;
2195 transition: all 100ms;
2196 border-radius: 0 3px 3px 0;
2199 .preset-list-button:hover .label {
2200 background-color: #ececec;
2203 .preset-list-item button.tag-reference-button {
2205 border: 1px solid #CCC;
2206 border-radius: 0 3px 3px 0;
2211 background: #fafafa;
2214 .preset-list-item button.tag-reference-button .icon {
2218 .current .preset-list-button,
2219 .current .preset-list-button .label {
2220 background-color: #E8EBFF;
2223 .category .preset-list-button:after,
2224 .category .preset-list-button:before {
2228 left: -1px; right: -1px;
2229 border: 1px solid #ccc;
2230 border-bottom: none;
2231 border-radius: 6px 6px 0 0;
2235 .category .preset-list-button:before {
2239 .subgrid .preset-list {
2240 padding: 10px 10px 0 10px;
2244 width: -webkit-calc(100% + 20px);
2249 border: solid rgba(0, 0, 0, 0);
2251 border-bottom-color: #f1f1f1;
2255 margin-left: -webkit-calc(50% - 10px);
2259 /* Preset icon colors */
2261 .preset-icon-fill-area {
2271 .preset-icon-fill-area:after {
2278 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -80px;
2281 /* preset form basics */
2287 .inspector-preset .preset-form {
2289 margin: 0 10px 20px 10px;
2293 .entity-editor-pane .preset-list-item::after {
2302 border: solid rgba(0, 0, 0, 0);
2304 border-bottom-color: #ececec;
2307 .entity-editor-pane .preset-list-item .preset-list-button-wrap {
2313 margin-bottom: 10px;
2315 -webkit-transition: margin-bottom 200ms;
2316 -moz-transition: margin-bottom 200ms;
2317 -o-transition: margin-bottom 200ms;
2318 transition: margin-bottom 200ms;
2321 .form-field:last-child {
2328 border: 1px solid #cfcfcf;
2329 padding: 5px 0 5px 10px;
2330 background: #f6f6f6;
2332 border-radius: 4px 4px 0 0;
2336 .form-label-button-wrap {
2342 background: transparent;
2346 .form-label-button-wrap .icon {
2350 .form-label button {
2351 border-left: 1px solid #CCC;
2355 background: #fafafa;
2358 .form-label .modified-icon,
2359 .form-field .remove-icon {
2363 .modified .form-label .modified-icon,
2364 .present .form-label .remove-icon {
2365 display: inline-block;
2368 .form-field > input,
2369 .form-field > textarea,
2370 .form-field .preset-input-wrap {
2371 border: 1px solid #CCC;
2374 border-radius: 0 0 4px 4px;
2377 .form-field textarea {
2382 border-bottom: 1px solid #CCC
2385 /* Preset form (hover mode) */
2387 .inspector-hover .checkselect label:last-of-type,
2388 .inspector-hover .preset-input-wrap .label,
2389 .inspector-hover input,
2390 .inspector-hover label {
2391 background: #ececec;
2395 .inspector-hover .checkselect label:last-of-type {
2399 /* hide and remove from layout */
2401 .inspector-hover label input[type="checkbox"],
2402 .inspector-hover label input[type="radio"],
2403 .inspector-hover .toggle-list label,
2404 .inspector-hover .toggle-list label span,
2405 .inspector-hover .inspector-inner .add-tag,
2406 .inspector-hover .inspector-inner .add-relation,
2407 .inspector-hover .toggle-list label.remove .icon {
2411 opacity: 0 !important;
2417 /* hide but preserve in layout */
2418 .inspector-hover .entity-editor-pane button.minor,
2419 .inspector-hover .combobox-caret,
2420 .inspector-hover .entity-editor-pane .header button,
2421 .inspector-hover .spin-control,
2422 .inspector-hover .hide-toggle:before,
2423 .inspector-hover .more-buttons,
2424 .inspector-hover .form-label-button-wrap,
2425 .inspector-hover .tag-reference-button,
2426 .inspector-hover .view-on-osm {
2430 /* Styles for raw tag inspector on hover */
2431 .inspector-hover .tag-row .key-wrap,
2432 .inspector-hover .tag-row .input-wrap-position {
2436 .inspector-hover .tag-row:first-child input.value {
2437 border-top-right-radius: 4px;
2440 .inspector-hover .tag-row:last-child input.value {
2441 border-bottom-right-radius: 4px;
2444 .inspector-hover .tag-row:last-child input.key {
2445 border-bottom-left-radius: 4px;
2448 .inspector-hover .inspector-body .more-buttons {
2453 /* Unstyle button fields */
2454 .inspector-hover .toggle-list label.active,
2455 .inspector-hover .entity-editor-pane a.hide-toggle {
2457 background-color: transparent;
2463 .inspector-hover .toggle-list button.active {
2467 /* Add placeholder only on hover for radio buttons */
2468 .inspector-hover .toggle-list .placeholder {
2476 /* Hide placeholder for radio buttons if another is active, or not in hover state */
2477 .toggle-list label.active ~ .placeholder,
2478 .toggle-list .placeholder {
2485 -webkit-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
2486 -moz-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
2487 -o-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
2488 transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
2491 /* first phase hover-to-active animations */
2496 .preset-input-wrap .label {
2497 -webkit-transition: all 200ms;
2498 -moz-transition: all 200ms;
2499 -o-transition: all 200ms;
2500 transition: all 200ms;
2503 /* second phase hover-to-active animations */
2506 .checkselect label:last-of-type {
2507 -webkit-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
2508 -moz-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
2509 -o-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
2510 transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
2513 .entity-editor-pane button.minor,
2515 .entity-editor-pane .header button,
2516 .toggle-list label span,
2520 .hide-toggle:before,
2521 .entity-editor-pane .toggle-list label::before,
2522 .entity-editor-pane .toggle-list label.remove .icon {
2523 -webkit-transition: opacity 200ms 200ms;
2524 -moz-transition: opacity 200ms 200ms;
2525 -o-transition: opacity 200ms 200ms;
2526 transition: opacity 200ms 200ms;
2529 .entity-editor-pane a.hide-toggle {
2530 -webkit-transition: padding-left 200ms 200ms, color 200ms 200ms;
2531 -moz-transition: padding-left 200ms 200ms, color 200ms 200ms;
2532 -o-transition: padding-left 200ms 200ms, color 200ms 200ms;
2533 transition: padding-left 200ms 200ms, color 200ms 200ms;
2536 .entity-editor-pane .toggle-list label:not(.active) {
2537 -webkit-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
2538 -moz-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
2539 -o-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
2540 transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
2543 .entity-editor-pane .toggle-list label {
2544 -webkit-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
2545 -moz-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
2546 -o-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
2547 transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
2550 /* adding additional preset fields */
2552 .inspector-body .more-buttons {
2555 -webkit-transition: padding 200ms 200ms, max-height 200ms 200ms;
2556 -moz-transition: padding 200ms 200ms, max-height 200ms 200ms;
2557 -o-transition: padding 200ms 200ms, max-height 200ms 200ms;
2558 transition: padding 200ms 200ms, max-height 200ms 200ms;
2561 button.preset-add-field {
2562 background: #f6f6f6;
2565 -webkit-transition: width 200ms;
2566 -moz-transition: width 200ms;
2567 -o-transition: width 200ms;
2568 transition: width 200ms;
2571 button.preset-add-field:hover {
2572 background: #ececec;
2575 /* set width based on # of buttons */
2577 button.preset-add-field:only-child {
2581 button.preset-add-field:nth-last-child(2),
2582 button.preset-add-field:nth-last-child(2) ~ button.preset-add-field {
2586 button.preset-add-field:nth-last-child(3),
2587 button.preset-add-field:nth-last-child(3) ~ button.preset-add-field {
2591 button.preset-add-field:nth-last-child(4),
2592 button.preset-add-field:nth-last-child(4) ~ button.preset-add-field {
2596 button.preset-add-field:nth-last-child(5),
2597 button.preset-add-field:nth-last-child(5) ~ button.preset-add-field {
2601 button.preset-add-field:nth-last-child(6),
2602 button.preset-add-field:nth-last-child(6) ~ button.preset-add-field {
2606 button.preset-add-field:nth-last-child(7),
2607 button.preset-add-field:nth-last-child(7) ~ button.preset-add-field {
2611 button.preset-add-field:nth-last-child(8),
2612 button.preset-add-field:nth-last-child(8) ~ button.preset-add-field {
2616 .preset-fav button.fav {
2622 /* preset form access */
2624 .preset-input-wrap .label {
2626 background: #F6F6F6;
2630 .form-field-access .preset-input-wrap li {
2631 border-bottom: 1px solid #CCC;
2633 .form-field-access .preset-input-wrap li:last-child {
2637 .preset-input-access-wrap input {
2640 border-left-width: 1px;
2643 .preset-input-wrap li:last-child input {
2644 border-bottom-right-radius: 4px;
2647 /* preset form numbers */
2649 input[type=number] {
2657 display: inline-block;
2659 margin-bottom: -11px;
2663 .spin-control button {
2669 border-left: 1px solid #CCC;
2671 background: rgba(0, 0, 0, 0);
2674 .spin-control button.decrement {
2675 border-bottom-right-radius: 3px;
2678 .spin-control button.decrement::after,
2679 .spin-control button.increment::after {
2681 height: 0; width: 0;
2683 left: 0; right: 0; bottom: 0; top: 0;
2687 .spin-control button.decrement::after {
2688 border-top: 5px solid #CCC;
2689 border-left: 5px solid transparent;
2690 border-right: 5px solid transparent;
2693 .spin-control button.increment::after {
2694 border-bottom: 5px solid #CCC;
2695 border-left: 5px solid transparent;
2696 border-right: 5px solid transparent;
2699 /* preset form checkbox */
2701 .checkselect label:last-of-type {
2708 .checkselect label:hover {
2709 background: #f1f1f1;
2716 .checkselect label:not(.set) input[type="checkbox"] {
2720 /* Preset form radio button */
2722 .toggle-list button.remove {
2723 border-radius: 0 0 3px 3px;
2726 .toggle-list button.remove .icon {
2731 .toggle-list button.remove::before {
2735 .form-field .wiki-lang {
2739 .form-field .wiki-title {
2743 .form-field .wiki-title ~ .combobox-caret {
2748 .form-field .wiki-link {
2750 background: #fafafa;
2755 .form-field .wiki-link:hover {
2756 background: #f1f1f1;
2759 #preset-input-maxspeed {
2761 border-radius: 0 0 0 4px;
2765 .form-field .maxspeed-unit {
2766 border-radius: 0 0 4px 0;
2770 /* Name + translate form */
2772 .form-field .localized-main {
2776 .form-field .button-input-action {
2781 border: 1px solid #CCC;
2782 border-top-width: 0;
2783 border-right-width: 0;
2784 border-radius: 0 0 4px 0;
2786 vertical-align: top;
2789 .form-field .localized-wrap {
2793 .form-field .localized-wrap .entry {
2798 .form-field .localized-wrap .entry::before {
2811 .form-field .localized-wrap .entry .localized-lang {
2813 border-top-width: 0;
2816 .form-field .localized-wrap .entry .localized-value {
2817 border-top-width: 0;
2818 border-radius: 0 0 4px 4px;
2821 .form-field .localized-wrap .form-label button {
2822 border-top-right-radius: 3px;
2825 /* Preset form address */
2832 .addr-row:first-of-type input {
2836 .addr-row input:first-of-type {
2844 .addr-row:last-of-type input:first-of-type {
2845 border-radius: 0 0 0 4px;
2848 .addr-row:last-of-type input:last-of-type {
2849 border-radius: 0 0 4px 0;
2852 /* Restrictions editor */
2854 .form-field-restrictions .preset-input-wrap {
2859 .form-field-restrictions svg {
2864 .form-field-restrictions .restriction-help {
2871 background-color: rgba(255, 255, 255, .8);
2876 /* combobox dropdown */
2881 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
2887 border: 1px solid #ccc;
2888 border-radius: 0 0 4px 4px;
2894 border-top:1px solid #ccc;
2895 text-overflow: ellipsis;
2896 white-space: nowrap;
2900 .combobox a.selected,
2902 background: #ececec;
2905 .combobox a:first-child {
2910 display: inline-block;
2915 vertical-align: top;
2918 .combobox-caret::after {
2920 height: 0; width: 0;
2922 left: 0; right: 0; bottom: 0; top: 0;
2924 border-top: 5px solid #ccc;
2925 border-left: 5px solid transparent;
2926 border-right: 5px solid transparent;
2929 /* Raw Tag Editor */
2945 border-bottom: 1px solid #CCC;
2946 border-left: 1px solid #CCC;
2950 .tag-row .input-wrap-position {
2954 -webkit-transition: width 200ms;
2955 -moz-transition: width 200ms;
2956 -o-transition: width 200ms;
2957 transition: width 200ms;
2960 .tag-row input.key {
2962 background-color: #f6f6f6;
2965 .tag-row input.value {
2966 border-right: 1px solid #CCC;
2969 .tag-row:first-child input.key {
2970 border-top: 1px solid #CCC;
2971 border-top-left-radius: 4px;
2974 .tag-row:first-child input.value {
2975 border-top: 1px solid #CCC;
2982 border: 1px solid #CCC;
2983 border-top-width: 0;
2984 border-left-width: 0;
2987 .tag-row button:hover {
2988 background: #f1f1f1;
2991 .tag-row button .icon {
2995 .tag-row:first-child button {
2996 border-top-width: 1px;
2999 .tag-row:first-child .tag-reference-button {
3000 border-top-right-radius: 4px;
3003 .tag-row:last-child .tag-reference-button {
3004 border-bottom-right-radius: 4px;
3007 .tag-row .tag-reference-button {
3012 background: #fafafa;
3015 /* Adding form fields to tag editor */
3017 .inspector-inner .add-tag {
3021 background: rgba(0,0,0,.5);
3022 border-radius: 0 0 4px 4px;
3025 .inspector-inner .add-tag:hover {
3026 background: rgba(0,0,0,.8);
3029 .inspector-inner .add-tag .label {
3035 button.minor.tag-reference-loading {
3036 background-color: #f5f5f5;
3039 .tag-reference-loading .icon {
3040 background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
3041 background-position: 0 0;
3044 .tag-reference-body {
3049 .tag-reference-body p,
3050 .tag-reference-body img {
3054 .tag-reference-body p:last-child {
3055 padding-bottom: 10px;
3058 .tag-reference-body a {
3060 padding-bottom: 10px;
3063 .preset-list .tag-reference-body {
3068 .preset-list .tag-reference-body a {
3069 padding-bottom: 20px;
3072 .preset-list .tag-reference-body p,
3073 .preset-list .tag-reference-body img {
3077 .raw-tag-editor .tag-reference-body {
3078 border-bottom: 1px solid #ccc;
3083 .raw-tag-editor .tag-reference-body p:last-child {
3084 padding-bottom: 20px;
3087 .raw-tag-editor .tag-reference-body a {
3088 padding-bottom: 20px;
3094 width: -webkit-calc(33.3333% - 10px);
3095 width: calc(33.3333% - 10px);
3100 margin-bottom: 20px;
3103 /* Raw relation membership editor */
3105 .raw-member-editor .member-list li:first-child,
3106 .raw-membership-editor .member-list li:first-child {
3110 .raw-member-editor .member-row,
3111 .raw-membership-editor .member-row {
3115 .raw-member-editor .member-row .member-entity-name,
3116 .raw-membership-editor .member-row .member-entity-name {
3117 font-weight: normal;
3121 .member-incomplete .member-delete {
3125 .member-row-new .member-entity-input {
3126 border-radius: 4px 4px 0 0;
3127 border: 1px solid #cfcfcf;
3133 background: rgba(0,0,0,.5);
3138 .add-relation:hover {
3139 background: rgba(0,0,0,.8);
3152 .map-control > button {
3154 background: rgba(0,0,0,.5);
3158 .map-control > button:hover {
3159 background: rgba(0, 0, 0, .8);
3162 .map-control > button.active,
3163 .map-control > button.active:hover {
3164 background: #7092ff;
3169 .zoombuttons button.zoom-in {
3170 border-radius: 4px 0 0 0;
3173 /* Background Settings */
3175 .background-control button {
3176 border-radius: 4px 0 0 0;
3179 .background-control {
3184 border: 1px solid #CCC;
3187 .background-control .adjustments button:last-child {
3191 .background-control .hide-toggle {
3192 padding-bottom: 10px;
3196 margin-bottom: 10px;
3197 border: 1px solid #CCC;
3204 background-color: white;
3208 .layer-list > li:first-child {
3209 border-radius: 3px 3px 0 0;
3212 .layer-list > li:last-child {
3213 border-radius: 0 0 3px 3px;
3216 .layer-list > li:only-child {
3220 .layer-list li:not(:last-child) {
3221 border-bottom: 1px solid #ccc;
3224 .layer-list li:hover {
3225 background-color: #ececec;
3228 .layer-list li.active {
3229 background: #E8EBFF;
3238 .layer-list label > span {
3241 white-space: nowrap;
3242 text-overflow: ellipsis;
3251 .hide-toggle:before {
3259 border-top: 4px solid transparent;
3260 border-bottom: 4px solid transparent;
3261 border-left: 8px solid #7092ff;
3264 .hide-toggle.expanded:before {
3265 border-top: 8px solid #7092ff;
3267 border-right: 4px solid transparent;
3268 border-left: 4px solid transparent;
3271 .background-control .nudge-container button {
3275 border-right: 1px solid #CCC;
3279 .background-control .nudge::after {
3284 left: 0; right: 0; top: 0; bottom: 0;
3289 .background-control .nudge.left::after {
3290 border-top: 5px solid transparent;
3291 border-bottom: 5px solid transparent;
3292 border-left: 5px solid #222;
3295 .background-control .nudge.right::after {
3296 border-top: 5px solid transparent;
3297 border-bottom: 5px solid transparent;
3298 border-right: 5px solid #222;
3301 .background-control .nudge.top::after {
3302 border-right: 5px solid transparent;
3303 border-left: 5px solid transparent;
3304 border-bottom: 5px solid #222;
3307 .background-control .nudge.bottom::after {
3308 border-right: 5px solid transparent;
3309 border-left: 5px solid transparent;
3310 border-top: 5px solid #222;
3314 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
3320 border: 1px solid #ccc;
3323 .opacity-options li {
3329 .opacity-options li .select-box{
3336 .background-control li:hover .select-box,
3337 .background-control li.selected .select-box {
3338 border: 2px solid #7092ff;
3339 background: rgba(89, 123, 231, .5);
3343 .background-control li.selected:hover .select-box,
3344 .background-control li.selected .select-box {
3348 .background-control .opacity {
3350 display:inline-block;
3355 .background-control .layer-list button {
3359 border-left: 1px solid #CCC;
3363 .background-control .layer-list button .icon {
3367 .background-control .layer-list button:first-of-type {
3368 border-radius: 0 3px 3px 0;
3373 .geolocate-control {
3374 margin-bottom: 10px;
3377 .geolocate-control button {
3378 border-radius: 0 0 0 4px;
3381 .map-overlay.content {
3385 padding: 20px 50px 20px 20px;
3390 .background-control .map-overlay {
3395 .help-control button {
3396 border-radius: 0 0 0 4px;
3401 margin-bottom: 20px;
3404 .help-wrap .left-content .body p code {
3410 /* This is two columns, 41.66666 x .4 = 16.6666 */
3414 margin-bottom: 20px;
3418 .help-wrap .toc li a,
3421 border: 1px solid #CCC;
3425 .help-wrap .toc li a {
3429 .help-wrap .toc li a:hover,
3430 .help-wrap .nav a:hover {
3431 background: #ececec;
3434 .help-wrap .toc li a.selected {
3435 background: #E8EBFF;
3438 .help-wrap .toc li:first-child a {
3439 border-radius: 4px 4px 0 0;
3442 .help-wrap .toc li:nth-last-child(2) a {
3443 border-bottom: 1px solid #CCC;
3444 border-radius: 0 0 4px 4px
3447 .help-wrap .toc li.walkthrough a {
3450 border-bottom: 1px solid #ccc;
3464 .help-wrap .nav a:first-child {
3465 border-radius: 4px 0 0 4px;
3468 .help-wrap .nav a:last-child:not(:only-child) {
3469 border-radius: 0 4px 4px 0;
3473 .help-wrap .nav a:only-child {
3479 ------------------------------------------------------- */
3489 transform-origin:0 0;
3490 -ms-transform-origin:0 0;
3491 -webkit-transform-origin:0 0;
3492 -moz-transform-origin:0 0;
3493 -o-transform-origin:0 0;
3494 -moz-user-select: none;
3495 -webkit-user-select: none;
3496 -ms-user-select: none;
3500 #supersurface, .layer-layer {
3509 ------------------------------------------------------- */
3518 -webkit-transition: opacity 200ms;
3519 -moz-transition: opacity 200ms;
3520 transition: opacity 200ms;
3528 display: table-cell;
3529 vertical-align: bottom;
3547 font: 12px sans-serif;
3557 shape-rendering: crispEdges;
3567 padding: 2px 4px 4px 4px;
3570 .source-switch a.live {
3571 background: #d32232;
3575 /* Attribution overlay */
3576 .base-layer-attribution,
3577 .overlay-layer-attribution {
3584 .base-layer-attribution {
3588 .overlay-layer-attribution {
3592 .overlay-layer-attribution .attribution:not(:last-child):after {
3601 .user-list a:not(:last-child):after {
3612 .api-status.offline,
3613 .api-status.readonly,
3620 ------------------------------------------------------- */
3623 display: inline-block;
3632 margin-bottom: 10px;
3635 .modal .description {
3651 background:rgba(0,0,0,0.5);
3653 left:0px; right:0px; top:0px; bottom:0px;
3658 border-bottom: 1px solid #CCC;
3661 .modal-section:last-child {
3669 .modal-actions button,
3670 .save-success a.button {
3671 font-weight: normal;
3673 border-bottom: 1px solid #CCC;
3677 display: inline-block;
3680 .modal-actions button:hover
3681 .save-success a.button:hover {
3682 background-color: #ececec;
3685 .modal-actions button:before,
3686 .save-success a.button:before,
3687 .walkthrough a:before {
3693 margin-bottom: 10px;
3694 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -220px;
3697 .modal-actions :first-child {
3698 border-right: 1px solid #CCC;
3702 ------------------------------------------------------- */
3704 .modal-actions .restore:before {
3705 background-position: -600px -220px;
3708 .modal-actions .reset:before {
3709 background-position: -700px -220px;
3713 ------------------------------------------------------- */
3719 .save-success .button {
3723 .save-success .button.social {
3727 .save-success .button.social:before {
3731 .save-success .button.osm:before {
3732 background-position: 0px -220px;
3735 .save-success .button.twitter:before {
3736 background-position: -100px -245px;
3739 .save-success .button.facebook:before {
3740 background-position: -200px -245px;
3743 .save-success .button.google:before {
3744 background-position: -300px -245px;
3748 ------------------------------------------------------- */
3750 .modal-actions .walkthrough:before,
3751 .walkthrough a:before {
3752 background-position: -400px -220px;
3755 .modal-actions .start:before {
3756 background-position: -500px -220px;
3760 ------------------------------------------------------- */
3762 .mode-save a.user-info {
3763 display: inline-block;
3766 .mode-save .commit-form {
3770 .mode-save button.action {
3778 .mode-save .user-info img {
3782 .mode-save h3 small.count {
3796 .mode-save .commit-info {
3797 margin-bottom: 10px;
3800 .mode-save .changeset-list {
3801 border:1px solid #ccc;
3806 .mode-save .warning-section .changeset-list button {
3807 border-left: 1px solid #CCC;
3810 .mode-save .changeset-list li {
3812 border-top:1px solid #ccc;
3817 .mode-save .changeset-list li:hover {
3818 background-color: #ececec;
3821 .mode-save .changeset-list .alert {
3825 .changeset-list li span.count {
3830 .mode-save .commit-section .changeset-list button {
3831 border-left: 1px solid #CCC;
3834 .changeset-list li span.count:before { content: '('; }
3836 .changeset-list li span.count:after { content: ')'; }
3838 .changeset-list li:first-child { border-top: 0;}
3841 ------------------------------------------------------- */
3863 .notice .zoom-to:hover {
3864 background: #d8e1ff;
3867 .notice .zoom-to .icon {
3872 .icon.zoom-in-invert {
3873 background-position: -240px -40px;
3877 ------------------------------------------------------- */
3914 display: inline-block;
3918 font-weight: normal;
3919 background-color: white;
3925 pointer-events: none;
3929 background: transparent;
3937 border-color: transparent;
3938 border-style: solid;
3942 border-left-color: white;
3943 border-width: 5px 0 5px 5px;
3961 border-color: transparent;
3962 border-style: solid;
3966 border-right-color: white;
3967 border-width: 5px 5px 5px 0;
3974 border-color: transparent;
3975 border-style: solid;
3978 .tooltip.top .tooltip-arrow {
3982 border-top-color: white;
3983 border-width: 5px 5px 0;
3986 .tooltip.right .tooltip-arrow {
3990 border-right-color: white;
3991 border-width: 5px 5px 5px 0;
3994 .tooltip.left .tooltip-arrow {
3998 border-left-color: white;
3999 border-width: 5px 0 5px 5px;
4002 .tooltip.bottom .tooltip-arrow {
4006 border-bottom-color: white;
4007 border-width: 0 5px 5px;
4011 background: #F6F6F6;
4013 margin: 10px -10px -10px;
4016 .tooltip-inner .keyhint {
4020 display: inline-block;
4022 border: 1px solid #CCC;
4028 .tooltip-inner .keyhint::after {
4037 border: 1px solid #CCC;
4041 /* Exceptions for tooltip layouts */
4043 /* make tooltips in panels dark */
4044 .map-overlay .tooltip.top .tooltip-arrow,
4045 .entity-editor-pane .tooltip.top .tooltip-arrow,
4046 .warning-section .tooltip.top .tooltip-arrow {
4047 border-top-color: #000;
4050 .map-overlay .tooltip.bottom .tooltip-arrow,
4051 .entity-editor-pane .tooltip.bottom .tooltip-arrow,
4052 .warning-section .tooltip.bottom .tooltip-arrow {
4053 border-bottom-color: #000;
4056 .map-overlay .tooltip.left .tooltip-arrow,
4057 .entity-editor-pane .tooltip.left .tooltip-arrow,
4058 .warning-section .tooltip.left .tooltip-arrow {
4059 border-left-color: #000;
4062 .map-overlay .tooltip.right .tooltip-arrow,
4063 .entity-editor-pane .tooltip.right .tooltip-arrow,
4064 .warning-section .tooltip.right .tooltip-arrow {
4065 border-right-color: #000;
4068 .map-overlay .tooltip-inner,
4069 .entity-editor-pane .tooltip-inner,
4070 .warning-section .tooltip-inner {
4074 /* commit warning tooltips need to be closer */
4075 .warning-section .tooltip.top {
4079 /* Uncramp map-control tooltips */
4080 .map-control .tooltip {
4083 /* Move over tooltips that are near the edge of screen */
4084 .add-point .tooltip {
4085 left: 33.3333% !important;
4088 .curtain-tooltip.intro-points-add .tooltip-arrow,
4089 .add-point .tooltip .tooltip-arrow {
4093 .radial-menu-tooltip {
4100 .radial-menu-background {
4102 stroke-opacity: 0.5;
4109 .radial-menu-item:hover {
4113 .radial-menu-item:active {
4117 .radial-menu-item.disabled {
4119 fill: rgba(255,255,255,.5);
4127 stroke-dasharray: 5, 5;
4131 ------------------------------------------------------- */
4133 @media only screen and (max-width: 840px) {
4134 #bar .icon.icon-pre-text { margin-right: 0;}
4135 /* override hide for save button */
4136 #bar .save .label { display: block;}
4140 ----------------------------------------------------- */
4142 ::-webkit-scrollbar {
4147 border-left: 1px solid #DDD;
4150 ::-webkit-scrollbar-track {
4151 background-clip: padding-box;
4152 border: solid transparent;
4156 ::-webkit-scrollbar-thumb {
4157 background-color: rgba(0,0,0,.2);
4158 background-clip: padding-box;
4159 border: solid transparent;
4160 border-width: 3px 3px 3px 4px;
4163 ::-webkit-scrollbar-track:hover,
4164 ::-webkit-scrollbar-track:active {
4165 background-color: rgba(0,0,0,.05);
4168 /* Intro walkthrough
4169 ----------------------------------------------------- */
4172 pointer-events: all;
4187 .intro-nav-wrap button.step {
4191 .intro-nav-wrap button.step.finished {
4192 background: #8cd05f;
4195 .intro-nav-wrap button.step .icon {
4199 .intro-nav-wrap button.step.finished .icon {
4200 display: inline-block;
4204 .curtain-tooltip .tooltip-inner {
4209 .curtain-tooltip .tooltip-inner {
4213 .curtain-tooltip .tooltip-inner .bold {
4216 border-top: 1px solid #CCC;
4219 margin-right: -20px;
4220 padding: 10px 20px 0 20px;
4223 .curtain-tooltip .tooltip-inner .bold:only-child {
4229 .curtain-tooltip.intro-points-describe {
4230 top: 133px !important;
4233 /* Tooltip illustrations */
4235 .intro-points-add .tooltip-inner::before,
4236 .intro-areas-add .tooltip-inner::before,
4237 .intro-lines-add .tooltip-inner::before {
4243 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -320px;
4246 .intro-areas-add .tooltip-inner::before {
4247 background-position: 0 -400px;
4250 .intro-lines-add .tooltip-inner::before {
4251 background-position: 0 -480px;
4254 .huge-modal-button {
4260 .huge-modal-button .illustration {
4263 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -400px -220px;
4266 /* This file is generated by make. Do NOT edit manually. */
4268 .preset-icon{background-image:url(<%= asset_path("iD/img/maki-sprite.png") %>);background-repeat:no-repeat;width:24px;height:24px;}
4269 .preset-icon-line{background-image:url(<%= asset_path("iD/img/line-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
4270 .preset-icon-relation{background-image:url(<%= asset_path("iD/img/relation-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
4271 .feature-circle-stroked{background-position:-0px -0px;}
4272 .feature-circle{background-position:-54px -0px;}
4273 .feature-square-stroked{background-position:-108px -0px;}
4274 .feature-square{background-position:-162px -0px;}
4275 .feature-triangle-stroked{background-position:-216px -0px;}
4276 .feature-triangle{background-position:-0px -24px;}
4277 .feature-star-stroked{background-position:-54px -24px;}
4278 .feature-star{background-position:-108px -24px;}
4279 .feature-cross{background-position:-162px -24px;}
4280 .feature-marker-stroked{background-position:-216px -24px;}
4281 .feature-marker{background-position:-0px -48px;}
4282 .feature-religious-jewish{background-position:-54px -48px;}
4283 .feature-religious-christian{background-position:-108px -48px;}
4284 .feature-religious-muslim{background-position:-162px -48px;}
4285 .feature-cemetery{background-position:-216px -48px;}
4286 .feature-rocket{background-position:-0px -72px;}
4287 .feature-airport{background-position:-54px -72px;}
4288 .feature-heliport{background-position:-108px -72px;}
4289 .feature-rail{background-position:-162px -72px;}
4290 .feature-rail-metro{background-position:-216px -72px;}
4291 .feature-rail-light{background-position:-0px -96px;}
4292 .feature-bus{background-position:-54px -96px;}
4293 .feature-fuel{background-position:-108px -96px;}
4294 .feature-parking{background-position:-162px -96px;}
4295 .feature-parking-garage{background-position:-216px -96px;}
4296 .feature-airfield{background-position:-0px -120px;}
4297 .feature-roadblock{background-position:-54px -120px;}
4298 .feature-ferry{background-position:-108px -120px;}
4299 .feature-harbor{background-position:-162px -120px;}
4300 .feature-bicycle{background-position:-216px -120px;}
4301 .feature-park{background-position:-0px -144px;}
4302 .feature-park2{background-position:-54px -144px;}
4303 .feature-museum{background-position:-108px -144px;}
4304 .feature-lodging{background-position:-162px -144px;}
4305 .feature-monument{background-position:-216px -144px;}
4306 .feature-zoo{background-position:-0px -168px;}
4307 .feature-garden{background-position:-54px -168px;}
4308 .feature-campsite{background-position:-108px -168px;}
4309 .feature-theatre{background-position:-162px -168px;}
4310 .feature-art-gallery{background-position:-216px -168px;}
4311 .feature-pitch{background-position:-0px -192px;}
4312 .feature-soccer{background-position:-54px -192px;}
4313 .feature-america-football{background-position:-108px -192px;}
4314 .feature-tennis{background-position:-162px -192px;}
4315 .feature-basketball{background-position:-216px -192px;}
4316 .feature-baseball{background-position:-0px -216px;}
4317 .feature-golf{background-position:-54px -216px;}
4318 .feature-swimming{background-position:-108px -216px;}
4319 .feature-cricket{background-position:-162px -216px;}
4320 .feature-skiing{background-position:-216px -216px;}
4321 .feature-school{background-position:-0px -240px;}
4322 .feature-college{background-position:-54px -240px;}
4323 .feature-library{background-position:-108px -240px;}
4324 .feature-post{background-position:-162px -240px;}
4325 .feature-fire-station{background-position:-216px -240px;}
4326 .feature-town-hall{background-position:-0px -264px;}
4327 .feature-police{background-position:-54px -264px;}
4328 .feature-prison{background-position:-108px -264px;}
4329 .feature-embassy{background-position:-162px -264px;}
4330 .feature-beer{background-position:-216px -264px;}
4331 .feature-restaurant{background-position:-0px -288px;}
4332 .feature-cafe{background-position:-54px -288px;}
4333 .feature-shop{background-position:-108px -288px;}
4334 .feature-fast-food{background-position:-162px -288px;}
4335 .feature-bar{background-position:-216px -288px;}
4336 .feature-bank{background-position:-0px -312px;}
4337 .feature-grocery{background-position:-54px -312px;}
4338 .feature-cinema{background-position:-108px -312px;}
4339 .feature-pharmacy{background-position:-162px -312px;}
4340 .feature-hospital{background-position:-216px -312px;}
4341 .feature-danger{background-position:-0px -336px;}
4342 .feature-industrial{background-position:-54px -336px;}
4343 .feature-warehouse{background-position:-108px -336px;}
4344 .feature-commercial{background-position:-162px -336px;}
4345 .feature-building{background-position:-216px -336px;}
4346 .feature-place-of-worship{background-position:-0px -360px;}
4347 .feature-alcohol-shop{background-position:-54px -360px;}
4348 .feature-logging{background-position:-108px -360px;}
4349 .feature-oil-well{background-position:-162px -360px;}
4350 .feature-slaughterhouse{background-position:-216px -360px;}
4351 .feature-dam{background-position:-0px -384px;}
4352 .feature-water{background-position:-54px -384px;}
4353 .feature-wetland{background-position:-108px -384px;}
4354 .feature-disability{background-position:-162px -384px;}
4355 .feature-telephone{background-position:-216px -384px;}
4356 .feature-emergency-telephone{background-position:-0px -408px;}
4357 .feature-toilets{background-position:-54px -408px;}
4358 .feature-waste-basket{background-position:-108px -408px;}
4359 .feature-music{background-position:-162px -408px;}
4360 .feature-land-use{background-position:-216px -408px;}
4361 .feature-city{background-position:-0px -432px;}
4362 .feature-town{background-position:-54px -432px;}
4363 .feature-village{background-position:-108px -432px;}
4364 .feature-farm{background-position:-162px -432px;}
4365 .feature-bakery{background-position:-216px -432px;}
4366 .feature-dog-park{background-position:-0px -456px;}
4367 .feature-lighthouse{background-position:-54px -456px;}
4368 .feature-clothing-store{background-position:-108px -456px;}
4369 .feature-polling-place{background-position:-162px -456px;}
4370 .feature-playground{background-position:-216px -456px;}
4371 .feature-entrance{background-position:-0px -480px;}
4372 .feature-heart{background-position:-54px -480px;}
4373 .feature-london-underground{background-position:-108px -480px;}
4374 .feature-minefield{background-position:-162px -480px;}
4375 .feature-rail-underground{background-position:-216px -480px;}
4376 .feature-rail-above{background-position:-0px -504px;}
4377 .feature-camera{background-position:-54px -504px;}
4378 .feature-laundry{background-position:-108px -504px;}
4379 .feature-car{background-position:-162px -504px;}
4380 .feature-suitcase{background-position:-216px -504px;}
4381 .feature-hairdresser{background-position:-0px -528px;}
4382 .feature-chemist{background-position:-54px -528px;}
4383 .feature-mobilephone{background-position:-108px -528px;}
4384 .feature-scooter{background-position:-162px -528px;}
4385 .preset-icon-line.feature-highway-motorway{background-position:-20px -25px;}
4386 .preset-icon-line.feature-highway-trunk{background-position:-80px -25px;}
4387 .preset-icon-line.feature-highway-primary{background-position:-140px -25px;}
4388 .preset-icon-line.feature-highway-secondary{background-position:-200px -25px;}
4389 .preset-icon-line.feature-highway-tertiary{background-position:-260px -25px;}
4390 .preset-icon-line.feature-highway-motorway-link{background-position:-320px -25px;}
4391 .preset-icon-line.feature-highway-trunk-link{background-position:-380px -25px;}
4392 .preset-icon-line.feature-highway-primary-link{background-position:-440px -25px;}
4393 .preset-icon-line.feature-highway-secondary-link{background-position:-500px -25px;}
4394 .preset-icon-line.feature-highway-tertiary-link{background-position:-560px -25px;}
4395 .preset-icon-line.feature-highway-residential{background-position:-620px -25px;}
4396 .preset-icon-line.feature-highway-unclassified{background-position:-680px -25px;}
4397 .preset-icon-line.feature-highway-service{background-position:-740px -25px;}
4398 .preset-icon-line.feature-highway-road{background-position:-800px -25px;}
4399 .preset-icon-line.feature-highway-track{background-position:-860px -25px;}
4400 .preset-icon-line.feature-highway-living-street{background-position:-920px -25px;}
4401 .preset-icon-line.feature-highway-path{background-position:-980px -25px;}
4402 .preset-icon-line.feature-highway-cycleway{background-position:-1040px -25px;}
4403 .preset-icon-line.feature-highway-footway{background-position:-1100px -25px;}
4404 .preset-icon-line.feature-highway-bridleway{background-position:-1160px -25px;}
4405 .preset-icon-line.feature-highway-steps{background-position:-1220px -25px;}
4406 .preset-icon-line.feature-railway-rail{background-position:-1280px -25px;}
4407 .preset-icon-line.feature-railway-disused{background-position:-1340px -25px;}
4408 .preset-icon-line.feature-railway-abandoned{background-position:-1400px -25px;}
4409 .preset-icon-line.feature-railway-subway{background-position:-1460px -25px;}
4410 .preset-icon-line.feature-railway-light-rail{background-position:-1520px -25px;}
4411 .preset-icon-line.feature-railway-monorail{background-position:-1580px -25px;}
4412 .preset-icon-line.feature-waterway-river{background-position:-1640px -25px;}
4413 .preset-icon-line.feature-waterway-stream{background-position:-1700px -25px;}
4414 .preset-icon-line.feature-waterway-canal{background-position:-1760px -25px;}
4415 .preset-icon-line.feature-waterway-ditch{background-position:-1820px -25px;}
4416 .preset-icon-line.feature-power-line{background-position:-1880px -25px;}
4417 .preset-icon-line.feature-other-line{background-position:-1940px -25px;}
4418 .preset-icon-line.feature-category-roads{background-position:-2000px -25px;}
4419 .preset-icon-line.feature-category-rail{background-position:-2060px -25px;}
4420 .preset-icon-line.feature-category-path{background-position:-2120px -25px;}
4421 .preset-icon-line.feature-category-water{background-position:-2180px -25px;}
4422 .preset-icon-line.feature-ferry{background-position:-2240px -25px;}
4423 .preset-icon-line.feature-pipeline{background-position:-2300px -25px;}
4424 .preset-icon-relation.feature-relation{background-position:-20px -25px;}
4425 .preset-icon-relation.feature-restriction{background-position:-80px -25px;}
4426 .preset-icon-relation.feature-multipolygon{background-position:-140px -25px;}
4427 .preset-icon-relation.feature-boundary{background-position:-200px -25px;}
4428 .preset-icon-relation.feature-route{background-position:-260px -25px;}
4429 .preset-icon-relation.feature-route-road{background-position:-320px -25px;}
4430 .preset-icon-relation.feature-route-bicycle{background-position:-380px -25px;}
4431 .preset-icon-relation.feature-route-foot{background-position:-440px -25px;}
4432 .preset-icon-relation.feature-route-bus{background-position:-500px -25px;}
4433 .preset-icon-relation.feature-route-train{background-position:-560px -25px;}
4434 .preset-icon-relation.feature-route-detour{background-position:-620px -25px;}
4435 .preset-icon-relation.feature-route-tram{background-position:-680px -25px;}
4436 .preset-icon-relation.feature-route-ferry{background-position:-740px -25px;}
4437 .preset-icon-relation.feature-route-power{background-position:-800px -25px;}
4438 .preset-icon-relation.feature-route-pipeline{background-position:-860px -25px;}
4439 .preset-icon-relation.feature-route-master{background-position:-920px -25px;}
4440 .preset-icon-relation.feature-restriction-no-straight-on{background-position:-980px -25px;}
4441 .preset-icon-relation.feature-restriction-no-u-turn{background-position:-1040px -25px;}
4442 .preset-icon-relation.feature-restriction-no-left-turn{background-position:-1100px -25px;}
4443 .preset-icon-relation.feature-restriction-no-right-turn{background-position:-1160px -25px;}
4444 .preset-icon-relation.feature-restriction-only-straight-on{background-position:-1220px -25px;}
4445 .preset-icon-relation.feature-restriction-only-left-turn{background-position:-1280px -25px;}
4446 .preset-icon-relation.feature-restriction-only-right-turn{background-position:-1340px -25px;}