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