X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ca5de5b4e01297b07ce3a9db45e908f15f7cda11..caac9a94033bf6bea1f2eb05f23aa9898e236d3d:/vendor/assets/iD/iD.css.erb?ds=inline diff --git a/vendor/assets/iD/iD.css.erb b/vendor/assets/iD/iD.css.erb index da02a4086..6db48ae11 100644 --- a/vendor/assets/iD/iD.css.erb +++ b/vendor/assets/iD/iD.css.erb @@ -829,9 +829,22 @@ path.casing.tag-residential { 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, @@ -843,7 +856,6 @@ path.stroke.tag-highway-pedestrian, 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, @@ -857,7 +869,6 @@ path.stroke.tag-road { 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, @@ -869,7 +880,6 @@ path.casing.tag-highway-pedestrian, 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, @@ -884,7 +894,6 @@ path.casing.tag-road { } .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, @@ -896,7 +905,6 @@ path.casing.tag-road { .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, @@ -910,7 +918,6 @@ path.casing.tag-road { 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, @@ -922,7 +929,6 @@ path.casing.tag-road { .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, @@ -974,19 +980,6 @@ path.casing.tag-pedestrian.tag-unpaved { 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; @@ -2114,6 +2107,7 @@ ul li { list-style: none;} .al { left: 0; } .ar { right: 0; } +input.hide, div.hide, form.hide, button.hide, @@ -2181,7 +2175,7 @@ button:hover { 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; } @@ -2834,7 +2828,7 @@ button.save.has-count .count::before { } .form-label button { - border-left: 1px solid #CCC; + border-left: 1px solid #ccc; width: 10%; height: 100%; border-radius: 0; @@ -2857,7 +2851,7 @@ button.save.has-count .count::before { .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; @@ -2869,23 +2863,30 @@ button.save.has-count .count::before { } .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"], @@ -2894,6 +2895,7 @@ button.save.has-count .count::before { .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; @@ -2909,6 +2911,7 @@ button.save.has-count .count::before { .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, @@ -3009,6 +3012,63 @@ button.save.has-count .count::before { 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 { @@ -3569,7 +3629,6 @@ div.full-screen > button:hover { /* Background / Map Data Settings */ - .map-data-control button { border-radius: 0; } @@ -3583,16 +3642,8 @@ div.full-screen > button:hover { 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, @@ -3708,15 +3759,41 @@ div.full-screen > button:hover { 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; } -.background-control .nudge::after { +.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; +} + +.nudge-container .nudge::after { content: ''; display: block; position: absolute; @@ -3726,13 +3803,61 @@ div.full-screen > button:hover { 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; +} + +.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; @@ -4001,6 +4126,7 @@ div.full-screen > button:hover { z-index: 10; } +.bbox, .map-in-map-bbox { fill: none; stroke: rgba(255, 255, 0, 0.75); @@ -4245,7 +4371,8 @@ div.full-screen > button:hover { 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; @@ -4735,8 +4862,8 @@ div.full-screen > button:hover { 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;