mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
modify input border-color to primary-color tint 20%
This commit is contained in:
parent
8b74cf8ff2
commit
41997668ea
@ -81,10 +81,10 @@
|
||||
.transition(all .3s @ease-in-out);
|
||||
|
||||
&:hover {
|
||||
border-color: @primary-color;
|
||||
.hover;
|
||||
}
|
||||
&:active {
|
||||
border-color: shade(@primary-color, 5%);
|
||||
.active;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,14 +14,14 @@
|
||||
// input status
|
||||
// == when focus or actived
|
||||
.active(@color: @input-hover-border-color) {
|
||||
border-color: @color;
|
||||
border-color: tint(@color, 20%);
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 2px tint(@color, 80%);
|
||||
}
|
||||
|
||||
// == when hoverd
|
||||
.hover(@color: @input-hover-border-color ) {
|
||||
border-color: @color;
|
||||
border-color: tint(@color, 20%);
|
||||
}
|
||||
|
||||
.disabled() {
|
||||
|
Loading…
Reference in New Issue
Block a user