style: comment

feat-css-var
tangjinzhou 2022-02-27 09:30:56 +08:00
parent 4e0293e769
commit a4b8c68533
3 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,7 @@
justify-content: flex-start; justify-content: flex-start;
margin-bottom: @margin-xss; margin-bottom: @margin-xss;
font-size: @comment-font-size-base; font-size: @comment-font-size-base;
& > a, & > a,
& > span { & > span {
padding-right: @padding-xs; padding-right: @padding-xs;
@ -49,8 +50,10 @@
color: @comment-author-name-color; color: @comment-author-name-color;
font-size: @comment-font-size-base; font-size: @comment-font-size-base;
transition: color 0.3s; transition: color 0.3s;
> * { > * {
color: @comment-author-name-color; color: @comment-author-name-color;
&:hover { &:hover {
color: @comment-author-name-color; color: @comment-author-name-color;
} }
@ -78,6 +81,7 @@
> li { > li {
display: inline-block; display: inline-block;
color: @comment-action-color; color: @comment-action-color;
> span { > span {
margin-right: 10px; margin-right: 10px;
color: @comment-action-color; color: @comment-action-color;

View File

@ -31,6 +31,7 @@
.@{comment-prefix-cls}-rtl & { .@{comment-prefix-cls}-rtl & {
padding-right: 0; padding-right: 0;
} }
> li { > li {
> span { > span {
.@{comment-prefix-cls}-rtl & { .@{comment-prefix-cls}-rtl & {