2020-03-18 11:31:24 +08:00
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
|
|
|
|
@comment-prefix-cls: ~'@{ant-prefix}-comment';
|
|
|
|
|
|
|
|
.@{comment-prefix-cls} {
|
|
|
|
&-rtl {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-avatar {
|
|
|
|
.@{comment-prefix-cls}-rtl & {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-content {
|
|
|
|
&-author {
|
|
|
|
& > a,
|
|
|
|
& > span {
|
|
|
|
.@{comment-prefix-cls}-rtl & {
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-actions {
|
|
|
|
.@{comment-prefix-cls}-rtl & {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
> li {
|
|
|
|
> span {
|
|
|
|
.@{comment-prefix-cls}-rtl & {
|
2020-06-10 12:44:19 +08:00
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 10px;
|
2020-03-18 11:31:24 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-nested {
|
|
|
|
.@{comment-prefix-cls}-rtl & {
|
|
|
|
margin-right: @comment-nest-indent;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|