chore: rename Dirs
This commit is contained in:
156
src/Element/Note.css
Normal file
156
src/Element/Note.css
Normal file
@ -0,0 +1,156 @@
|
||||
.note {
|
||||
margin-bottom: 12px;
|
||||
border-radius: 16px;
|
||||
background-color: var(--note-bg);
|
||||
padding: 12px;
|
||||
min-height: 110px;
|
||||
}
|
||||
@media (min-width: 720px) {
|
||||
.note { margin-bottom: 24px; padding: 24px; }
|
||||
}
|
||||
|
||||
.note.thread {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.note .header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.note > .header .reply {
|
||||
font-size: var(--font-size-tiny);
|
||||
color: var(--font-secondary-color);
|
||||
}
|
||||
|
||||
.note > .header > .info {
|
||||
font-size: var(--font-size);
|
||||
white-space: nowrap;
|
||||
color: var(--font-secondary-color);
|
||||
}
|
||||
|
||||
.note > .body {
|
||||
margin-top: 12px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: pre-wrap;
|
||||
word-break: normal;
|
||||
overflow-x: hidden;
|
||||
overflow-y: visible;
|
||||
}
|
||||
|
||||
.note > .header img:hover, .note > .header .name > .reply:hover, .note .body:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.note > .footer {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.note > .note-creator {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
@media (min-width: 720px) {
|
||||
.note > .footer { margin-top: 24px; }
|
||||
.note > .note-creator { margin-top: 24px; }
|
||||
}
|
||||
|
||||
|
||||
.thread.note {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
.thread.note, .indented .note {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.indented .note {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.indented {
|
||||
border-left: 3px solid var(--gray-tertiary);
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.note:last-child {
|
||||
border-bottom-right-radius: 16px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.indented .note.active:last-child {
|
||||
border-bottom-right-radius: 16px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.indented > .indented .note:last-child {
|
||||
border-bottom-right-radius: 0px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.indented .active {
|
||||
background-color: var(--gray-tertiary);
|
||||
margin-left: -5px;
|
||||
border-left: 3px solid var(--highlight);
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.reaction-pill {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 0px 10px;
|
||||
user-select: none;
|
||||
color: var(--font-secondary-color);
|
||||
font-feature-settings: "tnum";
|
||||
}
|
||||
|
||||
.trash-icon {
|
||||
color: var(--error);
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.reaction-pill .reaction-pill-number {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
.reaction-pill.reacted {
|
||||
color: var(--highlight);
|
||||
}
|
||||
|
||||
.reaction-pill:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.note.active > .header .reply {
|
||||
color: var(--font-tertiary-color);
|
||||
}
|
||||
|
||||
.note.active > .header > .info {
|
||||
color: var(--font-tertiary-color);
|
||||
}
|
||||
|
||||
.note.active > .footer > .reaction-pill {
|
||||
color: var(--font-tertiary-color);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
.indented .active {
|
||||
background-color: var(--gray-secondary);
|
||||
}
|
||||
.note.active > .header .reply {
|
||||
color: var(--font-secondary-color);
|
||||
}
|
||||
.note.active > .header > .info {
|
||||
color: var(--font-secondary-color);
|
||||
}
|
||||
.note.active > .footer > .reaction-pill {
|
||||
color: var(--font-secondary-color);
|
||||
}
|
||||
.note.active > .footer > .reaction-pill.reacted {
|
||||
color: var(--highlight);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user