Files
iD/css/65_data.css
Bryan Housel d87a2c2d2d Adjust pointer css for note markers
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.
2018-07-02 22:18:42 -04:00

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;
}