Warning, /webapps/ocs-webserver/httpdocs/tools/bootstrap-multiselect/less/bootstrap-multiselect.less is written in an unsupported language. File is not indexed.

0001 /**
0002  * Bootstrap Multiselect (http://davidstutz.de/bootstrap-multiselect/)
0003  *
0004  * Apache License, Version 2.0:
0005  * Copyright (c) 2012 - 2018 David Stutz
0006  *
0007  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
0008  * use this file except in compliance with the License. You may obtain a
0009  * copy of the License at http://www.apache.org/licenses/LICENSE-2.0
0010  *
0011  * Unless required by applicable law or agreed to in writing, software
0012  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
0013  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
0014  * License for the specific language governing permissions and limitations
0015  * under the License.
0016  *
0017  * BSD 3-Clause License:
0018  * Copyright (c) 2012 - 2018 David Stutz
0019  * All rights reserved.
0020  *
0021  * Redistribution and use in source and binary forms, with or without
0022  * modification, are permitted provided that the following conditions are met:
0023  *    - Redistributions of source code must retain the above copyright notice,
0024  *      this list of conditions and the following disclaimer.
0025  *    - Redistributions in binary form must reproduce the above copyright notice,
0026  *      this list of conditions and the following disclaimer in the documentation
0027  *      and/or other materials provided with the distribution.
0028  *    - Neither the name of David Stutz nor the names of its contributors may be
0029  *      used to endorse or promote products derived from this software without
0030  *      specific prior written permission.
0031  *
0032  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
0033  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
0034  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
0035  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
0036  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
0037  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
0038  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
0039  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
0040  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
0041  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
0042  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0043  */
0044 span.multiselect-native-select{
0045   position:relative
0046 }
0047 
0048 span.multiselect-native-select select{
0049   border :0 !important;
0050   clip: rect(0 0 0 0) !important;
0051   height: 1px !important;
0052   margin: -1px -1px -1px -3px !important;
0053   overflow: hidden !important;
0054   padding: 0 !important;
0055   position: absolute !important;
0056   width: 1px !important;
0057   left: 50%;
0058   top: 30px;
0059 }
0060 
0061 .multiselect-container {
0062   position: absolute;
0063   list-style-type: none;
0064   margin: 0;
0065   padding: 0;
0066 
0067   .input-group {
0068     margin: 5px;
0069   }
0070 
0071   .multiselect-reset {
0072     .input-group {
0073       width: 93%;
0074     }
0075   }
0076 
0077   > li {
0078     padding: 0;
0079 
0080     > a.multiselect-all label {
0081       font-weight: bold;
0082     }
0083 
0084     &.multiselect-group label {
0085       margin: 0;
0086       padding: 3px 20px 3px 20px;
0087       height: 100%;
0088       font-weight: bold;
0089     }
0090 
0091     &.multiselect-group-clickable label {
0092       cursor: pointer;
0093     }
0094 
0095     > a {
0096       padding: 0;
0097 
0098       > label {
0099         margin: 0;
0100         height: 100%;
0101         cursor: pointer;
0102         font-weight: normal;
0103         padding: 3px 20px 3px 40px;
0104 
0105         &.radio, &.checkbox {
0106           margin: 0;
0107         }
0108 
0109         > input[type="checkbox"] {
0110           margin-bottom:5px;
0111         }
0112       }
0113     }
0114   }
0115 }
0116 
0117 .btn-group > .btn-group:nth-child(2) > .multiselect.btn {
0118   border-top-left-radius: 4px;
0119   border-bottom-left-radius: 4px;
0120 }
0121 
0122 .form-inline .multiselect-container{
0123 
0124   label.checkbox, label.radio{
0125     padding: 3px 20px 3px 40px;
0126   }
0127 
0128   li a label{
0129 
0130     &.checkbox input[type="checkbox"], &.radio input[type="radio"]{
0131       margin-left: -20px;
0132       margin-right: 0;
0133     }
0134   }
0135 }