bootstrap-select.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. /*!
  2. * Bootstrap-select v1.13.5 (https://developer.snapappointments.com/bootstrap-select)
  3. *
  4. * Copyright 2012-2018 SnapAppointments, LLC
  5. * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
  6. */
  7. select.bs-select-hidden,
  8. .bootstrap-select > select.bs-select-hidden,
  9. select.selectpicker {
  10. display: none !important;
  11. }
  12. .bootstrap-select {
  13. width: 220px \0;
  14. /*IE9 and below*/
  15. vertical-align: middle;
  16. }
  17. .bootstrap-select > .dropdown-toggle {
  18. position: relative;
  19. width: 100%;
  20. z-index: 1;
  21. text-align: right;
  22. white-space: nowrap;
  23. }
  24. .bootstrap-select > .dropdown-toggle.bs-placeholder,
  25. .bootstrap-select > .dropdown-toggle.bs-placeholder:hover,
  26. .bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
  27. .bootstrap-select > .dropdown-toggle.bs-placeholder:active {
  28. color: #999;
  29. }
  30. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary,
  31. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary,
  32. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success,
  33. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger,
  34. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info,
  35. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark,
  36. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:hover,
  37. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:hover,
  38. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:hover,
  39. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:hover,
  40. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:hover,
  41. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:hover,
  42. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:focus,
  43. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:focus,
  44. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:focus,
  45. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:focus,
  46. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:focus,
  47. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:focus,
  48. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary:active,
  49. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-secondary:active,
  50. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-success:active,
  51. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-danger:active,
  52. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:active,
  53. .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-dark:active {
  54. color: rgba(255, 255, 255, 0.5);
  55. }
  56. .bootstrap-select > select {
  57. position: absolute !important;
  58. bottom: 0;
  59. left: 50%;
  60. display: block !important;
  61. width: 0.5px !important;
  62. height: 100% !important;
  63. padding: 0 !important;
  64. opacity: 0 !important;
  65. border: none;
  66. }
  67. .bootstrap-select > select.mobile-device {
  68. top: 0;
  69. left: 0;
  70. display: block !important;
  71. width: 100% !important;
  72. z-index: 2;
  73. }
  74. .has-error .bootstrap-select .dropdown-toggle,
  75. .error .bootstrap-select .dropdown-toggle,
  76. .bootstrap-select.is-invalid .dropdown-toggle,
  77. .was-validated .bootstrap-select .selectpicker:invalid + .dropdown-toggle {
  78. border-color: #b94a48;
  79. }
  80. .bootstrap-select.is-valid .dropdown-toggle,
  81. .was-validated .bootstrap-select .selectpicker:valid + .dropdown-toggle {
  82. border-color: #28a745;
  83. }
  84. .bootstrap-select.fit-width {
  85. width: auto !important;
  86. }
  87. .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
  88. width: 220px;
  89. }
  90. .bootstrap-select > select.mobile-device:focus + .dropdown-toggle,
  91. .bootstrap-select .dropdown-toggle:focus {
  92. outline: thin dotted #333333 !important;
  93. outline: 5px auto -webkit-focus-ring-color !important;
  94. outline-offset: -2px;
  95. }
  96. .bootstrap-select.form-control {
  97. margin-bottom: 0;
  98. padding: 0;
  99. border: none;
  100. }
  101. :not(.input-group) > .bootstrap-select.form-control:not([class*="col-"]) {
  102. width: 100%;
  103. }
  104. .bootstrap-select.form-control.input-group-btn {
  105. z-index: auto;
  106. }
  107. .bootstrap-select.form-control.input-group-btn:not(:first-child):not(:last-child) > .btn {
  108. border-radius: 0;
  109. }
  110. .bootstrap-select:not(.input-group-btn),
  111. .bootstrap-select[class*="col-"] {
  112. float: none;
  113. display: inline-block;
  114. margin-left: 0;
  115. }
  116. .bootstrap-select.dropdown-menu-right,
  117. .bootstrap-select[class*="col-"].dropdown-menu-right,
  118. .row .bootstrap-select[class*="col-"].dropdown-menu-right {
  119. float: right;
  120. }
  121. .form-inline .bootstrap-select,
  122. .form-horizontal .bootstrap-select,
  123. .form-group .bootstrap-select {
  124. margin-bottom: 0;
  125. }
  126. .form-group-lg .bootstrap-select.form-control,
  127. .form-group-sm .bootstrap-select.form-control {
  128. padding: 0;
  129. }
  130. .form-group-lg .bootstrap-select.form-control .dropdown-toggle,
  131. .form-group-sm .bootstrap-select.form-control .dropdown-toggle {
  132. height: 100%;
  133. font-size: inherit;
  134. line-height: inherit;
  135. border-radius: inherit;
  136. }
  137. .bootstrap-select.form-control-sm .dropdown-toggle,
  138. .bootstrap-select.form-control-lg .dropdown-toggle {
  139. font-size: inherit;
  140. line-height: inherit;
  141. border-radius: inherit;
  142. }
  143. .bootstrap-select.form-control-sm .dropdown-toggle {
  144. padding: 0.25rem 0.5rem;
  145. }
  146. .bootstrap-select.form-control-lg .dropdown-toggle {
  147. padding: 0.5rem 1rem;
  148. }
  149. .form-inline .bootstrap-select .form-control {
  150. width: 100%;
  151. }
  152. .bootstrap-select.disabled,
  153. .bootstrap-select > .disabled {
  154. cursor: not-allowed;
  155. }
  156. .bootstrap-select.disabled:focus,
  157. .bootstrap-select > .disabled:focus {
  158. outline: none !important;
  159. }
  160. .bootstrap-select.bs-container {
  161. position: absolute;
  162. top: 0;
  163. left: 0;
  164. height: 0 !important;
  165. padding: 0 !important;
  166. }
  167. .bootstrap-select.bs-container .dropdown-menu {
  168. z-index: 1060;
  169. }
  170. .bootstrap-select .dropdown-toggle:before {
  171. content: '';
  172. display: inline-block;
  173. }
  174. .bootstrap-select .dropdown-toggle .filter-option {
  175. position: absolute;
  176. top: 0;
  177. left: 0;
  178. padding-top: inherit;
  179. padding-right: inherit;
  180. padding-bottom: inherit;
  181. padding-left: inherit;
  182. height: 100%;
  183. width: 100%;
  184. text-align: left;
  185. }
  186. .bootstrap-select .dropdown-toggle .filter-option-inner {
  187. padding-right: inherit;
  188. }
  189. .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  190. overflow: hidden;
  191. }
  192. .bootstrap-select .dropdown-toggle .caret {
  193. position: absolute;
  194. top: 50%;
  195. right: 12px;
  196. margin-top: -2px;
  197. vertical-align: middle;
  198. }
  199. .input-group .bootstrap-select.form-control .dropdown-toggle {
  200. border-radius: inherit;
  201. }
  202. .bootstrap-select[class*="col-"] .dropdown-toggle {
  203. width: 100%;
  204. }
  205. .bootstrap-select .dropdown-menu {
  206. min-width: 100%;
  207. -webkit-box-sizing: border-box;
  208. -moz-box-sizing: border-box;
  209. box-sizing: border-box;
  210. }
  211. .bootstrap-select .dropdown-menu > .inner:focus {
  212. outline: none !important;
  213. }
  214. .bootstrap-select .dropdown-menu.inner {
  215. position: static;
  216. float: none;
  217. border: 0;
  218. padding: 0;
  219. margin: 0;
  220. border-radius: 0;
  221. -webkit-box-shadow: none;
  222. box-shadow: none;
  223. }
  224. .bootstrap-select .dropdown-menu li {
  225. position: relative;
  226. }
  227. .bootstrap-select .dropdown-menu li.active small {
  228. color: rgba(255, 255, 255, 0.5) !important;
  229. }
  230. .bootstrap-select .dropdown-menu li.disabled a {
  231. cursor: not-allowed;
  232. }
  233. .bootstrap-select .dropdown-menu li a {
  234. cursor: pointer;
  235. -webkit-user-select: none;
  236. -moz-user-select: none;
  237. -ms-user-select: none;
  238. user-select: none;
  239. }
  240. .bootstrap-select .dropdown-menu li a.opt {
  241. position: relative;
  242. padding-left: 2.25em;
  243. }
  244. .bootstrap-select .dropdown-menu li a span.check-mark {
  245. display: none;
  246. }
  247. .bootstrap-select .dropdown-menu li a span.text {
  248. display: inline-block;
  249. }
  250. .bootstrap-select .dropdown-menu li small {
  251. padding-left: 0.5em;
  252. }
  253. .bootstrap-select .dropdown-menu .notify {
  254. position: absolute;
  255. bottom: 5px;
  256. width: 96%;
  257. margin: 0 2%;
  258. min-height: 26px;
  259. padding: 3px 5px;
  260. background: #f5f5f5;
  261. border: 1px solid #e3e3e3;
  262. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  263. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  264. pointer-events: none;
  265. opacity: 0.9;
  266. -webkit-box-sizing: border-box;
  267. -moz-box-sizing: border-box;
  268. box-sizing: border-box;
  269. }
  270. .bootstrap-select .no-results {
  271. padding: 3px;
  272. background: #f5f5f5;
  273. margin: 0 5px;
  274. white-space: nowrap;
  275. }
  276. .bootstrap-select.fit-width .dropdown-toggle .filter-option {
  277. position: static;
  278. display: inline;
  279. padding: 0;
  280. }
  281. .bootstrap-select.fit-width .dropdown-toggle .filter-option-inner,
  282. .bootstrap-select.fit-width .dropdown-toggle .filter-option-inner-inner {
  283. display: inline;
  284. }
  285. .bootstrap-select.fit-width .dropdown-toggle .caret {
  286. position: static;
  287. top: auto;
  288. margin-top: -1px;
  289. }
  290. .bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  291. position: absolute;
  292. display: inline-block;
  293. right: 15px;
  294. top: 5px;
  295. }
  296. .bootstrap-select.show-tick .dropdown-menu li a span.text {
  297. margin-right: 34px;
  298. }
  299. .bootstrap-select .bs-ok-default:after {
  300. content: '';
  301. display: block;
  302. width: 0.5em;
  303. height: 1em;
  304. border-style: solid;
  305. border-width: 0 0.26em 0.26em 0;
  306. -webkit-transform: rotate(45deg);
  307. -ms-transform: rotate(45deg);
  308. -o-transform: rotate(45deg);
  309. transform: rotate(45deg);
  310. }
  311. .bootstrap-select.show-menu-arrow.open > .dropdown-toggle,
  312. .bootstrap-select.show-menu-arrow.show > .dropdown-toggle {
  313. z-index: 1061;
  314. }
  315. .bootstrap-select.show-menu-arrow .dropdown-toggle .filter-option:before {
  316. content: '';
  317. border-left: 7px solid transparent;
  318. border-right: 7px solid transparent;
  319. border-bottom: 7px solid rgba(204, 204, 204, 0.2);
  320. position: absolute;
  321. bottom: -4px;
  322. left: 9px;
  323. display: none;
  324. }
  325. .bootstrap-select.show-menu-arrow .dropdown-toggle .filter-option:after {
  326. content: '';
  327. border-left: 6px solid transparent;
  328. border-right: 6px solid transparent;
  329. border-bottom: 6px solid white;
  330. position: absolute;
  331. bottom: -4px;
  332. left: 10px;
  333. display: none;
  334. }
  335. .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle .filter-option:before {
  336. bottom: auto;
  337. top: -4px;
  338. border-top: 7px solid rgba(204, 204, 204, 0.2);
  339. border-bottom: 0;
  340. }
  341. .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle .filter-option:after {
  342. bottom: auto;
  343. top: -4px;
  344. border-top: 6px solid white;
  345. border-bottom: 0;
  346. }
  347. .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle .filter-option:before {
  348. right: 12px;
  349. left: auto;
  350. }
  351. .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle .filter-option:after {
  352. right: 13px;
  353. left: auto;
  354. }
  355. .bootstrap-select.show-menu-arrow.open > .dropdown-toggle .filter-option:before,
  356. .bootstrap-select.show-menu-arrow.show > .dropdown-toggle .filter-option:before,
  357. .bootstrap-select.show-menu-arrow.open > .dropdown-toggle .filter-option:after,
  358. .bootstrap-select.show-menu-arrow.show > .dropdown-toggle .filter-option:after {
  359. display: block;
  360. }
  361. .bs-searchbox,
  362. .bs-actionsbox,
  363. .bs-donebutton {
  364. padding: 4px 8px;
  365. }
  366. .bs-actionsbox {
  367. width: 100%;
  368. -webkit-box-sizing: border-box;
  369. -moz-box-sizing: border-box;
  370. box-sizing: border-box;
  371. }
  372. .bs-actionsbox .btn-group button {
  373. width: 50%;
  374. }
  375. .bs-donebutton {
  376. float: left;
  377. width: 100%;
  378. -webkit-box-sizing: border-box;
  379. -moz-box-sizing: border-box;
  380. box-sizing: border-box;
  381. }
  382. .bs-donebutton .btn-group button {
  383. width: 100%;
  384. }
  385. .bs-searchbox + .bs-actionsbox {
  386. padding: 0 8px 4px;
  387. }
  388. .bs-searchbox .form-control {
  389. margin-bottom: 0;
  390. width: 100%;
  391. float: none;
  392. }
  393. /*# sourceMappingURL=bootstrap-select.css.map */