mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
60 lines
1.3 KiB
SCSS
60 lines
1.3 KiB
SCSS
@import 'common';
|
|
|
|
$prefix: 'simplifyComments-switch';
|
|
|
|
:host-context(.comment-m-v1) {
|
|
&:host(bili-rich-text) {
|
|
#contents img, #contents a i {
|
|
max-width: 1.4em;
|
|
max-height: 1.4em;
|
|
}
|
|
}
|
|
|
|
&:host-context(body.#{$prefix}-replyEditor) {
|
|
&:host(bili-comment-box) {
|
|
#pub button {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
&:host(bili-checkbox) {
|
|
#label {
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
&:host(bili-comment-textarea) {
|
|
#input {
|
|
font-size: 13px;
|
|
}
|
|
#input,
|
|
#input::placeholder {
|
|
line-height: normal;
|
|
}
|
|
}
|
|
}
|
|
&:host-context(body.#{$prefix}-userLevel):host(bili-comment-user-info) {
|
|
#user-level {
|
|
display: none;
|
|
}
|
|
}
|
|
&:host-context(body.#{$prefix}-decorateAndTime):host(bili-comment-renderer) {
|
|
bili-comment-user-sailing-card {
|
|
display: none;
|
|
}
|
|
}
|
|
&:host-context(body.#{$prefix}-fansMedal):host(bili-comment-user-info) {
|
|
bili-comment-user-medal {
|
|
display: none;
|
|
}
|
|
}
|
|
&:host-context(body.#{$prefix}-subReplyNewLine):host(bili-comment-reply-renderer) {
|
|
bili-comment-user-info {
|
|
display: block;
|
|
}
|
|
}
|
|
&:host-context(body.#{$prefix}-eventBanner):host(bili-comments-header-renderer) {
|
|
bili-comments-notice {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|