mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
fix: card hover border not change
This commit is contained in:
parent
7c3beabd4c
commit
61520d2f00
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
@card-prefix-cls: ~'@{ant-prefix}-card';
|
@card-prefix-cls: ~'@{ant-prefix}-card';
|
||||||
@card-head-height: 48px;
|
@card-head-height: 48px;
|
||||||
@card-hover-border: transparent;
|
|
||||||
@card-action-icon-size: 16px;
|
@card-action-icon-size: 16px;
|
||||||
|
|
||||||
@gradient-min: fade(@card-skeleton-bg, 20%);
|
@gradient-min: fade(@card-skeleton-bg, 20%);
|
||||||
@ -20,7 +19,6 @@
|
|||||||
&-hoverable {
|
&-hoverable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: @card-hover-border;
|
|
||||||
box-shadow: @card-shadow;
|
box-shadow: @card-shadow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ pre[class*='language-'] {
|
|||||||
[data-theme='dark'] :not(pre) > code[class*='language-'],
|
[data-theme='dark'] :not(pre) > code[class*='language-'],
|
||||||
[data-theme='dark'] pre[class*='language-'] {
|
[data-theme='dark'] pre[class*='language-'] {
|
||||||
color: rgba(255, 255, 255, 0.65);
|
color: rgba(255, 255, 255, 0.65);
|
||||||
background: #141414;
|
background: #262626;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inline code */
|
/* Inline code */
|
||||||
|
Loading…
Reference in New Issue
Block a user