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;
190 pointer-events: none;
200 pointer-events: stroke;
204 -webkit-transition: 200ms;
205 -moz-transition: 200ms;
224 .behavior-hover g.point.hover:not(.selected) .shadow {
228 g.point.selected .shadow {
232 g.point.active, g.point.active * {
233 pointer-events: none;
236 /* vertices and midpoints */
248 g.vertex.shared .stroke {
252 g.vertex.tagged .fill {
269 g.vertex.vertex-hover {
273 .mode-draw-area .behavior-hover g.vertex.vertex-hover,
274 .mode-draw-line .behavior-hover g.vertex.vertex-hover,
275 .mode-add-area .behavior-hover g.vertex.vertex-hover,
276 .mode-add-line .behavior-hover g.vertex.vertex-hover,
277 .mode-add-point .behavior-hover g.vertex.vertex-hover,
278 .mode-drag-node .behavior-hover g.vertex.vertex-hover {
282 .behavior-hover g.vertex.hover:not(.selected) .shadow,
283 .behavior-hover g.midpoint.hover:not(.selected) .shadow {
287 g.vertex.selected .shadow {
291 .mode-draw-area g.midpoint,
292 .mode-draw-line g.midpoint,
293 .mode-add-area g.midpoint,
294 .mode-add-line g.midpoint,
295 .mode-add-point g.midpoint,
296 .mode-drag-node g.midpoint {
303 stroke-linecap: round;
304 stroke-linejoin: bevel;
318 .behavior-hover path.shadow.hover:not(.selected) {
322 path.shadow.selected {
327 path.line.member-type-multipolygon.stroke {
330 path.area.stroke.selected,
331 path.line.member-type-multipolygon.stroke.selected {
332 stroke-width:4 !important;
349 path.stroke.tag-natural {
353 path.fill.tag-natural {
357 path.stroke.tag-natural-water {
360 path.fill.tag-natural-water {
364 path.stroke.tag-building {
368 path.fill.tag-building {
375 path.stroke.tag-landuse,
376 path.stroke.tag-natural-wood,
377 path.stroke.tag-natural-tree,
378 path.stroke.tag-natural-grassland,
379 path.stroke.tag-leisure-park {
384 path.stroke.tag-landuse-residential {
388 path.stroke.tag-landuse-retail,
389 path.stroke.tag-landuse-commercial {
393 path.stroke.tag-landuse-industrial {
397 path.stroke.tag-landuse-basin,
398 path.stroke.tag-landuse-reservoir {
402 path.stroke.tag-landuse-quarry {
406 path.stroke.tag-landuse-residential,
407 path.stroke.tag-landuse-construction {
411 path.stroke.tag-landuse-meadow,
412 path.stroke.tag-natural-wetland {
416 path.stroke.tag-natural-beach {
420 path.stroke.tag-natural-scrub {
424 path.fill.tag-landuse,
425 path.fill.tag-natural-wood,
426 path.fill.tag-natural-tree,
427 path.fill.tag-natural-grassland,
428 path.fill.tag-natural-grass,
429 path.fill.tag-leisure-park {
434 path.fill.tag-landuse-retail,
435 path.fill.tag-landuse-residential,
436 path.fill.tag-landuse-commercial,
437 path.fill.tag-landuse-industrial {
441 path.fill.tag-natural-wetland,
442 path.fill.tag-natural-beach,
443 path.fill.tag-natural-scrub,
444 path.fill.tag-landuse-cemetery,
445 path.fill.tag-landuse-meadow,
446 path.fill.tag-landuse-farm,
447 path.fill.tag-landuse-farmland,
448 path.fill.tag-landuse-construction,
449 path.fill.tag-landuse-orchard {
450 /* background color is applied a further opacity later */
454 .pattern-color-beach,
455 .pattern-color-scrub,
456 .pattern-color-meadow,
457 .pattern-color-wetland,
458 .pattern-color-cemetery,
460 .pattern-color-farmland,
461 .pattern-color-construction,
462 .pattern-color-orchard {
466 path.fill.tag-landuse-basin,
467 path.fill.tag-landuse-reservoir {
471 path.fill.tag-landuse-quarry {
475 path.fill.tag-landuse-residential {
479 path.fill.tag-landuse-farm,
480 path.fill.tag-landuse-farmland {
481 fill: url(#pattern-farmland) #8cd05f;
485 .pattern-color-farmland {
486 fill: url(#pattern-farmland) #8cd05f;
489 path.fill.tag-landuse-meadow {
490 fill: url(#pattern-meadow) #b6e199;
492 .pattern-color-meadow {
496 path.fill.tag-natural-wetland {
497 fill: url(#pattern-wetland) #b6e199;
499 .pattern-color-wetland {
503 path.fill.tag-natural-beach {
504 fill: url(#pattern-beach) #ffff7e;
506 .pattern-color-beach {
510 path.fill.tag-natural-scrub {
511 fill: url(#pattern-scrub) #dbf08b;
513 .pattern-color-scrub {
517 path.fill.tag-landuse-cemetery {
518 fill: url(#pattern-cemetery) #8cd05f;
520 .pattern-color-cemetery {
524 path.fill.tag-landuse-orchard {
525 fill: url(#pattern-orchard) #8cd05f;
527 .pattern-color-orchard {
531 path.fill.tag-landuse-construction {
532 fill: url(#pattern-construction) #e06e5f;
534 .pattern-color-construction {
538 path.fill.tag-landuse-retail,
539 path.fill.tag-landuse-commercial {
543 path.fill.tag-landuse-industrial {
547 path.stroke.tag-amenity-parking {
551 path.fill.tag-amenity-parking {
556 path.fill.tag-boundary {
562 path.shadow.tag-highway {
565 path.casing.tag-highway {
569 path.stroke.tag-highway {
574 svg[data-zoom="16"] path.shadow.tag-highway {
577 svg[data-zoom="16"] path.casing.tag-highway {
580 svg[data-zoom="16"] path.stroke.tag-highway {
584 path.stroke.tag-highway-motorway,
585 path.stroke.tag-highway-motorway_link,
586 path.stroke.tag-construction-motorway {
590 path.casing.tag-highway-motorway,
591 path.casing.tag-highway-motorway_link,
592 path.casing.tag-construction-motorway {
596 path.stroke.tag-highway-trunk,
597 path.stroke.tag-highway-trunk_link,
598 path.stroke.tag-construction-trunk {
601 path.casing.tag-highway-trunk,
602 path.casing.tag-highway-trunk_link,
603 path.casing.tag-construction-trunk {
607 path.stroke.tag-highway-primary,
608 path.stroke.tag-highway-primary_link,
609 path.stroke.tag-construction-primary {
612 path.casing.tag-highway-primary,
613 path.casing.tag-highway-primary_link,
614 path.casing.tag-construction-primary {
618 path.stroke.tag-highway-secondary,
619 path.stroke.tag-highway-secondary_link,
620 path.stroke.tag-construction-secondary {
623 path.casing.tag-highway-secondary,
624 path.casing.tag-highway-secondary_link,
625 path.casing.tag-construction-secondary {
629 path.stroke.tag-highway-tertiary,
630 path.stroke.tag-highway-tertiary_link,
631 path.stroke.tag-construction-tertiary {
634 path.casing.tag-highway-tertiary,
635 path.casing.tag-highway-tertiary_link,
636 path.casing.tag-construction-tertiary {
640 path.stroke.tag-highway-unclassified,
641 path.stroke.tag-construction-unclassified {
644 path.casing.tag-highway-unclassified,
645 path.casing.tag-construction-unclassified {
649 path.stroke.tag-highway-residential,
650 path.stroke.tag-construction-residential {
653 path.casing.tag-highway-residential,
654 path.casing.tag-construction-residential {
658 path.stroke.tag-highway-living_street {
662 path.casing.tag-highway-living_street {
667 path.stroke.line.tag-highway-pedestrian {
669 stroke-dasharray: 2, 8;
670 stroke-width:4 !important;
671 shapeRendering: auto;
673 path.casing.line.tag-highway-pedestrian {
675 stroke-width:6 !important;
677 path.stroke.area.tag-highway-pedestrian {
681 path.fill.area.tag-highway-pedestrian {
685 path.stroke.tag-highway-service {
689 path.casing.tag-highway-service {
693 svg[data-zoom="16"] path.stroke.tag-highway-service {
696 svg[data-zoom="16"] path.casing.tag-highway-service {
700 path.stroke.tag-highway-track {
704 path.casing.tag-highway-track {
707 stroke-linecap: butt;
708 stroke-dasharray: 6, 6;
710 svg[data-zoom="16"] path.stroke.tag-highway-track {
713 svg[data-zoom="16"] path.casing.tag-highway-track {
717 path.stroke.tag-highway-path {
719 stroke-width: 1 !important;
720 stroke-linecap: butt;
721 stroke-dasharray: 8, 4;
723 path.casing.tag-highway-path {
724 stroke-width: 1 !important;
728 path.stroke.tag-highway-footway,
729 path.stroke.tag-highway-cycleway,
730 path.stroke.tag-highway-bridleway {
732 stroke-linecap: butt;
733 stroke-dasharray: 6, 6;
735 path.casing.tag-highway-footway,
736 path.casing.tag-highway-cycleway,
737 path.casing.tag-highway-bridleway {
742 svg[data-zoom="16"] path.stroke.tag-highway-footway,
743 svg[data-zoom="16"] path.stroke.tag-highway-cycleway,
744 svg[data-zoom="16"] path.stroke.tag-highway-bridleway {
747 svg[data-zoom="16"] path.casing.tag-highway-footway,
748 svg[data-zoom="16"] path.casing.tag-highway-cycleway,
749 svg[data-zoom="16"] path.casing.tag-highway-bridleway {
753 path.stroke.tag-highway-footway {
756 path.stroke.tag-highway-cycleway {
759 path.stroke.tag-highway-bridleway {
763 path.stroke.tag-highway-steps {
766 stroke-linecap: butt;
767 stroke-dasharray: 3, 3;
769 path.casing.tag-highway-steps {
776 path.stroke.tag-aeroway-taxiway {
780 path.shadow.tag-aeroway-runway {
783 path.stroke.tag-aeroway-runway {
786 stroke-linecap: butt;
787 stroke-dasharray: 24, 48;
789 path.casing.tag-aeroway-runway {
792 stroke-linecap: square;
794 path.fill.tag-aeroway-runway {
798 path.stroke.tag-aeroway-apron {
801 path.fill.tag-aeroway-apron {
809 path.casing.tag-bridge-yes {
815 path.casing.tag-highway-living_street.tag-bridge-yes,
816 path.casing.tag-highway-path.tag-bridge-yes {
820 path.casing.line.tag-highway-pedestrian,
821 path.casing.tag-highway-service.tag-bridge-yes,
822 path.casing.tag-highway-track.tag-bridge-yes,
823 path.casing.tag-highway-steps.tag-bridge-yes,
824 path.casing.tag-highway-footway.tag-bridge-yes,
825 path.casing.tag-highway-cycleway.tag-bridge-yes,
826 path.casing.tag-highway-bridleway.tag-bridge-yes {
830 path.shadow.tag-highway-residential.tag-bridge {
834 path.shadow.tag-highway-living_street.tag-bridge-yes,
835 path.shadow.tag-highway-path.tag-bridge-yes,
836 path.shadow.line.tag-highway-pedestrian,
837 path.shadow.tag-highway-service.tag-bridge-yes,
838 path.shadow.tag-highway-track.tag-bridge-yes,
839 path.shadow.tag-highway-steps.tag-bridge-yes,
840 path.shadow.tag-highway-footway.tag-bridge-yes,
841 path.shadow.tag-highway-cycleway.tag-bridge-yes,
842 path.shadow.tag-highway-bridleway.tag-bridge-yes {
848 path.stroke.tag-highway.tag-tunnel-yes {
852 path.casing.tag-highway.tag-tunnel-yes {
856 path.stroke.tag-highway-construction,
857 path.casing.tag-highway-construction {
858 stroke-linecap: butt;
859 stroke-dasharray: 7, 7;
864 svg[data-zoom="16"] path.stroke.tag-highway-construction,
865 svg[data-zoom="16"] path.casing.tag-highway-construction {
866 stroke-linecap: butt;
867 stroke-dasharray: 5, 5;
872 .line.stroke.tag-railway {
875 stroke-linecap: butt;
876 stroke-dasharray: 12,12;
878 .line.casing.tag-railway {
883 .line.stroke.tag-railway-abandoned {
886 .line.casing.tag-railway-abandoned {
890 .line.stroke.tag-railway-subway {
893 .line.casing.tag-railway-subway {
897 .line.stroke.tag-railway-platform {
900 stroke-dasharray: none;
902 .line.casing.tag-railway-platform {
908 path.fill.tag-waterway {
912 path.stroke.tag-waterway {
916 path.casing.tag-waterway {
921 path.stroke.tag-waterway-river {
924 path.casing.tag-waterway-river {
928 svg[data-zoom="16"] path.stroke.tag-waterway-river {
931 svg[data-zoom="16"] path.casing.tag-waterway-river {
935 path.stroke.tag-waterway-ditch {
939 path.casing.tag-waterway-ditch {
946 path.stroke.tag-power {
950 path.casing.tag-power {
956 path.stroke.tag-boundary {
959 stroke-linecap: butt;
960 stroke-dasharray: 20, 5, 5, 5;
962 path.casing.tag-boundary {
967 path.casing.tag-boundary-protected_area,
968 path.casing.tag-boundary-national_park {
975 pointer-events: none;
980 .oneway .textpath.tag-waterway {
984 marker#oneway-marker path {
999 text.pointlabel-halo,
1006 text-anchor: middle;
1007 pointer-events: none;
1008 -webkit-transition: opacity 100ms linear;
1009 transition: opacity 100ms linear;
1010 -moz-transition: opacity 100ms linear;
1013 .linelabel-halo .textpath,
1014 .linelabel .textpath {
1015 dominant-baseline: middle;
1018 /* Opera doesn't support dominant-baseline. See #715 */
1019 .opera .linelabel-halo .textpath,
1020 .opera .linelabel .textpath {
1021 baseline-shift: -33%;
1022 dominant-baseline: auto;
1029 stroke-miterlimit: 1;
1039 cursor: auto; /* Opera */
1040 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1041 cursor: -webkit-image-set(
1042 url(<%= asset_path("iD/img/cursor-grab.png") %>) 1x,
1043 url(<%= asset_path("iD/img/cursor-grab2x.png") %>) 2x
1048 cursor: pointer; /* Opera */
1049 cursor: url(<%= asset_path("iD/img/cursor-grabbing.png") %>) 9 9, auto; /* FF */
1050 cursor: -webkit-image-set(
1051 url(<%= asset_path("iD/img/cursor-grabbing.png") %>) 1x,
1052 url(<%= asset_path("iD/img/cursor-grabbing2x.png") %>) 2x
1056 .mode-browse .point,
1057 .mode-select .point {
1058 cursor: pointer; /* Opera */
1059 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1060 cursor: -webkit-image-set(
1061 url(<%= asset_path("iD/img/cursor-select-point.png") %>) 1x,
1062 url(<%= asset_path("iD/img/cursor-select-point2x.png") %>) 2x
1066 .mode-select .vertex,
1067 .mode-browse .vertex {
1068 cursor: pointer; /* Opera */
1069 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1070 cursor: -webkit-image-set(
1071 url(<%= asset_path("iD/img/cursor-select-vertex.png") %>) 1x,
1072 url(<%= asset_path("iD/img/cursor-select-vertex2x.png") %>) 2x
1077 .mode-select .line {
1078 cursor: pointer; /* Opera */
1079 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1080 cursor: -webkit-image-set(
1081 url(<%= asset_path("iD/img/cursor-select-line.png") %>) 1x,
1082 url(<%= asset_path("iD/img/cursor-select-line2x.png") %>) 2x
1087 .mode-browse .area {
1088 cursor: pointer; /* Opera */
1089 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1090 cursor: -webkit-image-set(
1091 url(<%= asset_path("iD/img/cursor-select-area.png") %>) 1x,
1092 url(<%= asset_path("iD/img/cursor-select-area2x.png") %>) 2x
1096 .mode-select .midpoint,
1097 .mode-browse .midpoint {
1098 cursor: pointer; /* Opera */
1099 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1100 cursor: -webkit-image-set(
1101 url(<%= asset_path("iD/img/cursor-select-split.png") %>) 1x,
1102 url(<%= asset_path("iD/img/cursor-select-split2x.png") %>) 2x
1106 .mode-select .behavior-multiselect .point,
1107 .mode-select .behavior-multiselect .vertex,
1108 .mode-select .behavior-multiselect .line,
1109 .mode-select .behavior-multiselect .area {
1110 cursor: pointer; /* Opera */
1111 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1112 cursor: -webkit-image-set(
1113 url(<%= asset_path("iD/img/cursor-select-add.png") %>) 1x,
1114 url(<%= asset_path("iD/img/cursor-select-add2x.png") %>) 2x
1118 .mode-select .behavior-multiselect .selected {
1119 cursor: pointer; /* Opera */
1120 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1121 cursor: -webkit-image-set(
1122 url(<%= asset_path("iD/img/cursor-select-remove.png") %>) 1x,
1123 url(<%= asset_path("iD/img/cursor-select-remove2x.png") %>) 2x
1128 #map .vertex:active,
1131 #map .midpoint:active,
1132 #map .mode-select .selected {
1133 cursor: pointer; /* Opera */
1134 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1135 cursor: -webkit-image-set(
1136 url(<%= asset_path("iD/img/cursor-select-acting.png") %>) 1x,
1137 url(<%= asset_path("iD/img/cursor-select-acting2x.png") %>) 2x
1141 .mode-draw-line #map:hover,
1142 .mode-draw-area #map:hover,
1143 .mode-add-line #map:hover,
1144 .mode-add-area #map:hover,
1145 .mode-drag-node #map:hover {
1146 cursor: crosshair; /* Opera */
1147 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1148 cursor: -webkit-image-set(
1149 url(<%= asset_path("iD/img/cursor-draw.png") %>) 1x,
1150 url(<%= asset_path("iD/img/cursor-draw2x.png") %>) 2x
1154 .mode-draw-line .behavior-hover .way,
1155 .mode-draw-area .behavior-hover .way,
1156 .mode-add-line .behavior-hover .way,
1157 .mode-add-area .behavior-hover .way,
1158 .mode-drag-node .behavior-hover .way {
1159 cursor: crosshair; /* Opera */
1160 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1161 cursor: -webkit-image-set(
1162 url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 1x,
1163 url(<%= asset_path("iD/img/cursor-draw-connect-line2x.png") %>) 2x
1167 .mode-draw-line .behavior-hover .vertex,
1168 .mode-draw-area .behavior-hover .vertex,
1169 .mode-add-line .behavior-hover .vertex,
1170 .mode-add-area .behavior-hover .vertex,
1171 .mode-drag-node .behavior-hover .vertex {
1172 cursor: crosshair; /* Opera */
1173 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1174 cursor: -webkit-image-set(
1175 url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 1x,
1176 url(<%= asset_path("iD/img/cursor-draw-connect-vertex2x.png") %>) 2x
1180 .mode-add-point #map:hover,
1184 cursor: crosshair; /* Opera */
1185 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1186 cursor: -webkit-image-set(
1187 url(<%= asset_path("iD/img/cursor-draw.png") %>) 1x,
1188 url(<%= asset_path("iD/img/cursor-draw2x.png") %>) 2x
1193 pointer-events: visibleStroke;
1201 pointer-events: none;
1206 .mode-draw-line .vertex.active,
1207 .mode-draw-area .vertex.active,
1208 .mode-drag-node .vertex.active {
1212 .mode-draw-line .way.active,
1213 .mode-draw-area .way.active,
1214 .mode-drag-node .active {
1215 pointer-events: none;
1218 /* Ensure drawing doesn't interact with area fills. */
1219 .mode-add-point .area.fill,
1220 .mode-draw-line .area.fill,
1221 .mode-draw-area .area.fill,
1222 .mode-add-line .area.fill,
1223 .mode-add-area .area.fill,
1224 .mode-drag-node .area.fill {
1225 pointer-events: none;
1228 ------------------------------------------------------- */
1231 font:normal 12px/1.6666 'Helvetica Neue', Arial, sans-serif;
1237 -webkit-font-smoothing: subpixel-antialiased;
1242 vertical-align: middle;
1276 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1277 -moz-box-sizing: border-box;
1278 -webkit-box-sizing: border-box;
1279 box-sizing: border-box;
1282 a, button, input, textarea {
1283 -webkit-tap-highlight-color:rgba(0,0,0,0);
1284 -webkit-touch-callout:none;
1289 .checkselect label:hover,
1290 .opacity-options li,
1292 cursor: pointer; /* Opera */
1293 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1294 cursor: -webkit-image-set(
1295 url(<%= asset_path("iD/img/cursor-pointer.png") %>) 1x,
1296 url(<%= asset_path("iD/img/cursor-pointer2x.png") %>) 2x
1304 margin-bottom: 20px;
1309 h4:last-child { margin-bottom: 0;}
1315 margin-bottom: 10px;
1321 padding-bottom: 10px;
1325 outline-color: transparent;
1326 outline-style: none;
1349 -webkit-transition: all 100ms;
1350 -moz-transition: all 100ms;
1351 -o-transition: all 100ms;
1352 transition: all 100ms;
1360 ------------------------------------------------------- */
1364 font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1374 background-color: white;
1375 border:1px solid #ccc;
1380 -webkit-transition: all 100ms;
1381 -moz-transition: all 100ms;
1382 -o-transition: all 100ms;
1383 transition: all 100ms;
1388 background-color: #F1F1F1;
1399 /* remove bottom border radius when combox is open */
1400 .combobox + div textarea:focus,
1401 .combobox + div input:focus {
1402 border-bottom-left-radius: 0;
1403 border-bottom-right-radius: 0;
1409 background-color: white;
1410 border-collapse: collapse;
1419 table.tags, table.tags td, table.tags th {
1420 border: 1px solid #CCC;
1425 ------------------------------------------------------- */
1427 .col0 { float:left; width:04.1666%; }
1428 .col1 { float:left; width:08.3333%; }
1429 .col2 { float:left; width:16.6666%; }
1430 .col3 { float:left; width:25.0000%; max-width: 300px; }
1431 .col4 { float:left; width:33.3333%; max-width: 400px; }
1432 .col5 { float:left; width:41.6666%; max-width: 500px; }
1433 .col6 { float:left; width:50.0000%; max-width: 600px; }
1434 .col7 { float:left; width:58.3333%; }
1435 .col8 { float:left; width:66.6666%; }
1436 .col9 { float:left; width:75.0000%; }
1437 .col10 { float:left; width:83.3333%; }
1438 .col11 { float:left; width:91.6666%; }
1439 .col12 { float:left; width:100.0000%; }
1442 ------------------------------------------------------- */
1444 ul li { list-style: none;}
1448 border: 1px solid #CCC;
1449 margin-bottom: 10px;
1452 ul.toggle-list li a {
1454 padding: 5px 10px 5px 25px;
1456 border-top: 1px solid #ccc;
1459 ul.toggle-list li:first-child a {
1461 border-radius: 3px 3px 0 0;
1464 ul.toggle-list li:last-child a {
1465 border-radius: 0 0 3px 3px;
1468 ul.toggle-list li:only-child a {
1472 ul.toggle-list li a:hover { background-color: #ececec;}
1474 ul.toggle-list li a.selected { background-color: #e8ebff;}
1478 border-left: 1px solid rgba(255,255,255,.5);
1479 padding: 5px 0 5px 5px;
1483 ul.link-list li:last-child {
1489 .toggle-list a::before {
1491 display: inline-block;
1496 border: 1px solid #CCC;
1502 .toggle-list a:hover::before {
1503 box-shadow: inset 0 0 0 2px white;
1506 .toggle-list a.selected::before {
1507 background: #7092ff;
1508 box-shadow: inset 0 0 0 2px white;
1512 ------------------------------------------------------- */
1519 background: #f7f7f7 url(<%= asset_path("iD/img/background-pattern-1.png") %>) repeat;
1524 background: #f1f1f1;
1529 background:rgba(0,0,0,.5);
1534 .fr { float: right;}
1548 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
1552 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
1553 background-size:5px 5px;
1587 display: inline-block;
1590 /* Crashes Safari: https://github.com/systemed/iD/issues/1188 */
1591 /*-webkit-transition: all 100ms;*/
1592 -moz-transition: all 100ms;
1593 -o-transition: all 100ms;
1594 transition: all 100ms;
1599 background-color: #ececec;
1604 background-color: rgba(255,255,255,.25);
1605 color: rgba(0,0,0,.5);
1609 button.active:not([disabled]):not(.disabled) {
1610 background: #7092ff;
1624 display: inline-block;
1629 .button-wrap button:only-child { width: 100%;}
1630 .button-wrap:last-of-type { padding-right: 0;}
1634 border-right: 1px solid rgba(0,0,0,.5);
1637 .joined button:first-child {
1638 border-radius:4px 0 0 4px;
1641 .joined button:last-child {
1642 border-right-width: 0;
1643 border-radius:0 4px 4px 0;
1647 background: #7092ff;
1650 button.action:focus,
1651 button.action:hover {
1652 background: #597BE7;
1655 button.save.has-count {
1659 button.save .count {
1663 button.save.has-count .count {
1667 background: rgba(255, 255, 255, .5);
1674 margin-left: 8.3333%;
1677 button.save.has-count .count::before {
1686 border-top: 6px solid transparent;
1687 border-bottom: 6px solid transparent;
1688 border-right: 6px solid rgba(255,255,255,.5);
1694 display:inline-block;
1698 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 0;
1699 text-indent:-9999px;
1715 /* Definitions for every icon */
1716 .icon.browse { background-position: 0 0;}
1717 .icon.add-point { background-position: -20px 0;}
1718 .icon.add-line { background-position: -40px 0;}
1719 .icon.add-area { background-position: -60px 0;}
1720 .icon.undo { background-position: -80px 0;}
1721 .icon.redo { background-position: -100px 0;}
1722 .icon.apply { background-position: -120px 0;}
1723 .icon.save { background-position: -140px 0;}
1724 .icon.close { background-position: -160px 0;}
1725 .icon.delete { background-position: -180px 0;}
1726 .icon.remove { background-position: -200px 0;}
1727 .icon.inspect { background-position: -220px 0;}
1728 .icon.zoom-in { background-position: -240px 0;}
1729 .icon.zoom-out { background-position: -260px 0;}
1730 .icon.plus { background-position: -240px 0;}
1731 .icon.search { background-position: -280px 0;}
1732 .icon.geocode { background-position: -280px 0;}
1733 .icon.layers { background-position: -300px 0;}
1734 .icon.avatar { background-position: -320px 0;}
1735 .icon.nearby { background-position: -340px 0;}
1736 .icon.geolocate { background-position: -360px 0;}
1737 .icon.warning { background-position: -380px 0;}
1738 .icon.back { background-position: -420px 0;}
1739 .icon.forward { background-position: -440px 0;}
1740 .icon.help { background-position: -460px 0;}
1742 .icon.inspect.light { background-position: -220px -20px;}
1743 .icon.geocode.light { background-position: -280px -20px;}
1744 .icon.help.light { background-position: -460px -20px;}
1745 .icon.avatar.light { background-position: -320px -20px;}
1746 .icon.nearby.light { background-position: -340px -20px;}
1748 .icon.back.blue { background-position: -420px -20px;}
1749 .icon.forward.blue { background-position: -440px -20px;}
1751 button[disabled] .icon.browse { background-position: 0 -40px;}
1752 button[disabled] .icon.add-point { background-position: -20px -40px;}
1753 button[disabled] .icon.add-line { background-position: -40px -40px;}
1754 button[disabled] .icon.add-area { background-position: -60px -40px;}
1755 button.disabled .icon.undo { background-position: -80px -40px;}
1756 button.disabled .icon.redo { background-position: -100px -40px;}
1757 button[disabled] .apply.icon { background-position: -120px -40px;}
1758 button[disabled] .close.icon { background-position: -160px -40px;}
1759 button[disabled] .delete.icon { background-position: -180px -40px;}
1760 button[disabled] .icon.remove { background-position: -200px -40px;}
1761 button[disabled] .icon.inspect { background-position: -220px -40px;}
1762 button[disabled] .icon.zoom-in { background-position: -240px -40px;}
1763 button[disabled] .icon.zoom-out { background-position: -260px -40px;}
1764 button[disabled] .icon.geocode { background-position: -280px -40px;}
1765 button[disabled] .icon.layers { background-position: -300px -40px;}
1766 button[disabled] .icon.avatar { background-position: -320px -40px;}
1767 button[disabled] .icon.nearby { background-position: -340px -40px;}
1769 /* Out link is special */
1771 .icon.out-link { height: 14px; width: 14px; background-position: -500px 0;}
1772 a:hover .icon.out-link { background-position: -500px -14px;}
1774 .icon.plus-dark { background-position: -240px -40px;}
1776 /* Universal preset icons */
1778 .icon.source { background-position: 0 -200px;}
1779 .icon.address { background-position: -20px -200px;}
1780 .icon.telephone { background-position: -40px -200px;}
1781 .icon.website { background-position: -60px -200px;}
1782 .icon.elevation { background-position: -80px -200px;}
1783 .icon.wikipedia { background-position: -100px -200px;}
1784 .icon.note { background-position: -120px -200px;}
1785 .icon.wheelchair { background-position: -140px -200px;}
1787 /* ToolBar / Persistent UI Elements
1788 ------------------------------------------------------- */
1799 /* Header for modals / panes
1800 ------------------------------------------------------- */
1803 border-bottom: 1px solid #ccc;
1812 white-space: nowrap;
1813 text-overflow: ellipsis;
1821 border-left: 1px solid #CCC;
1836 ------------------------------------------------------- */
1855 .pane:first-child .inspector-body {
1864 .inspector-wrap .header button.preset-reset {
1865 border-right: 1px solid #CCC;
1869 .inspector-wrap .header button.preset-reset > div {
1874 .inspector-wrap .header button.preset-reset .col12:last-child {
1881 .inspector-wrap .header button:hover .col12:first-child {
1885 .inspector-wrap .header button:hover .col12:last-child {
1889 .inspector-wrap .header button.line > div {
1902 ------------------------------------------------------- */
1908 padding: 20px 10px 10px 20px;
1909 border-bottom: 1px solid #ccc;
1913 padding: 0 10px 10px 0;
1921 border: 1px solid #ccc;
1927 margin-bottom: 20px;
1930 .preset-grid.filtered .grid-button-wrap:first-child .grid-entry {
1931 background: #ececec;
1948 .grid-entry .label {
1949 background: #f6f6f6;
1956 white-space: nowrap;
1957 text-overflow: ellipsis;
1959 border-top: 1px solid rgba(0, 0, 0, .1);
1962 .grid-button-wrap button.tag-reference-button {
1968 border-left: 1px solid #CCC;
1969 border-radius: 0 0 3px 0;
1972 .current .grid-entry,
1973 .current .grid-entry .label {
1974 background-color: #E8EBFF;
1977 .category .grid-entry:after,
1978 .category .grid-entry:before {
1983 border-top: 1px solid #ccc;
1988 .category .grid-entry:before {
1992 .preset-grid-search-wrap .icon {
1997 pointer-events: none;
2000 .preset-grid-search-wrap input {
2005 border-bottom-width: 1px;
2009 .preset-search-result {
2017 width: -webkit-calc(100% + 10px);
2018 width: calc(100% + 10px);
2023 .subgrid .preset-grid {
2024 padding: 10px 0 0 10px;
2025 border: 1px solid #CCC;
2031 border: solid rgba(0, 0, 0, 0);
2033 border-bottom-color: #CCC;
2036 margin-left: 33.3333%;
2037 margin-left: -webkit-calc(16.6666% - 10px);
2038 margin-left: calc(16.6666% - 10px);
2041 .subgrid.arrow-1 .arrow {
2043 margin-left: -webkit-calc(50% - 10px);
2044 margin-left: calc(50% - 10px);
2047 .subgrid.arrow-2 .arrow {
2049 margin-left: -webkit-calc(84.4444% - 10px);
2050 margin-left: calc(84.4444% - 10px);
2056 border-bottom: 1px solid #ccc;
2064 /* Preset icon colors */
2066 .inspector-body-line .icon.feature-marker-stroked {
2070 .preset-icon-fill.icon-area {
2076 left: 0; right: 0; top: 19px;
2077 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -240px -80px;
2080 .preset-icon-fill.tag-shop,
2081 .preset-icon-fill.tag-building {
2082 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -80px;
2085 .preset-icon-fill.tag-natural-water {
2086 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -60px -80px;
2089 .preset-icon-fill.tag-landuse,
2090 .preset-icon-fill.tag-natural-wood,
2091 .preset-icon-fill.tag-natural-tree,
2092 .preset-icon-fill.tag-natural-grassland,
2093 .preset-icon-fill.tag-leisure-park {
2094 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -120px -80px;
2097 .preset-icon-fill.tag-amenity-parking {
2098 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -180px -80px;
2101 /* preset form basics */
2103 .tag-wrap .preset-icon-wrap {
2104 border-bottom: 1px solid #CCC;
2105 background-color: #e8ebff;
2108 .tag-wrap .preset-icon-wrap::after {
2117 border: solid rgba(0, 0, 0, 0);
2119 border-bottom-color: #CCC;
2122 .tag-wrap .preset-icon-wrap > div {
2125 width: -webkit-calc(33.3333% - 10px);
2126 width: calc(33.3333% - 10px);
2129 border: 1px solid #CCC;
2133 .inspector-preset .form-field {
2135 padding-right: 20px;
2141 border: 1px solid #cfcfcf;
2142 padding: 5px 0 5px 10px;
2143 background: #f6f6f6;
2145 border-radius: 4px 4px 0 0;
2148 .form-label button {
2149 border-left: 1px solid #CCC;
2152 .form-label .modified-icon {
2158 .modified .form-label .modified-icon {
2162 .form-label button.tag-reference-button {
2163 border-top-right-radius: 3px;
2166 .form-field > input,
2167 .form-field > textarea,
2168 .form-field .preset-input-wrap {
2169 border: 1px solid #CCC;
2171 border-radius: 0 0 4px 4px;
2174 .form-field textarea {
2178 .form-field-name input.localized-main {
2184 /* adding additional preset fields */
2188 border-top: 1px solid #CCC;
2191 .more-buttons:nth-last-child(2) {
2192 border-bottom: 1px solid #CCC;
2195 button.preset-add-field {
2198 -webkit-transition: width 200ms;
2199 -moz-transition: width 200ms;
2200 -o-transition: width 200ms;
2201 transition: width 200ms;
2204 /* set width based on # of buttons */
2206 button.preset-add-field:nth-last-child(4),
2207 button.preset-add-field:nth-last-child(4) ~ button.preset-add-field {
2211 button.preset-add-field:nth-last-child(5),
2212 button.preset-add-field:nth-last-child(5) ~ button.preset-add-field {
2216 button.preset-add-field:nth-last-child(6),
2217 button.preset-add-field:nth-last-child(6) ~ button.preset-add-field {
2221 button.preset-add-field:nth-last-child(7),
2222 button.preset-add-field:nth-last-child(7) ~ button.preset-add-field {
2226 button.preset-add-field:nth-last-child(8),
2227 button.preset-add-field:nth-last-child(8) ~ button.preset-add-field {
2231 .preset-add-field .tooltip.top .tooltip-arrow {
2232 border-top-color: #000;
2235 .preset-add-field .tooltip-inner {
2240 .preset-fav button.fav {
2246 /* preset form access */
2248 .preset-input-wrap li {
2249 border-bottom: 1px solid #CCC;
2251 .preset-input-wrap li:last-child {
2255 .preset-input-wrap .label {
2256 background: #F6F6F6;
2260 .preset-input-access-wrap input {
2263 border-left-width: 1px;
2266 .preset-input-wrap li:last-child input {
2267 border-bottom-right-radius: 4px;
2270 /* preset form numbers */
2272 input[type=number] {
2274 padding-right: 65px;
2280 border-left: 1px solid #CCC;
2281 display: inline-block;
2283 margin-bottom: -11px;
2287 .spin-control button {
2292 border-left: 1px solid #CCC;
2293 border-right: 1px solid #CCC;
2296 background: rgba(0, 0, 0, 0);
2299 .spin-control button.decrement {
2300 border-bottom-right-radius: 3px;
2303 .spin-control button.decrement::after,
2304 .spin-control button.increment::after {
2306 height: 0; width: 0;
2308 left: 0; right: 0; bottom: 0; top: 0;
2312 .spin-control button.decrement::after {
2313 border-top: 5px solid #CCC;
2314 border-left: 5px solid transparent;
2315 border-right: 5px solid transparent;
2318 .spin-control button.increment::after {
2319 border-bottom: 5px solid #CCC;
2320 border-left: 5px solid transparent;
2321 border-right: 5px solid transparent;
2324 /* preset form checkbox */
2326 .checkselect label:last-of-type {
2329 box-sizing: border-box;
2333 .checkselect label:hover {
2334 background: #f1f1f1;
2341 .checkselect input[type="checkbox"] {
2344 vertical-align: middle;
2348 .checkselect .set input[type="checkbox"] {
2352 /* Preset form radio button */
2354 .radio-wrap button {
2357 font-weight: normal;
2360 border-bottom: 1px solid #CCC;
2366 .radio-wrap button::before {
2368 display: inline-block;
2373 border: 1px solid #CCC;
2379 .radio-wrap button:hover::before {
2380 box-shadow: inset 0 0 0 2px white;
2383 .radio-wrap button.active::before {
2384 background: #7092ff;
2385 box-shadow: inset 0 0 0 2px white;
2388 .radio-wrap button:last-child {
2392 .radio-wrap button.active {
2393 background-color: #E8EBFF !important;
2396 .radio-wrap button.remove {
2397 border-radius: 0 0 3px 3px;
2399 .radio-wrap button.remove .icon {
2404 .radio-wrap button.remove::before {
2408 .form-field .localized-main {
2410 border-radius: 0 0 0 4px;
2413 .form-field .localized-add {
2416 border-radius: 0 0 4px 0;
2417 border-bottom: 1px solid #ccc;
2418 border-right: 1px solid #ccc;
2419 vertical-align: top;
2422 .form-field .localized-wrap .entry .localized-lang {
2429 .form-field .localized-wrap .entry .localized-value {
2435 .form-field .localized-wrap .entry .localized-remove {
2438 border-bottom: 1px solid #ccc;
2439 border-right: 1px solid #ccc;
2440 vertical-align: top;
2444 .form-field .localized-wrap .entry:last-child .localized-lang {
2445 border-radius: 0 0 0 4px;
2448 .form-field .localized-wrap .entry:last-child .localized-remove {
2449 border-radius: 0 0 4px 0;
2452 .form-field .wiki-lang {
2455 border-radius: 0 0 0 4px;
2458 .form-field .wiki-title {
2464 .form-field .wiki-link {
2465 border-radius: 0 0 4px 0;
2466 border: 1px solid #ccc;
2473 -webkit-transition: all 100ms;
2474 -moz-transition: all 100ms;
2475 -o-transition: all 100ms;
2476 transition: all 100ms;
2479 .form-field .wiki-link:hover {
2480 background: #ececec;
2483 #preset-input-maxspeed {
2485 border-radius: 0 0 0 4px;
2489 .form-field .maxspeed-unit {
2490 border-radius: 0 0 4px 0;
2491 border: 1px solid #ccc;
2502 /* Preset form address */
2504 .form-field .addr-housename {
2508 .form-field .addr-number {
2516 .form-field .addr-street {
2523 .form-field .addr-city {
2528 border-radius: 0 0 0 4px;
2531 .form-field .addr-postcode {
2535 border-radius: 0 0 4px 0;
2537 /* combobox dropdown */
2542 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
2548 border: 1px solid #ccc;
2549 border-radius: 0 0 4px 4px;
2555 border-top:1px solid #ccc;
2556 text-overflow: ellipsis;
2557 white-space: nowrap;
2561 .combobox a.selected,
2563 background: #ececec;
2566 .combobox a:first-child {
2573 display:inline-block;
2574 border-top: 5px solid #ccc;
2575 border-left: 5px solid transparent;
2576 border-right: 5px solid transparent;
2581 .inspector-inner.additional-tags {
2582 border-top: 1px solid #ccc;
2598 border-bottom: 1px solid #CCC;
2599 border-left: 1px solid #CCC;
2602 .tag-row input.key {
2603 background-color: #f6f6f6;
2606 .tag-row input.value {
2607 border-right: 1px solid #CCC;
2610 .tag-row:first-child input.key {
2611 border-top: 1px solid #CCC;
2612 border-top-left-radius: 4px;
2615 .tag-row:first-child input.value {
2616 border-top: 1px solid #CCC;
2623 border: 1px solid #CCC;
2624 border-top-width: 0; border-left-width: 0;
2627 background: #fafafa;
2630 .tag-row button:hover {
2631 background: #f1f1f1;
2634 .tag-row button .icon {
2638 .tag-row:first-child button {
2639 border-top-width: 1px;
2642 .tag-row:first-child button.tag-help-button {
2643 border-top-right-radius: 4px;
2646 .tag-row:last-child button.tag-help-button {
2647 border-bottom-right-radius: 4px;
2650 .tag-row button.tag-help-button {
2654 /* Adding form fields to tag editor */
2656 .inspector-inner .add-tag {
2657 width: -webkit-calc(50% - 20px);
2658 width: calc(50% - 20px);
2661 background: rgba(0,0,0,.5);
2662 border-radius: 0 0 4px 4px;
2665 .inspector-inner .add-tag:hover {
2666 background: rgba(0,0,0,.8);
2669 .inspector-inner .add-tag .label {
2688 .grid-pane .tag-reference-wrap {
2689 padding: 10px 0 20px 0;
2692 .tag-pane .tag-reference-wrap {
2696 .additional-tags .tag-reference-wrap {
2697 border-bottom: 1px solid #ccc;
2701 .additional-tags div.tag-help {
2704 width: -webkit-calc(100% + 40px);
2705 width: calc(100% + 40px);
2711 width: -webkit-calc(33.3333% - 10px);
2712 width: calc(33.3333% - 10px);
2728 .map-control > button {
2730 background: rgba(0,0,0,.5);
2734 .map-control > button:hover {
2735 background: rgba(0, 0, 0, .8);
2738 .map-control > button.active:hover {
2739 background: #7092ff;
2750 padding: 10px 10px 0 10px;
2755 .zoombuttons button.zoom-in {
2756 border-radius:0 4px 0 0;
2759 /* Background Settings */
2761 .background-control button {
2762 border-radius:0 4px 0 0;
2765 .background-control button.active {
2770 border-top: 1px solid #CCC;
2774 .background-control .adjustments button:last-child {
2780 padding: 0 0 10px 12px;
2784 .hide-toggle:before {
2792 border-top: 4px solid transparent;
2793 border-bottom: 4px solid transparent;
2794 border-left: 8px solid #7092ff;
2797 .hide-toggle.expanded:before {
2798 border-top: 8px solid #7092ff;
2800 border-right: 4px solid transparent;
2801 border-left: 4px solid transparent;
2804 .background-control .nudge-container button {
2809 border-right: 1px solid #CCC;
2813 .background-control .nudge::after {
2818 left: 0; right: 0; top: 0; bottom: 0;
2823 .background-control .nudge.left::after {
2824 border-top: 5px solid transparent;
2825 border-bottom: 5px solid transparent;
2826 border-left: 5px solid #222;
2829 .background-control .nudge.right::after {
2830 border-top: 5px solid transparent;
2831 border-bottom: 5px solid transparent;
2832 border-right: 5px solid #222;
2835 .background-control .nudge.top::after {
2836 border-right: 5px solid transparent;
2837 border-left: 5px solid transparent;
2838 border-bottom: 5px solid #222;
2841 .background-control .nudge.bottom::after {
2842 border-right: 5px solid transparent;
2843 border-left: 5px solid transparent;
2844 border-top: 5px solid #222;
2848 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
2854 border: 1px solid #ccc;
2857 .opacity-options li {
2863 .opacity-options li .select-box{
2870 .background-control li:hover .select-box,
2871 .background-control li.selected .select-box {
2872 border: 2px solid #7092ff;
2873 background: rgba(89, 123, 231, .5);
2877 .background-control li.selected:hover .select-box,
2878 .background-control li.selected .select-box {
2882 .background-control .opacity {
2884 display:inline-block;
2889 .background-control .layer-toggle-gpx .layer-extent {
2890 border-left: 1px solid #CCC;
2893 .background-control .layer-toggle-gpx.selected .layer-extent {
2894 display:inline-block;
2899 .geocode-control form {
2903 .geocode-control form {
2907 .geocode-control input {
2911 .geocode-control div.map-overlay {
2912 border-top: 1px solid #CCC;
2920 .geocode-control div.map-overlay span {
2921 display: inline-block;
2922 border-bottom: 1px solid #CCC;
2925 .geocode-control div.map-overlay span.not-found {
2930 .geocode-control a:focus {
2931 text-decoration: underline;
2936 .geolocate-control button {
2937 border-radius: 0 0 4px 0;
2943 margin-bottom: 20px;
2946 .help-control button {
2947 border-radius: 0 0 4px 0;
2954 padding: 20px 20px 20px 50px;
2961 margin-bottom: 20px;
2964 .help-wrap .left-content .body p code {
2970 /* This is two columns, 41.66666 x .4 = 16.6666 */
2974 margin-bottom: 20px;
2978 .help-wrap .toc li a,
2981 border: 1px solid #CCC;
2985 .help-wrap .toc li a {
2989 .help-wrap .toc li a:hover,
2990 .help-wrap .nav a:hover {
2991 background: #ececec;
2994 .help-wrap .toc li a.selected {
2995 background: #E8EBFF;
2998 .help-wrap .toc li:first-child a {
2999 border-radius: 4px 4px 0 0;
3002 .help-wrap .toc li:nth-last-child(2) a {
3003 border-bottom: 1px solid #CCC;
3004 border-radius: 0 0 4px 4px
3007 .help-wrap .toc li.walkthrough a {
3010 border-bottom: 1px solid #ccc;
3024 .help-wrap .nav a:first-child {
3025 border-radius: 4px 0 0 4px;
3028 .help-wrap .nav a:last-child:not(:only-child) {
3029 border-radius: 0 4px 4px 0;
3033 .help-wrap .nav a:only-child {
3039 ------------------------------------------------------- */
3053 transform-origin:0 0;
3054 -ms-transform-origin:0 0;
3055 -webkit-transform-origin:0 0;
3056 -moz-transform-origin:0 0;
3057 -o-transform-origin:0 0;
3058 -moz-user-select: none;
3059 -webkit-user-select: none;
3060 -ms-user-select: none;
3064 #surface, #layer-g, .layer-layer {
3069 ------------------------------------------------------- */
3076 white-space: nowrap;
3077 text-overflow: ellipsis;
3080 -webkit-transition: opacity 200ms;
3081 -moz-transition: opacity 200ms;
3082 transition: opacity 200ms;
3085 .about-block:hover {
3095 padding: 2px 4px 4px 4px;
3098 .source-switch a.live {
3099 background: #d32232;
3103 /* Attribution overlay */
3117 .user-list a:not(:last-child):after {
3127 .api-status.offline,
3128 .api-status.readonly {
3133 /* Account Information */
3142 border-left: 1px solid white;
3147 ------------------------------------------------------- */
3150 display: inline-block;
3159 margin-bottom: 10px;
3162 .modal .description {
3176 background:rgba(0,0,0,0.5);
3178 left:0px; right:0px; top:0px; bottom:0px;
3183 border-bottom: 1px solid #CCC;
3186 .modal-section:last-child {
3194 .modal-actions button,
3196 background-size: white;
3197 font-weight: normal;
3199 border-bottom: 1px solid #CCC;
3203 display: inline-block;
3207 /* `button` elements have box-algin: auto, need
3208 compensate this for `a`*/
3212 .modal-actions button:hover,
3213 .modal-actions a:hover {
3214 background-color: #ececec;
3217 .modal-actions a:before,
3218 .modal-actions button:before,
3219 .walkthrough a:before {
3220 background-size: white;
3226 margin-bottom: 10px;
3227 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -220px;
3230 .modal-actions :first-child {
3231 border-right: 1px solid #CCC;
3235 ------------------------------------------------------- */
3237 .modal-actions .restore:before {
3238 background-position: -500px -220px;
3241 .modal-actions .reset:before {
3242 background-position: -600px -220px;
3246 ------------------------------------------------------- */
3248 .modal-actions .twitter:before {
3249 background-position: -100px -220px;
3252 .modal-actions .facebook {
3253 border-left: 1px solid #ccc;
3256 .modal-actions .facebook:before {
3257 background-position: -200px -220px;
3261 ------------------------------------------------------- */
3263 .modal-actions .walkthrough:before,
3264 .walkthrough a:before {
3265 background-position: -300px -220px;
3268 .modal-actions .start:before {
3269 background-position: -400px -220px;
3273 ------------------------------------------------------- */
3275 .commit-modal a.user-info {
3276 display: inline-block;
3279 .commit-modal .commit-info {
3281 padding-bottom: 20px;
3284 .commit-modal .user-info img {
3288 .commit-modal h3 small.count {
3302 .commit-modal .changeset-list {
3304 border:1px solid #ccc;
3310 .commit-modal .warning-section .changeset-list button {
3311 border-left: 1px solid #CCC;
3314 .commit-modal .changeset-list li {
3316 border-top:1px solid #ccc;
3320 .changeset-list li span.count {
3325 .changeset-list li span.count:before { content: '('; }
3327 .changeset-list li span.count:after { content: ')'; }
3329 .changeset-list li:first-child { border-top: 0;}
3332 ------------------------------------------------------- */
3337 padding-right: 10px;
3351 .notice .zoom-to:hover {
3352 background: #d8e1ff;
3355 .notice .zoom-to .icon {
3360 .icon.zoom-in-invert {
3361 background-position: -240px -40px;
3365 ------------------------------------------------------- */
3402 display: inline-block;
3404 font-weight: normal;
3405 background-color: white;
3411 pointer-events: none;
3415 background: transparent;
3423 border-color: transparent;
3424 border-style: solid;
3428 border-left-color: white;
3429 border-width: 5px 0 5px 5px;
3447 border-color: transparent;
3448 border-style: solid;
3452 border-right-color: white;
3453 border-width: 5px 5px 5px 0;
3460 border-color: transparent;
3461 border-style: solid;
3464 .tooltip.top .tooltip-arrow {
3468 border-top-color: white;
3469 border-width: 5px 5px 0;
3472 .tooltip.right .tooltip-arrow {
3476 border-right-color: white;
3477 border-width: 5px 5px 5px 0;
3480 .tooltip.left .tooltip-arrow {
3484 border-left-color: white;
3485 border-width: 5px 0 5px 5px;
3488 .tooltip.bottom .tooltip-arrow {
3492 border-bottom-color: white;
3493 border-width: 0 5px 5px;
3497 /* Exceptions for tooltips that are up against the edge of the screen */
3498 .add-point .tooltip {
3499 left: -20px !important; }
3501 .curtain-tooltip.intro-points-add .tooltip-arrow,
3502 .add-point .tooltip .tooltip-arrow {
3506 .tooltip .keyhint-wrap {
3507 padding: 5px 0 5px 0;
3510 .tooltip-inner .keyhint {
3515 display: inline-block;
3517 border: 1px solid #CCC;
3524 .tooltip .keyhint .keyhint-label {
3525 display: inline-block;
3528 .tooltip-inner .keyhint::after {
3537 border: 1px solid #CCC;
3541 .radial-menu-tooltip {
3542 background-color: rgba(255, 255, 255, 0.8);
3548 .radial-menu-background {
3550 stroke-opacity: 0.5;
3557 .radial-menu-item:hover {
3561 .radial-menu-item:active {
3565 .radial-menu-item.disabled {
3567 fill: rgba(255,255,255,.5);
3570 .radial-menu .icon {
3571 pointer-events: none;
3579 stroke-dasharray: 5, 5;
3583 ------------------------------------------------------- */
3585 @media only screen and (max-width: 840px) {
3586 #bar .label {display: none;}
3587 #bar .icon.icon-pre-text { margin-right: 0;}
3588 /* override hide for save button */
3589 #bar .save .label { display: block;}
3593 ----------------------------------------------------- */
3595 ::-webkit-scrollbar {
3600 border-left: 1px solid #DDD;
3603 ::-webkit-scrollbar-track {
3604 background-clip: padding-box;
3605 border: solid transparent;
3609 ::-webkit-scrollbar-thumb {
3610 background-color: rgba(0,0,0,.2);
3611 background-clip: padding-box;
3612 border: solid transparent;
3613 border-width: 3px 3px 3px 4px;
3616 ::-webkit-scrollbar-track:hover,
3617 ::-webkit-scrollbar-track:active {
3618 background-color: rgba(0,0,0,.05);
3621 /* Intro walkthrough
3622 ----------------------------------------------------- */
3625 pointer-events: all;
3640 .intro-nav-wrap button.step {
3644 .intro-nav-wrap button.step.finished {
3645 background: #8cd05f;
3648 .intro-nav-wrap button.step .icon {
3652 .intro-nav-wrap button.step.finished .icon {
3653 display: inline-block;
3657 .curtain-tooltip .tooltip-inner {
3662 .curtain-tooltip .tooltip-inner {
3666 .curtain-tooltip .tooltip-inner .bold {
3669 border-top: 1px solid #CCC;
3672 margin-right: -20px;
3673 padding: 10px 20px 0 20px;
3676 .curtain-tooltip .tooltip-inner .bold:only-child {
3682 .curtain-tooltip.intro-points-describe {
3683 top: 133px !important;
3686 /* Tooltip illustrations */
3688 .intro-points-add .tooltip-inner::before,
3689 .intro-areas-add .tooltip-inner::before,
3690 .intro-lines-add .tooltip-inner::before {
3695 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -320px;
3698 .intro-areas-add .tooltip-inner::before {
3699 background-position: 0 -400px;
3702 .intro-lines-add .tooltip-inner::before {
3703 background-position: 0 -480px;
3706 .huge-modal-button {
3712 .huge-modal-button .illustration {
3715 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -301px -220px;
3718 /* This file is generated by make. Do NOT edit manually. */
3720 .preset-icon{background-image:url(<%= asset_path("iD/img/maki-sprite.png") %>);background-repeat:no-repeat;width:24px;height:24px;}
3721 .preset-icon-line{background-image:url(<%= asset_path("iD/img/line-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
3722 .feature-airfield{background-position:-0px -34px;}
3723 .feature-airport{background-position:-0px -94px;}
3724 .feature-alcohol-shop{background-position:-0px -154px;}
3725 .feature-america-football{background-position:-0px -214px;}
3726 .feature-art-gallery{background-position:-0px -274px;}
3727 .feature-bank{background-position:-0px -334px;}
3728 .feature-bar{background-position:-0px -394px;}
3729 .feature-baseball{background-position:-0px -454px;}
3730 .feature-basketball{background-position:-0px -514px;}
3731 .feature-beer{background-position:-0px -574px;}
3732 .feature-bicycle{background-position:-0px -634px;}
3733 .feature-building{background-position:-0px -694px;}
3734 .feature-bus{background-position:-0px -754px;}
3735 .feature-cafe{background-position:-0px -814px;}
3736 .feature-campsite{background-position:-0px -874px;}
3737 .feature-cemetery{background-position:-0px -934px;}
3738 .feature-cinema{background-position:-0px -994px;}
3739 .feature-circle{background-position:-0px -1054px;}
3740 .feature-circle-stroked{background-position:-0px -1114px;}
3741 .feature-college{background-position:-0px -1174px;}
3742 .feature-commercial{background-position:-0px -1234px;}
3743 .feature-cricket{background-position:-0px -1294px;}
3744 .feature-cross{background-position:-0px -1354px;}
3745 .feature-dam{background-position:-0px -1414px;}
3746 .feature-danger{background-position:-0px -1474px;}
3747 .feature-disability{background-position:-0px -1534px;}
3748 .feature-embassy{background-position:-0px -1594px;}
3749 .feature-emergency-telephone{background-position:-0px -1654px;}
3750 .feature-fast-food{background-position:-0px -1714px;}
3751 .feature-ferry{background-position:-0px -1774px;}
3752 .feature-fire-station{background-position:-0px -1834px;}
3753 .feature-fuel{background-position:-0px -1894px;}
3754 .feature-garden{background-position:-0px -1954px;}
3755 .feature-golf{background-position:-0px -2014px;}
3756 .feature-grocery{background-position:-0px -2074px;}
3757 .feature-harbor{background-position:-0px -2134px;}
3758 .feature-heliport{background-position:-0px -2194px;}
3759 .feature-hospital{background-position:-0px -2254px;}
3760 .feature-industrial{background-position:-0px -2314px;}
3761 .feature-library{background-position:-0px -2374px;}
3762 .feature-lodging{background-position:-0px -2434px;}
3763 .feature-logging{background-position:-0px -2494px;}
3764 .feature-marker{background-position:-0px -2554px;}
3765 .feature-marker-stroked{background-position:-0px -2614px;}
3766 .feature-monument{background-position:-0px -2674px;}
3767 .feature-museum{background-position:-0px -2734px;}
3768 .feature-music{background-position:-0px -2794px;}
3769 .feature-oil-well{background-position:-0px -2854px;}
3770 .feature-park{background-position:-0px -2914px;}
3771 .feature-park2{background-position:-0px -2974px;}
3772 .feature-parking{background-position:-0px -3034px;}
3773 .feature-parking-garage{background-position:-0px -3094px;}
3774 .feature-pharmacy{background-position:-0px -3154px;}
3775 .feature-pitch{background-position:-0px -3214px;}
3776 .feature-place-of-worship{background-position:-0px -3274px;}
3777 .feature-police{background-position:-0px -3334px;}
3778 .feature-post{background-position:-0px -3394px;}
3779 .feature-prison{background-position:-0px -3454px;}
3780 .feature-rail{background-position:-0px -3514px;}
3781 .feature-rail-above{background-position:-0px -3574px;}
3782 .feature-rail-underground{background-position:-0px -3634px;}
3783 .feature-religious-christian{background-position:-0px -3694px;}
3784 .feature-religious-jewish{background-position:-0px -3754px;}
3785 .feature-religious-muslim{background-position:-0px -3814px;}
3786 .feature-restaurant{background-position:-0px -3874px;}
3787 .feature-roadblock{background-position:-0px -3934px;}
3788 .feature-school{background-position:-0px -3994px;}
3789 .feature-shop{background-position:-0px -4054px;}
3790 .feature-skiing{background-position:-0px -4114px;}
3791 .feature-slaughterhouse{background-position:-0px -4174px;}
3792 .feature-soccer{background-position:-0px -4234px;}
3793 .feature-square{background-position:-0px -4294px;}
3794 .feature-square-stroked{background-position:-0px -4354px;}
3795 .feature-star{background-position:-0px -4414px;}
3796 .feature-star-stroked{background-position:-0px -4474px;}
3797 .feature-swimming{background-position:-0px -4534px;}
3798 .feature-telephone{background-position:-0px -4594px;}
3799 .feature-tennis{background-position:-0px -4654px;}
3800 .feature-theatre{background-position:-0px -4714px;}
3801 .feature-toilets{background-position:-0px -4774px;}
3802 .feature-town-hall{background-position:-0px -4834px;}
3803 .feature-triangle{background-position:-0px -4894px;}
3804 .feature-triangle-stroked{background-position:-0px -4954px;}
3805 .feature-warehouse{background-position:-0px -5014px;}
3806 .feature-waste-basket{background-position:-0px -5074px;}
3807 .feature-water{background-position:-0px -5134px;}
3808 .feature-wetland{background-position:-0px -5194px;}
3809 .feature-zoo{background-position:-0px -5254px;}
3810 .preset-icon-line.feature-highway-motorway{background-position:-20px -25px;}
3811 .preset-icon-line.feature-highway-trunk{background-position:-80px -25px;}
3812 .preset-icon-line.feature-highway-primary{background-position:-140px -25px;}
3813 .preset-icon-line.feature-highway-secondary{background-position:-200px -25px;}
3814 .preset-icon-line.feature-highway-tertiary{background-position:-260px -25px;}
3815 .preset-icon-line.feature-highway-motorway-link{background-position:-320px -25px;}
3816 .preset-icon-line.feature-highway-trunk-link{background-position:-380px -25px;}
3817 .preset-icon-line.feature-highway-primary-link{background-position:-440px -25px;}
3818 .preset-icon-line.feature-highway-secondary-link{background-position:-500px -25px;}
3819 .preset-icon-line.feature-highway-tertiary-link{background-position:-560px -25px;}
3820 .preset-icon-line.feature-highway-residential{background-position:-620px -25px;}
3821 .preset-icon-line.feature-highway-unclassified{background-position:-680px -25px;}
3822 .preset-icon-line.feature-highway-service{background-position:-740px -25px;}
3823 .preset-icon-line.feature-highway-road{background-position:-800px -25px;}
3824 .preset-icon-line.feature-highway-track{background-position:-860px -25px;}
3825 .preset-icon-line.feature-highway-living-street{background-position:-920px -25px;}
3826 .preset-icon-line.feature-highway-path{background-position:-980px -25px;}
3827 .preset-icon-line.feature-highway-cycleway{background-position:-1040px -25px;}
3828 .preset-icon-line.feature-highway-footway{background-position:-1100px -25px;}
3829 .preset-icon-line.feature-highway-bridleway{background-position:-1160px -25px;}
3830 .preset-icon-line.feature-highway-steps{background-position:-1220px -25px;}
3831 .preset-icon-line.feature-railway-rail{background-position:-1280px -25px;}
3832 .preset-icon-line.feature-railway-disused{background-position:-1340px -25px;}
3833 .preset-icon-line.feature-railway-abandoned{background-position:-1400px -25px;}
3834 .preset-icon-line.feature-railway-subway{background-position:-1460px -25px;}
3835 .preset-icon-line.feature-railway-light-rail{background-position:-1520px -25px;}
3836 .preset-icon-line.feature-railway-monorail{background-position:-1580px -25px;}
3837 .preset-icon-line.feature-waterway-river{background-position:-1640px -25px;}
3838 .preset-icon-line.feature-waterway-stream{background-position:-1700px -25px;}
3839 .preset-icon-line.feature-waterway-canal{background-position:-1760px -25px;}
3840 .preset-icon-line.feature-waterway-ditch{background-position:-1820px -25px;}
3841 .preset-icon-line.feature-power-line{background-position:-1880px -25px;}
3842 .preset-icon-line.feature-other-line{background-position:-1940px -25px;}
3843 .preset-icon-line.feature-category-roads{background-position:-2000px -25px;}
3844 .preset-icon-line.feature-category-rail{background-position:-2060px -25px;}
3845 .preset-icon-line.feature-category-path{background-position:-2120px -25px;}
3846 .preset-icon-line.feature-category-water{background-position:-2180px -25px;}