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-amenity-school {
368 path.fill.tag-amenity-school {
373 path.stroke.tag-amenity-university {
376 path.fill.tag-amenity-university {
381 path.stroke.tag-building {
385 path.fill.tag-building {
392 path.stroke.tag-landuse,
393 path.stroke.tag-natural-wood,
394 path.stroke.tag-natural-tree,
395 path.stroke.tag-natural-grassland,
396 path.stroke.tag-leisure-pitch,
397 path.stroke.tag-leisure-park {
402 path.stroke.tag-landuse-residential {
406 path.stroke.tag-landuse-retail,
407 path.stroke.tag-landuse-commercial {
411 path.stroke.tag-landuse-industrial {
415 path.stroke.tag-landuse-basin,
416 path.stroke.tag-landuse-reservoir {
420 path.stroke.tag-landuse-quarry {
424 path.stroke.tag-landuse-residential,
425 path.stroke.tag-landuse-construction {
429 path.stroke.tag-landuse-meadow,
430 path.stroke.tag-natural-wetland {
434 path.stroke.tag-natural-beach {
438 path.stroke.tag-natural-scrub {
442 path.fill.tag-landuse,
443 path.fill.tag-natural-wood,
444 path.fill.tag-natural-tree,
445 path.fill.tag-natural-grassland,
446 path.fill.tag-natural-grass,
447 path.fill.tag-leisure-pitch,
448 path.fill.tag-leisure-park {
453 path.fill.tag-landuse-retail,
454 path.fill.tag-landuse-residential,
455 path.fill.tag-landuse-commercial,
456 path.fill.tag-landuse-industrial {
460 path.fill.tag-natural-wetland,
461 path.fill.tag-natural-beach,
462 path.fill.tag-natural-scrub,
463 path.fill.tag-landuse-cemetery,
464 path.fill.tag-landuse-meadow,
465 path.fill.tag-landuse-farm,
466 path.fill.tag-landuse-farmland,
467 path.fill.tag-landuse-construction,
468 path.fill.tag-landuse-orchard {
469 /* background color is applied a further opacity later */
473 .pattern-color-beach,
474 .pattern-color-scrub,
475 .pattern-color-meadow,
476 .pattern-color-wetland,
477 .pattern-color-cemetery,
479 .pattern-color-farmland,
480 .pattern-color-construction,
481 .pattern-color-orchard {
485 path.fill.tag-landuse-basin,
486 path.fill.tag-landuse-reservoir {
490 path.fill.tag-landuse-quarry {
494 path.fill.tag-landuse-residential {
498 path.fill.tag-landuse-farm,
499 path.fill.tag-landuse-farmland {
500 fill: url(#pattern-farmland) #8cd05f;
504 .pattern-color-farmland {
505 fill: url(#pattern-farmland) #8cd05f;
508 path.fill.tag-landuse-meadow {
509 fill: url(#pattern-meadow) #b6e199;
511 .pattern-color-meadow {
515 path.fill.tag-natural-wetland {
516 fill: url(#pattern-wetland) #b6e199;
518 .pattern-color-wetland {
522 path.fill.tag-natural-beach {
523 fill: url(#pattern-beach) #ffff7e;
525 .pattern-color-beach {
529 path.fill.tag-natural-scrub {
530 fill: url(#pattern-scrub) #dbf08b;
532 .pattern-color-scrub {
536 path.fill.tag-landuse-cemetery {
537 fill: url(#pattern-cemetery) #8cd05f;
539 .pattern-color-cemetery {
543 path.fill.tag-landuse-orchard {
544 fill: url(#pattern-orchard) #8cd05f;
546 .pattern-color-orchard {
550 path.fill.tag-landuse-construction {
551 fill: url(#pattern-construction) #e06e5f;
553 .pattern-color-construction {
557 path.fill.tag-landuse-retail,
558 path.fill.tag-landuse-commercial {
562 path.fill.tag-landuse-industrial {
566 path.stroke.tag-amenity-parking {
570 path.fill.tag-amenity-parking {
575 path.fill.tag-boundary {
581 path.shadow.tag-highway {
584 path.casing.tag-highway {
588 path.stroke.tag-highway {
593 svg[data-zoom="16"] path.shadow.tag-highway {
596 svg[data-zoom="16"] path.casing.tag-highway {
599 svg[data-zoom="16"] path.stroke.tag-highway {
603 path.stroke.tag-highway-motorway,
604 path.stroke.tag-highway-motorway_link,
605 path.stroke.tag-construction-motorway {
609 path.casing.tag-highway-motorway,
610 path.casing.tag-highway-motorway_link,
611 path.casing.tag-construction-motorway {
615 path.stroke.tag-highway-trunk,
616 path.stroke.tag-highway-trunk_link,
617 path.stroke.tag-construction-trunk {
620 path.casing.tag-highway-trunk,
621 path.casing.tag-highway-trunk_link,
622 path.casing.tag-construction-trunk {
626 path.stroke.tag-highway-primary,
627 path.stroke.tag-highway-primary_link,
628 path.stroke.tag-construction-primary {
631 path.casing.tag-highway-primary,
632 path.casing.tag-highway-primary_link,
633 path.casing.tag-construction-primary {
637 path.stroke.tag-highway-secondary,
638 path.stroke.tag-highway-secondary_link,
639 path.stroke.tag-construction-secondary {
642 path.casing.tag-highway-secondary,
643 path.casing.tag-highway-secondary_link,
644 path.casing.tag-construction-secondary {
648 path.stroke.tag-highway-tertiary,
649 path.stroke.tag-highway-tertiary_link,
650 path.stroke.tag-construction-tertiary {
653 path.casing.tag-highway-tertiary,
654 path.casing.tag-highway-tertiary_link,
655 path.casing.tag-construction-tertiary {
659 path.stroke.tag-highway-unclassified,
660 path.stroke.tag-construction-unclassified {
663 path.casing.tag-highway-unclassified,
664 path.casing.tag-construction-unclassified {
668 path.stroke.tag-highway-residential,
669 path.stroke.tag-construction-residential {
672 path.casing.tag-highway-residential,
673 path.casing.tag-construction-residential {
677 path.stroke.tag-highway-living_street {
681 path.casing.tag-highway-living_street {
686 path.stroke.line.tag-highway-pedestrian {
688 stroke-dasharray: 2, 8;
689 stroke-width:4 !important;
690 shapeRendering: auto;
692 path.casing.line.tag-highway-pedestrian {
694 stroke-width:6 !important;
696 path.stroke.area.tag-highway-pedestrian {
700 path.fill.area.tag-highway-pedestrian {
704 path.stroke.tag-highway-service {
708 path.casing.tag-highway-service {
712 svg[data-zoom="16"] path.stroke.tag-highway-service {
715 svg[data-zoom="16"] path.casing.tag-highway-service {
719 path.stroke.tag-highway-track {
723 path.casing.tag-highway-track {
726 stroke-linecap: butt;
727 stroke-dasharray: 6, 6;
729 svg[data-zoom="16"] path.stroke.tag-highway-track {
732 svg[data-zoom="16"] path.casing.tag-highway-track {
736 path.stroke.tag-highway-path {
738 stroke-width: 1 !important;
739 stroke-linecap: butt;
740 stroke-dasharray: 8, 4;
742 path.casing.tag-highway-path {
743 stroke-width: 1 !important;
747 path.stroke.tag-highway-footway,
748 path.stroke.tag-highway-cycleway,
749 path.stroke.tag-highway-bridleway {
751 stroke-linecap: butt;
752 stroke-dasharray: 6, 6;
754 path.casing.tag-highway-footway,
755 path.casing.tag-highway-cycleway,
756 path.casing.tag-highway-bridleway {
761 svg[data-zoom="16"] path.stroke.tag-highway-footway,
762 svg[data-zoom="16"] path.stroke.tag-highway-cycleway,
763 svg[data-zoom="16"] path.stroke.tag-highway-bridleway {
766 svg[data-zoom="16"] path.casing.tag-highway-footway,
767 svg[data-zoom="16"] path.casing.tag-highway-cycleway,
768 svg[data-zoom="16"] path.casing.tag-highway-bridleway {
772 path.stroke.tag-highway-footway {
775 path.stroke.tag-highway-cycleway {
778 path.stroke.tag-highway-bridleway {
782 path.stroke.tag-highway-steps {
785 stroke-linecap: butt;
786 stroke-dasharray: 3, 3;
788 path.casing.tag-highway-steps {
795 path.stroke.tag-aeroway-taxiway {
799 path.shadow.tag-aeroway-runway {
802 path.stroke.tag-aeroway-runway {
805 stroke-linecap: butt;
806 stroke-dasharray: 24, 48;
808 path.casing.tag-aeroway-runway {
811 stroke-linecap: square;
813 path.fill.tag-aeroway-runway {
817 path.stroke.tag-aeroway-apron {
820 path.fill.tag-aeroway-apron {
828 path.casing.tag-bridge-yes {
834 path.casing.tag-highway-living_street.tag-bridge-yes,
835 path.casing.tag-highway-path.tag-bridge-yes {
839 path.casing.line.tag-highway-pedestrian,
840 path.casing.tag-highway-service.tag-bridge-yes,
841 path.casing.tag-highway-track.tag-bridge-yes,
842 path.casing.tag-highway-steps.tag-bridge-yes,
843 path.casing.tag-highway-footway.tag-bridge-yes,
844 path.casing.tag-highway-cycleway.tag-bridge-yes,
845 path.casing.tag-highway-bridleway.tag-bridge-yes {
849 path.shadow.tag-highway-residential.tag-bridge {
853 path.shadow.tag-highway-living_street.tag-bridge-yes,
854 path.shadow.tag-highway-path.tag-bridge-yes,
855 path.shadow.line.tag-highway-pedestrian,
856 path.shadow.tag-highway-service.tag-bridge-yes,
857 path.shadow.tag-highway-track.tag-bridge-yes,
858 path.shadow.tag-highway-steps.tag-bridge-yes,
859 path.shadow.tag-highway-footway.tag-bridge-yes,
860 path.shadow.tag-highway-cycleway.tag-bridge-yes,
861 path.shadow.tag-highway-bridleway.tag-bridge-yes {
867 path.stroke.tag-highway.tag-tunnel-yes {
871 path.casing.tag-highway.tag-tunnel-yes {
875 path.stroke.tag-highway-construction,
876 path.casing.tag-highway-construction {
877 stroke-linecap: butt;
878 stroke-dasharray: 7, 7;
883 svg[data-zoom="16"] path.stroke.tag-highway-construction,
884 svg[data-zoom="16"] path.casing.tag-highway-construction {
885 stroke-linecap: butt;
886 stroke-dasharray: 5, 5;
891 .line.stroke.tag-railway {
894 stroke-linecap: butt;
895 stroke-dasharray: 12,12;
897 .line.casing.tag-railway {
902 .line.stroke.tag-railway-abandoned {
905 .line.casing.tag-railway-abandoned {
909 .line.stroke.tag-railway-subway {
912 .line.casing.tag-railway-subway {
916 .line.stroke.tag-railway-platform {
919 stroke-dasharray: none;
921 .line.casing.tag-railway-platform {
927 path.fill.tag-waterway {
931 path.stroke.tag-waterway {
935 path.casing.tag-waterway {
940 path.stroke.tag-waterway-river {
943 path.casing.tag-waterway-river {
947 svg[data-zoom="16"] path.stroke.tag-waterway-river {
950 svg[data-zoom="16"] path.casing.tag-waterway-river {
954 path.stroke.tag-waterway-ditch {
958 path.casing.tag-waterway-ditch {
965 path.stroke.tag-power {
969 path.casing.tag-power {
975 path.stroke.tag-boundary {
978 stroke-linecap: butt;
979 stroke-dasharray: 20, 5, 5, 5;
981 path.casing.tag-boundary {
986 path.casing.tag-boundary-protected_area,
987 path.casing.tag-boundary-national_park {
994 pointer-events: none;
999 .oneway .textpath.tag-waterway {
1003 marker#oneway-marker path {
1016 text.arealabel-halo,
1017 text.linelabel-halo,
1018 text.pointlabel-halo,
1025 text-anchor: middle;
1026 pointer-events: none;
1027 -webkit-transition: opacity 100ms linear;
1028 transition: opacity 100ms linear;
1029 -moz-transition: opacity 100ms linear;
1032 .linelabel-halo .textpath,
1033 .linelabel .textpath {
1034 dominant-baseline: middle;
1037 /* Opera doesn't support dominant-baseline. See #715 */
1038 .opera .linelabel-halo .textpath,
1039 .opera .linelabel .textpath {
1040 baseline-shift: -33%;
1041 dominant-baseline: auto;
1048 stroke-miterlimit: 1;
1058 cursor: auto; /* Opera */
1059 cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
1060 cursor: -webkit-image-set(
1061 url(<%= asset_path("iD/img/cursor-grab.png") %>) 1x,
1062 url(<%= asset_path("iD/img/cursor-grab2x.png") %>) 2x
1067 cursor: pointer; /* Opera */
1068 cursor: url(<%= asset_path("iD/img/cursor-grabbing.png") %>) 9 9, auto; /* FF */
1069 cursor: -webkit-image-set(
1070 url(<%= asset_path("iD/img/cursor-grabbing.png") %>) 1x,
1071 url(<%= asset_path("iD/img/cursor-grabbing2x.png") %>) 2x
1075 .mode-browse .point,
1076 .mode-select .point {
1077 cursor: pointer; /* Opera */
1078 cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
1079 cursor: -webkit-image-set(
1080 url(<%= asset_path("iD/img/cursor-select-point.png") %>) 1x,
1081 url(<%= asset_path("iD/img/cursor-select-point2x.png") %>) 2x
1085 .mode-select .vertex,
1086 .mode-browse .vertex {
1087 cursor: pointer; /* Opera */
1088 cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
1089 cursor: -webkit-image-set(
1090 url(<%= asset_path("iD/img/cursor-select-vertex.png") %>) 1x,
1091 url(<%= asset_path("iD/img/cursor-select-vertex2x.png") %>) 2x
1096 .mode-select .line {
1097 cursor: pointer; /* Opera */
1098 cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
1099 cursor: -webkit-image-set(
1100 url(<%= asset_path("iD/img/cursor-select-line.png") %>) 1x,
1101 url(<%= asset_path("iD/img/cursor-select-line2x.png") %>) 2x
1106 .mode-browse .area {
1107 cursor: pointer; /* Opera */
1108 cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
1109 cursor: -webkit-image-set(
1110 url(<%= asset_path("iD/img/cursor-select-area.png") %>) 1x,
1111 url(<%= asset_path("iD/img/cursor-select-area2x.png") %>) 2x
1115 .mode-select .midpoint,
1116 .mode-browse .midpoint {
1117 cursor: pointer; /* Opera */
1118 cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
1119 cursor: -webkit-image-set(
1120 url(<%= asset_path("iD/img/cursor-select-split.png") %>) 1x,
1121 url(<%= asset_path("iD/img/cursor-select-split2x.png") %>) 2x
1125 .mode-select .behavior-multiselect .point,
1126 .mode-select .behavior-multiselect .vertex,
1127 .mode-select .behavior-multiselect .line,
1128 .mode-select .behavior-multiselect .area {
1129 cursor: pointer; /* Opera */
1130 cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
1131 cursor: -webkit-image-set(
1132 url(<%= asset_path("iD/img/cursor-select-add.png") %>) 1x,
1133 url(<%= asset_path("iD/img/cursor-select-add2x.png") %>) 2x
1137 .mode-select .behavior-multiselect .selected {
1138 cursor: pointer; /* Opera */
1139 cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
1140 cursor: -webkit-image-set(
1141 url(<%= asset_path("iD/img/cursor-select-remove.png") %>) 1x,
1142 url(<%= asset_path("iD/img/cursor-select-remove2x.png") %>) 2x
1147 #map .vertex:active,
1150 #map .midpoint:active,
1151 #map .mode-select .selected {
1152 cursor: pointer; /* Opera */
1153 cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
1154 cursor: -webkit-image-set(
1155 url(<%= asset_path("iD/img/cursor-select-acting.png") %>) 1x,
1156 url(<%= asset_path("iD/img/cursor-select-acting2x.png") %>) 2x
1160 .mode-draw-line #map:hover,
1161 .mode-draw-area #map:hover,
1162 .mode-add-line #map:hover,
1163 .mode-add-area #map:hover,
1164 .mode-drag-node #map:hover {
1165 cursor: crosshair; /* Opera */
1166 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1167 cursor: -webkit-image-set(
1168 url(<%= asset_path("iD/img/cursor-draw.png") %>) 1x,
1169 url(<%= asset_path("iD/img/cursor-draw2x.png") %>) 2x
1173 .mode-draw-line .behavior-hover .way,
1174 .mode-draw-area .behavior-hover .way,
1175 .mode-add-line .behavior-hover .way,
1176 .mode-add-area .behavior-hover .way,
1177 .mode-drag-node .behavior-hover .way {
1178 cursor: crosshair; /* Opera */
1179 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
1180 cursor: -webkit-image-set(
1181 url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 1x,
1182 url(<%= asset_path("iD/img/cursor-draw-connect-line2x.png") %>) 2x
1186 .mode-draw-line .behavior-hover .vertex,
1187 .mode-draw-area .behavior-hover .vertex,
1188 .mode-add-line .behavior-hover .vertex,
1189 .mode-add-area .behavior-hover .vertex,
1190 .mode-drag-node .behavior-hover .vertex {
1191 cursor: crosshair; /* Opera */
1192 cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
1193 cursor: -webkit-image-set(
1194 url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 1x,
1195 url(<%= asset_path("iD/img/cursor-draw-connect-vertex2x.png") %>) 2x
1199 .mode-add-point #map:hover,
1203 cursor: crosshair; /* Opera */
1204 cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
1205 cursor: -webkit-image-set(
1206 url(<%= asset_path("iD/img/cursor-draw.png") %>) 1x,
1207 url(<%= asset_path("iD/img/cursor-draw2x.png") %>) 2x
1212 pointer-events: visibleStroke;
1220 pointer-events: none;
1225 .mode-draw-line .vertex.active,
1226 .mode-draw-area .vertex.active,
1227 .mode-drag-node .vertex.active {
1231 .mode-draw-line .way.active,
1232 .mode-draw-area .way.active,
1233 .mode-drag-node .active {
1234 pointer-events: none;
1237 /* Ensure drawing doesn't interact with area fills. */
1238 .mode-add-point .area.fill,
1239 .mode-draw-line .area.fill,
1240 .mode-draw-area .area.fill,
1241 .mode-add-line .area.fill,
1242 .mode-add-area .area.fill,
1243 .mode-drag-node .area.fill {
1244 pointer-events: none;
1247 ------------------------------------------------------- */
1250 Opera misbehaves when the window is resized vertically unless 100% width + height are
1251 applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
1259 font:normal 12px/1.6666 'Helvetica Neue', Arial, sans-serif;
1265 -webkit-font-smoothing: subpixel-antialiased;
1270 vertical-align: middle;
1304 div, textarea, label, input, form, span, ul, li, ol, a, button, h1, h2, h3, h4, h5, p, img {
1305 -moz-box-sizing: border-box;
1306 -webkit-box-sizing: border-box;
1307 box-sizing: border-box;
1310 a, button, input, textarea {
1311 -webkit-tap-highlight-color:rgba(0,0,0,0);
1312 -webkit-touch-callout:none;
1317 .checkselect label:hover,
1318 .opacity-options li,
1320 cursor: pointer; /* Opera */
1321 cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
1322 cursor: -webkit-image-set(
1323 url(<%= asset_path("iD/img/cursor-pointer.png") %>) 1x,
1324 url(<%= asset_path("iD/img/cursor-pointer2x.png") %>) 2x
1332 margin-bottom: 20px;
1337 h4:last-child { margin-bottom: 0;}
1343 margin-bottom: 10px;
1349 padding-bottom: 10px;
1353 outline-color: transparent;
1354 outline-style: none;
1377 -webkit-transition: all 100ms;
1378 -moz-transition: all 100ms;
1379 -o-transition: all 100ms;
1380 transition: all 100ms;
1388 ------------------------------------------------------- */
1392 font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
1402 background-color: white;
1403 border:1px solid #ccc;
1408 -webkit-transition: all 100ms;
1409 -moz-transition: all 100ms;
1410 -o-transition: all 100ms;
1411 transition: all 100ms;
1416 background-color: #F1F1F1;
1427 /* remove bottom border radius when combox is open */
1428 .combobox + div textarea:focus,
1429 .combobox + div input:focus {
1430 border-bottom-left-radius: 0;
1431 border-bottom-right-radius: 0;
1437 background-color: white;
1438 border-collapse: collapse;
1447 table.tags, table.tags td, table.tags th {
1448 border: 1px solid #CCC;
1453 ------------------------------------------------------- */
1455 .col0 { float:left; width:04.1666%; }
1456 .col1 { float:left; width:08.3333%; }
1457 .col2 { float:left; width:16.6666%; }
1458 .col3 { float:left; width:25.0000%; max-width: 300px; }
1459 .col4 { float:left; width:33.3333%; max-width: 400px; }
1460 .col5 { float:left; width:41.6666%; max-width: 500px; }
1461 .col6 { float:left; width:50.0000%; max-width: 600px; }
1462 .col7 { float:left; width:58.3333%; }
1463 .col8 { float:left; width:66.6666%; }
1464 .col9 { float:left; width:75.0000%; }
1465 .col10 { float:left; width:83.3333%; }
1466 .col11 { float:left; width:91.6666%; }
1467 .col12 { float:left; width:100.0000%; }
1470 ------------------------------------------------------- */
1472 ul li { list-style: none;}
1476 border: 1px solid #CCC;
1477 margin-bottom: 10px;
1480 ul.toggle-list li a {
1482 padding: 5px 10px 5px 25px;
1484 border-top: 1px solid #ccc;
1487 ul.toggle-list li:first-child a {
1489 border-radius: 3px 3px 0 0;
1492 ul.toggle-list li:last-child a {
1493 border-radius: 0 0 3px 3px;
1496 ul.toggle-list li:only-child a {
1500 ul.toggle-list li a:hover { background-color: #ececec;}
1502 ul.toggle-list li a.selected { background-color: #e8ebff;}
1506 border-left: 1px solid rgba(255,255,255,.5);
1507 padding: 5px 0 5px 5px;
1511 ul.link-list li:last-child {
1517 .toggle-list a::before {
1519 display: inline-block;
1524 border: 1px solid #CCC;
1530 .toggle-list a:hover::before {
1531 box-shadow: inset 0 0 0 2px white;
1534 .toggle-list a.selected::before {
1535 background: #7092ff;
1536 box-shadow: inset 0 0 0 2px white;
1540 ------------------------------------------------------- */
1547 background: #f7f7f7 url(<%= asset_path("iD/img/background-pattern-1.png") %>) repeat;
1552 background: #f1f1f1;
1557 background:rgba(0,0,0,.5);
1562 .fr { float: right;}
1576 box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.25);
1580 background: url(<%= asset_path("iD/img/loader_bg.gif") %>);
1581 background-size:5px 5px;
1615 display: inline-block;
1618 /* Crashes Safari: https://github.com/systemed/iD/issues/1188 */
1619 /*-webkit-transition: all 100ms;*/
1620 -moz-transition: all 100ms;
1621 -o-transition: all 100ms;
1622 transition: all 100ms;
1627 background-color: #ececec;
1632 background-color: rgba(255,255,255,.25);
1633 color: rgba(0,0,0,.5);
1637 button.active:not([disabled]):not(.disabled) {
1638 background: #7092ff;
1652 display: inline-block;
1657 .button-wrap button:only-child { width: 100%;}
1658 .button-wrap:last-of-type { padding-right: 0;}
1662 border-right: 1px solid rgba(0,0,0,.5);
1665 .joined button:first-child {
1666 border-radius:4px 0 0 4px;
1669 .joined button:last-child {
1670 border-right-width: 0;
1671 border-radius:0 4px 4px 0;
1675 background: #7092ff;
1678 button.action:focus,
1679 button.action:hover {
1680 background: #597BE7;
1683 button.save.has-count {
1687 button.save .count {
1691 button.save.has-count .count {
1695 background: rgba(255, 255, 255, .5);
1702 margin-left: 8.3333%;
1705 button.save.has-count .count::before {
1714 border-top: 6px solid transparent;
1715 border-bottom: 6px solid transparent;
1716 border-right: 6px solid rgba(255,255,255,.5);
1722 display:inline-block;
1726 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 0;
1727 text-indent:-9999px;
1743 /* Definitions for every icon */
1744 .icon.browse { background-position: 0 0;}
1745 .icon.add-point { background-position: -20px 0;}
1746 .icon.add-line { background-position: -40px 0;}
1747 .icon.add-area { background-position: -60px 0;}
1748 .icon.undo { background-position: -80px 0;}
1749 .icon.redo { background-position: -100px 0;}
1750 .icon.apply { background-position: -120px 0;}
1751 .icon.save { background-position: -140px 0;}
1752 .icon.close { background-position: -160px 0;}
1753 .icon.delete { background-position: -180px 0;}
1754 .icon.remove { background-position: -200px 0;}
1755 .icon.inspect { background-position: -220px 0;}
1756 .icon.zoom-in { background-position: -240px 0;}
1757 .icon.zoom-out { background-position: -260px 0;}
1758 .icon.plus { background-position: -240px 0;}
1759 .icon.search { background-position: -280px 0;}
1760 .icon.geocode { background-position: -280px 0;}
1761 .icon.layers { background-position: -300px 0;}
1762 .icon.avatar { background-position: -320px 0;}
1763 .icon.nearby { background-position: -340px 0;}
1764 .icon.geolocate { background-position: -360px 0;}
1765 .icon.warning { background-position: -380px 0;}
1766 .icon.back { background-position: -420px 0;}
1767 .icon.forward { background-position: -440px 0;}
1768 .icon.help { background-position: -460px 0;}
1770 .icon.inspect.light { background-position: -220px -20px;}
1771 .icon.geocode.light { background-position: -280px -20px;}
1772 .icon.help.light { background-position: -460px -20px;}
1773 .icon.avatar.light { background-position: -320px -20px;}
1774 .icon.nearby.light { background-position: -340px -20px;}
1776 .icon.back.blue { background-position: -420px -20px;}
1777 .icon.forward.blue { background-position: -440px -20px;}
1779 button[disabled] .icon.browse { background-position: 0 -40px;}
1780 button[disabled] .icon.add-point { background-position: -20px -40px;}
1781 button[disabled] .icon.add-line { background-position: -40px -40px;}
1782 button[disabled] .icon.add-area { background-position: -60px -40px;}
1783 button.disabled .icon.undo { background-position: -80px -40px;}
1784 button.disabled .icon.redo { background-position: -100px -40px;}
1785 button[disabled] .apply.icon { background-position: -120px -40px;}
1786 button[disabled] .close.icon { background-position: -160px -40px;}
1787 button[disabled] .delete.icon { background-position: -180px -40px;}
1788 button[disabled] .icon.remove { background-position: -200px -40px;}
1789 button[disabled] .icon.inspect { background-position: -220px -40px;}
1790 button[disabled] .icon.zoom-in { background-position: -240px -40px;}
1791 button[disabled] .icon.zoom-out { background-position: -260px -40px;}
1792 button[disabled] .icon.geocode { background-position: -280px -40px;}
1793 button[disabled] .icon.layers { background-position: -300px -40px;}
1794 button[disabled] .icon.avatar { background-position: -320px -40px;}
1795 button[disabled] .icon.nearby { background-position: -340px -40px;}
1797 /* Out link is special */
1799 .icon.out-link { height: 14px; width: 14px; background-position: -500px 0;}
1800 a:hover .icon.out-link { background-position: -500px -14px;}
1802 .icon.plus-dark { background-position: -240px -40px;}
1804 /* Universal preset icons */
1806 .icon.source { background-position: 0 -200px;}
1807 .icon.address { background-position: -20px -200px;}
1808 .icon.telephone { background-position: -40px -200px;}
1809 .icon.website { background-position: -60px -200px;}
1810 .icon.elevation { background-position: -80px -200px;}
1811 .icon.wikipedia { background-position: -100px -200px;}
1812 .icon.note { background-position: -120px -200px;}
1813 .icon.wheelchair { background-position: -140px -200px;}
1815 /* ToolBar / Persistent UI Elements
1816 ------------------------------------------------------- */
1827 /* Header for modals / panes
1828 ------------------------------------------------------- */
1831 border-bottom: 1px solid #ccc;
1840 white-space: nowrap;
1841 text-overflow: ellipsis;
1849 border-left: 1px solid #CCC;
1864 ------------------------------------------------------- */
1883 .pane:first-child .inspector-body {
1892 .inspector-wrap .header button.preset-reset {
1893 border-right: 1px solid #CCC;
1897 .inspector-wrap .header button.preset-reset > div {
1902 .inspector-wrap .header button.preset-reset .col12:last-child {
1909 .inspector-wrap .header button:hover .col12:first-child {
1913 .inspector-wrap .header button:hover .col12:last-child {
1917 .inspector-wrap .header button.line > div {
1930 ------------------------------------------------------- */
1936 padding: 20px 20px 10px 20px;
1937 border-bottom: 1px solid #ccc;
1941 padding-bottom: 10px;
1949 border: 1px solid #ccc;
1954 margin-bottom: 20px;
1957 .preset-grid.filtered .grid-button-wrap:first-child .grid-entry {
1958 background: #ececec;
1973 .grid-entry .label {
1974 background: #f6f6f6;
1982 white-space: nowrap;
1983 text-overflow: ellipsis;
1985 border-left: 1px solid rgba(0, 0, 0, .1);
1989 .grid-entry:hover .label {
1993 .grid-button-wrap button.tag-reference-button {
1998 border: 1px solid #CCC;
1999 border-radius: 0 3px 3px 0;
2002 .current .grid-entry,
2003 .current .grid-entry .label {
2004 background-color: #E8EBFF;
2007 .category .grid-entry:after,
2008 .category .grid-entry:before {
2012 left: -1px; right: -1px;
2013 border: 1px solid #ccc;
2014 border-bottom: none;
2015 border-radius: 6px 6px 0 0;
2019 .category .grid-entry:before {
2023 .preset-grid-search-wrap .icon {
2028 pointer-events: none;
2031 .preset-grid-search-wrap input {
2036 border-bottom-width: 1px;
2040 .preset-search-result {
2046 .subgrid .preset-grid {
2047 padding: 10px 10px 0 10px;
2048 border: 1px solid #CCC;
2054 border: solid rgba(0, 0, 0, 0);
2056 border-bottom-color: #CCC;
2060 margin-left: -webkit-calc(50% - 10px);
2067 border-bottom: 1px solid #ccc;
2075 /* Preset icon colors */
2077 .inspector-body-line .icon.feature-marker-stroked {
2081 .preset-icon-fill.icon-area {
2087 left: 7px; top: 7px;
2088 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -240px -80px;
2091 .preset-icon-fill.tag-shop,
2092 .preset-icon-fill.tag-building {
2093 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -80px;
2096 .preset-icon-fill.tag-natural-water {
2097 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -60px -80px;
2100 .preset-icon-fill.tag-landuse,
2101 .preset-icon-fill.tag-natural-wood,
2102 .preset-icon-fill.tag-natural-tree,
2103 .preset-icon-fill.tag-natural-grassland,
2104 .preset-icon-fill.tag-leisure-park {
2105 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -120px -80px;
2108 .preset-icon-fill.tag-amenity-parking {
2109 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -180px -80px;
2112 /* preset form basics */
2114 .tag-wrap .preset-icon-wrap {
2115 border-bottom: 1px solid #CCC;
2116 background-color: #e8ebff;
2119 .tag-wrap .preset-icon-wrap::after {
2128 border: solid rgba(0, 0, 0, 0);
2130 border-bottom-color: #CCC;
2133 .tag-wrap .preset-icon-wrap > div {
2138 border: 1px solid #CCC;
2142 .inspector-preset .form-field {
2144 padding-right: 20px;
2150 border: 1px solid #cfcfcf;
2151 padding: 5px 0 5px 10px;
2152 background: #f6f6f6;
2154 border-radius: 4px 4px 0 0;
2157 .form-label button {
2158 border-left: 1px solid #CCC;
2161 .form-label .modified-icon {
2167 .modified .form-label .modified-icon {
2171 .form-label button.tag-reference-button {
2172 border-top-right-radius: 3px;
2175 .form-field > input,
2176 .form-field > textarea,
2177 .form-field .preset-input-wrap {
2178 border: 1px solid #CCC;
2180 border-radius: 0 0 4px 4px;
2183 .form-field textarea {
2187 .form-field-name input.localized-main {
2193 /* adding additional preset fields */
2197 border-top: 1px solid #CCC;
2200 .more-buttons:nth-last-child(2) {
2201 border-bottom: 1px solid #CCC;
2204 button.preset-add-field {
2207 -webkit-transition: width 200ms;
2208 -moz-transition: width 200ms;
2209 -o-transition: width 200ms;
2210 transition: width 200ms;
2213 /* set width based on # of buttons */
2215 button.preset-add-field:nth-last-child(4),
2216 button.preset-add-field:nth-last-child(4) ~ button.preset-add-field {
2220 button.preset-add-field:nth-last-child(5),
2221 button.preset-add-field:nth-last-child(5) ~ button.preset-add-field {
2225 button.preset-add-field:nth-last-child(6),
2226 button.preset-add-field:nth-last-child(6) ~ button.preset-add-field {
2230 button.preset-add-field:nth-last-child(7),
2231 button.preset-add-field:nth-last-child(7) ~ button.preset-add-field {
2235 button.preset-add-field:nth-last-child(8),
2236 button.preset-add-field:nth-last-child(8) ~ button.preset-add-field {
2240 .preset-add-field .tooltip.top .tooltip-arrow {
2241 border-top-color: #000;
2244 .preset-add-field .tooltip-inner {
2249 .preset-fav button.fav {
2255 /* preset form access */
2257 .preset-input-wrap li {
2258 border-bottom: 1px solid #CCC;
2260 .preset-input-wrap li:last-child {
2264 .preset-input-wrap .label {
2265 background: #F6F6F6;
2269 .preset-input-access-wrap input {
2272 border-left-width: 1px;
2275 .preset-input-wrap li:last-child input {
2276 border-bottom-right-radius: 4px;
2279 /* preset form numbers */
2281 input[type=number] {
2283 padding-right: 65px;
2289 border-left: 1px solid #CCC;
2290 display: inline-block;
2292 margin-bottom: -11px;
2296 .spin-control button {
2301 border-left: 1px solid #CCC;
2302 border-right: 1px solid #CCC;
2305 background: rgba(0, 0, 0, 0);
2308 .spin-control button.decrement {
2309 border-bottom-right-radius: 3px;
2312 .spin-control button.decrement::after,
2313 .spin-control button.increment::after {
2315 height: 0; width: 0;
2317 left: 0; right: 0; bottom: 0; top: 0;
2321 .spin-control button.decrement::after {
2322 border-top: 5px solid #CCC;
2323 border-left: 5px solid transparent;
2324 border-right: 5px solid transparent;
2327 .spin-control button.increment::after {
2328 border-bottom: 5px solid #CCC;
2329 border-left: 5px solid transparent;
2330 border-right: 5px solid transparent;
2333 /* preset form checkbox */
2335 .checkselect label:last-of-type {
2338 box-sizing: border-box;
2342 .checkselect label:hover {
2343 background: #f1f1f1;
2350 .checkselect input[type="checkbox"] {
2353 vertical-align: middle;
2357 .checkselect .set input[type="checkbox"] {
2361 /* Preset form radio button */
2363 .radio-wrap button {
2366 font-weight: normal;
2369 border-bottom: 1px solid #CCC;
2375 .radio-wrap button::before {
2377 display: inline-block;
2382 border: 1px solid #CCC;
2388 .radio-wrap button:hover::before {
2389 box-shadow: inset 0 0 0 2px white;
2392 .radio-wrap button.active::before {
2393 background: #7092ff;
2394 box-shadow: inset 0 0 0 2px white;
2397 .radio-wrap button:last-child {
2401 .radio-wrap button.active {
2402 background-color: #E8EBFF !important;
2405 .radio-wrap button.remove {
2406 border-radius: 0 0 3px 3px;
2408 .radio-wrap button.remove .icon {
2413 .radio-wrap button.remove::before {
2417 .form-field .localized-main {
2419 border-radius: 0 0 0 4px;
2422 .form-field .localized-add {
2425 border-radius: 0 0 4px 0;
2426 border-bottom: 1px solid #ccc;
2427 border-right: 1px solid #ccc;
2428 vertical-align: top;
2431 .form-field .localized-wrap .entry .localized-lang {
2438 .form-field .localized-wrap .entry .localized-value {
2444 .form-field .localized-wrap .entry .localized-remove {
2447 border-bottom: 1px solid #ccc;
2448 border-right: 1px solid #ccc;
2449 vertical-align: top;
2453 .form-field .localized-wrap .entry:last-child .localized-lang {
2454 border-radius: 0 0 0 4px;
2457 .form-field .localized-wrap .entry:last-child .localized-remove {
2458 border-radius: 0 0 4px 0;
2461 .form-field .wiki-lang {
2464 border-radius: 0 0 0 4px;
2467 .form-field .wiki-title {
2473 .form-field .wiki-link {
2474 border-radius: 0 0 4px 0;
2475 border: 1px solid #ccc;
2482 -webkit-transition: all 100ms;
2483 -moz-transition: all 100ms;
2484 -o-transition: all 100ms;
2485 transition: all 100ms;
2488 .form-field .wiki-link:hover {
2489 background: #ececec;
2492 #preset-input-maxspeed {
2494 border-radius: 0 0 0 4px;
2498 .form-field .maxspeed-unit {
2499 border-radius: 0 0 4px 0;
2500 border: 1px solid #ccc;
2511 /* Preset form address */
2513 .form-field .addr-housename {
2517 .form-field .addr-number {
2525 .form-field .addr-street {
2532 .form-field .addr-city {
2537 border-radius: 0 0 0 4px;
2540 .form-field .addr-postcode {
2544 border-radius: 0 0 4px 0;
2546 /* combobox dropdown */
2551 box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
2557 border: 1px solid #ccc;
2558 border-radius: 0 0 4px 4px;
2564 border-top:1px solid #ccc;
2565 text-overflow: ellipsis;
2566 white-space: nowrap;
2570 .combobox a.selected,
2572 background: #ececec;
2575 .combobox a:first-child {
2582 display:inline-block;
2583 border-top: 5px solid #ccc;
2584 border-left: 5px solid transparent;
2585 border-right: 5px solid transparent;
2590 .inspector-inner.additional-tags {
2591 border-top: 1px solid #ccc;
2607 border-bottom: 1px solid #CCC;
2608 border-left: 1px solid #CCC;
2611 .tag-row input.key {
2612 background-color: #f6f6f6;
2615 .tag-row input.value {
2616 border-right: 1px solid #CCC;
2619 .tag-row:first-child input.key {
2620 border-top: 1px solid #CCC;
2621 border-top-left-radius: 4px;
2624 .tag-row:first-child input.value {
2625 border-top: 1px solid #CCC;
2632 border: 1px solid #CCC;
2633 border-top-width: 0; border-left-width: 0;
2636 background: #fafafa;
2639 .tag-row button:hover {
2640 background: #f1f1f1;
2643 .tag-row button .icon {
2647 .tag-row:first-child button {
2648 border-top-width: 1px;
2651 .tag-row:first-child button.tag-help-button {
2652 border-top-right-radius: 4px;
2655 .tag-row:last-child button.tag-help-button {
2656 border-bottom-right-radius: 4px;
2659 .tag-row button.tag-help-button {
2663 /* Adding form fields to tag editor */
2665 .inspector-inner .add-tag {
2666 width: -webkit-calc(50% - 20px);
2667 width: calc(50% - 20px);
2670 background: rgba(0,0,0,.5);
2671 border-radius: 0 0 4px 4px;
2674 .inspector-inner .add-tag:hover {
2675 background: rgba(0,0,0,.8);
2678 .inspector-inner .add-tag .label {
2697 .grid-pane .tag-reference-wrap {
2698 padding: 10px 0 20px 0;
2701 .tag-pane .tag-reference-wrap {
2705 .additional-tags .tag-reference-wrap {
2706 border-bottom: 1px solid #ccc;
2710 .additional-tags div.tag-help {
2713 width: -webkit-calc(100% + 40px);
2714 width: calc(100% + 40px);
2720 width: -webkit-calc(33.3333% - 10px);
2721 width: calc(33.3333% - 10px);
2738 .map-control > button {
2740 background: rgba(0,0,0,.5);
2744 .map-control > button:hover {
2745 background: rgba(0, 0, 0, .8);
2748 .map-control > button.active:hover {
2749 background: #7092ff;
2760 padding: 10px 10px 0 10px;
2765 .zoombuttons button.zoom-in {
2766 border-radius:0 4px 0 0;
2769 /* Background Settings */
2771 .background-control button {
2772 border-radius:0 4px 0 0;
2775 .background-control button.active {
2780 border-top: 1px solid #CCC;
2784 .background-control .adjustments button:last-child {
2790 padding: 0 0 10px 12px;
2794 .hide-toggle:before {
2802 border-top: 4px solid transparent;
2803 border-bottom: 4px solid transparent;
2804 border-left: 8px solid #7092ff;
2807 .hide-toggle.expanded:before {
2808 border-top: 8px solid #7092ff;
2810 border-right: 4px solid transparent;
2811 border-left: 4px solid transparent;
2814 .background-control .nudge-container button {
2819 border-right: 1px solid #CCC;
2823 .background-control .nudge::after {
2828 left: 0; right: 0; top: 0; bottom: 0;
2833 .background-control .nudge.left::after {
2834 border-top: 5px solid transparent;
2835 border-bottom: 5px solid transparent;
2836 border-left: 5px solid #222;
2839 .background-control .nudge.right::after {
2840 border-top: 5px solid transparent;
2841 border-bottom: 5px solid transparent;
2842 border-right: 5px solid #222;
2845 .background-control .nudge.top::after {
2846 border-right: 5px solid transparent;
2847 border-left: 5px solid transparent;
2848 border-bottom: 5px solid #222;
2851 .background-control .nudge.bottom::after {
2852 border-right: 5px solid transparent;
2853 border-left: 5px solid transparent;
2854 border-top: 5px solid #222;
2858 background: url(<%= asset_path("iD/img/background-pattern-opacity.png") %>) 0 0 repeat;
2864 border: 1px solid #ccc;
2867 .opacity-options li {
2873 .opacity-options li .select-box{
2880 .background-control li:hover .select-box,
2881 .background-control li.selected .select-box {
2882 border: 2px solid #7092ff;
2883 background: rgba(89, 123, 231, .5);
2887 .background-control li.selected:hover .select-box,
2888 .background-control li.selected .select-box {
2892 .background-control .opacity {
2894 display:inline-block;
2899 .background-control .layer-toggle-gpx .layer-extent {
2900 border-left: 1px solid #CCC;
2903 .background-control .layer-toggle-gpx.selected .layer-extent {
2904 display:inline-block;
2909 .geocode-control form {
2913 .geocode-control form {
2917 .geocode-control input {
2921 .geocode-control div.map-overlay {
2922 border-top: 1px solid #CCC;
2930 .geocode-control div.map-overlay span {
2931 display: inline-block;
2932 border-bottom: 1px solid #CCC;
2936 .geocode-control div.map-overlay span.not-found {
2941 .geocode-control a:focus {
2942 text-decoration: underline;
2947 .geolocate-control button {
2948 border-radius: 0 0 4px 0;
2954 margin-bottom: 20px;
2957 .help-control button {
2958 border-radius: 0 0 4px 0;
2965 padding: 20px 20px 20px 50px;
2972 margin-bottom: 20px;
2975 .help-wrap .left-content .body p code {
2981 /* This is two columns, 41.66666 x .4 = 16.6666 */
2985 margin-bottom: 20px;
2989 .help-wrap .toc li a,
2992 border: 1px solid #CCC;
2996 .help-wrap .toc li a {
3000 .help-wrap .toc li a:hover,
3001 .help-wrap .nav a:hover {
3002 background: #ececec;
3005 .help-wrap .toc li a.selected {
3006 background: #E8EBFF;
3009 .help-wrap .toc li:first-child a {
3010 border-radius: 4px 4px 0 0;
3013 .help-wrap .toc li:nth-last-child(2) a {
3014 border-bottom: 1px solid #CCC;
3015 border-radius: 0 0 4px 4px
3018 .help-wrap .toc li.walkthrough a {
3021 border-bottom: 1px solid #ccc;
3035 .help-wrap .nav a:first-child {
3036 border-radius: 4px 0 0 4px;
3039 .help-wrap .nav a:last-child:not(:only-child) {
3040 border-radius: 0 4px 4px 0;
3044 .help-wrap .nav a:only-child {
3050 ------------------------------------------------------- */
3064 transform-origin:0 0;
3065 -ms-transform-origin:0 0;
3066 -webkit-transform-origin:0 0;
3067 -moz-transform-origin:0 0;
3068 -o-transform-origin:0 0;
3069 -moz-user-select: none;
3070 -webkit-user-select: none;
3071 -ms-user-select: none;
3075 #supersurface, .layer-layer {
3084 ------------------------------------------------------- */
3091 white-space: nowrap;
3092 text-overflow: ellipsis;
3095 -webkit-transition: opacity 200ms;
3096 -moz-transition: opacity 200ms;
3097 transition: opacity 200ms;
3100 .about-block:hover {
3110 padding: 2px 4px 4px 4px;
3113 .source-switch a.live {
3114 background: #d32232;
3118 /* Attribution overlay */
3132 .user-list a:not(:last-child):after {
3142 .api-status.offline,
3143 .api-status.readonly {
3148 /* Account Information */
3157 border-left: 1px solid white;
3162 ------------------------------------------------------- */
3165 display: inline-block;
3174 margin-bottom: 10px;
3177 .modal .description {
3191 background:rgba(0,0,0,0.5);
3193 left:0px; right:0px; top:0px; bottom:0px;
3198 border-bottom: 1px solid #CCC;
3201 .modal-section:last-child {
3209 .modal-actions button,
3211 background-size: white;
3212 font-weight: normal;
3214 border-bottom: 1px solid #CCC;
3218 display: inline-block;
3222 /* `button` elements have box-algin: auto, need
3223 compensate this for `a`*/
3227 .modal-actions button:hover,
3228 .modal-actions a:hover {
3229 background-color: #ececec;
3232 .modal-actions a:before,
3233 .modal-actions button:before,
3234 .walkthrough a:before {
3235 background-size: white;
3241 margin-bottom: 10px;
3242 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -220px;
3245 .modal-actions :first-child {
3246 border-right: 1px solid #CCC;
3250 ------------------------------------------------------- */
3252 .modal-actions .restore:before {
3253 background-position: -500px -220px;
3256 .modal-actions .reset:before {
3257 background-position: -600px -220px;
3261 ------------------------------------------------------- */
3263 .modal-actions .twitter:before {
3264 background-position: -100px -220px;
3267 .modal-actions .facebook {
3268 border-left: 1px solid #ccc;
3271 .modal-actions .facebook:before {
3272 background-position: -200px -220px;
3276 ------------------------------------------------------- */
3278 .modal-actions .walkthrough:before,
3279 .walkthrough a:before {
3280 background-position: -300px -220px;
3283 .modal-actions .start:before {
3284 background-position: -400px -220px;
3288 ------------------------------------------------------- */
3290 .commit-modal a.user-info {
3291 display: inline-block;
3294 .commit-modal .commit-info {
3296 padding-bottom: 20px;
3299 .commit-modal .user-info img {
3303 .commit-modal h3 small.count {
3317 .commit-modal .changeset-list {
3319 border:1px solid #ccc;
3325 .commit-modal .warning-section .changeset-list button {
3326 border-left: 1px solid #CCC;
3329 .commit-modal .changeset-list li {
3331 border-top:1px solid #ccc;
3335 .changeset-list li span.count {
3340 .changeset-list li span.count:before { content: '('; }
3342 .changeset-list li span.count:after { content: ')'; }
3344 .changeset-list li:first-child { border-top: 0;}
3347 ------------------------------------------------------- */
3352 padding-right: 10px;
3366 .notice .zoom-to:hover {
3367 background: #d8e1ff;
3370 .notice .zoom-to .icon {
3375 .icon.zoom-in-invert {
3376 background-position: -240px -40px;
3380 ------------------------------------------------------- */
3417 display: inline-block;
3419 font-weight: normal;
3420 background-color: white;
3426 pointer-events: none;
3430 background: transparent;
3438 border-color: transparent;
3439 border-style: solid;
3443 border-left-color: white;
3444 border-width: 5px 0 5px 5px;
3462 border-color: transparent;
3463 border-style: solid;
3467 border-right-color: white;
3468 border-width: 5px 5px 5px 0;
3475 border-color: transparent;
3476 border-style: solid;
3479 .tooltip.top .tooltip-arrow {
3483 border-top-color: white;
3484 border-width: 5px 5px 0;
3487 .tooltip.right .tooltip-arrow {
3491 border-right-color: white;
3492 border-width: 5px 5px 5px 0;
3495 .tooltip.left .tooltip-arrow {
3499 border-left-color: white;
3500 border-width: 5px 0 5px 5px;
3503 .tooltip.bottom .tooltip-arrow {
3507 border-bottom-color: white;
3508 border-width: 0 5px 5px;
3512 /* Exceptions for tooltips that are up against the edge of the screen */
3513 .add-point .tooltip {
3514 left: -20px !important; }
3516 .curtain-tooltip.intro-points-add .tooltip-arrow,
3517 .add-point .tooltip .tooltip-arrow {
3521 .tooltip .keyhint-wrap {
3522 padding: 5px 0 5px 0;
3525 .tooltip-inner .keyhint {
3530 display: inline-block;
3532 border: 1px solid #CCC;
3539 .tooltip .keyhint .keyhint-label {
3540 display: inline-block;
3543 .tooltip-inner .keyhint::after {
3552 border: 1px solid #CCC;
3556 .radial-menu-tooltip {
3557 background-color: rgba(255, 255, 255, 0.8);
3563 .radial-menu-background {
3565 stroke-opacity: 0.5;
3572 .radial-menu-item:hover {
3576 .radial-menu-item:active {
3580 .radial-menu-item.disabled {
3582 fill: rgba(255,255,255,.5);
3585 .radial-menu .icon {
3586 pointer-events: none;
3594 stroke-dasharray: 5, 5;
3598 ------------------------------------------------------- */
3600 @media only screen and (max-width: 840px) {
3601 #bar .label {display: none;}
3602 #bar .icon.icon-pre-text { margin-right: 0;}
3603 /* override hide for save button */
3604 #bar .save .label { display: block;}
3608 ----------------------------------------------------- */
3610 ::-webkit-scrollbar {
3615 border-left: 1px solid #DDD;
3618 ::-webkit-scrollbar-track {
3619 background-clip: padding-box;
3620 border: solid transparent;
3624 ::-webkit-scrollbar-thumb {
3625 background-color: rgba(0,0,0,.2);
3626 background-clip: padding-box;
3627 border: solid transparent;
3628 border-width: 3px 3px 3px 4px;
3631 ::-webkit-scrollbar-track:hover,
3632 ::-webkit-scrollbar-track:active {
3633 background-color: rgba(0,0,0,.05);
3636 /* Intro walkthrough
3637 ----------------------------------------------------- */
3640 pointer-events: all;
3655 .intro-nav-wrap button.step {
3659 .intro-nav-wrap button.step.finished {
3660 background: #8cd05f;
3663 .intro-nav-wrap button.step .icon {
3667 .intro-nav-wrap button.step.finished .icon {
3668 display: inline-block;
3672 .curtain-tooltip .tooltip-inner {
3677 .curtain-tooltip .tooltip-inner {
3681 .curtain-tooltip .tooltip-inner .bold {
3684 border-top: 1px solid #CCC;
3687 margin-right: -20px;
3688 padding: 10px 20px 0 20px;
3691 .curtain-tooltip .tooltip-inner .bold:only-child {
3697 .curtain-tooltip.intro-points-describe {
3698 top: 133px !important;
3701 /* Tooltip illustrations */
3703 .intro-points-add .tooltip-inner::before,
3704 .intro-areas-add .tooltip-inner::before,
3705 .intro-lines-add .tooltip-inner::before {
3710 background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -320px;
3713 .intro-areas-add .tooltip-inner::before {
3714 background-position: 0 -400px;
3717 .intro-lines-add .tooltip-inner::before {
3718 background-position: 0 -480px;
3721 .huge-modal-button {
3727 .huge-modal-button .illustration {
3730 background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat -301px -220px;
3733 /* This file is generated by make. Do NOT edit manually. */
3735 .preset-icon{background-image:url(<%= asset_path("iD/img/maki-sprite.png") %>);background-repeat:no-repeat;width:24px;height:24px;}
3736 .preset-icon-line{background-image:url(<%= asset_path("iD/img/line-presets.png") %>);background-repeat:no-repeat;width:60px;height:60px;}
3737 .feature-airfield{background-position:-0px -34px;}
3738 .feature-airport{background-position:-0px -94px;}
3739 .feature-alcohol-shop{background-position:-0px -154px;}
3740 .feature-america-football{background-position:-0px -214px;}
3741 .feature-art-gallery{background-position:-0px -274px;}
3742 .feature-bank{background-position:-0px -334px;}
3743 .feature-bar{background-position:-0px -394px;}
3744 .feature-baseball{background-position:-0px -454px;}
3745 .feature-basketball{background-position:-0px -514px;}
3746 .feature-beer{background-position:-0px -574px;}
3747 .feature-bicycle{background-position:-0px -634px;}
3748 .feature-building{background-position:-0px -694px;}
3749 .feature-bus{background-position:-0px -754px;}
3750 .feature-cafe{background-position:-0px -814px;}
3751 .feature-campsite{background-position:-0px -874px;}
3752 .feature-cemetery{background-position:-0px -934px;}
3753 .feature-cinema{background-position:-0px -994px;}
3754 .feature-circle{background-position:-0px -1054px;}
3755 .feature-circle-stroked{background-position:-0px -1114px;}
3756 .feature-city{background-position:-0px -1174px;}
3757 .feature-college{background-position:-0px -1234px;}
3758 .feature-commercial{background-position:-0px -1294px;}
3759 .feature-cricket{background-position:-0px -1354px;}
3760 .feature-cross{background-position:-0px -1414px;}
3761 .feature-dam{background-position:-0px -1474px;}
3762 .feature-danger{background-position:-0px -1534px;}
3763 .feature-disability{background-position:-0px -1594px;}
3764 .feature-embassy{background-position:-0px -1654px;}
3765 .feature-emergency-telephone{background-position:-0px -1714px;}
3766 .feature-farm{background-position:-0px -1774px;}
3767 .feature-fast-food{background-position:-0px -1834px;}
3768 .feature-ferry{background-position:-0px -1894px;}
3769 .feature-fire-station{background-position:-0px -1954px;}
3770 .feature-fuel{background-position:-0px -2014px;}
3771 .feature-garden{background-position:-0px -2074px;}
3772 .feature-golf{background-position:-0px -2134px;}
3773 .feature-grocery{background-position:-0px -2194px;}
3774 .feature-harbor{background-position:-0px -2254px;}
3775 .feature-heliport{background-position:-0px -2314px;}
3776 .feature-hospital{background-position:-0px -2374px;}
3777 .feature-industrial{background-position:-0px -2434px;}
3778 .feature-land-use{background-position:-0px -2494px;}
3779 .feature-library{background-position:-0px -2554px;}
3780 .feature-lodging{background-position:-0px -2614px;}
3781 .feature-logging{background-position:-0px -2674px;}
3782 .feature-marker{background-position:-0px -2734px;}
3783 .feature-marker-stroked{background-position:-0px -2794px;}
3784 .feature-monument{background-position:-0px -2854px;}
3785 .feature-museum{background-position:-0px -2914px;}
3786 .feature-music{background-position:-0px -2974px;}
3787 .feature-oil-well{background-position:-0px -3034px;}
3788 .feature-park{background-position:-0px -3094px;}
3789 .feature-park2{background-position:-0px -3154px;}
3790 .feature-parking{background-position:-0px -3214px;}
3791 .feature-parking-garage{background-position:-0px -3274px;}
3792 .feature-pharmacy{background-position:-0px -3334px;}
3793 .feature-pitch{background-position:-0px -3394px;}
3794 .feature-place-of-worship{background-position:-0px -3454px;}
3795 .feature-police{background-position:-0px -3514px;}
3796 .feature-post{background-position:-0px -3574px;}
3797 .feature-prison{background-position:-0px -3634px;}
3798 .feature-rail{background-position:-0px -3694px;}
3799 .feature-rail-above{background-position:-0px -3754px;}
3800 .feature-rail-underground{background-position:-0px -3814px;}
3801 .feature-religious-christian{background-position:-0px -3874px;}
3802 .feature-religious-jewish{background-position:-0px -3934px;}
3803 .feature-religious-muslim{background-position:-0px -3994px;}
3804 .feature-restaurant{background-position:-0px -4054px;}
3805 .feature-roadblock{background-position:-0px -4114px;}
3806 .feature-school{background-position:-0px -4174px;}
3807 .feature-shop{background-position:-0px -4234px;}
3808 .feature-skiing{background-position:-0px -4294px;}
3809 .feature-slaughterhouse{background-position:-0px -4354px;}
3810 .feature-soccer{background-position:-0px -4414px;}
3811 .feature-square{background-position:-0px -4474px;}
3812 .feature-square-stroked{background-position:-0px -4534px;}
3813 .feature-star{background-position:-0px -4594px;}
3814 .feature-star-stroked{background-position:-0px -4654px;}
3815 .feature-swimming{background-position:-0px -4714px;}
3816 .feature-telephone{background-position:-0px -4774px;}
3817 .feature-tennis{background-position:-0px -4834px;}
3818 .feature-theatre{background-position:-0px -4894px;}
3819 .feature-toilets{background-position:-0px -4954px;}
3820 .feature-town{background-position:-0px -5014px;}
3821 .feature-town-hall{background-position:-0px -5074px;}
3822 .feature-triangle{background-position:-0px -5134px;}
3823 .feature-triangle-stroked{background-position:-0px -5194px;}
3824 .feature-village{background-position:-0px -5254px;}
3825 .feature-warehouse{background-position:-0px -5314px;}
3826 .feature-waste-basket{background-position:-0px -5374px;}
3827 .feature-water{background-position:-0px -5434px;}
3828 .feature-wetland{background-position:-0px -5494px;}
3829 .feature-zoo{background-position:-0px -5554px;}
3830 .preset-icon-line.feature-highway-motorway{background-position:-20px -25px;}
3831 .preset-icon-line.feature-highway-trunk{background-position:-80px -25px;}
3832 .preset-icon-line.feature-highway-primary{background-position:-140px -25px;}
3833 .preset-icon-line.feature-highway-secondary{background-position:-200px -25px;}
3834 .preset-icon-line.feature-highway-tertiary{background-position:-260px -25px;}
3835 .preset-icon-line.feature-highway-motorway-link{background-position:-320px -25px;}
3836 .preset-icon-line.feature-highway-trunk-link{background-position:-380px -25px;}
3837 .preset-icon-line.feature-highway-primary-link{background-position:-440px -25px;}
3838 .preset-icon-line.feature-highway-secondary-link{background-position:-500px -25px;}
3839 .preset-icon-line.feature-highway-tertiary-link{background-position:-560px -25px;}
3840 .preset-icon-line.feature-highway-residential{background-position:-620px -25px;}
3841 .preset-icon-line.feature-highway-unclassified{background-position:-680px -25px;}
3842 .preset-icon-line.feature-highway-service{background-position:-740px -25px;}
3843 .preset-icon-line.feature-highway-road{background-position:-800px -25px;}
3844 .preset-icon-line.feature-highway-track{background-position:-860px -25px;}
3845 .preset-icon-line.feature-highway-living-street{background-position:-920px -25px;}
3846 .preset-icon-line.feature-highway-path{background-position:-980px -25px;}
3847 .preset-icon-line.feature-highway-cycleway{background-position:-1040px -25px;}
3848 .preset-icon-line.feature-highway-footway{background-position:-1100px -25px;}
3849 .preset-icon-line.feature-highway-bridleway{background-position:-1160px -25px;}
3850 .preset-icon-line.feature-highway-steps{background-position:-1220px -25px;}
3851 .preset-icon-line.feature-railway-rail{background-position:-1280px -25px;}
3852 .preset-icon-line.feature-railway-disused{background-position:-1340px -25px;}
3853 .preset-icon-line.feature-railway-abandoned{background-position:-1400px -25px;}
3854 .preset-icon-line.feature-railway-subway{background-position:-1460px -25px;}
3855 .preset-icon-line.feature-railway-light-rail{background-position:-1520px -25px;}
3856 .preset-icon-line.feature-railway-monorail{background-position:-1580px -25px;}
3857 .preset-icon-line.feature-waterway-river{background-position:-1640px -25px;}
3858 .preset-icon-line.feature-waterway-stream{background-position:-1700px -25px;}
3859 .preset-icon-line.feature-waterway-canal{background-position:-1760px -25px;}
3860 .preset-icon-line.feature-waterway-ditch{background-position:-1820px -25px;}
3861 .preset-icon-line.feature-power-line{background-position:-1880px -25px;}
3862 .preset-icon-line.feature-other-line{background-position:-1940px -25px;}
3863 .preset-icon-line.feature-category-roads{background-position:-2000px -25px;}
3864 .preset-icon-line.feature-category-rail{background-position:-2060px -25px;}
3865 .preset-icon-line.feature-category-path{background-position:-2120px -25px;}
3866 .preset-icon-line.feature-category-water{background-position:-2180px -25px;}