mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 11:32:52 +08:00
fix the relation between @alert-text-color & @text-color
This commit is contained in:
parent
435558b63e
commit
779abfaf9f
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
@alert-message-color: @heading-color;
|
@alert-message-color: @heading-color;
|
||||||
@alert-text-color: @text-color;
|
@alert-text-color: @text-color;
|
||||||
|
@alert-close-color: @text-color-secondary;
|
||||||
|
|
||||||
.@{alert-prefix-cls} {
|
.@{alert-prefix-cls} {
|
||||||
.reset-component;
|
.reset-component;
|
||||||
@ -70,7 +71,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
.@{iconfont-css-prefix}-cross {
|
.@{iconfont-css-prefix}-cross {
|
||||||
color: @text-color-secondary;
|
color: @alert-close-color;
|
||||||
transition: color .3s;
|
transition: color .3s;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #404040;
|
color: #404040;
|
||||||
@ -87,7 +88,7 @@
|
|||||||
padding: 15px 15px 15px 64px;
|
padding: 15px 15px 15px 64px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
color: @text-color;
|
color: @alert-text-color;
|
||||||
line-height: @line-height-base;
|
line-height: @line-height-base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user