snort/src/element/Note.css

53 lines
944 B
CSS
Raw Normal View History

2022-12-18 14:51:47 +00:00
.note {
margin-bottom: 10px;
2023-01-18 15:55:25 +00:00
border-radius: 10px;
background-color: var(--note-bg);
2023-01-18 22:11:31 +00:00
padding: 10px 10px 8px 10px;
min-height: 110px;
}
.note.thread {
border-bottom: none;
2022-12-18 14:51:47 +00:00
}
2022-12-27 23:46:13 +00:00
.note > .header > .pfp {
2022-12-18 14:51:47 +00:00
flex-grow: 1;
}
2022-12-27 23:46:13 +00:00
.note > .header .reply {
2023-01-16 17:34:42 +00:00
font-size: 12px;
color: var(--gray-light);
2022-12-18 14:51:47 +00:00
}
.note > .header > .info {
2023-01-16 15:17:08 +00:00
font-size: 10px;
2023-01-09 16:18:34 +00:00
white-space: nowrap;
color: var(--gray-light);
2023-01-16 10:07:41 +00:00
align-self: flex-start;
2022-12-18 14:51:47 +00:00
}
.note > .body {
padding: 10px 5px;
white-space: pre-wrap;
overflow: hidden;
word-break: normal;
}
2023-01-10 10:30:33 +00:00
.note > .header img:hover, .note > .header .name > .reply:hover, .note .body:hover {
2022-12-18 14:51:47 +00:00
cursor: pointer;
}
2022-12-20 23:14:13 +00:00
.note > .footer {
text-align: right;
2023-01-06 13:01:54 +00:00
}
.indented {
border-left: 3px solid var(--gray-tertiary);
2023-01-06 13:01:54 +00:00
padding-left: 2px;
}
2023-01-10 09:53:15 +00:00
.indented .active {
2023-01-10 10:06:51 +00:00
background-color: var(--gray-tertiary);
margin-left: -5px;
2023-01-10 09:53:15 +00:00
border-left: 3px solid var(--highlight);
2023-01-18 16:08:47 +00:00
}