bootstrap-select.css 8.2 KB

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