mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
This sets `pointer-events: none` for the `.note-shadow` class, to fix an amusing bug where hovering over the filled part of the comment icon would work ok but hovering over the "dots" would not.
47 lines
815 B
CSS
47 lines
815 B
CSS
|
|
/* OSM Notes Layer */
|
|
.layer-notes {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.layer-notes .note .note-shadow {
|
|
color: #000;
|
|
pointer-events: none;
|
|
}
|
|
.layer-notes .note .note-fill {
|
|
color: #ff3300;
|
|
pointer-events: visible;
|
|
cursor: pointer; /* Opera */
|
|
cursor: url(img/cursor-select-point.png), pointer; /* FF */
|
|
}
|
|
.layer-notes .note.closed .note-fill {
|
|
color: #55dd00;
|
|
}
|
|
.layer-notes .note.hovered .note-fill {
|
|
color: #eebb00;
|
|
}
|
|
.layer-notes .note.selected .note-fill {
|
|
color: #ffee00;
|
|
}
|
|
|
|
/* OSM Note UI */
|
|
.comment {
|
|
background-color: #fff;
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
margin: 10px auto;
|
|
}
|
|
.commentText {
|
|
margin-bottom: 15px;
|
|
color: #333;
|
|
}
|
|
.commentCreator {
|
|
color: #aaa;
|
|
}
|
|
|
|
/* Note editor UI */
|
|
#new-comment-input {
|
|
width: 100%;
|
|
height: 100px;
|
|
}
|