alpaca
Version:
Alpaca provides the easiest and fastest way to generate interactive forms for the web and mobile devices. It runs simply as HTML5 or more elaborately using Bootstrap, jQuery Mobile or jQuery UI. Alpaca uses Handlebars to process JSON schema and provide
74 lines (59 loc) • 1.31 kB
text/less
/**
* Bootstrap Multiselect v0.9.8 (https://github.com/davidstutz/bootstrap-multiselect)
*
* Copyright 2012 - 2014 David Stutz
*
* Dual licensed under the BSD-3-Clause and the Apache License, Version 2.0.
*/
.multiselect-container {
position: absolute;
list-style-type: none;
margin: 0;
padding: 0;
.input-group {
margin: 5px;
}
> li {
padding: 0;
> a.multiselect-all label {
font-weight: bold;
}
> label.multiselect-group {
margin: 0;
padding: 3px 20px 3px 20px;
height: 100%;
font-weight: bold;
}
> a {
padding: 0;
> label {
margin: 0;
height: 100%;
cursor: pointer;
font-weight: normal;
padding: 3px 20px 3px 40px;
&.radio, &.checkbox {
margin: 0;
}
> input[type="checkbox"] {
margin-bottom:5px;
}
}
}
}
}
.btn-group > .btn-group:nth-child(2) > .multiselect.btn {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.form-inline .multiselect-container{
label.checkbox, label.radio{
padding: 3px 20px 3px 40px;
}
li a label{
&.checkbox input[type="checkbox"], &.radio input[type="radio"]{
margin-left: -20px;
margin-right: 0;
}
}
}