opacity: .7;
}
+g.midpoint.tag-highway-corridor .fill,
g.midpoint.tag-highway-pedestrian .fill,
g.midpoint.tag-highway-steps .fill,
g.midpoint.tag-highway-path .fill,
.pattern-color-construction {
fill: rgba(196, 189, 25, 0.2);
}
-path.stroke.tag-landuse-construction {
+path.stroke.tag-landuse.tag-ephemeral {
stroke: rgb(196, 189, 25);
}
-.preset-icon-fill-area.tag-landuse-construction {
+.preset-icon-fill-area.tag-landuse.tag-ephemeral {
border-color: rgb(196, 189, 25);
background-color: rgba(196, 189, 25, 0.2);
}
fill: none;
}
-/* highways */
+/* highway areas */
+
+path.stroke.area.tag-highway {
+ stroke:#fff;
+ stroke-dasharray: none;
+ stroke-width: 2;
+}
+
+/* wide highways */
path.shadow.tag-highway {
stroke-width:16;
path.stroke.tag-highway-motorway,
path.stroke.tag-highway-motorway_link,
-path.stroke.tag-construction-motorway {
+path.stroke.tag-motorway {
stroke:#58a9ed;
}
path.casing.tag-highway-motorway,
path.casing.tag-highway-motorway_link,
-path.casing.tag-construction-motorway {
+path.casing.tag-motorway {
stroke:#2c5476;
}
path.stroke.tag-highway-trunk,
path.stroke.tag-highway-trunk_link,
-path.stroke.tag-construction-trunk {
+path.stroke.tag-trunk {
stroke:#8cd05f;
}
path.casing.tag-highway-trunk,
path.casing.tag-highway-trunk_link,
-path.casing.tag-construction-trunk {
+path.casing.tag-trunk {
stroke:#46682f;
}
path.stroke.tag-highway-primary,
path.stroke.tag-highway-primary_link,
-path.stroke.tag-construction-primary {
+path.stroke.tag-primary {
stroke:#e06d5f;
}
path.casing.tag-highway-primary,
path.casing.tag-highway-primary_link,
-path.casing.tag-construction-primary {
+path.casing.tag-primary {
stroke:#70372f;
}
path.stroke.tag-highway-secondary,
path.stroke.tag-highway-secondary_link,
-path.stroke.tag-construction-secondary {
+path.stroke.tag-secondary {
stroke:#eab056;
}
path.casing.tag-highway-secondary,
path.casing.tag-highway-secondary_link,
-path.casing.tag-construction-secondary {
+path.casing.tag-secondary {
stroke:#75582b;
}
path.stroke.tag-highway-tertiary,
path.stroke.tag-highway-tertiary_link,
-path.stroke.tag-construction-tertiary {
+path.stroke.tag-tertiary {
stroke:#ffff7e;
}
path.casing.tag-highway-tertiary,
path.casing.tag-highway-tertiary_link,
-path.casing.tag-construction-tertiary {
+path.casing.tag-tertiary {
stroke:#7f7f3f;
}
path.stroke.tag-highway-unclassified,
-path.stroke.tag-construction-unclassified {
+path.stroke.tag-unclassified {
stroke:#eaeaea;
}
path.casing.tag-highway-unclassified,
-path.casing.tag-construction-unclassified {
+path.casing.tag-unclassified {
stroke:#444;
}
path.stroke.tag-highway-residential,
-path.stroke.tag-construction-residential {
+path.stroke.tag-residential {
stroke:#fff;
}
path.casing.tag-highway-residential,
-path.casing.tag-construction-residential {
+path.casing.tag-residential {
stroke:#444;
}
-path.stroke.tag-highway-living_street {
- stroke:#ccc;
+/* narrow highways */
+path.stroke.tag-highway-living_street,
+path.stroke.tag-highway-service,
+path.stroke.tag-highway-track,
+path.stroke.tag-highway-path,
+path.stroke.tag-highway-footway,
+path.stroke.tag-highway-cycleway,
+path.stroke.tag-highway-bridleway,
+path.stroke.tag-highway-corridor,
+path.stroke.tag-highway-pedestrian,
+path.stroke.tag-highway-steps,
+path.stroke.tag-highway-road,
+path.stroke.tag-living_street,
+path.stroke.tag-service,
+path.stroke.tag-track,
+path.stroke.tag-path,
+path.stroke.tag-footway,
+path.stroke.tag-cycleway,
+path.stroke.tag-bridleway,
+path.stroke.tag-corridor,
+path.stroke.tag-pedestrian,
+path.stroke.tag-steps,
+path.stroke.tag-road {
stroke-width:4;
}
-path.casing.tag-highway-living_street {
- stroke:#fff;
+path.casing.tag-highway-living_street,
+path.casing.tag-highway-service,
+path.casing.tag-highway-track,
+path.casing.tag-highway-path,
+path.casing.tag-highway-footway,
+path.casing.tag-highway-cycleway,
+path.casing.tag-highway-bridleway,
+path.casing.tag-highway-corridor,
+path.casing.tag-highway-pedestrian,
+path.casing.tag-highway-steps,
+path.casing.tag-highway-road,
+path.casing.tag-living_street,
+path.casing.tag-service,
+path.casing.tag-track,
+path.casing.tag-path,
+path.casing.tag-footway,
+path.casing.tag-cycleway,
+path.casing.tag-bridleway,
+path.casing.tag-corridor,
+path.casing.tag-pedestrian,
+path.casing.tag-steps,
+path.casing.tag-road {
stroke-width:6;
}
-path.stroke.tag-highway-pedestrian {
- stroke:#fff;
- stroke-dasharray: 2, 8;
+.low-zoom path.stroke.tag-highway-living_street,
+.low-zoom path.stroke.tag-highway-service,
+.low-zoom path.stroke.tag-highway-track,
+.low-zoom path.stroke.tag-highway-path,
+.low-zoom path.stroke.tag-highway-footway,
+.low-zoom path.stroke.tag-highway-cycleway,
+.low-zoom path.stroke.tag-highway-bridleway,
+.low-zoom path.stroke.tag-highway-corridor,
+.low-zoom path.stroke.tag-highway-pedestrian,
+.low-zoom path.stroke.tag-highway-steps,
+.low-zoom path.stroke.tag-highway-road,
+.low-zoom path.stroke.tag-living_street,
+.low-zoom path.stroke.tag-service,
+.low-zoom path.stroke.tag-track,
+.low-zoom path.stroke.tag-path,
+.low-zoom path.stroke.tag-footway,
+.low-zoom path.stroke.tag-cycleway,
+.low-zoom path.stroke.tag-bridleway,
+.low-zoom path.stroke.tag-corridor,
+.low-zoom path.stroke.tag-pedestrian,
+.low-zoom path.stroke.tag-steps,
+.low-zoom path.stroke.tag-road {
+ stroke-width:2;
+}
+.low-zoom path.casing.tag-highway-living_street,
+.low-zoom path.casing.tag-highway-service,
+.low-zoom path.casing.tag-highway-track,
+.low-zoom path.casing.tag-highway-path,
+.low-zoom path.casing.tag-highway-footway,
+.low-zoom path.casing.tag-highway-cycleway,
+.low-zoom path.casing.tag-highway-bridleway,
+.low-zoom path.casing.tag-highway-corridor,
+.low-zoom path.casing.tag-highway-pedestrian,
+.low-zoom path.casing.tag-highway-steps,
+.low-zoom path.casing.tag-highway-road,
+.low-zoom path.casing.tag-living_street,
+.low-zoom path.casing.tag-service,
+.low-zoom path.casing.tag-track,
+.low-zoom path.casing.tag-path,
+.low-zoom path.casing.tag-footway,
+.low-zoom path.casing.tag-cycleway,
+.low-zoom path.casing.tag-bridleway,
+.low-zoom path.casing.tag-corridor,
+.low-zoom path.casing.tag-pedestrian,
+.low-zoom path.casing.tag-steps,
+.low-zoom path.casing.tag-road {
stroke-width:4;
}
-path.casing.tag-highway-pedestrian {
- stroke:#8cd05f;
- stroke-width:6;
+
+
+path.stroke.tag-highway-living_street,
+path.stroke.tag-living_street {
+ stroke:#ccc;
}
-path.stroke.area.tag-highway-pedestrian {
+path.casing.tag-highway-living_street,
+path.casing.tag-living_street {
stroke:#fff;
- stroke-dasharray: none;
- stroke-width: 2;
}
-path.stroke.tag-highway-service {
+path.stroke.tag-highway-corridor,
+path.stroke.tag-highway-pedestrian,
+path.stroke.tag-corridor,
+path.stroke.tag-pedestrian {
stroke:#fff;
- stroke-width:4;
-}
-path.casing.tag-highway-service {
- stroke:#666;
- stroke-width:6;
-}
-.low-zoom path.stroke.tag-highway-service {
- stroke-width:2;
+ stroke-dasharray: 2, 8;
}
-.low-zoom path.casing.tag-highway-service {
- stroke-width:4;
+path.casing.tag-highway-corridor,
+path.casing.tag-highway-pedestrian,
+path.casing.tag-corridor,
+path.casing.tag-pedestrian {
+ stroke:#8cd05f;
}
-path.stroke.tag-highway-track {
- stroke: #fff;
- stroke-width: 4;
+path.stroke.tag-highway-road,
+path.stroke.tag-road {
+ stroke:#9e9e9e;
}
-path.casing.tag-highway-track {
- stroke: #996600;
- stroke-width: 6;
- stroke-linecap: butt;
- stroke-dasharray: 6, 6;
+path.casing.tag-highway-road,
+path.casing.tag-road {
+ stroke:#444;
}
-.low-zoom path.stroke.tag-highway-track {
- stroke-width:2;
+
+path.stroke.tag-highway-service,
+path.stroke.tag-service {
+ stroke:#fff;
}
-.low-zoom path.casing.tag-highway-track {
- stroke-width:4;
+path.casing.tag-highway-service,
+path.casing.tag-service {
+ stroke:#666;
}
-path.stroke.tag-highway-path {
- stroke: #000;
- stroke-width: 1 !important;
- stroke-linecap: butt;
- stroke-dasharray: 8, 4;
+path.stroke.tag-highway-track,
+path.stroke.tag-track {
+ stroke: #ccc;
}
-path.casing.tag-highway-path {
- stroke-width: 1 !important;
- stroke: #fff;
+path.casing.tag-highway-track,
+path.casing.tag-track {
+ stroke: #996600;
+ stroke-linecap: butt;
+ stroke-dasharray: 6, 6;
+ stroke-width:7;
}
+path.stroke.tag-highway-path,
path.stroke.tag-highway-footway,
path.stroke.tag-highway-cycleway,
path.stroke.tag-highway-bridleway {
- stroke-width: 4;
stroke-linecap: butt;
stroke-dasharray: 6, 6;
}
+
+path.casing.tag-highway-path{
+ stroke: #c5b59f;
+}
path.casing.tag-highway-footway,
path.casing.tag-highway-cycleway,
path.casing.tag-highway-bridleway {
- stroke-width: 6;
stroke: #fff;
}
-.low-zoom path.stroke.tag-highway-footway,
-.low-zoom path.stroke.tag-highway-cycleway,
-.low-zoom path.stroke.tag-highway-bridleway {
- stroke-width: 2;
-}
-.low-zoom path.casing.tag-highway-footway,
-.low-zoom path.casing.tag-highway-cycleway,
-.low-zoom path.casing.tag-highway-bridleway {
- stroke-width: 4;
+path.stroke.tag-highway-path {
+ stroke: #746f6f;
}
-
path.stroke.tag-highway-footway {
stroke: #ae8681;
}
path.stroke.tag-highway-steps {
stroke: #81d25c;
- stroke-width: 4;
stroke-linecap: butt;
stroke-dasharray: 3, 3;
}
path.casing.tag-highway-steps {
- stroke-width: 6;
stroke: #fff;
}
stroke: #b0e298;
}
+/* barriers */
+
+path.stroke.tag-barrier {
+ stroke: #ddd;
+ stroke-width: 3px;
+ stroke-linecap: round;
+ stroke-dasharray: 15, 5, 1, 5;
+}
+.low-zoom path.stroke.tag-barrier {
+ stroke-width: 2px;
+ stroke-linecap: butt;
+ stroke-dasharray: 8, 2, 2, 2;
+}
/* bridges */
path.casing.line.tag-railway.tag-bridge,
path.casing.tag-highway-living_street.tag-bridge,
path.casing.tag-highway-path.tag-bridge,
+path.casing.tag-highway-corridor.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.shadow.line.tag-railway.tag-bridge,
path.shadow.tag-highway-living_street.tag-bridge,
path.shadow.tag-highway-path.tag-bridge,
+path.shadow.tag-highway-corridor.tag-bridge,
path.shadow.line.tag-highway-pedestrian.tag-bridge,
path.shadow.tag-highway-service.tag-bridge,
path.shadow.tag-highway-track.tag-bridge,
.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.tag-highway-corridor.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.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.tag-highway-corridor.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,
}
-/* construction */
+/* Ephemeral */
-path.stroke.tag-highway-construction,
-path.casing.tag-highway-construction {
+path.stroke.tag-ephemeral,
+path.casing.tag-ephemeral {
stroke-linecap: butt;
- stroke-dasharray: 7, 7;
+ stroke-dasharray: 7, 3;
}
-.low-zoom path.stroke.tag-highway-construction,
-.low-zoom path.casing.tag-highway-construction {
+.low-zoom path.stroke.tag-ephemeral,
+.low-zoom path.casing.tag-ephemeral {
stroke-linecap: butt;
- stroke-dasharray: 5, 5;
+ stroke-dasharray: 5, 2;
}
text {
/* Cursors */
+.map-in-map,
#map {
cursor: auto; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-grab.png") %>) 9 9, auto; /* FF */
}
.mode-add-point #map,
-.lasso #map,
-.lasso .way,
-.lasso .vertex {
+.mode-browse.lasso #map,
+.mode-browse.lasso .way,
+.mode-browse.lasso .vertex,
+.mode-browse.lasso .midpoint,
+.mode-select.lasso #map,
+.mode-select.lasso .way,
+.mode-select.lasso .vertex,
+.mode-select.lasso .midpoint {
cursor: crosshair; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-draw.png") %>) 9 9, crosshair; /* FF */
}
}
.layer-mapillary g * {
- stroke-width: 2;
- stroke: #ffc600;
+ stroke-width: 1;
+ stroke: #444;
fill: #ffc600;
}
.layer-mapillary g:hover * {
- stroke-width: 2;
- stroke: #ff9900;
+ stroke-width: 1;
+ stroke: #333;
fill: #ff9900;
}
-.layer-mapillary g.selected * {
- stroke-width: 4;
- stroke: #ff5800;
+.layer-mapillary g.selected * {
+ stroke-width: 2;
+ stroke: #222;
fill: #ff5800;
}
+.layer-mapillary g:hover path.viewfield,
+.layer-mapillary g.selected path.viewfield,
+.layer-mapillary g path.viewfield {
+ stroke-width: 0;
+ fill-opacity: 0.6;
+}
+
/* Modes */
.mode-draw-line .vertex.active,
.id-container {
height: 100%;
width: 100%;
- position: fixed;
min-width: 768px;
}
.spinner {
opacity: .5;
+ float: right;
}
.spinner img {
- position: absolute;
height: 40px;
width: 40px;
- right: 10px;
- top: 10px;
border-radius: 4px;
margin-right: 10px;
background: black;
a:visited, a {
color: #7092ff;
- -webkit-transition: all 100ms;
- -moz-transition: all 100ms;
- -o-transition: all 100ms;
- transition: all 100ms;
}
a:hover {
width: 100%;
border-radius:4px;
text-overflow: ellipsis;
- -webkit-transition: all 200ms;
- -moz-transition: all 200ms;
- -o-transition: all 200ms;
- transition: all 200ms;
}
textarea:focus,
background-color: white;
color: #7092FF;
cursor: pointer;
- -moz-transition: all 100ms;
- -o-transition: all 100ms;
- transition: all 100ms;
}
.toggle-list > label:hover {
color: white;
}
+.fillD2 {
+ background:rgba(0,0,0,.75);
+ color: white;
+}
+
.fl { float: left;}
.fr { float: right;}
display: inline-block;
height:40px;
border-radius:4px;
- /* Crashes Safari: https://github.com/openstreetmap/iD/issues/1188 */
- /*-webkit-transition: all 100ms;*/
- -moz-transition: all 100ms;
- -o-transition: all 100ms;
- transition: all 100ms;
}
button:focus,
border-right: 1px solid rgba(0,0,0,.5);
}
+.fillL .joined button {
+ border-right: 1px solid white;
+}
+
.joined button:first-child {
border-radius:4px 0 0 4px;
}
button.action {
background: #7092ff;
+ color: white;
+}
+
+button[disabled].action,
+button[disabled].action:hover {
+ background: #cccccc;
+ color: #888;
}
button.action:focus,
background: #597BE7;
}
+button.secondary-action {
+ background: #ececec;
+}
+
+button.secondary-action:focus,
+button.secondary-action:hover {
+ background: #cccccc;
+}
+
button.save.has-count {
padding: 9px;
}
.icon.back.blue { background-position: -420px -20px;}
.icon.forward.blue { background-position: -440px -20px;}
+.icon.full-screen { background-position: -620px -20px;}
+.active .icon.full-screen { background-position: -640px -20px;}
+
button[disabled] .icon.alert { background-position: 0 -40px;}
button[disabled] .icon.add-point { background-position: -20px -40px;}
button[disabled] .icon.add-line { background-position: -40px -40px;}
button[disabled] .icon.nearby { background-position: -340px -40px;}
button[disabled] .icon.data { background-position: -600px -40px;}
-.icon.point.deleted { background-position: -302px -80px;}
-.icon.line.deleted { background-position: -320px -80px;}
-.icon.area.deleted { background-position: -340px -80px;}
+.icon.point.deleted { background-position: -480px -80px;}
+.icon.line.deleted { background-position: -500px -80px;}
+.icon.area.deleted { background-position: -520px -80px;}
-.icon.point.created { background-position: -302px -100px;}
-.icon.line.created { background-position: -320px -100px;}
-.icon.area.created { background-position: -340px -100px;}
+.icon.point.created { background-position: -480px -100px;}
+.icon.line.created { background-position: -500px -100px;}
+.icon.area.created { background-position: -520px -100px;}
.icon.point.modified { background-position: -22px 0; }
top:0;
right:0;
height:60px;
- z-index: 1;
+ z-index: 9;
min-width: 768px;
}
}
.header h3 {
- text-align: center;
+ text-align: left;
margin-bottom: 0;
white-space: nowrap;
text-overflow: ellipsis;
right: 0;
top: 0;
height: 59px;
- z-index: 3;
+ z-index: 50;
}
.footer {
position: absolute;
bottom: 0;
- padding: 5px 30px 5px 30px;
+ padding: 5px 20px 5px 20px;
border-top: 1px solid #ccc;
background-color: #fafafa;
width: 100%;
float: left;
height: 100%;
overflow: hidden;
- z-index: 2;
+ z-index: 10;
background: #f6f6f6;
}
text-overflow: ellipsis;
overflow: hidden;
border-left: 1px solid rgba(0, 0, 0, .1);
- -moz-transition: all 100ms;
- -o-transition: all 100ms;
- transition: all 100ms;
}
.feature-list-item .label .icon {
text-overflow: ellipsis;
overflow: hidden;
border-left: 1px solid rgba(0, 0, 0, .1);
- -moz-transition: all 100ms;
- -o-transition: all 100ms;
- transition: all 100ms;
border-radius: 0 3px 3px 0;
}
text-align: right;
}
+.form-label-button-wrap .tag-reference-button {
+ border-radius: 0 3px 0 0;
+}
+
.form-label-button-wrap .icon {
opacity: .5;
}
/* Styles for raw tag inspector on hover */
.inspector-hover .tag-row .key-wrap,
-.inspector-hover .tag-row .input-wrap-position {
+.inspector-hover .tag-row .form-field.input-wrap-position {
width: 50%;
}
line-height: 0;
display: block;
overflow: hidden;
- -webkit-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
- -moz-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
- -o-transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
- transition: opacity 200ms, width 0 200ms, padding 0 200ms, line-height 0 200ms;
-}
-
-/* first phase hover-to-active animations */
-
-textarea,
-.form-label,
-.preset-input-wrap,
-.preset-input-wrap .label {
- -webkit-transition: all 200ms;
- -moz-transition: all 200ms;
- -o-transition: all 200ms;
- transition: all 200ms;
-}
-
-/* second phase hover-to-active animations */
-
-input,
-.checkselect label:last-of-type {
- -webkit-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
- -moz-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
- -o-transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
- transition: opacity 200ms 200ms, width 200ms 200ms, margin-right 200ms 200ms;
-}
-
-.entity-editor-pane button.minor,
-.combobox-caret,
-.entity-editor-pane .header button,
-.toggle-list label span,
-.spin-control,
-.more-fields,
-.view-on-osm,
-.hide-toggle:before,
-.entity-editor-pane .toggle-list label::before,
-.entity-editor-pane .toggle-list label.remove .icon {
- -webkit-transition: opacity 200ms 200ms;
- -moz-transition: opacity 200ms 200ms;
- -o-transition: opacity 200ms 200ms;
- transition: opacity 200ms 200ms;
-}
-
-.entity-editor-pane a.hide-toggle {
- -webkit-transition: padding-left 200ms 200ms, color 200ms 200ms;
- -moz-transition: padding-left 200ms 200ms, color 200ms 200ms;
- -o-transition: padding-left 200ms 200ms, color 200ms 200ms;
- transition: padding-left 200ms 200ms, color 200ms 200ms;
-}
-
-.entity-editor-pane .toggle-list label:not(.active) {
- -webkit-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
- -moz-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
- -o-transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
- transition: height 200ms 200ms, padding 200ms 200ms, border-width 100ms 300ms;
-}
-
-.entity-editor-pane .toggle-list label {
- -webkit-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
- -moz-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
- -o-transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
- transition: border-width 100ms 300ms, padding 200ms 200ms, background-color 200ms 200ms, color 200ms 200ms;
}
/* adding additional preset fields */
.more-fields {
padding: 0 20px 20px 20px;
font-weight: bold;
- -webkit-transition: padding 200ms 200ms, max-height 200ms 200ms;
- -moz-transition: padding 200ms 200ms, max-height 200ms 200ms;
- -o-transition: padding 200ms 200ms, max-height 200ms 200ms;
- transition: padding 200ms 200ms, max-height 200ms 200ms;
}
.more-fields label { padding: 5px 10px 5px 0; }
border-bottom-right-radius: 4px;
}
+/* preset form cycleway */
+
+.form-field-cycleway .preset-input-wrap li {
+ border-bottom: 1px solid #CCC;
+}
+.form-field-cycleway .preset-input-wrap li:last-child {
+ border-bottom: 0;
+}
+
+.preset-input-cycleway-wrap input {
+ border-radius: 0;
+ border-width: 0;
+ border-left-width: 1px;
+}
+
/* preset form numbers */
input[type=number] {
width: 40%;
float: left;
height: 30px;
- -webkit-transition: width 200ms;
- -moz-transition: width 200ms;
- -o-transition: width 200ms;
- transition: width 200ms;
}
.tag-row input.key {
background: rgba(0,0,0,.8);
}
+/* Fullscreen button */
+div.full-screen {
+ float: right;
+ width: 40px;
+ margin-right: 10px;
+}
+
+div.full-screen .tooltip {
+ min-width: 160px;
+}
+
+div.full-screen > button, div.full-screen > button.active {
+ width: 40px;
+ height: 40px;
+ background: transparent;
+}
+
+div.full-screen > button:hover {
+ background-color: rgba(0, 0, 0, .8);
+}
+
/* Map Controls */
.map-controls {
padding-bottom: 10px;
}
-.layer-list {
+.layer-list, .controls-list {
margin-bottom: 10px;
border: 1px solid #CCC;
border-radius: 4px;
text-overflow: ellipsis;
}
+.minimap-toggle {
+ display: block;
+ padding: 5px 10px;
+ cursor: pointer;
+ color: #7092FF;
+ border-radius: 3px;
+}
+
+.minimap-toggle.active {
+ background: #E8EBFF;
+}
+
+.minimap-toggle:hover {
+ background-color: #ececec;
+}
+
.hide-toggle {
display: block;
padding-left:12px;
bottom: 0;
}
+/* Map-In-Map
+------------------------------------------------------- */
+
+.map-in-map {
+ position: absolute;
+ overflow: hidden;
+ top: 60px;
+ width: 200px;
+ height: 150px;
+ z-index: 5;
+ background: #000;
+ border: #aaa 1px solid;
+ box-shadow: 0 0 2em black;
+}
+
+.map-in-map-tiles {
+ transform-origin:0 0;
+ -ms-transform-origin:0 0;
+ -webkit-transform-origin:0 0;
+ -moz-transform-origin:0 0;
+ -o-transform-origin:0 0;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+}
+
+.map-in-map-svg,
+.map-in-map-gpx {
+ top: 0;
+ left: 0;
+ overflow: hidden;
+ height: 100%;
+ width: 100%;
+}
+
+.map-in-map-svg {
+ position: absolute;
+}
+
+.map-in-map-gpx {
+ position: relative;
+ z-index: 10;
+}
+
+.map-in-map-bbox {
+ fill: none;
+ stroke: rgba(255, 255, 0, 0.75);
+ stroke-width: 1;
+ shape-rendering: crispEdges;
+}
+
+.map-in-map-bbox.thick {
+ stroke-width: 5;
+}
+
+/* Info Box
+------------------------------------------------------- */
+.infobox {
+ position: absolute;
+ z-index: 1;
+ right: 0;
+ bottom: 30px;
+ width: 240px;
+ border-radius: 4px 0 0 0;
+ border-bottom: 1px solid black;
+}
+
+.infobox .selection-heading {
+ display: block;
+ border-radius: 4px 0 0 0;
+ padding: 5px 10px;
+ height: 30px;
+}
+
+.infobox ul {
+ padding: 5px 10px;
+}
+
+.infobox .button {
+ position: absolute;
+ background: #7092ff;
+ border-radius: 2px;
+ padding: 0 4px;
+ color: white;
+ top: 40px;
+ right: 10px;
+}
+
/* About Section
------------------------------------------------------- */
#attrib {
width: 100%;
height: 20px;
+ margin-bottom: 5px;
float: left;
clear: both;
+ pointer-events: none;
}
+#attrib * { pointer-events: all; }
+
.base-layer-attribution,
.overlay-layer-attribution {
position: absolute;
clear: both;
text-align: right;
width: 100%;
- padding: 0px 5px;
+ padding: 0px 10px;
}
.api-status.offline,
------------------------------------------------------- */
.modal {
+ top: 40px;
display: inline-block;
position:absolute;
+ border-radius: 3px;
+ overflow: hidden;
left: 0;
right: 0;
margin: auto;
- z-index: 3;
+ z-index: 50;
}
.modal .loader {
}
.shaded {
- z-index: 2;
+ z-index: 49;
position: absolute;
top: 0;
bottom: 0;
border-bottom: 1px solid #CCC;
}
-.modal-section:last-child {
- border-bottom: 0;
+.modal-section.header h3 {
+ padding: 0;
+}
+
+.modal-section.buttons {
+ text-align: center;
+}
+
+.modal-section.buttons .action {
+ display: inline-block;
+ margin: 0 10px;
+ text-align: center;
+ vertical-align: middle;
+}
+
+.save-section .buttons .action {
+ display: inline-block;
+ margin: 0 20px 0 0;
+ text-align: center;
+ vertical-align: middle;
}
.loading-modal {
display: block;
content: '';
height: 100px;
- width: 100px;
+ width: 100%;
+ max-width: 100px;
margin: auto;
margin-bottom: 10px;
background:transparent url(<%= asset_path("iD/img/sprite.svg") %>) no-repeat 0 -220px;
border-right: 1px solid #CCC;
}
+.modal-section:last-child {
+ border-bottom: 0;
+}
+
/* Restore Modal
------------------------------------------------------- */
margin-bottom: 0;
}
-.mode-save button.action {
- float: none;
- margin: auto;
- display: block;
- color: white;
- font-size: 14px;
-}
-
.mode-save .user-info img {
float: left;
}
.changeset-list li:first-child { border-top: 0;}
+/* Conflict resolution
+------------------------------------------------------- */
+
+.conflicts-help {
+ padding: 20px;
+ background-color: #ffffbb;
+ border-bottom: 1px solid #ccc;
+}
+
+.conflicts-buttons {
+ padding: 20px;
+}
+
+.mode-save button.conflicts-button {
+ float: left;
+}
+
+.conflict-container {
+ border-bottom: 1px solid #ccc;
+}
+
+.conflict-description {
+ padding: 5px 20px;
+ display: block;
+}
+
+.conflicts-done {
+ padding: 20px 20px 0 20px;
+}
+
+.conflict-detail-container {
+ padding: 10px 20px;
+}
+
+.conflict-count {
+ padding: 10px 20px;
+}
+
+.conflict-choices {
+ margin-top: 10px;
+}
+
+.conflict-nav-buttons {
+ padding: 10px 0 20px 0;
+}
+
+.conflict-nav-button {
+ height: 30px;
+}
+
/* Notices
------------------------------------------------------- */
}
.tooltip-inner .keyhint {
- font-size: 10px;
- padding: 0 7px;
font-weight: bold;
- display: inline-block;
- border-radius: 2px;
- border: 1px solid #CCC;
- position: relative;
- z-index: 1;
- text-align: left;
-}
-
-.tooltip-inner .keyhint::after {
- content: "";
- position: absolute;
- border-radius: 2px;
- height: 10px;
- width: 100%;
- z-index: 0;
- bottom: -4px;
- left: -1px;
- border: 1px solid #CCC;
- border-top: 0;
}
/* Exceptions for tooltip layouts */
.preset-icon-line.feature-pipeline{background-position:-2300px -25px;}
.preset-icon-relation.feature-relation{background-position:-20px -25px;}
.preset-icon-relation.feature-restriction{background-position:-80px -25px;}
-.preset-icon-relation.feature-multipolygon{background-position:-140px -25px;}
+.preset-icon-relation.feature-multipolygon{background-position:-141px -25px;}
.preset-icon-relation.feature-boundary{background-position:-200px -25px;}
.preset-icon-relation.feature-route{background-position:-260px -25px;}
.preset-icon-relation.feature-route-road{background-position:-320px -25px;}