snort/src/element/Note.css

57 lines
954 B
CSS
Raw Normal View History

2022-12-18 14:51:47 +00:00
.note {
margin-bottom: 10px;
border-bottom: 1px solid var(--gray);
}
.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 {
2022-12-18 14:51:47 +00:00
font-size: small;
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 {
padding: 10px 0;
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);
}
.indented .note {
border-bottom: none;
2023-01-10 09:53:15 +00:00
padding: 4px;
}