expose input box-shadow h and v offset in theme variables

This commit is contained in:
Yuxuan Huo 2018-06-11 19:54:19 +08:00 committed by 偏右
parent c488aca05e
commit 9aea9ddf58
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@
.active(@color: @outline-color) {
border-color: ~`colorPalette("@{color}", 5)`;
outline: 0;
box-shadow: 0 0 @outline-blur-size @outline-width fade(@color, 20%);
box-shadow: @input-outline-offset @outline-blur-size @outline-width fade(@color, 20%);
border-right-width: 1px !important;
}

View File

@ -268,6 +268,7 @@
@input-addon-bg : @background-color-light;
@input-hover-border-color : @primary-color;
@input-disabled-bg : @disabled-bg;
@input-outline-offset : 0 0;
// Tooltip
// ---