Files
iD/css/65_data.css
2018-07-08 12:50:02 -05:00

84 lines
1.6 KiB
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;
border: 1px solid #ccc;
padding: 10px;
margin: 10px auto;
display: flex;
flex-flow: row nowrap;
}
.comment-main {
padding: 0 10px;
flex: 1 1 100%;
flex-flow: column nowrap;
overflow: hidden;
overflow-wrap: break-word;
}
.comment-avatar {
flex: 0 0 40px;
}
.comment-avatar .icon.comment-avatar-icon {
width: 40px;
height: 40px;
object-fit: cover;
border: 1px solid #ccc;
border-radius: 20px;
}
.comment-metadata {
display: -webkit-flex; /* Safari */
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-flow: row nowrap;
flex-wrap: wrap;
justify-content: space-between;
}
.comment-author {
font-weight: bold;
color: #333;
}
.comment-date {
color: #aaa;
}
.comment-text {
color: #333;
margin-top: 10px;
overflow-y: hidden; /* TODO: give scroll bar or replace with accordion */
max-height: 250px;
}
#new-comment-input {
width: 100%;
height: 100px;
max-height: 300px;
min-height: 100px;
}