mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
Fix tooltip on commit warnings
This commit is contained in:
+10
-6
@@ -2439,7 +2439,6 @@ img.wiki-image {
|
||||
}
|
||||
|
||||
.mode-save .changeset-list {
|
||||
overflow: auto;
|
||||
border:1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
background:#fff;
|
||||
@@ -2684,27 +2683,32 @@ img.wiki-image {
|
||||
|
||||
/* make tooltips in panels dark */
|
||||
.map-overlay .tooltip.top .tooltip-arrow,
|
||||
.entity-editor-pane .tooltip.top .tooltip-arrow {
|
||||
.entity-editor-pane .tooltip.top .tooltip-arrow,
|
||||
.warning-section .tooltip.top .tooltip-arrow {
|
||||
border-top-color: #000;
|
||||
}
|
||||
|
||||
.map-overlay .tooltip.bottom .tooltip-arrow,
|
||||
.entity-editor-pane .tooltip.bottom .tooltip-arrow {
|
||||
.entity-editor-pane .tooltip.bottom .tooltip-arrow,
|
||||
.warning-section .tooltip.bottom .tooltip-arrow {
|
||||
border-bottom-color: #000;
|
||||
}
|
||||
|
||||
.map-overlay .tooltip.left .tooltip-arrow,
|
||||
.entity-editor-pane .tooltip.left .tooltip-arrow {
|
||||
.entity-editor-pane .tooltip.left .tooltip-arrow,
|
||||
.warning-section .tooltip.left .tooltip-arrow {
|
||||
border-left-color: #000;
|
||||
}
|
||||
|
||||
.map-overlay .tooltip.right .tooltip-arrow,
|
||||
.entity-editor-pane .tooltip.right .tooltip-arrow {
|
||||
.entity-editor-pane .tooltip.right .tooltip-arrow,
|
||||
.warning-section .tooltip.right .tooltip-arrow {
|
||||
border-right-color: #000;
|
||||
}
|
||||
|
||||
.map-overlay .tooltip-inner,
|
||||
.entity-editor-pane .tooltip-inner {
|
||||
.entity-editor-pane .tooltip-inner,
|
||||
.warning-section .tooltip-inner {
|
||||
background: #000;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -317,7 +317,7 @@
|
||||
"many_deletions": "You're deleting {n} objects. Are you sure you want to do this? This will delete them from the map that everyone else sees on openstreetmap.org.",
|
||||
"tag_suggests_area": "The tag {tag} suggests line should be area, but it is not an area",
|
||||
"deprecated_tags": "Deprecated tags: {tags}",
|
||||
"untagged_tooltip": "Add tags to describe what type of {geometry} this is."
|
||||
"untagged_tooltip": "Select a feature type that describes what this {geometry} is."
|
||||
},
|
||||
"zoom": {
|
||||
"in": "Zoom In",
|
||||
|
||||
+6
-4
@@ -78,6 +78,12 @@ iD.ui.Commit = function(context) {
|
||||
return d.message;
|
||||
});
|
||||
|
||||
warningLi.filter(function(d) { return d.tooltip; })
|
||||
.call(bootstrap.tooltip()
|
||||
.title(function(d) { return d.tooltip; })
|
||||
.placement('top')
|
||||
);
|
||||
|
||||
// Save Section
|
||||
var saveSection = body.append('div')
|
||||
.attr('class','modal-section fillL cf');
|
||||
@@ -173,10 +179,6 @@ iD.ui.Commit = function(context) {
|
||||
.transition()
|
||||
.style('opacity', 1);
|
||||
|
||||
li.call(bootstrap.tooltip()
|
||||
.title('wtf')
|
||||
.placement('right'));
|
||||
|
||||
function mouseover(d) {
|
||||
if (d.entity) {
|
||||
context.surface().selectAll(
|
||||
|
||||
Reference in New Issue
Block a user