bootstrap-select.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /*!
  2. * Bootstrap-select v1.6.4 (http://silviomoreto.github.io/bootstrap-select)
  3. *
  4. * Copyright 2013-2015 bootstrap-select
  5. * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
  6. */
  7. .bootstrap-select {
  8. width: 140px \0;
  9. /* IE9 and below */
  10. }
  11. .bootstrap-select > .btn {
  12. width: 100%;
  13. padding-right: 25px;
  14. }
  15. .has-error .bootstrap-select .dropdown-toggle,
  16. .error .bootstrap-select .dropdown-toggle {
  17. border-color: #b94a48;
  18. }
  19. .bootstrap-select.fit-width {
  20. width: auto !important;
  21. }
  22. .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
  23. width: 140px;
  24. }
  25. .bootstrap-select .btn:focus {
  26. outline: thin dotted #333333 !important;
  27. outline: 5px auto -webkit-focus-ring-color !important;
  28. outline-offset: -2px;
  29. }
  30. .bootstrap-select.form-control {
  31. margin-bottom: 0;
  32. padding: 0;
  33. border: none;
  34. }
  35. .bootstrap-select.form-control:not([class*="col-"]) {
  36. width: 100%;
  37. }
  38. .bootstrap-select.form-control.input-group-btn {
  39. z-index: auto;
  40. }
  41. .bootstrap-select.btn-group:not(.input-group-btn),
  42. .bootstrap-select.btn-group[class*="col-"] {
  43. float: none;
  44. display: inline-block;
  45. margin-left: 0;
  46. }
  47. .bootstrap-select.btn-group.dropdown-menu-right,
  48. .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right,
  49. .row .bootstrap-select.btn-group[class*="col-"].dropdown-menu-right {
  50. float: right;
  51. }
  52. .form-inline .bootstrap-select.btn-group,
  53. .form-horizontal .bootstrap-select.btn-group,
  54. .form-group .bootstrap-select.btn-group {
  55. margin-bottom: 0;
  56. }
  57. .form-group-lg .bootstrap-select.btn-group.form-control,
  58. .form-group-sm .bootstrap-select.btn-group.form-control {
  59. padding: 0;
  60. }
  61. .form-inline .bootstrap-select.btn-group .form-control {
  62. width: 100%;
  63. }
  64. .bootstrap-select.btn-group > .disabled {
  65. cursor: not-allowed;
  66. }
  67. .bootstrap-select.btn-group > .disabled:focus {
  68. outline: none !important;
  69. }
  70. .bootstrap-select.btn-group .btn .filter-option {
  71. display: inline-block;
  72. overflow: hidden;
  73. width: 100%;
  74. text-align: left;
  75. }
  76. .bootstrap-select.btn-group .btn .caret {
  77. position: absolute;
  78. top: 50%;
  79. right: 12px;
  80. margin-top: -2px;
  81. vertical-align: middle;
  82. }
  83. .bootstrap-select.btn-group[class*="col-"] .btn {
  84. width: 100%;
  85. }
  86. .bootstrap-select.btn-group .dropdown-menu {
  87. min-width: 100%;
  88. z-index: 1035;
  89. -webkit-box-sizing: border-box;
  90. -moz-box-sizing: border-box;
  91. box-sizing: border-box;
  92. }
  93. .bootstrap-select.btn-group .dropdown-menu.inner {
  94. position: static;
  95. float: none;
  96. border: 0;
  97. padding: 0;
  98. margin: 0;
  99. border-radius: 0;
  100. -webkit-box-shadow: none;
  101. box-shadow: none;
  102. }
  103. .bootstrap-select.btn-group .dropdown-menu li {
  104. position: relative;
  105. }
  106. .bootstrap-select.btn-group .dropdown-menu li.dropdown-header {
  107. cursor: default;
  108. }
  109. .bootstrap-select.btn-group .dropdown-menu li.active small {
  110. color: #fff;
  111. }
  112. .bootstrap-select.btn-group .dropdown-menu li.disabled a {
  113. cursor: not-allowed;
  114. }
  115. .bootstrap-select.btn-group .dropdown-menu li a {
  116. cursor: pointer;
  117. }
  118. .bootstrap-select.btn-group .dropdown-menu li a.opt {
  119. position: relative;
  120. padding-left: 2.25em;
  121. }
  122. .bootstrap-select.btn-group .dropdown-menu li a span.check-mark {
  123. display: none;
  124. }
  125. .bootstrap-select.btn-group .dropdown-menu li a span.text {
  126. display: inline-block;
  127. }
  128. .bootstrap-select.btn-group .dropdown-menu li small {
  129. padding-left: 0.5em;
  130. }
  131. .bootstrap-select.btn-group .dropdown-menu li .media {
  132. display: inline-block;
  133. }
  134. .bootstrap-select.btn-group .dropdown-menu li .media-body {
  135. vertical-align: middle;
  136. white-space: normal;
  137. }
  138. .bootstrap-select.btn-group .dropdown-menu li .media-object {
  139. height: 20px;
  140. width: 20px;
  141. }
  142. .bootstrap-select.btn-group .dropdown-menu .notify {
  143. position: absolute;
  144. bottom: 5px;
  145. width: 96%;
  146. margin: 0 2%;
  147. min-height: 26px;
  148. padding: 3px 5px;
  149. background: #f5f5f5;
  150. border: 1px solid #e3e3e3;
  151. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  152. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  153. pointer-events: none;
  154. opacity: 0.9;
  155. -webkit-box-sizing: border-box;
  156. -moz-box-sizing: border-box;
  157. box-sizing: border-box;
  158. }
  159. .bootstrap-select.btn-group .no-results {
  160. padding: 3px;
  161. background: #f5f5f5;
  162. margin: 0 5px;
  163. }
  164. .bootstrap-select.btn-group.fit-width .btn .filter-option {
  165. position: static;
  166. }
  167. .bootstrap-select.btn-group.fit-width .btn .caret {
  168. position: static;
  169. top: auto;
  170. margin-top: -1px;
  171. }
  172. .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {
  173. position: absolute;
  174. display: inline-block;
  175. right: 15px;
  176. margin-top: 5px;
  177. }
  178. .bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text {
  179. margin-right: 34px;
  180. }
  181. .bootstrap-select.show-menu-arrow.open > .btn {
  182. z-index: 1036;
  183. }
  184. .bootstrap-select.show-menu-arrow .dropdown-toggle:before {
  185. content: '';
  186. border-left: 7px solid transparent;
  187. border-right: 7px solid transparent;
  188. border-bottom: 7px solid rgba(204, 204, 204, 0.2);
  189. position: absolute;
  190. bottom: -4px;
  191. left: 9px;
  192. display: none;
  193. }
  194. .bootstrap-select.show-menu-arrow .dropdown-toggle:after {
  195. content: '';
  196. border-left: 6px solid transparent;
  197. border-right: 6px solid transparent;
  198. border-bottom: 6px solid white;
  199. position: absolute;
  200. bottom: -4px;
  201. left: 10px;
  202. display: none;
  203. }
  204. .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before {
  205. bottom: auto;
  206. top: -3px;
  207. border-top: 7px solid rgba(204, 204, 204, 0.2);
  208. border-bottom: 0;
  209. }
  210. .bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after {
  211. bottom: auto;
  212. top: -3px;
  213. border-top: 6px solid white;
  214. border-bottom: 0;
  215. }
  216. .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before {
  217. right: 12px;
  218. left: auto;
  219. }
  220. .bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after {
  221. right: 13px;
  222. left: auto;
  223. }
  224. .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:before,
  225. .bootstrap-select.show-menu-arrow.open > .dropdown-toggle:after {
  226. display: block;
  227. }
  228. .bs-searchbox,
  229. .bs-actionsbox,
  230. .bs-donebutton {
  231. padding: 4px 8px;
  232. }
  233. .bs-actionsbox {
  234. float: left;
  235. width: 100%;
  236. -webkit-box-sizing: border-box;
  237. -moz-box-sizing: border-box;
  238. box-sizing: border-box;
  239. }
  240. .bs-actionsbox .btn-group button {
  241. width: 50%;
  242. }
  243. .bs-donebutton {
  244. float: left;
  245. width: 100%;
  246. -webkit-box-sizing: border-box;
  247. -moz-box-sizing: border-box;
  248. box-sizing: border-box;
  249. }
  250. .bs-donebutton .btn-group button {
  251. width: 100%;
  252. }
  253. .bs-searchbox + .bs-actionsbox {
  254. padding: 0 8px 4px;
  255. }
  256. .bs-searchbox input.form-control {
  257. margin-bottom: 0;
  258. width: 100%;
  259. }
  260. .mobile-device {
  261. position: absolute !important;
  262. top: 0;
  263. left: 0;
  264. display: block !important;
  265. width: 100%;
  266. height: 100% !important;
  267. opacity: 0;
  268. }
  269. /*add by raye*/
  270. .bootstrap-select .btn.dropdown-toggle, .bootstrap-select ul.dropdown-menu {
  271. font-size: 12px;
  272. }
  273. .bootstrap-select .btn.dropdown-toggle {
  274. padding: 2px 12px;
  275. }