纽威
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

457 lines
13 KiB

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