}
-/* GPX Paths */
-
-.layer-gpx {
- pointer-events: none;
-}
-
-path.gpx {
- stroke: #ff26d4;
- stroke-width: 2;
- fill: none;
-}
-
-text.gpxlabel-halo,
-text.gpxlabel {
- font-size: 10px;
- font-weight: bold;
- dominant-baseline: middle;
-}
-
-text.gpxlabel {
- fill: #ff26d4;
-}
-
-text.gpxlabel-halo {
- opacity: 0.7;
- stroke: #000;
- stroke-width: 5px;
- stroke-miterlimit: 1;
-}
-
-/* MVT Paths */
-
-.layer-mvt {
- pointer-events: none;
-}
-
-path.mvt {
- stroke: #ff26d4;
- stroke-width: 2;
- fill: none;
-}
-
-text.mvtlabel-halo,
-text.mvtlabel {
- font-size: 10px;
- font-weight: bold;
- dominant-baseline: middle;
-}
-
-text.mvtlabel {
- fill: #ff26d4;
-}
-
-text.mvtlabel-halo {
- opacity: 0.7;
- stroke: #000;
- stroke-width: 5px;
- stroke-miterlimit: 1;
-}
-
/* Default - light gray */
path.area.stroke {
stroke: #ddd;
/* markers and sequences */
.viewfield-group {
+ pointer-events: none;
+}
+.mode-browse .viewfield-group,
+.mode-select .viewfield-group {
pointer-events: visible;
cursor: pointer;
}
.layer-notes .note * {
pointer-events: none;
}
-.layer-notes .note .note-fill {
+.mode-browse .layer-notes .note .note-fill,
+.mode-select .layer-notes .note .note-fill,
+.mode-select-data .layer-notes .note .note-fill,
+.mode-select-note .layer-notes .note .note-fill {
pointer-events: visible;
cursor: pointer; /* Opera */
cursor: url(<%= asset_path("iD/img/cursor-select-point.png") %>), pointer; /* FF */
.note-header-icon .preset-icon-28 {
top: 18px;
}
-
.note-header-icon .note-icon-annotation {
position: absolute;
top: 22px;
left: 22px;
margin: auto;
}
-
.note-header-icon .note-icon-annotation .icon {
width: 15px;
height: 15px;
}
-/* OSM Note UI */
-.note-header {
- background-color: #f6f6f6;
- border-radius: 5px;
- border: 1px solid #ccc;
- display: flex;
- flex-flow: row nowrap;
- align-items: center;
-}
+/* Custom Map Data (geojson, gpx, kml, vector tile) */
-.note-header-icon {
- background-color: #fff;
- padding: 10px;
- flex: 0 0 62px;
- position: relative;
- width: 60px;
- height: 60px;
- border-right: 1px solid #ccc;
- border-radius: 5px 0 0 5px;
-}
-[dir='rtl'] .note-header-icon {
- border-right: unset;
- border-left: 1px solid #ccc;
- border-radius: 0 5px 5px 0;
+.layer-mapdata {
+ pointer-events: none;
}
-.note-header-icon .icon-wrap {
- position: absolute;
- top: 0px;
+.layer-mapdata path.shadow {
+ pointer-events: stroke;
+ stroke: #f6634f;
+ stroke-width: 16;
+ stroke-opacity: 0;
+ fill: none;
}
-
-.note-header-label {
- background-color: #f6f6f6;
- padding: 0 15px;
- flex: 1 1 100%;
- font-size: 14px;
- font-weight: bold;
- border-radius: 0 5px 5px 0;
+.layer-mapdata path.MultiPoint.shadow,
+.layer-mapdata path.Point.shadow {
+ pointer-events: fill;
+ fill: #f6634f;
+ fill-opacity: 0;
}
-[dir='rtl'] .note-header-label {
- border-radius: 5px 0 0 5px;
+.layer-mapdata path.shadow.hover:not(.selected) {
+ stroke-opacity: 0.4;
}
-
-.note-category {
- margin: 20px 0px;
+.layer-mapdata path.shadow.selected {
+ stroke-opacity: 0.7;
}
-.comments-container {
- background: #ececec;
- padding: 1px 10px;
- border-radius: 8px;
- margin-top: 20px;
+.layer-mapdata path.stroke {
+ stroke: #ff26d4;
+ stroke-width: 2;
+ fill: none;
}
-.comment {
- background-color: #fff;
- border-radius: 5px;
- border: 1px solid #ccc;
- margin: 10px auto;
- display: flex;
- flex-flow: row nowrap;
-}
-.comment-avatar {
- padding: 10px;
- flex: 0 0 62px;
-}
-.comment-avatar .icon.comment-avatar-icon {
- width: 40px;
- height: 40px;
- object-fit: cover;
- border: 1px solid #ccc;
- border-radius: 20px;
-}
-.comment-main {
- padding: 10px 10px 10px 0;
- flex: 1 1 100%;
- flex-flow: column nowrap;
- overflow: hidden;
- overflow-wrap: break-word;
-}
-[dir='rtl'] .comment-main {
- padding: 10px 0 10px 10px;
+.layer-mapdata path.fill {
+ stroke-width: 0;
+ stroke-opacity: 0.3;
+ stroke: #ff26d4;
+ fill: #ff26d4;
+ fill-opacity: 0.3;
+ fill-rule: evenodd;
}
-.comment-metadata {
- flex-flow: row nowrap;
- justify-content: space-between;
-}
-.comment-author {
+.layer-mapdata text.label-halo,
+.layer-mapdata text.label {
+ font-size: 10px;
font-weight: bold;
- color: #333;
-}
-.comment-date {
- color: #aaa;
-}
-.comment-text {
- color: #333;
- margin-top: 10px;
- overflow-y: auto;
- max-height: 250px;
-}
-.comment-text::-webkit-scrollbar {
- border-left: none;
+ dominant-baseline: middle;
}
-
-.note-save {
- padding: 10px;
+.layer-mapdata text.label {
+ fill: #ff26d4;
}
-
-.note-save #new-comment-input {
- width: 100%;
- height: 100px;
- max-height: 300px;
- min-height: 100px;
+.layer-mapdata text.label.hover,
+.layer-mapdata text.label.selected {
+ fill: #f6634f;
}
-
-.note-save .detail-section {
- margin: 10px 0;
+.layer-mapdata text.label-halo {
+ opacity: 0.7;
+ stroke: #000;
+ stroke-width: 5px;
+ stroke-miterlimit: 1;
}
-.note-report {
- float: right;
-}
/* Fill Styles */
.low-zoom.fill-wireframe path.stroke,
stroke-dasharray: none !important;
fill: none !important;
}
+.low-zoom.fill-wireframe .layer-mapdata path.stroke,
+.fill-wireframe .layer-mapdata path.stroke {
+ stroke-width: 2 !important;
+ stroke-opacity: 1 !important;
+}
.low-zoom.fill-wireframe path.shadow,
.fill-wireframe path.shadow {
}
/* Basics
------------------------------------------------------- */
-
/*
Opera misbehaves when the window is resized vertically unless 100% width + height are
applied to both html and body. https://gist.github.com/jfirebaugh/bd225bcfdd3a633850c4
/* Forms
------------------------------------------------------- */
-
textarea {
resize: vertical;
font:normal 12px/20px "-apple-system", BlinkMacSystemFont,
/* Grid
------------------------------------------------------- */
-
.col0 { float: left; width: 04.1666%; }
.col1 { float: left; width: 08.3333%; }
.col2 { float: left; width: 16.6666%; }
/* UI Lists
------------------------------------------------------- */
-
ul li { list-style: none;}
.toggle-list > label {
background: #fff;
color: #333;
}
-
.fillL2 {
background: #f6f6f6;
color: #333;
}
-
.fillL3 {
background: #ececec;
color: #333;
}
-
.fillD {
background: rgba(0,0,0,.5);
color: #fff;
}
-
.fillD2 {
background: rgba(0,0,0,.75);
color: #fff;
background-size: 5px 5px;
}
-.panewrap {
- position: absolute;
- width: 200%;
- height: 100%;
- right: -100%;
-}
-
-
-.pane {
- position: absolute;
- width: 50%;
- top: 0;
- bottom: 30px;
-}
-
-.pane:first-child {
- left: 0;
-}
-
-.pane:last-child {
- right: 0;
-}
-
-/* Buttons */
+/* Buttons
+------------------------------------------------------- */
button {
text-align: center;
line-height: 20px;
}
-/* Icons */
-
+/* Icons
+------------------------------------------------------- */
.icon {
vertical-align: top;
width: 20px;
}
-/* ToolBar / Persistent UI Elements
+/* Toolbar / Persistent UI Elements
------------------------------------------------------- */
-
#bar {
position: fixed;
padding: 10px 0;
/* Header for modals / panes
------------------------------------------------------- */
-
.header {
border-bottom: 1px solid #ccc;
height: 60px;
}
.field-help-title button.close,
+.sidebar-component .header button.data-editor-close,
.sidebar-component .header button.note-editor-close,
.entity-editor-pane .header button.preset-close,
.preset-list-pane .header button.preset-choose {
top: 0;
}
[dir='rtl'] .field-help-title button.close,
+[dir='rtl'] .sidebar-component .header button.data-editor-close,
[dir='rtl'] .sidebar-component .header button.note-editor-close,
[dir='rtl'] .entity-editor-pane .header button.preset-close,
[dir='rtl'] .preset-list-pane .header button.preset-choose {
justify-content: space-between;
list-style: none;
display: flex;
-
}
.footer > a {
}
-/* Hide-Toggle
+/* Hide/Toggle collapsable sections (aka Disclosure)
------------------------------------------------------- */
-
.hide-toggle .icon.pre-text {
vertical-align: text-top;
width: 16px;
}
-/* Inspector
+/* Sidebar / Inspector
------------------------------------------------------- */
-
#sidebar {
position: relative;
float: left;
right: 0;
}
+.panewrap {
+ position: absolute;
+ width: 200%;
+ height: 100%;
+ right: -100%;
+}
+
+.pane {
+ position: absolute;
+ width: 50%;
+ top: 0;
+ bottom: 30px;
+}
+
+.pane:first-child {
+ left: 0;
+}
+
+.pane:last-child {
+ right: 0;
+}
+
.inspector-wrap {
width: 100%;
height: 100%;
.feature-list-pane .inspector-body {
top: 120px;
}
-
.preset-list-pane .inspector-body {
top: 120px;
}
-
.entity-editor-pane .inspector-body {
top: 60px;
}
-
.selection-list-pane .inspector-body {
top: 60px;
}
font-weight: bold;
}
-/* Feature list */
+/* Feature List / Search Results
+------------------------------------------------------- */
.feature-list {
width: 100%;
}
-
.no-results-item,
.geocode-item,
.feature-list-item {
}
-/* Presets
+/* Preset List and Icons
------------------------------------------------------- */
-
-/* Preset grid */
-
.preset-list {
width: 100%;
padding: 20px 20px 10px 20px;
.preset-list-item button.tag-reference-button:hover {
background: #f1f1f1;
}
-
.preset-list-item button.tag-reference-button .icon {
opacity: .5;
}
}
-/* preset form basics */
-
+/* Entity/Preset Editor
+------------------------------------------------------- */
.preset-editor {
overflow: hidden;
padding-bottom: 10px;
}
-
.preset-editor a.hide-toggle {
margin: 0 20px 5px 20px;
}
-
.preset-editor .form-fields-container {
padding: 10px;
margin: 0 10px 10px 10px;
border-radius: 8px;
}
-
.preset-editor .form-fields-container:empty {
display: none;
}
-
.entity-editor-pane .preset-list-item .preset-list-button-wrap {
margin-bottom: 0;
}
border-bottom: 1px solid #ccc
}
-/* Preset form (hover mode) */
-
+/* Inspector (hover styles)
+------------------------------------------------------- */
.inspector-hover .checkselect label:last-of-type,
.inspector-hover .preset-input-wrap .label,
.inspector-hover .form-field-multicombo,
.inspector-hover .tag-row .form-field.input-wrap-position {
width: 50%;
}
+.inspector-hover .tag-row .key-wrap,
+.inspector-hover .tag-row .input-wrap-position {
+ height: 31px;
+}
.inspector-hover .tag-row:first-child input.value {
border-top-right-radius: 4px;
overflow: hidden;
}
-/* adding additional preset fields */
-
+/* More Fields dropdown
+------------------------------------------------------- */
.more-fields {
padding: 0 20px 20px 20px;
font-weight: bold;
}
-/* preset form access */
-/* preset form cycleway */
-/* preset form structure extras */
-
+/* Field - Access, Cycleway, Structure
+------------------------------------------------------- */
.structure-extras-wrap li,
.form-field-cycleway .preset-input-wrap li,
.form-field-access .preset-input-wrap li {
}
-/* preset form multicombo */
-
+/* Field - Multicombo
+------------------------------------------------------- */
.form-field-multicombo {
border: 1px solid #cfcfcf;
border-top: 0px;
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;
}
-/* preset form numbers */
-
+/* Field - Numeric
+------------------------------------------------------- */
input[type=number] {
position: relative;
padding-right: 20%;
left: 0; right: 0; bottom: 0; top: 0;
margin: auto;
}
-
.spin-control button.decrement::after {
border-top: 5px solid #ccc;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
}
-
.spin-control button.increment::after {
border-bottom: 5px solid #ccc;
border-left: 5px solid transparent;
}
-/* preset form checkbox */
-
+/* Field - Checkbox
+------------------------------------------------------- */
.checkselect label:last-of-type {
display: block;
background: #fff;
padding: 5px 10px;
color: #7092ff;
}
-
.checkselect label:hover {
background: #f1f1f1;
}
-
.checkselect .set {
color: inherit;
}
-
.checkselect label:not(.set) input[type="checkbox"] {
opacity: .5;
}
-
.checkselect .reverser.button {
display: block;
float: right;
display: none;
}
-/* Preset form radio button */
+/* Field - Radio button
+------------------------------------------------------- */
.toggle-list button.remove {
border-radius: 0 0 3px 3px;
}
-
.toggle-list button.remove .icon {
position: absolute;
left: 5px;
}
-
.toggle-list button.remove::before {
content: none;
}
+
+/* Field - Maxspeed
+------------------------------------------------------- */
#preset-input-maxspeed_advisory,
#preset-input-maxspeed {
border-right: none;
border-radius: 0 0 0 4px;
}
-/* Wikipedia field */
+
+/* Field - Wikipedia
+------------------------------------------------------- */
.form-field .wiki-lang {
border-radius: 0;
}
left: 32px;
}
-/* Localized field */
+
+/* Field - Localized Name
+------------------------------------------------------- */
.form-field .localized-main {
padding-right: 12%;
}
.form-field .localized-wrap {
padding: 0 10px;
}
-
.form-field .localized-wrap .entry {
position: relative;
overflow: hidden;
border-radius: 0;
border-top-width: 0;
}
-
.form-field .localized-wrap .entry .localized-value {
border-top-width: 0;
border-radius: 0 0 4px 4px;
}
-
.form-field .localized-wrap .form-label button {
border-top-right-radius: 3px;
}
-/* Preset form address */
+/* Field - Address
+------------------------------------------------------- */
.addr-row input {
border-right: 0;
border-bottom: 0;
border-radius: 0 0 0 4px;
}
-/* Restrictions editor */
+/* Field - Restriction Editor
+------------------------------------------------------- */
.form-field-restrictions .restriction-controls-container {
background-color: #fff;
border-top: 1px solid #ccc;
color: #78f;
}
-/* Changeset editor while comment text is empty */
+/* Field - Changeset Comment
+------------------------------------------------------- */
.form-field-comment:not(.present) #preset-input-comment {
border-color: rgb(230, 100, 100);
}
border-color: rgb(230, 100, 100);
}
-/* combobox dropdown */
+/* Field - Combobox
+------------------------------------------------------- */
div.combobox {
z-index: 9999;
display: none;
border-right: 5px solid transparent;
}
-/* Field Help */
+/* Field Help
+------------------------------------------------------- */
.field-help-body {
display: block;
position: absolute;
}
-/* Raw Tag Editor */
-
+/* Raw Tag Editor
+------------------------------------------------------- */
.tag-list {
padding-top: 10px;
}
}
/* Adding form fields to tag editor */
-
.raw-tag-editor .add-tag {
width: 40%;
height: 30px;
}
/* Tag reference */
-
button.minor.tag-reference-loading {
background-color: #f5f5f5;
}
}
-/* Raw relation membership editor */
-
+/* Raw Member / Membership Editor
+------------------------------------------------------- */
.raw-member-editor .member-list li:first-child,
.raw-membership-editor .member-list li:first-child {
padding-top: 10px;
border: 1px solid rgba(0,0,0,0);
}
-/* Fullscreen button */
-div.full-screen {
- float: right;
- width: 40px;
- margin-right: 10px;
+
+/* OSM Note Editor
+------------------------------------------------------- */
+.note-header {
+ background-color: #f6f6f6;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ display: flex;
+ flex-flow: row nowrap;
+ align-items: center;
}
-div.full-screen .tooltip {
- min-width: 160px;
+.note-header-icon {
+ background-color: #fff;
+ padding: 10px;
+ flex: 0 0 62px;
+ position: relative;
+ width: 60px;
+ height: 60px;
+ border-right: 1px solid #ccc;
+ border-radius: 5px 0 0 5px;
+}
+[dir='rtl'] .note-header-icon {
+ border-right: unset;
+ border-left: 1px solid #ccc;
+ border-radius: 0 5px 5px 0;
}
-div.full-screen > button, div.full-screen > button.active {
+.note-header-icon .icon-wrap {
+ position: absolute;
+ top: 0px;
+}
+
+.note-header-label {
+ background-color: #f6f6f6;
+ padding: 0 15px;
+ flex: 1 1 100%;
+ font-size: 14px;
+ font-weight: bold;
+ border-radius: 0 5px 5px 0;
+}
+[dir='rtl'] .note-header-label {
+ border-radius: 5px 0 0 5px;
+}
+
+.note-category {
+ margin: 20px 0px;
+}
+
+.comments-container {
+ background: #ececec;
+ padding: 1px 10px;
+ border-radius: 8px;
+ margin-top: 20px;
+}
+
+.comment {
+ background-color: #fff;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ margin: 10px auto;
+ display: flex;
+ flex-flow: row nowrap;
+}
+.comment-avatar {
+ padding: 10px;
+ flex: 0 0 62px;
+}
+.comment-avatar .icon.comment-avatar-icon {
width: 40px;
height: 40px;
- background: transparent;
+ object-fit: cover;
+ border: 1px solid #ccc;
+ border-radius: 20px;
+}
+.comment-main {
+ padding: 10px 10px 10px 0;
+ flex: 1 1 100%;
+ flex-flow: column nowrap;
+ overflow: hidden;
+ overflow-wrap: break-word;
+}
+[dir='rtl'] .comment-main {
+ padding: 10px 0 10px 10px;
}
-div.full-screen > button:hover {
- background-color: rgba(0, 0, 0, .8);
+.comment-metadata {
+ flex-flow: row nowrap;
+ justify-content: space-between;
+}
+.comment-author {
+ font-weight: bold;
+ color: #333;
+}
+.comment-date {
+ color: #aaa;
+}
+.comment-text {
+ color: #333;
+ margin-top: 10px;
+ overflow-y: auto;
+ max-height: 250px;
+}
+.comment-text::-webkit-scrollbar {
+ border-left: none;
+}
+
+.note-save {
+ padding: 10px;
+}
+
+.note-save #new-comment-input {
+ width: 100%;
+ height: 100px;
+ max-height: 300px;
+ min-height: 100px;
+}
+
+.note-save .detail-section {
+ margin: 10px 0;
+}
+
+.note-report {
+ float: right;
+}
+
+
+/* Custom Data Editor
+------------------------------------------------------- */
+.data-header {
+ background-color: #f6f6f6;
+ border-radius: 5px;
+ border: 1px solid #ccc;
+ display: flex;
+ flex-flow: row nowrap;
+ align-items: center;
+}
+
+.data-header-icon {
+ background-color: #fff;
+ padding: 10px;
+ flex: 0 0 62px;
+ position: relative;
+ width: 60px;
+ height: 60px;
+ border-right: 1px solid #ccc;
+ border-radius: 5px 0 0 5px;
+}
+[dir='rtl'] .data-header-icon {
+ border-right: unset;
+ border-left: 1px solid #ccc;
+ border-radius: 0 5px 5px 0;
+}
+
+.data-header-icon .icon-wrap {
+ position: absolute;
+ top: 0px;
}
-/* Map Controls */
+.data-header-label {
+ background-color: #f6f6f6;
+ padding: 0 15px;
+ flex: 1 1 100%;
+ font-size: 14px;
+ font-weight: bold;
+ border-radius: 0 5px 5px 0;
+}
+[dir='rtl'] .data-header-label {
+ border-radius: 5px 0 0 5px;
+}
+/* tag editor - no buttons */
+.data-editor.raw-tag-editor button {
+ display: none;
+}
+.data-editor.raw-tag-editor .tag-row .key-wrap,
+.data-editor.raw-tag-editor .tag-row .input-wrap-position {
+ width: 50%;
+}
+
+
+/* Map Controls
+------------------------------------------------------- */
.map-controls {
right: 0;
top: 132px;
background: #7092ff;
}
-/* Zoomer */
+
+/* Fullscreen Button (disabled)
+------------------------------------------------------- */
+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);
+}
+
+
+/* Zoom Buttons
+------------------------------------------------------- */
.zoombuttons > button.zoom-in {
border-radius: 4px 0 0 0;
}
border-radius: 0 4px 0 0;
}
-/* Geolocator */
+
+/* Geolocate Button
+------------------------------------------------------- */
.geolocate-control {
margin-bottom: 10px;
}
border-radius: 0 0 4px 0;
}
-/* Pane Buttons */
+
+/* Background / Map Data / Help Pane buttons
+------------------------------------------------------- */
.help-control > button {
border-radius: 0 0 0 4px;
}
}
-/* Background / Map Data Settings */
-
+/* Background / Map Data Settings
+------------------------------------------------------- */
.map-data-control,
.background-control {
position: relative;
.layer-list > li:first-child {
border-radius: 3px 3px 0 0;
}
-
.layer-list > li:last-child {
border-radius: 0 0 3px 3px;
}
-
.layer-list > li:only-child {
border-radius: 3px;
}
-
.layer-list li:not(:last-child) {
border-bottom: 1px solid #ccc;
}
-
.layer-list li:hover {
background-color: #ececec;
}
+.layer-list li.active button,
+.layer-list li.switch button,
.layer-list li.active,
.layer-list li.switch {
background: #e8ebff;
float: right;
}
-[dir='rtl'] .list-item-gpx-browse svg {
- transform: rotateY(180deg);
-}
-
-[dir='rtl'] .list-item-mvt-browse svg {
+[dir='rtl'] .list-item-data-browse svg {
transform: rotateY(180deg);
}
text-overflow: ellipsis;
}
+.map-data-control .layer-list button,
+.background-control .layer-list button {
+ float: right;
+ height: 100%;
+ width: 10%;
+ border-left: 1px solid #ccc;
+ border-radius: 0;
+}
+[dir='rtl'] .map-data-control .layer-list button,
+[dir='rtl'] .background-control .layer-list button {
+ float: left;
+ border-left: none;
+ border-right: 1px solid #ccc;
+}
+
+.map-data-control .layer-list button .icon,
+.background-control .layer-list button .icon {
+ opacity: 0.5;
+}
+
+.map-data-control .layer-list button:first-of-type,
+.background-control .layer-list button:first-of-type {
+ border-radius: 0 3px 3px 0;
+}
+[dir='rtl'] .map-data-control .layer-list button:first-of-type,
+[dir='rtl'] .background-control .layer-list button:first-of-type {
+ border-radius: 3px 0 0 3px;
+}
+
+.map-data-control .vectortile-container .vectortile-header {
+ padding-bottom: 5px;
+}
+.map-data-control .vectortile-container .vectortile-footer {
+ padding-bottom: 10px;
+}
-/* Background Display Options */
+/* Background - Display Options Sliders
+------------------------------------------------------- */
.display-options-container {
padding: 10px;
}
}
-/* Adjust Alignment controls */
-
+/* Background - Adjust Alignment
+------------------------------------------------------- */
.background-control .nudge-container {
border: 1px solid #ccc;
border-radius: 4px;
}
-.map-data-control .layer-list button,
-.background-control .layer-list button {
- float: right;
- height: 100%;
- width: 10%;
- border-left: 1px solid #ccc;
- border-radius: 0;
-}
-[dir='rtl'] .map-data-control .layer-list button,
-[dir='rtl'] .background-control .layer-list button {
- float: left;
- border-left: none;
- border-right: 1px solid #ccc;
-}
-
-.map-data-control .layer-list button .icon,
-.background-control .layer-list button .icon {
- opacity: 0.5;
-}
-
-.map-data-control .layer-list button:first-of-type,
-.background-control .layer-list button:first-of-type {
- border-radius: 0 3px 3px 0;
-}
-[dir='rtl'] .map-data-control .layer-list button:first-of-type,
-[dir='rtl'] .background-control .layer-list button:first-of-type {
- border-radius: 3px 0 0 3px;
-}
-
-/* Side panes */
+/* Side Panes - Background / Map Data / Help
+------------------------------------------------------- */
.map-pane {
position: fixed;
top: 60px;
padding-bottom: 15px;
}
-/* Help */
-
+/* Help
+------------------------------------------------------- */
.help-wrap p {
font-size: 15px;
margin-bottom: 20px;
}
-/* Tiles
+/* Raster Background Tiles
------------------------------------------------------- */
-
img.tile {
position: absolute;
transform-origin: 0 0;
/* Map
------------------------------------------------------- */
-
#map {
position: relative;
overflow: hidden;
bottom: 0;
}
+
/* Map-In-Map
------------------------------------------------------- */
.map-in-map {
}
-/* Debug
+/* Debug Data
------------------------------------------------------- */
.debug {
stroke: currentColor;
padding: 0 5px;
}
-/* Info Box
+
+/* Information Panels
------------------------------------------------------- */
.info-panels {
display: flex;
.panel-title button.close:hover {
color: #fff;
}
-
.panel-title button.close .icon {
height: 20px;
width: 16px;
}
-/* About Section
+/* About Section, Attribution, Footer
------------------------------------------------------- */
-
#about {
width: 100%;
position: absolute;
height: 30px;
}
-/* footer flash message */
+/* Footer - Flash messages
+------------------------------------------------------- */
#flash-wrap {
display: flex;
flex: 0 0 100%;
}
-/* footer scale */
-
+/* Footer - Scale bar, About, Source Switcher
+------------------------------------------------------- */
#scale-block {
vertical-align: bottom;
width: 250px;
shape-rendering: crispEdges;
}
-
#about-list {
text-align: right;
margin-right: 10px;
padding: 5px 5px 5px 0;
}
-
#about-list li:last-child {
border-left: 0;
margin-left: 0;
color: #ccf;
}
-/* Notification Badges */
-
+/* Notification Badges
+------------------------------------------------------- */
/* For an icon (e.g. new version) */
.badge {
display: inline-block;
}
-/* Modals
+/* Modals / Prompts
------------------------------------------------------- */
-
.modal {
top: 40px;
display: inline-block;
.modal .loader {
margin-bottom: 10px;
}
-
.modal .description {
text-align: center;
}
right: 0;
overflow: auto;
}
-
.shaded:before {
content:'';
background: rgba(0,0,0,0.5);
padding: 20px;
border-bottom: 1px solid #ccc;
}
-
.modal-section.header h3 {
padding: 0;
}
-
.modal-section.buttons {
text-align: center;
}
color: #e06c5e;
}
-/* Success Modal
+/* Success Screen / Community Index
------------------------------------------------------- */
.save-success.body {
overflow-y: scroll;
}
+/* Settings Modals
+------------------------------------------------------- */
+.settings-modal textarea {
+ height: 70px;
+}
+.settings-modal .buttons .button.col3 {
+ float: none; /* undo float left */
+}
+
+.settings-custom-background .instructions-template {
+ margin-bottom: 20px;
+}
+
+.settings-custom-data .instructions-url {
+ margin-bottom: 10px;
+}
+.settings-custom-data .field-file,
+.settings-custom-data .instructions-template {
+ margin-bottom: 20px;
+}
+
+
/* Save Mode
------------------------------------------------------- */
.mode-save a.user-info {
.changeset-list li:first-child { border-top: 0;}
+
/* Conflict resolution
------------------------------------------------------- */
-
.conflicts-help {
padding: 20px;
background-color: #ffffbb;
height: 30px;
}
-/* Notices
-------------------------------------------------------- */
+/* Notices (Zoom in to Edit)
+------------------------------------------------------- */
.notice {
position: absolute;
top: 45px;
margin-right: 0;
}
+
/* Tooltips
------------------------------------------------------- */
-
.tooltip {
position: absolute;
display: none;
}
-/* radial menu (deprecated) */
-
+/* Contextual Radial Menu (deprecated)
+------------------------------------------------------- */
.radial-menu-tooltip {
opacity: 0.8;
display: none;
color: rgba(40,40,40,.5);
}
-/* edit menu */
+/* Contextual Edit Menu
+------------------------------------------------------- */
.edit-menu-tooltip {
display: none;
position: absolute;
color: #79f;
pointer-events: none;
}
-
.edit-menu-item.disabled use {
fill: rgba(32,32,32,.2);
color: rgba(40,40,40,.2);
}
+/* Lasso
+------------------------------------------------------- */
.lasso-path {
fill-opacity: 0.3;
stroke: #fff;
stroke-dasharray: 5, 5;
}
+
/* Media Queries
------------------------------------------------------- */
-
@media only screen and (max-width: 840px) {
/* override hide for save button */
#bar .save .label { display: block;}
}
-
@media screen and (max-width: 1200px) {
.user-list { display: none !important; }
}
-
@media screen and (max-width: 1000px) {
#userLink { display: none !important; }
}
-
@media screen and (max-width: 900px) {
#scale-block { display: none !important; }
}
/* Scrollbars
----------------------------------------------------- */
-
::-webkit-scrollbar {
height: 20px;
overflow: visible;
background-color: rgba(0,0,0,.05);
}
+
/* Intro walkthrough
----------------------------------------------------- */
-
.curtain-darkness {
pointer-events: all;
fill-opacity: 0.7;
width: 100px;
color: #7092ff;
}
+
+