192 lines
3.6 KiB
CSS
192 lines
3.6 KiB
CSS
.vc-rdb-badge {
|
|
vertical-align: middle;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.vc-rdb-input {
|
|
padding-inline: 12px;
|
|
margin-top: 6px;
|
|
margin-bottom: 12px;
|
|
resize: none;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
border: 1px solid var(--input-border-default, var(--border-muted));
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.vc-rdb-placeholder {
|
|
margin-bottom: 4px;
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.vc-rdb-input * {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.vc-rdb-modal-footer {
|
|
padding: 0;
|
|
}
|
|
|
|
.vc-rdb-modal-footer .vc-rdb-input {
|
|
margin-bottom: 0;
|
|
background: var(--input-background-default);
|
|
}
|
|
|
|
.vc-rdb-modal-footer [class*="pageControlContainer"] {
|
|
margin-top: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.vc-rdb-review {
|
|
padding-top: 8px !important;
|
|
padding-bottom: 8px !important;
|
|
padding-right: 64px !important;
|
|
}
|
|
|
|
.vc-rdb-review:hover {
|
|
background: var(--message-background-hover) !important;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.vc-rdb-review-comment [class*="avatar"] {
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
.vc-rdb-review-comment {
|
|
overflow-y: hidden;
|
|
margin-top: 1px;
|
|
line-height: 1.2;
|
|
margin-bottom: 8px;
|
|
color: var(--text-default);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.vc-rdb-blocked-badge {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vc-rdb-block-modal {
|
|
display: grid;
|
|
gap: 0.75em;
|
|
}
|
|
|
|
.vc-rdb-button-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* stylelint-disable-next-line media-feature-range-notation */
|
|
@media (max-width: 600px) {
|
|
.vc-rdb-button-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.vc-rdb-block-modal-row {
|
|
display: flex;
|
|
height: 2em;
|
|
gap: 0.5em;
|
|
align-items: center;
|
|
}
|
|
|
|
.vc-rdb-block-modal-avatar {
|
|
border-radius: 50%;
|
|
height: 2em;
|
|
width: 2em;
|
|
}
|
|
|
|
.vc-rdb-block-modal-avatar::before {
|
|
content: "";
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--border-subtle);
|
|
}
|
|
|
|
.vc-rdb-block-modal-username {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.vc-rdb-block-modal-unblock {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vc-rdb-profile-popout-disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
|
|
.vc-rdb-vote-column {
|
|
position: absolute;
|
|
right: 16px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.vc-rdb-vote-column-buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.vc-rdb-vote-column-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
color: var(--interactive-muted);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vc-rdb-vote-column-button:disabled {
|
|
cursor: default;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.vc-rdb-vote-column-button:hover:not(:disabled) {
|
|
background: var(--background-modifier-hover);
|
|
color: var(--interactive-hover);
|
|
}
|
|
|
|
.vc-rdb-vote-column-score {
|
|
min-width: 15px;
|
|
color: var(--text-muted);
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.vc-rdb-vote-column-score-positive,
|
|
.vc-rdb-vote-column-up-selected {
|
|
color: var(--status-positive);
|
|
}
|
|
|
|
.vc-rdb-vote-column-score-negative,
|
|
.vc-rdb-vote-column-down-selected {
|
|
color: var(--status-danger);
|
|
}
|
|
|
|
.vc-rdb-vote-column-up-selected:hover:not(:disabled) {
|
|
background: color-mix(in srgb, var(--status-positive) 14%, transparent);
|
|
color: var(--status-positive);
|
|
}
|
|
|
|
.vc-rdb-vote-column-down-selected:hover:not(:disabled) {
|
|
background: color-mix(in srgb, var(--status-danger) 14%, transparent);
|
|
color: var(--status-danger);
|
|
}
|