Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addresses https://github.com/OpenHistoricalMap/issues/issues/737 with a fresh build of iD. #239

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 40 additions & 6 deletions vendor/assets/iD/iD.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2861,8 +2861,12 @@
align-items: center;
}

.ideditor .mapillary-attribution-image-container {
height: auto;
}

.ideditor .mly-wrapper .mapillary-attribution-container .mapillary-attribution-username {
display: none;
padding: 0px 8px 0 6px;
}

.ideditor .mly-wrapper .mapillary-attribution-container .mapillary-attribution-date {
Expand Down Expand Up @@ -3895,6 +3899,12 @@
vertical-align: baseline;
}

.ideditor button.loading .icon {
background-image: url(<%= asset_path("iD/img/mini-loader.gif") %>);
background-position: 0 0;
background-size: auto;
}


/* Toolbar / Persistent UI Elements
------------------------------------------------------- */
Expand Down Expand Up @@ -4981,11 +4991,11 @@
display: flex;
flex-flow: row nowrap;
}
.ideditor .form-field ul.rows li.labeled-input > span,
.ideditor .form-field ul.rows li.labeled-input > div {
flex: 1 1 auto;
width: 100%;
border-radius: 0;
line-height: 0.95rem;
}
.ideditor .form-field ul.rows li input {
border-radius: 0;
Expand All @@ -5004,6 +5014,28 @@
border-right-width: 1px;
}

/* Field - lists with labeled input items as table
------------------------------------------------------- */
.ideditor .form-field ul.rows.rows-table {
display: table;
width: 100%;
}
.ideditor .form-field ul.rows.rows-table li.labeled-input {
display: table-row;
}
.ideditor .form-field ul.rows.rows-table li.labeled-input > div:first-child {
display: table-cell;
width: auto;
max-width: 170px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.ideditor .form-field ul.rows.rows-table li.labeled-input > div:nth-child(2) {
display: table-cell;
width: auto;
}


/* Field - Structure
------------------------------------------------------- */
Expand Down Expand Up @@ -5425,7 +5457,7 @@
.ideditor .form-field-input-roadheight input.roadheight-secondary-number,
.ideditor .form-field-input-roadspeed input.roadspeed-number {
flex-basis: 0;
width: 0;
width: 0;
}
.ideditor .form-field-input-roadheight input.roadheight-unit,
.ideditor .form-field-input-roadheight input.roadheight-secondary-unit {
Expand Down Expand Up @@ -5780,9 +5812,8 @@
display: block;
padding: 5px 10px;
border-top: 1px solid #ccc;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
line-height: 0.95rem;
break: all;
}

.ideditor .combobox a.selected,
Expand Down Expand Up @@ -8521,10 +8552,12 @@
}

.ideditor .save-summary,
.ideditor .save-supporting,
.ideditor .save-communityLinks {
padding: 0px 20px 15px 20px;
}

.ideditor .save-supporting,
.ideditor .save-communityLinks {
border-top: 1px solid #ccc;
}
Expand Down Expand Up @@ -8556,6 +8589,7 @@
}

.ideditor .summary-view-on-osm,
.ideditor .support-the-map,
.ideditor .community-name {
font-size: 14px;
font-weight: bold;
Expand Down
Loading