mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
51 lines
825 B
Plaintext
51 lines
825 B
Plaintext
@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 & {
|
|
margin-right: 0;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&-nested {
|
|
.@{comment-prefix-cls}-rtl & {
|
|
margin-right: @comment-nest-indent;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|