136 lines
2.7 KiB
CSS
136 lines
2.7 KiB
CSS
.comments-entry {
|
|
/**/
|
|
}
|
|
|
|
.comments-entry-main {
|
|
display: flex;
|
|
gap: 2px;
|
|
}
|
|
|
|
.comments-entry-root {
|
|
padding-bottom: 2px;
|
|
border-top: 1px solid var(--accent-colour);
|
|
}
|
|
|
|
.comments-entry-deleted {
|
|
opacity: .5;
|
|
transition: opacity .1s;
|
|
}
|
|
.comments-entry-deleted:hover,
|
|
.comments-entry-deleted:focus,
|
|
.comments-entry-deleted:focus-within {
|
|
opacity: .8;
|
|
}
|
|
|
|
.comments-entry-replies {
|
|
margin-left: 25px;
|
|
}
|
|
|
|
.comments-entry-avatar {
|
|
flex: 0 0 auto;
|
|
margin: 4px;
|
|
}
|
|
.comments-entry-wrap {
|
|
flex: 0 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.comments-entry-meta {
|
|
display: flex;
|
|
gap: 4px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.comments-entry-user {
|
|
display: flex;
|
|
}
|
|
.comments-entry-user-link {
|
|
text-decoration: none;
|
|
}
|
|
.comments-entry-user-link:hover,
|
|
.comments-entry-user-link:focus {
|
|
text-decoration: underline solid var(--user-colour, var(--text-colour, #fff));
|
|
}
|
|
.comments-entry-user-dead {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.comments-entry-time {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
.comments-entry-time-edited,
|
|
.comments-entry-time-pinned,
|
|
.comments-entry-time-deleted {
|
|
margin-left: 6px;
|
|
}
|
|
.comments-entry-time-pinned .comments-entry-time-icon {
|
|
rotate: 45deg;
|
|
}
|
|
.comments-entry-time-link {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
.comments-entry-time-link:hover,
|
|
.comments-entry-time-link:focus {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.comments-entry-body {
|
|
}
|
|
|
|
.comments-entry-actions {
|
|
display: flex;
|
|
gap: 2px;
|
|
margin-top: 2px;
|
|
}
|
|
.comments-entry-actions-group {
|
|
display: flex;
|
|
border-radius: 3px;
|
|
padding: 1px;
|
|
gap: 1px;
|
|
transition: opacity .1s;
|
|
}
|
|
.comments-entry-actions-group-votes,
|
|
.comments-entry-actions-group-replies {
|
|
border: 1px solid var(--accent-colour);
|
|
}
|
|
.comments-entry-actions-group-disabled {
|
|
opacity: .5;
|
|
}
|
|
|
|
.comments-entry-action {
|
|
background: transparent;
|
|
border-width: 0;
|
|
border-radius: 2px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 3px 6px;
|
|
cursor: pointer;
|
|
transition: background-color .2s;
|
|
min-width: 24px;
|
|
min-height: 22px;
|
|
}
|
|
.comments-entry-action:hover,
|
|
.comments-entry-action:focus {
|
|
background: var(--comments-entry-action-background-hover, #fff4);
|
|
}
|
|
.comments-entry-action-reply-active {
|
|
background: #fff2;
|
|
}
|
|
.comments-entry-action-vote-like.comments-entry-action-vote-cast {
|
|
background: #0808;
|
|
}
|
|
.comments-entry-action-vote-like {
|
|
--comments-entry-action-background-hover: #0804;
|
|
}
|
|
.comments-entry-action-vote-dislike.comments-entry-action-vote-cast {
|
|
background: #c008;
|
|
}
|
|
.comments-entry-action-vote-dislike {
|
|
--comments-entry-action-background-hover: #c004;
|
|
}
|