You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
1.7 KiB
94 lines
1.7 KiB
@import '../../style/themes/default';
|
|
@import '../../style/mixins/index';
|
|
|
|
@comment-prefix-cls: ~'@{ant-prefix}-comment';
|
|
|
|
.@{comment-prefix-cls} {
|
|
position: relative;
|
|
|
|
&-inner {
|
|
padding: @comment-padding-base;
|
|
display: flex;
|
|
}
|
|
|
|
&-avatar {
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
margin-right: 12px;
|
|
cursor: pointer;
|
|
img {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
|
|
&-content {
|
|
position: relative;
|
|
font-size: 14px;
|
|
flex: 1 1 auto;
|
|
min-width: 1px;
|
|
word-wrap: break-word;
|
|
|
|
&-author {
|
|
margin-bottom: 4px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
& > a,
|
|
& > span {
|
|
height: 18px;
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
&-name {
|
|
transition: color 0.3s;
|
|
font-size: 14px;
|
|
color: @comment-author-name-color;
|
|
> * {
|
|
color: @comment-author-name-color;
|
|
&:hover {
|
|
color: @comment-author-name-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-time {
|
|
cursor: auto;
|
|
color: @comment-author-time-color;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
&-detail p {
|
|
white-space: pre-wrap;
|
|
}
|
|
}
|
|
|
|
&-actions {
|
|
margin-top: 12px;
|
|
padding-left: 0;
|
|
> li {
|
|
display: inline-block;
|
|
color: @comment-action-color;
|
|
> span {
|
|
padding-right: 10px;
|
|
transition: color 0.3s;
|
|
font-size: 12px;
|
|
color: @comment-action-color;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
&:hover {
|
|
color: @comment-action-hover-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&-nested {
|
|
margin-left: @comment-nest-indent;
|
|
}
|
|
}
|