modify input border-color to primary-color tint 20%

This commit is contained in:
afc163 2015-07-22 19:25:35 +08:00
parent 8b74cf8ff2
commit 41997668ea
2 changed files with 4 additions and 4 deletions

View File

@ -81,10 +81,10 @@
.transition(all .3s @ease-in-out);
&:hover {
border-color: @primary-color;
.hover;
}
&:active {
border-color: shade(@primary-color, 5%);
.active;
}
}

View File

@ -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() {