mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-31 03:46:28 +08:00
modify ant-input-lg's font-size
This commit is contained in:
parent
2fc0e0b2a9
commit
48c4d24434
@ -127,9 +127,7 @@ form {
|
||||
.@{css-prefix}input,
|
||||
.@{css-prefix}input-group .@{css-prefix}input,
|
||||
.@{css-prefix}input-group .@{css-prefix}input-group-addon {
|
||||
height: @input-height-lg;
|
||||
font-size: @font-size-base;
|
||||
padding: 6px 7px;
|
||||
.input-lg();
|
||||
}
|
||||
|
||||
// Input combined with select
|
||||
@ -266,9 +264,8 @@ form {
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
font-family: "anticon" !important;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
.square(@input-height-lg);
|
||||
line-height: @input-height-lg;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
// size mixins for input
|
||||
.input-lg() {
|
||||
padding: @input-padding-lg;
|
||||
padding: @input-padding-vertical-lg @input-padding-horizontal;
|
||||
height: @input-height-lg;
|
||||
font-size: @input-font-size-lg;
|
||||
}
|
||||
|
||||
.input-sm() {
|
||||
padding: @input-padding-vertical-sm @input-padding-horizontal;
|
||||
height: @input-height-sm;
|
||||
font-size: @input-font-size-sm;
|
||||
}
|
||||
|
||||
// input status
|
||||
@ -42,7 +40,7 @@
|
||||
width: 100%;
|
||||
height: @input-height-base;
|
||||
cursor: text;
|
||||
font-size: @input-font-size;
|
||||
font-size: @font-size-base;
|
||||
line-height: @line-height-base;
|
||||
color: @input-color;
|
||||
background-color: @input-bg;
|
||||
|
@ -121,17 +121,13 @@
|
||||
@input-padding-horizontal : 7px;
|
||||
@input-padding-vertical-base : 4px;
|
||||
@input-padding-vertical-sm : 1px;
|
||||
@input-padding-lg : 4px 7px 5px;
|
||||
@input-padding-vertical-lg : 6px;
|
||||
|
||||
@input-placeholder-color : #ccc;
|
||||
@input-color : #666;
|
||||
@input-border-color : #d9d9d9;
|
||||
@input-bg : #fff;
|
||||
|
||||
@input-font-size-lg : 14px;
|
||||
@input-font-size : @font-size-base;
|
||||
@input-font-size-sm : @font-size-base;
|
||||
|
||||
@input-hover-border-color : @primary-color;
|
||||
@input-focus-border-color : @primary-color;
|
||||
@input-disabled-bg : #f3f5f7;
|
||||
|
Loading…
Reference in New Issue
Block a user