提交 68892470 编写于 作者: S simaQ

update input-group styl

上级 2bd8ede5
......@@ -44,11 +44,16 @@ label {
.input-with-icon();
}
//== Style for input-group
//== Style for input-group: input with label, with button or dropdown...
.@{css-prefix}input-group {
.input-group(~"@{css-prefix}input"; @btnClass)
}
//== composed by several input
.@{css-prefix}inputs {
.inputs(~"@{css-prefix}input");
}
// 表单下的输入框尺寸唯一: 大尺寸
form {
.has-feedback {
......
......@@ -187,3 +187,17 @@
margin-top: ~"-2px \9";
}
}
.inputs(@inputClass) {
display: flex;
flex-direction: row;
& > &-item {
flex: 0 1 auto;
padding-left: 8px;
&:first-child {
padding-left: 0;
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册