.cf:after {
clear: both;
}
-/* tiles */
-img.tile {
- position:absolute;
- transform-origin:0 0;
- -ms-transform-origin:0 0;
- -webkit-transform-origin:0 0;
- -moz-transform-origin:0 0;
- -o-transform-origin:0 0;
-
- opacity: 0;
-
- -webkit-transition: opacity 200ms linear;
- transition: opacity 200ms linear;
- -moz-transition: opacity 200ms linear;
-}
-
-img.tile-loaded {
- opacity: 1;
-}
-img.tile-removing {
- opacity: 0;
-}
use { pointer-events: none; }
stroke:#444;
}
+.preset-icon .icon.highway-unclassified {
+ color: #dcd9b9;
+ fill: #444;
+}
+path.stroke.tag-highway-unclassified,
+path.stroke.tag-unclassified {
+ stroke:#dcd9b9;
+}
+path.casing.tag-highway-unclassified,
+path.casing.tag-unclassified {
+ stroke:#444;
+}
+
+
/* narrow highways */
path.stroke.tag-highway-living_street,
-path.stroke.tag-highway-unclassified,
path.stroke.tag-highway-service,
path.stroke.tag-highway-track,
path.stroke.tag-highway-path,
path.stroke.tag-highway-steps,
path.stroke.tag-highway-road,
path.stroke.tag-living_street,
-path.stroke.tag-unclassified,
path.stroke.tag-service,
path.stroke.tag-track,
path.stroke.tag-path,
stroke-width:4;
}
path.casing.tag-highway-living_street,
-path.casing.tag-highway-unclassified,
path.casing.tag-highway-service,
path.casing.tag-highway-track,
path.casing.tag-highway-path,
path.casing.tag-highway-steps,
path.casing.tag-highway-road,
path.casing.tag-living_street,
-path.casing.tag-unclassified,
path.casing.tag-service,
path.casing.tag-track,
path.casing.tag-path,
}
.low-zoom path.stroke.tag-highway-living_street,
-.low-zoom path.stroke.tag-highway-unclassified,
.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-steps,
.low-zoom path.stroke.tag-highway-road,
.low-zoom path.stroke.tag-living_street,
-.low-zoom path.stroke.tag-unclassified,
.low-zoom path.stroke.tag-service,
.low-zoom path.stroke.tag-track,
.low-zoom path.stroke.tag-path,
stroke-width:2;
}
.low-zoom path.casing.tag-highway-living_street,
-.low-zoom path.casing.tag-highway-unclassified,
.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-steps,
.low-zoom path.casing.tag-highway-road,
.low-zoom path.casing.tag-living_street,
-.low-zoom path.casing.tag-unclassified,
.low-zoom path.casing.tag-service,
.low-zoom path.casing.tag-track,
.low-zoom path.casing.tag-path,
stroke-dasharray: none;
}
-.preset-icon .icon.highway-unclassified {
- color: #eee;
- fill: #444;
-}
-path.stroke.tag-highway-unclassified,
-path.stroke.tag-unclassified {
- stroke:#eee;
-}
-path.casing.tag-highway-unclassified,
-path.casing.tag-unclassified {
- stroke:#444;
-}
-
.preset-icon .icon.highway-road {
color: #9e9e9e;
fill: #666;
stroke: #58a9ed;
}
+.preset-icon .icon.tag-route-horse,
.preset-icon .icon.highway-bridleway {
color: #e06d5f;
fill: #fff;
input[type=tel],
input[type=email] {
background-color: white;
+ color: #333;
border:1px solid #ccc;
padding:5px 10px;
height:30px;
.al { left: 0; }
.ar { right: 0; }
+input.hide,
div.hide,
form.hide,
button.hide,
button[disabled],
button.disabled {
background-color: rgba(255,255,255,.25);
- color: rgba(0,0,0,.5);
+ color: rgba(0,0,0,.4);
cursor: auto;
}
display: block;
position: absolute;
top: 5px;
- background: rgba(255, 255, 255, .5);
+ background: #fff;
+ border-color: #fff;
+ opacity: 0.5;
color: #333;
padding: 10px;
height: 30px;
bottom: 0;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
- border-right: 6px solid rgba(255,255,255,.5);
+ border-right-width: 6px;
+ border-right-style: solid;
+ border-right-color: inherit;
}
/* Icons */
bottom: 0;
}
-.mapillary-image {
- position: absolute;
- bottom: 30px;
- width: 330px;
- height: 250px;
- padding: 5px;
- background-color: #fff;
-}
-
-.mapillary-image a {
- display: block;
- position: absolute;
- height: auto;
- background-color: rgba(0,0,0,.5);
- bottom: 0;
- padding: 5px 10px;
-}
-.mapillary-image img {
- width: 100%;
- height: auto;
- display: block;
-}
-.mapillary-image.hidden {
- visibility: hidden;
-}
-
-.mapillary-image.temp button {
- display: none;
-}
-
-.mapillary-image button {
- border-radius: 0;
- padding: 5px;
- position: absolute;
- right: 0;
- top: 0;
-}
.feature-list-pane .inspector-body {
top: 120px;
}
.form-label button {
- border-left: 1px solid #CCC;
+ border-left: 1px solid #ccc;
width: 10%;
height: 100%;
border-radius: 0;
.form-field > input,
.form-field > textarea,
.form-field .preset-input-wrap {
- border: 1px solid #CCC;
+ border: 1px solid #ccc;
min-height: 30px;
border-top: 0;
border-radius: 0 0 4px 4px;
}
.inspector-border {
- border-bottom: 1px solid #CCC
+ border-bottom: 1px solid #ccc
}
/* Preset form (hover mode) */
.inspector-hover .checkselect label:last-of-type,
.inspector-hover .preset-input-wrap .label,
+.inspector-hover .form-field-multicombo,
.inspector-hover input,
.inspector-hover label {
background: #ececec;
}
.inspector-hover a,
+.inspector-hover .form-field-multicombo .chips,
.inspector-hover .checkselect label:last-of-type {
color: #666;
}
+.inspector-hover .form-field-multicombo .chips {
+ background: #eee;
+ border: 1px solid #ccc;
+}
+
/* hide and remove from layout */
.inspector-hidden,
.inspector-hover label input[type="checkbox"],
.inspector-hover .toggle-list label span,
.inspector-hover .inspector-inner .add-tag,
.inspector-hover .inspector-inner .add-relation,
+.inspector-hover .form-field-multicombo .combobox-input,
.inspector-hover .toggle-list label.remove .icon {
height: 0;
width: 0;
.inspector-hover .combobox-caret,
.inspector-hover .entity-editor-pane .header button,
.inspector-hover .spin-control,
+.inspector-hover .form-field-multicombo .chips .remove,
.inspector-hover .hide-toggle:before,
.inspector-hover .more-fields,
.inspector-hover .form-label-button-wrap,
border-bottom-right-radius: 4px;
}
+/* preset form multicombo */
+
+.form-field-multicombo {
+ border: 1px solid #cfcfcf;
+ border-top: 0px;
+ padding: 5px 0 5px 10px;
+ background: #fff;
+ display: block;
+ border-radius: 0 0 4px 4px;
+ overflow: hidden;
+}
+
+.form-field-multicombo:focus {
+ border-bottom: 0px;
+}
+
+.form-field-multicombo.active {
+ border-bottom-left-radius: 0px;
+ border-bottom-right-radius: 0px;
+}
+
+.form-field-multicombo li {
+ background-color: #eff2f7;
+ border: 1px solid #ccd5e3;
+ border-radius: 4px;
+ line-height: 25px;
+ display: inline-block;
+ padding: 2px 5px;
+ margin: 3px;
+ height: 30px;
+}
+
+.form-field-multicombo a {
+ font-family: Arial, Helvetica, sans-serif !important;
+ font-size: 16px !important;
+ line-height: 24px;
+ float: right;
+ margin: 1px 0 0 5px;
+ padding: 0;
+ cursor: pointer;
+ color: #a6b4ce;
+}
+
+.form-field-multicombo input {
+ border: 1px solid #ddd;
+ width: 100px;
+ margin: 3px;
+}
+
+.form-field-multicombo .combobox-caret {
+ margin: 3px 3px 3px -30px;
+}
+
+.form-field-multicombo input:focus {
+ border-radius: 4px !important;
+}
+
/* preset form cycleway */
.form-field-cycleway .preset-input-wrap li {
/* Background / Map Data Settings */
-
.map-data-control button {
border-radius: 0;
}
position: relative;
}
-.nudge-container {
- border: 1px solid #CCC;
-}
-
.imagery-faq {
- margin-bottom: 10px;
-}
-
-.background-control .adjustments button:last-child {
- border: 0;
+ margin-bottom: 10px;
}
.map-data-control .hide-toggle,
background-color: #ececec;
}
-.layer-list li.active {
+.layer-list li.active,
+.layer-list li.switch {
background: #E8EBFF;
}
border-left: 4px solid transparent;
}
-.background-control .nudge-container button {
- float: left;
- display: block;
- width:20%;
- border-right: 1px solid #CCC;
- position: relative;
+/* Adjust Alignment controls */
+
+.background-control .nudge-container {
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ padding: 10px;
+}
+
+.nudge-container .nudge-instructions {
+ padding-bottom: 15px;
+}
+
+.nudge-container .nudge-outer-rect {
+ background-color: #eee;
+ border: 1px solid #ccc;
+ border-radius: 2px;
+ padding: 20px 0;
+ width: 70%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 0 auto;
+ margin-top: 20px;
+ cursor: move;
+}
+
+.nudge-container .nudge-inner-rect {
+ background-color: #fff;
+ border: 1px solid #ccc;
+ border-radius: 2px;
+ width: 65%;
+ min-height: 20px;
}
-.background-control .nudge::after {
+.nudge-container .nudge::after {
content: '';
display: block;
position: absolute;
width: 0;
}
-.background-control .nudge.left::after {
+.nudge-container input {
+ width: 100%;
+ height: 20px;
+ text-align: center;
+ border: 0;
+}
+
+.nudge-container input.error {
+ border: 1px solid #FF7878;
+ border-radius: 2px;
+ background: #ffb;
+}
+
+.nudge-container input:focus {
+ background-color: transparent;
+}
+
+.nudge-container button {
+ float: left;
+ display: block;
+ width: 20%;
+ position: relative;
+ background-color: transparent;
+}
+
+.nudge-container button.right {
+ top: -50px;
+ right: -85%;
+}
+
+.nudge-container button.left {
+ top: -50px;
+ right: 45%;
+}
+
+.nudge-container button.top {
+ left: 20%;
+ top: -104px;
+}
+
+.nudge-container button.bottom {
+ left: -20%;
+}
+
+.nudge-container button.nudge-reset {
+ right: -10px;
+}
+
+.nudge-surface {
+ position: absolute;
+ z-index: 5000;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ background-color: transparent;
+ cursor: move;
+}
+
+.background-control .nudge.right::after {
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid #222;
}
-.background-control .nudge.right::after {
+.background-control .nudge.left::after {
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-right: 5px solid #222;
float:right;
margin-left: 20px;
margin-bottom: 20px;
- padding-left: 5px
+ padding-left: 5px;
}
.help-wrap .toc li a,
border-radius: 4px;
}
+
+/* Tiles
+------------------------------------------------------- */
+
+img.tile {
+ position:absolute;
+ 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;
+
+ opacity: 0;
+
+ -webkit-transition: opacity 200ms linear;
+ transition: opacity 200ms linear;
+ -moz-transition: opacity 200ms linear;
+}
+
+.tile-label-debug {
+ background: rgba(0, 0, 0, 0.7);
+ color: #fff;
+ position: absolute;
+ text-align: center;
+ width: 128px;
+ border-radius: 3px;
+ z-index: 2;
+
+ 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;
+}
+
+img.tile-debug {
+ border: 1px solid red;
+}
+
+img.tile-loaded {
+ opacity: 1;
+}
+
+img.tile-removing {
+ opacity: 0;
+}
+
+
/* Map
------------------------------------------------------- */
-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;
/* Map-In-Map
------------------------------------------------------- */
-
.map-in-map {
position: absolute;
overflow: hidden;
-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 {
+.map-in-map-viewport,
+.map-in-map-data {
top: 0;
left: 0;
overflow: hidden;
width: 100%;
}
-.map-in-map-svg {
+.map-in-map-viewport {
position: absolute;
}
-.map-in-map-gpx {
+.map-in-map-data {
position: relative;
z-index: 10;
}
stroke-width: 5;
}
+
+/* Debug
+------------------------------------------------------- */
+.debug {
+ stroke: currentColor;
+ fill: none;
+ stroke-width: 2;
+}
+.map-in-map-data .debug {
+ stroke-width: 1;
+}
+
+.red { color: rgba(255, 0, 0, 0.75); }
+.green { color: rgba(0, 255, 0, 0.75); }
+.blue { color: rgba(0, 0, 255, 0.75); }
+.yellow { color: rgba(255, 255, 0, 0.75); }
+.cyan { color: rgba(0, 255, 255, 0.75); }
+.magenta { color: rgba(255, 0, 255, 0.75); }
+.orange { color: rgba(255, 153, 0, 0.75); }
+.pink { color: rgba(255, 0, 153, 0.75); }
+.purple { color: rgba(153, 0, 255, 0.75); }
+
+.debug-legend {
+ position: absolute;
+ top: 70px;
+ right: 80px;
+ padding: 5px;
+ border-radius: 4px;
+ pointer-events: none;
+}
+
+.debug-legend-item {
+ padding-right: 5px;
+}
+.debug-legend-item:before {
+ content: "\25A0";
+ padding: 0 5px;
+}
+
/* Info Box
------------------------------------------------------- */
.infobox {
max-height: 30px;
float: left;
clear: left;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
}
#info-block {
width: 100%;
}
+#scale:hover {
+ cursor: pointer;
+}
+
#scale text {
font: 12px sans-serif;
stroke: none;
vertical-align: middle;
}
-.save-section .buttons .action {
+.save-section .buttons .action,
+.save-section .buttons .secondary-action {
display: inline-block;
margin: 0 20px 0 0;
text-align: center;
color: rgba(40,40,40,.5);
}
-.lasso-box {
- fill-opacity:0.1;
+.lasso-path {
+ fill-opacity:0.3;
stroke: #fff;
stroke-width: 1;
stroke-opacity: 1;
background: rgba(0, 0, 0, 0) url(<%= asset_path("iD/img/iD-sprite.svg") %>) no-repeat -300px -460px;
margin: auto;
}
+
+/* Mapillary
+------------------------------------------------------- */
+.mapillary-wrap {
+ position: absolute;
+ bottom: 30px;
+ width: 330px;
+ height: 250px;
+ padding: 5px;
+ background-color: #fff;
+}
+
+.mapillary-wrap.hidden {
+ visibility: hidden;
+}
+
+.mapillary-wrap .uil-ripple-css {
+ top: -9px;
+ left: -15px;
+}
+
+.mapillary-wrap .uil-ripple-css div {
+ top: 38px;
+}
+
+.mapillary-wrap button.thumb-hide {
+ border-radius: 0;
+ padding: 5px;
+ position: absolute;
+ right: 0;
+ top: 0;
+ z-index: 500;
+}
+
+.mly-wrapper {
+ visibility: hidden;
+}
+
+.mly-wrapper.active {
+ visibility: visible;
+}