fix the input[type=file] style

This commit is contained in:
simaQ 2015-07-08 12:02:57 +08:00
parent fd757fe0c4
commit 7fc69b7dd6
2 changed files with 10 additions and 9 deletions

View File

@ -41,12 +41,12 @@
&-menu {
> .@{iconfont-css-prefix} {
top: -1px;
font-size: 12px;
font-size: @font-size-base;
font-size: ~"10px \9"; // ie8-9
.scale(0.83);
:root & {
font-size: 12px; // reset ie9 and above
font-size: @font-size-base; // reset ie9 and above
}
}
}

View File

@ -11,13 +11,13 @@ label {
content: "*";
color: @label-required-color;
font-family: SimSun;
font-size: 12px;
font-size: @font-size-base;
.translate3d(-10px; 0; 0);
}
> .@{iconfont-css-prefix} {
vertical-align: top;
font-size: 12px;
font-size: @font-size-base;
}
}
@ -72,9 +72,10 @@ form {
// input[type=file]
.@{css-prefix}upload {
height: 32px;
font-size: 12px;
padding: 7px;
padding-top: 7px;
padding-bottom: 7px;
max-height: 32px;
font-size: @font-size-base;
}
}
@ -233,7 +234,7 @@ input[type="checkbox"] {
margin: 0!important;
padding-top: 7px;
padding-bottom: 7px;
font-size: 12px;
font-size: @font-size-base;
height: @input-height-lg;
}
@ -256,6 +257,6 @@ input[type="checkbox"] {
}
.@{css-prefix}form-explain {
display: block;
font-size: 12px;
font-size: @font-size-base;
}