/* bridges */
path.casing.tag-bridge {
- stroke-width: 14;
- stroke-opacity: 0.5;
+ stroke-width: 16;
+ stroke-opacity: 0.6;
stroke: #000;
+ stroke-linecap: butt;
}
-path.casing.tag-highway-living_street.tag-bridge,
-path.casing.tag-highway-path.tag-bridge {
- stroke-width: 6;
+path.shadow.tag-bridge {
+ stroke-width: 22;
}
-path.casing.line.tag-highway-pedestrian,
+path.casing.line.tag-railway.tag-bridge,
+path.casing.tag-highway-living_street.tag-bridge,
+path.casing.tag-highway-path.tag-bridge,
+path.casing.line.tag-highway-pedestrian.tag-bridge,
path.casing.tag-highway-service.tag-bridge,
path.casing.tag-highway-track.tag-bridge,
path.casing.tag-highway-steps.tag-bridge,
path.casing.tag-highway-footway.tag-bridge,
path.casing.tag-highway-cycleway.tag-bridge,
path.casing.tag-highway-bridleway.tag-bridge {
- stroke-width: 8;
-}
-
-path.shadow.tag-highway-residential.tag-bridge {
- stroke-width:22;
+ stroke-width: 10;
}
+path.shadow.line.tag-railway.tag-bridge,
path.shadow.tag-highway-living_street.tag-bridge,
path.shadow.tag-highway-path.tag-bridge,
-path.shadow.line.tag-highway-pedestrian,
+path.shadow.line.tag-highway-pedestrian.tag-bridge,
path.shadow.tag-highway-service.tag-bridge,
path.shadow.tag-highway-track.tag-bridge,
path.shadow.tag-highway-steps.tag-bridge,
path.shadow.tag-highway-footway.tag-bridge,
path.shadow.tag-highway-cycleway.tag-bridge,
path.shadow.tag-highway-bridleway.tag-bridge {
- stroke-width: 16;
+ stroke-width: 17;
+}
+
+
+.low-zoom path.casing.tag-bridge {
+ stroke-width: 10;
+ stroke-opacity: 0.6;
+ stroke: #000;
+ stroke-linecap: butt;
}
+.low-zoom path.shadow.tag-bridge {
+ stroke-width: 14;
+}
+
+.low-zoom path.casing.line.tag-railway.tag-bridge,
+.low-zoom path.casing.tag-highway-living_street.tag-bridge,
+.low-zoom path.casing.tag-highway-path.tag-bridge,
+.low-zoom path.casing.line.tag-highway-pedestrian.tag-bridge,
+.low-zoom path.casing.tag-highway-service.tag-bridge,
+.low-zoom path.casing.tag-highway-track.tag-bridge,
+.low-zoom path.casing.tag-highway-steps.tag-bridge,
+.low-zoom path.casing.tag-highway-footway.tag-bridge,
+.low-zoom path.casing.tag-highway-cycleway.tag-bridge,
+.low-zoom path.casing.tag-highway-bridleway.tag-bridge {
+ stroke-width: 6;
+}
+
+.low-zoom path.shadow.line.tag-railway.tag-bridge,
+.low-zoom path.shadow.tag-highway-living_street.tag-bridge,
+.low-zoom path.shadow.tag-highway-path.tag-bridge,
+.low-zoom path.shadow.line.tag-highway-pedestrian.tag-bridge,
+.low-zoom path.shadow.tag-highway-service.tag-bridge,
+.low-zoom path.shadow.tag-highway-track.tag-bridge,
+.low-zoom path.shadow.tag-highway-steps.tag-bridge,
+.low-zoom path.shadow.tag-highway-footway.tag-bridge,
+.low-zoom path.shadow.tag-highway-cycleway.tag-bridge,
+.low-zoom path.shadow.tag-highway-bridleway.tag-bridge {
+ stroke-width: 13;
+}
+
+
+
/* tunnels */
path.stroke.tag-tunnel {
font-size: 10px;
}
+/* Turns */
+
+g.turn rect,
+g.turn circle {
+ fill: none;
+ pointer-events: all;
+}
+
+.form-field-restrictions .vertex {
+ pointer-events: none;
+ cursor: auto !important;
+}
+
/* Cursors */
#map {
cursor: auto; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-grab.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-grab2x.png") %>) 2x
- ) 9 9, auto;
}
.mode-browse .point,
.mode-select .point {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-select-point.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-select-point2x.png") %>) 2x
- ), pointer;
}
.mode-select .vertex,
.mode-browse .vertex {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-vertex.png") %>), pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-select-vertex.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-select-vertex2x.png") %>) 2x
- ), pointer;
}
.mode-browse .line,
.mode-select .line {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-line.png") %>), pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-select-line.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-select-line2x.png") %>) 2x
- ), pointer;
}
.mode-select .area,
.mode-browse .area {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-area.png") %>), pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-select-area.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-select-area2x.png") %>) 2x
- ), pointer;
}
.mode-select .midpoint,
.mode-browse .midpoint {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-split.png") %>), pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-select-split.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-select-split2x.png") %>) 2x
- ), pointer;
}
.mode-select .behavior-multiselect .point,
.mode-select .behavior-multiselect .area {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-add.png") %>), pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-select-add.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-select-add2x.png") %>) 2x
- ), pointer;
}
.mode-select .behavior-multiselect .selected {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-remove.png") %>), pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-select-remove.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-select-remove2x.png") %>) 2x
- ), pointer;
}
#map .point:active,
#map .mode-select .selected {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-acting.png") %>), pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-select-acting.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-select-acting2x.png") %>) 2x
- ), pointer;
}
.mode-draw-line #map,
.mode-drag-node #map {
cursor: crosshair; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-draw.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-draw2x.png") %>) 2x
- ) 9 9, crosshair;
}
.mode-draw-line .way.hover,
.mode-drag-node .way.hover {
cursor: crosshair; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 9 9, crosshair; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-draw-connect-line.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-draw-connect-line2x.png") %>) 2x
- ) 9 9, crosshair;
}
.mode-draw-line .vertex.hover,
.mode-drag-node .vertex.hover {
cursor: crosshair; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 9 9, crosshair; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-draw-connect-vertex.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-draw-connect-vertex2x.png") %>) 2x
- ) 9 9, crosshair;
}
.mode-add-point #map,
.lasso .vertex {
cursor: crosshair; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-draw.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-draw2x.png") %>) 2x
- ) 9 9, crosshair;
+}
+
+.turn rect,
+.turn circle {
+ cursor: pointer; /* Opera */
+ cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
}
.lasso #map {
height: 100%;
}
+#defs {
+ /* Can't be display: none or the clippaths are ignored. */
+ position: absolute;
+ width: 0;
+ height: 0;
+}
+
.spacer {
height: 40px;
margin-right: 10px;
.radial-menu-item {
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-pointer.png") %>) 6 1, pointer; /* FF */
- cursor: -webkit-image-set(
- url(<%= asset_path("iD/img/cursor-pointer.png") %>) 1x,
- url(<%= asset_path("iD/img/cursor-pointer2x.png") %>) 2x
- ) 6 1, pointer;
}
h2 {
/* Preset form address */
-.form-field .addr-housename {
- border: 0;
- border-radius: 0;
+.addr-row input {
+ border-right: 0;
+ border-bottom: 0;
}
-.form-field .addr-number {
- width: 33.3333%;
- border: 0;
- border-radius: 0;
+.addr-row:first-of-type input {
+ border-top: 0;
}
-.form-field .addr-street {
- width: 66.6666%;
- border-top: 0;
- border-right: 0;
- border-bottom: 0;
+.addr-row input:first-of-type {
+ border-left: 0;
+}
+
+.addr-row input {
border-radius: 0;
}
-.form-field .addr-city {
- width: 66.6666%;
- border-left: 0;
- border-right: 0;
- border-bottom: 0;
+.addr-row:last-of-type input:first-of-type {
border-radius: 0 0 0 4px;
}
-.form-field .addr-postcode {
- width: 33.3333%;
- border-right: 0;
- border-bottom: 0;
+.addr-row:last-of-type input:last-of-type {
border-radius: 0 0 4px 0;
}
+
+/* Restrictions editor */
+
+.form-field-restrictions .preset-input-wrap {
+ position: relative;
+ height: 300px;
+}
+
+.form-field-restrictions svg {
+ width: 100%;
+ height: 100%;
+}
+
+.form-field-restrictions .restriction-help {
+ z-index: 1;
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ padding: 2px 6px;
+ background-color: rgba(255, 255, 255, .8);
+ color: #999;
+ text-align: center;
+}
+
/* combobox dropdown */
div.combobox {
/* About Section
------------------------------------------------------- */
-.about-block {
+#footer {
+ width: 100%;
position: absolute;
right:0;
bottom:0;
transition: opacity 200ms;
}
-.about-block:hover {
+#footer:hover {
opacity: 1;
}
-#about {
+#scale-block {
+ display: table-cell;
+ vertical-align: bottom;
+ width: 250px;
+ height: 30px;
+ float: left;
+ clear: left;
+}
+
+#info-block {
+ float: right;
+ clear: right;
+}
+
+#scale {
+ height: 30px;
+ width: 100%;
+}
+
+#scale text {
+ font: 12px sans-serif;
+ stroke: none;
+ fill: #ccc;
+ text-anchor: start;
+}
+
+#scale path {
+ fill: none;
+ stroke: #ccc;
+ stroke-width: 1;
+ shape-rendering: crispEdges;
+}
+
+#about-list {
text-align: right;
margin-right: 10px;
+ clear: right;
}
.source-switch a {
content: ', ';
}
-/* API Status */
-
.api-status {
- float: left;
+ float: right;
+ clear: both;
+ text-align: right;
+ width: 100%;
}
.api-status.offline,
-.api-status.readonly {
+.api-status.readonly,
+.api-status.error {
background: red;
- padding: 5px 10px;
-}
-
-/* Account Information */
-
-.account {
- float: left;
- padding: 5px 10px;
-}
-
-.account .logout {
- margin-left:10px;
- border-left: 1px solid white;
- padding-left: 10px;
+ padding: 0px 5px;
}
/* Modals
fill: rgba(255,255,255,.5);
}
-.radial-menu .icon {
- pointer-events: none;
-}
-
.lasso-box {
fill-opacity:0.1;
stroke: #fff;
.preset-icon-relation.feature-route-power{background-position:-800px -25px;}
.preset-icon-relation.feature-route-pipeline{background-position:-860px -25px;}
.preset-icon-relation.feature-route-master{background-position:-920px -25px;}
+.preset-icon-relation.feature-restriction-no-straight-on{background-position:-980px -25px;}
+.preset-icon-relation.feature-restriction-no-u-turn{background-position:-1040px -25px;}
+.preset-icon-relation.feature-restriction-no-left-turn{background-position:-1100px -25px;}
+.preset-icon-relation.feature-restriction-no-right-turn{background-position:-1160px -25px;}
+.preset-icon-relation.feature-restriction-only-straight-on{background-position:-1220px -25px;}
+.preset-icon-relation.feature-restriction-only-left-turn{background-position:-1280px -25px;}
+.preset-icon-relation.feature-restriction-only-right-turn{background-position:-1340px -25px;}