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