This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnapp/media/theme/bootstrap/css/bootstrap.selectpicker.css
2014-02-18 14:44:56 +11:00

154 lines
3.3 KiB
CSS

/* Bootstrap select */
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
.bootstrap-select.btn-group, .bootstrap-select.btn-group[class*="span"] {
float:none;
display: inline-block;
margin-bottom: 10px;
margin-left:0;
}
.input-append .bootstrap-select.btn-group {
margin-left: -1px;
}
.input-prepend .bootstrap-select.btn-group {
margin-right: -1px;
}
.bootstrap-select {
width: 220px;
}
.bootstrap-select .btn {
width: 100%;
}
.bootstrap-select .btn:focus {
outline: thin dotted #333333 !important;
outline: 5px auto -webkit-focus-ring-color !important;
outline-offset: -2px;
}
.bootstrap-select.btn-group .btn .filter-option {
overflow:hidden;
position:absolute;
left:12px;
right:25px;
text-align:left;
}
.bootstrap-select.btn-group .btn .caret {
position:absolute;
right:12px;
}
.bootstrap-select.btn-group > .disabled, .bootstrap-select.btn-group .dropdown-menu li.disabled > a {
cursor: not-allowed;
}
.bootstrap-select.btn-group[class*="span"] .btn {
width:100%;
}
.bootstrap-select.btn-group .dropdown-menu {
min-width:100%;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
}
.bootstrap-select.btn-group .dropdown-menu dt {
display:block;
padding:3px 20px;
cursor:default;
}
.bootstrap-select.btn-group .div-contain {
overflow:hidden;
}
.bootstrap-select.btn-group .dropdown-menu li > a.opt {
padding-left:35px;
}
.bootstrap-select.btn-group .dropdown-menu li > a {
min-height:20px;
}
.bootstrap-select.btn-group .dropdown-menu li small {
padding-left:0.5em;
}
.bootstrap-select.btn-group .dropdown-menu li:not(.disabled) > a:hover small {
color: #64b1d8;
color:rgba(255,255,255,0.4);
}
.bootstrap-select.btn-group .dropdown-menu li > dt small {
font-weight:normal;
}
.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a i.check-mark {
display:inline-block;
position: absolute;
right: 20px;
}
.bootstrap-select.btn-group .dropdown-menu li a i.check-mark {
display: none;
}
.bootstrap-select.btn-group.show-tick .dropdown-menu li a .pull-left {
margin-right: 34px;
}
.bootstrap-select.btn-group .dropdown-menu li small {
padding-left:0.5em;
}
.bootstrap-select.btn-group .dropdown-menu li:not(.disabled) > a:hover small, .bootstrap-select.btn-group .dropdown-menu li:not(.disabled) > a:focus small {
color: #64b1d8;
color:rgba(255,255,255,0.4);
}
.bootstrap-select.btn-group .dropdown-menu li > dt small {
font-weight:normal;
}
.bootstrap-select.btn-group.show-menu-arrow .dropdown-menu {
overflow-y:visible !important;
}
.bootstrap-select.btn-group.show-menu-arrow .dropdown-menu::after {
position: absolute;
top: -6px;
left: 10px;
display: inline-block;
border-right: 6px solid transparent;
border-bottom: 6px solid white;
border-left: 6px solid transparent;
content: '';
}
.bootstrap-select.btn-group.show-menu-arrow .dropdown-menu::before {
position: absolute;
top: -7px;
left: 9px;
display: inline-block;
border-right: 7px solid transparent;
border-bottom: 7px solid #CCC;
border-left: 7px solid transparent;
border-bottom-color: rgba(0, 0, 0, 0.2);
content: '';
}