mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
feat: @input-icon-hover-color
This commit is contained in:
parent
e1d850374a
commit
6af7f8382c
@ -37,12 +37,7 @@
|
||||
transition: all 0.3s;
|
||||
|
||||
&:hover {
|
||||
& when (@theme = dark) {
|
||||
color: fade(@white, 85%);
|
||||
}
|
||||
& when not (@theme = dark) {
|
||||
color: fade(@black, 85%);
|
||||
}
|
||||
color: @input-icon-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -11,12 +11,7 @@
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
&:hover {
|
||||
& when (@theme = dark) {
|
||||
color: fade(@white, 85%);
|
||||
}
|
||||
& when not (@theme = dark) {
|
||||
color: fade(@black, 85%);
|
||||
}
|
||||
color: @input-icon-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -259,6 +259,7 @@
|
||||
@input-placeholder-color: fade(@white, 30%);
|
||||
@input-number-handler-bg: transparent;
|
||||
@input-number-handler-active-bg: @gray-11;
|
||||
@input-icon-hover-color: fade(@white, 85%);
|
||||
|
||||
// Select
|
||||
// ---
|
||||
|
@ -350,6 +350,7 @@
|
||||
@input-hover-border-color: @primary-5;
|
||||
@input-disabled-bg: @disabled-bg;
|
||||
@input-outline-offset: 0 0;
|
||||
@input-icon-hover-color: fade(@black, 85%);
|
||||
|
||||
// Mentions
|
||||
// ---
|
||||
|
Loading…
Reference in New Issue
Block a user