80 lines
1.6 KiB
CSS
80 lines
1.6 KiB
CSS
.messages-entry {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 2px 4px;
|
|
gap: 4px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
}
|
|
.messages-entry-header {
|
|
display: flex;
|
|
font-size: 1.1em;
|
|
line-height: 1.6em;
|
|
border-bottom: 2px solid #9999;
|
|
gap: 2px;
|
|
}
|
|
.messages-entry-check {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
}
|
|
.messages-entry-check input {
|
|
display: block;
|
|
}
|
|
.messages-entry-unread {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
}
|
|
.messages-entry-unread-orb {
|
|
width: 8px;
|
|
height: 8px;
|
|
background-color: var(--accent-colour);
|
|
border-radius: 100%;
|
|
}
|
|
.messages-entry-author {
|
|
font-weight: bold;
|
|
border-bottom: 2px solid var(--user-colour, currentColor);
|
|
margin: 0 0 -2px;
|
|
flex-grow: 0;
|
|
flex-shrink: 1;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
.messages-entry-spacing {
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
}
|
|
.messages-entry-datetime {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
color: #aaa;
|
|
align-self: flex-end;
|
|
}
|
|
.messages-entry-subject {
|
|
line-height: 1.4em;
|
|
color: #fff;
|
|
overflow: hidden;
|
|
}
|
|
.messages-entry-preview {
|
|
line-height: 1.4em;
|
|
color: #888;
|
|
overflow: hidden;
|
|
}
|
|
.messages-entry-preview .messages-entry-overflow {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
.messages-entry-overflow {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|