2019-04-30 11:11:25 +08:00
|
|
|
.#{$ns}Remark {
|
2019-12-06 09:58:08 +08:00
|
|
|
display: inline-block;
|
2020-10-24 17:04:54 +08:00
|
|
|
vertical-align: middle;
|
2020-12-21 10:08:40 +08:00
|
|
|
margin-left: var(--Remark-marginLeft);
|
2020-10-22 12:16:09 +08:00
|
|
|
> span {
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--Remark-iconColor);
|
|
|
|
font-size: var(--fontSizeSm);
|
2020-10-22 12:16:09 +08:00
|
|
|
}
|
2020-07-13 18:14:13 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
cursor: pointer;
|
|
|
|
text-align: center;
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2019-12-06 09:58:08 +08:00
|
|
|
&-icon {
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--Remark-iconColor);
|
|
|
|
font-size: var(--Remark-icon-fontSize);
|
|
|
|
background: var(--Remark-bg);
|
|
|
|
border: var(--Remark-borderWidth) solid var(--Remark-borderColor);
|
|
|
|
width: var(--Remark-width);
|
|
|
|
height: var(--Remark-width);
|
2020-07-13 18:14:13 +08:00
|
|
|
line-height: 1;
|
|
|
|
display: inline-flex;
|
2020-12-24 22:16:59 +08:00
|
|
|
vertical-align: baseline;
|
|
|
|
align-self: center;
|
2020-07-13 18:14:13 +08:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-12-21 10:08:40 +08:00
|
|
|
font-size: var(--fontSizeSm);
|
2020-10-24 11:39:05 +08:00
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
> svg {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-12-24 22:16:59 +08:00
|
|
|
display: block;
|
2020-10-24 11:39:05 +08:00
|
|
|
}
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2022-04-28 11:31:04 +08:00
|
|
|
&-icon--circle {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2019-04-30 11:11:25 +08:00
|
|
|
|
2020-10-22 12:16:09 +08:00
|
|
|
> span + .#{$ns}Remark-icon {
|
2020-12-21 10:08:40 +08:00
|
|
|
margin-left: var(--gap-xs);
|
2020-10-22 12:16:09 +08:00
|
|
|
}
|
|
|
|
|
2020-07-13 18:14:13 +08:00
|
|
|
&:hover > &-icon {
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--Remark-onHover-iconColor);
|
|
|
|
background: var(--Remark-onHover-bg);
|
|
|
|
border-color: var(--Remark-onHover-borderColor);
|
2019-12-06 09:58:08 +08:00
|
|
|
}
|
2020-07-28 16:14:08 +08:00
|
|
|
|
|
|
|
> svg {
|
2020-12-21 10:08:40 +08:00
|
|
|
width: calc(var(--Remark-width) - #{px2rem(2px)});
|
|
|
|
height: calc(var(--Remark-width) - #{px2rem(2px)});
|
|
|
|
color: var(--Remark-iconColor);
|
2020-07-28 16:14:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover > svg {
|
2020-12-21 10:08:40 +08:00
|
|
|
color: var(--Remark-onHover-iconColor);
|
2020-07-28 16:14:08 +08:00
|
|
|
}
|
2019-05-15 16:10:20 +08:00
|
|
|
}
|