Add a variable to control input addon's background (#6040)

This commit is contained in:
Graeme Yeates 2017-05-08 01:55:34 -04:00 committed by Wei Zhu
parent 291ca97428
commit e65dd692d2
2 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,7 @@
line-height: 1; line-height: 1;
color: @input-color; color: @input-color;
text-align: center; text-align: center;
background-color: #eee; background-color: @input-addon-bg;
border: @border-width-base @border-style-base @input-border-color; border: @border-width-base @border-style-base @input-border-color;
border-radius: @border-radius-base; border-radius: @border-radius-base;
position: relative; position: relative;

View File

@ -236,6 +236,7 @@
@input-color : @text-color; @input-color : @text-color;
@input-border-color : @border-color-base; @input-border-color : @border-color-base;
@input-bg : #fff; @input-bg : #fff;
@input-addon-bg : #eee;
@input-hover-border-color : @primary-color; @input-hover-border-color : @primary-color;
@input-disabled-bg : @disabled-bg; @input-disabled-bg : @disabled-bg;