优化 remark 样式
This commit is contained in:
parent
0f91820e4a
commit
bb86f93ece
|
@ -24,4 +24,15 @@
|
||||||
background-color: $Remark-onHover-bg;
|
background-color: $Remark-onHover-bg;
|
||||||
border-color: $Remark-onHover-borderColor;
|
border-color: $Remark-onHover-borderColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> svg {
|
||||||
|
top: 0;
|
||||||
|
width: ($Remark-width - px2rem(2px));
|
||||||
|
height: ($Remark-width - px2rem(2px));
|
||||||
|
color: $Remark-iconColor;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover > svg {
|
||||||
|
color: $Remark-onHover-iconColor;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}Form-remark {
|
.#{$ns}Form-remark {
|
||||||
margin-top: ($Form-input-height - $fontSizeBase) / 2;
|
padding-top: $Form-label-paddingTop;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -271,10 +271,6 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .#{$ns}Remark {
|
|
||||||
padding-top: $Form-label-paddingTop;
|
|
||||||
}
|
|
||||||
|
|
||||||
> .#{$ns}Form-control.#{$ns}InputGroup {
|
> .#{$ns}Form-control.#{$ns}InputGroup {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue