lbry-desktop/ui/scss/component/_block-list.scss
infinite-persistence a05ccdd44f
Comment Moderation - time based bans
## Issue
6712 Comment Moderation - time based bans

## Approach
- Consolidated the 3 types of blocking buttons in the comment content menu (i.e. Block, Moderator Block, Admin Block) into 1 regular Block button.
- Show a modal when Block is clicked.
    - Let user choose the blocklist.
    - Let user choose the timeout duration (this PR's impetus).
2021-09-03 07:17:56 +08:00

58 lines
1 KiB
SCSS

.block-list--moderator {
.button__content {
align-items: flex-start;
}
.section__actions {
flex-wrap: wrap;
}
}
.block-list--delegator {
padding: var(--spacing-s);
.button--alt,
.button--secondary {
margin-top: var(--spacing-xxs);
}
}
.block-modal--values {
margin-left: var(--spacing-s);
.help {
font-style: italic;
font-size: var(--font-xsmall);
}
}
.block-modal--finalize {
margin-top: var(--spacing-l);
}
.block-modal--active-channel {
padding: var(--spacing-xs);
display: flex;
align-items: center;
.channel-thumbnail {
margin-right: var(--spacing-xs);
height: 1.8rem;
width: 1.8rem;
}
@media (min-width: $breakpoint-small) {
border-left: 1px solid var(--color-border);
padding-left: var(--spacing-m);
margin-left: calc(var(--spacing-l) * 2);
}
}
.block-modal--active-channel-label {
@extend .help;
font-size: var(--font-xxsmall);
margin-top: 0;
max-width: 10rem;
white-space: pre-line;
margin-right: var(--spacing-s);
}