Browse Source

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

pull/6057/head
Graeme Yeates 8 years ago
committed by Wei Zhu
parent
commit
e65dd692d2
  1. 2
      components/input/style/mixin.less
  2. 1
      components/style/themes/default.less

2
components/input/style/mixin.less

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

1
components/style/themes/default.less

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

Loading…
Cancel
Save