vendor/assets/stylesheets/bootstrap-select.css in bootstrap-select-wrapper-rails-1.6.3 vs vendor/assets/stylesheets/bootstrap-select.css in bootstrap-select-wrapper-rails-1.9.4

- old
+ new

@@ -1,34 +1,49 @@ -/*! - * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/) - * - * Copyright 2013-2014 bootstrap-select - * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) - */ - +/*! + * Bootstrap-select v1.9.4 (http://silviomoreto.github.io/bootstrap-select) + * + * Copyright 2013-2016 bootstrap-select + * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) + */ + .bootstrap-select { - /*width: 220px\9; IE8 and below*/ width: 220px \0; /*IE9 and below*/ } -.bootstrap-select > .btn { +.bootstrap-select > .dropdown-toggle { width: 100%; padding-right: 25px; + z-index: 1; } -.error .bootstrap-select .btn { - border: 1px solid #b94a48; +.bootstrap-select > select { + position: absolute !important; + bottom: 0; + left: 50%; + width: 0.11px !important; + height: 100% !important; + padding: 0 !important; + opacity: 0 !important; + border: none; } -.control-group.error .bootstrap-select .dropdown-toggle { +.bootstrap-select > select.mobile-device { + top: 0; + left: 0; + display: block !important; + width: 100% !important; + z-index: 2; +} +.has-error .bootstrap-select .dropdown-toggle, +.error .bootstrap-select .dropdown-toggle { border-color: #b94a48; } .bootstrap-select.fit-width { width: auto !important; } .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) { width: 220px; } -.bootstrap-select .btn:focus { +.bootstrap-select .dropdown-toggle:focus { outline: thin dotted #333333 !important; outline: 5px auto -webkit-focus-ring-color !important; outline-offset: -2px; } .bootstrap-select.form-control { @@ -37,22 +52,24 @@ border: none; } .bootstrap-select.form-control:not([class*="col-"]) { width: 100%; } +.bootstrap-select.form-control.input-group-btn { + z-index: auto; +} .bootstrap-select.btn-group:not(.input-group-btn), .bootstrap-select.btn-group[class*="col-"] { float: none; display: inline-block; margin-left: 0; } .bootstrap-select.btn-group.dropdown-menu-right, .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right, -.row-fluid .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right { +.row .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right { float: right; } -.form-search .bootstrap-select.btn-group, .form-inline .bootstrap-select.btn-group, .form-horizontal .bootstrap-select.btn-group, .form-group .bootstrap-select.btn-group { margin-bottom: 0; } @@ -61,68 +78,71 @@ padding: 0; } .form-inline .bootstrap-select.btn-group .form-control { width: 100%; } -.input-append .bootstrap-select.btn-group { - margin-left: -1px; -} -.input-prepend .bootstrap-select.btn-group { - margin-right: -1px; -} +.bootstrap-select.btn-group.disabled, .bootstrap-select.btn-group > .disabled { cursor: not-allowed; } +.bootstrap-select.btn-group.disabled:focus, .bootstrap-select.btn-group > .disabled:focus { outline: none !important; } -.bootstrap-select.btn-group .btn .filter-option { +.bootstrap-select.btn-group.bs-container { + position: absolute; +} +.bootstrap-select.btn-group.bs-container .dropdown-menu { + z-index: 1060; +} +.bootstrap-select.btn-group .dropdown-toggle .filter-option { display: inline-block; overflow: hidden; width: 100%; text-align: left; } -.bootstrap-select.btn-group .btn .caret { +.bootstrap-select.btn-group .dropdown-toggle .caret { position: absolute; top: 50%; right: 12px; margin-top: -2px; vertical-align: middle; } -.bootstrap-select.btn-group[class*="col-"] .btn { +.bootstrap-select.btn-group[class*="col-"] .dropdown-toggle { width: 100%; } .bootstrap-select.btn-group .dropdown-menu { min-width: 100%; - z-index: 1035; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .bootstrap-select.btn-group .dropdown-menu.inner { position: static; + float: none; border: 0; padding: 0; margin: 0; border-radius: 0; -webkit-box-shadow: none; box-shadow: none; } .bootstrap-select.btn-group .dropdown-menu li { position: relative; } -.bootstrap-select.btn-group .dropdown-menu li:not(.disabled) a:hover small, -.bootstrap-select.btn-group .dropdown-menu li:not(.disabled) a:focus small, -.bootstrap-select.btn-group .dropdown-menu li.active:not(.disabled) a small { - color: #64b1d8; - color: rgba(100, 177, 216, 0.4); +.bootstrap-select.btn-group .dropdown-menu li.active small { + color: #fff; } .bootstrap-select.btn-group .dropdown-menu li.disabled a { cursor: not-allowed; } .bootstrap-select.btn-group .dropdown-menu li a { cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } .bootstrap-select.btn-group .dropdown-menu li a.opt { position: relative; padding-left: 2.25em; } @@ -154,15 +174,16 @@ } .bootstrap-select.btn-group .no-results { padding: 3px; background: #f5f5f5; margin: 0 5px; + white-space: nowrap; } -.bootstrap-select.btn-group.fit-width .btn .filter-option { +.bootstrap-select.btn-group.fit-width .dropdown-toggle .filter-option { position: static; } -.bootstrap-select.btn-group.fit-width .btn .caret { +.bootstrap-select.btn-group.fit-width .dropdown-toggle .caret { position: static; top: auto; margin-top: -1px; } .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark { @@ -172,21 +193,18 @@ margin-top: 5px; } .bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text { margin-right: 34px; } -.bootstrap-select.show-menu-arrow.open > .btn { - z-index: 1035 + 1; +.bootstrap-select.show-menu-arrow.open > .dropdown-toggle { + z-index: 1061; } .bootstrap-select.show-menu-arrow .dropdown-toggle:before { content: ''; border-left: 7px solid transparent; border-right: 7px solid transparent; - border-bottom-width: 7px; - border-bottom-style: solid; - border-bottom-color: #cccccc; - border-bottom-color: rgba(204, 204, 204, 0.2); + border-bottom: 7px solid rgba(204, 204, 204, 0.2); position: absolute; bottom: -4px; left: 9px; display: none; } @@ -201,15 +219,12 @@ display: none; } .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before { bottom: auto; top: -3px; + border-top: 7px solid rgba(204, 204, 204, 0.2); border-bottom: 0; - border-top-width: 7px; - border-top-style: solid; - border-top-color: #cccccc; - border-top-color: rgba(204, 204, 204, 0.2); } .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after { bottom: auto; top: -3px; border-top: 6px solid white; @@ -226,35 +241,37 @@ .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:before, .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:after { display: block; } .bs-searchbox, -.bs-actionsbox { +.bs-actionsbox, +.bs-donebutton { padding: 4px 8px; } .bs-actionsbox { - float: left; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .bs-actionsbox .btn-group button { width: 50%; } +.bs-donebutton { + float: left; + width: 100%; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.bs-donebutton .btn-group button { + width: 100%; +} .bs-searchbox + .bs-actionsbox { padding: 0 8px 4px; } -.bs-searchbox input.form-control { +.bs-searchbox .form-control { margin-bottom: 0; width: 100%; -} -.mobile-device { - position: absolute; - top: 0; - left: 0; - display: block !important; - width: 100%; - height: 100% !important; - opacity: 0; + float: none; } /*# sourceMappingURL=bootstrap-select.css.map */ \ No newline at end of file