selectize.bootstrap2.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  1. /**
  2. * selectize.bootstrap2.css (v0.8.5) - Bootstrap 2 Theme
  3. * Copyright (c) 2013 Brian Reavis & contributors
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
  6. * file except in compliance with the License. You may obtain a copy of the License at:
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software distributed under
  10. * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
  11. * ANY KIND, either express or implied. See the License for the specific language
  12. * governing permissions and limitations under the License.
  13. *
  14. * @author Brian Reavis <brian@thirdroute.com>
  15. */
  16. .selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
  17. background: #f2f2f2 !important;
  18. background: rgba(0, 0, 0, 0.06) !important;
  19. border: 0 none !important;
  20. visibility: visible !important;
  21. -webkit-box-shadow: inset 0 0 12px 4px #ffffff;
  22. box-shadow: inset 0 0 12px 4px #ffffff;
  23. }
  24. .selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
  25. content: '!';
  26. visibility: hidden;
  27. }
  28. .selectize-control.plugin-drag_drop .ui-sortable-helper {
  29. -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  30. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  31. }
  32. .selectize-dropdown-header {
  33. position: relative;
  34. padding: 3px 10px;
  35. background: #f8f8f8;
  36. border-bottom: 1px solid #d0d0d0;
  37. -webkit-border-radius: 4px 4px 0 0;
  38. -moz-border-radius: 4px 4px 0 0;
  39. border-radius: 4px 4px 0 0;
  40. }
  41. .selectize-dropdown-header-close {
  42. position: absolute;
  43. top: 50%;
  44. right: 10px;
  45. margin-top: -12px;
  46. font-size: 20px !important;
  47. line-height: 20px;
  48. color: #333333;
  49. opacity: 0.4;
  50. }
  51. .selectize-dropdown-header-close:hover {
  52. color: #000000;
  53. }
  54. .selectize-dropdown.plugin-optgroup_columns .optgroup {
  55. float: left;
  56. border-top: 0 none;
  57. border-right: 1px solid #f2f2f2;
  58. -webkit-box-sizing: border-box;
  59. -moz-box-sizing: border-box;
  60. box-sizing: border-box;
  61. }
  62. .selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
  63. border-right: 0 none;
  64. }
  65. .selectize-dropdown.plugin-optgroup_columns .optgroup:before {
  66. display: none;
  67. }
  68. .selectize-dropdown.plugin-optgroup_columns .optgroup-header {
  69. border-top: 0 none;
  70. }
  71. .selectize-control.plugin-remove_button [data-value] {
  72. position: relative;
  73. padding-right: 24px !important;
  74. }
  75. .selectize-control.plugin-remove_button [data-value] .remove {
  76. position: absolute;
  77. top: 0;
  78. right: 0;
  79. bottom: 0;
  80. display: inline-block;
  81. width: 17px;
  82. padding: 1px 0 0 0;
  83. font-size: 12px;
  84. font-weight: bold;
  85. color: inherit;
  86. text-align: center;
  87. text-decoration: none;
  88. vertical-align: middle;
  89. border-left: 1px solid #cccccc;
  90. -webkit-border-radius: 0 2px 2px 0;
  91. -moz-border-radius: 0 2px 2px 0;
  92. border-radius: 0 2px 2px 0;
  93. -webkit-box-sizing: border-box;
  94. -moz-box-sizing: border-box;
  95. box-sizing: border-box;
  96. }
  97. .selectize-control.plugin-remove_button [data-value] .remove:hover {
  98. background: rgba(0, 0, 0, 0.05);
  99. }
  100. .selectize-control.plugin-remove_button [data-value].active .remove {
  101. border-left-color: #0077b3;
  102. }
  103. .selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
  104. background: none;
  105. }
  106. .selectize-control.plugin-remove_button .disabled [data-value] .remove {
  107. border-left-color: #e0e0e0;
  108. }
  109. .selectize-control {
  110. position: relative;
  111. }
  112. .selectize-dropdown,
  113. .selectize-input,
  114. .selectize-input input {
  115. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  116. font-size: 14px;
  117. -webkit-font-smoothing: inherit;
  118. line-height: 20px;
  119. color: #333333;
  120. }
  121. .selectize-input,
  122. .selectize-control.single .selectize-input.input-active {
  123. display: inline-block;
  124. cursor: text;
  125. background: #ffffff;
  126. }
  127. .selectize-input {
  128. position: relative;
  129. z-index: 1;
  130. display: inline-block;
  131. width: 100%;
  132. padding: 7px 10px;
  133. overflow: hidden;
  134. border: 1px solid #d0d0d0;
  135. -webkit-border-radius: 4px;
  136. -moz-border-radius: 4px;
  137. border-radius: 4px;
  138. -webkit-box-shadow: none;
  139. box-shadow: none;
  140. -webkit-box-sizing: border-box;
  141. -moz-box-sizing: border-box;
  142. box-sizing: border-box;
  143. }
  144. .selectize-control.multi .selectize-input.has-items {
  145. padding: 5px 10px 2px;
  146. }
  147. .selectize-input.full {
  148. background-color: #ffffff;
  149. }
  150. .selectize-input.disabled,
  151. .selectize-input.disabled * {
  152. cursor: default !important;
  153. }
  154. .selectize-input.focus {
  155. -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  156. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  157. }
  158. .selectize-input.dropdown-active {
  159. -webkit-border-radius: 4px 4px 0 0;
  160. -moz-border-radius: 4px 4px 0 0;
  161. border-radius: 4px 4px 0 0;
  162. }
  163. .selectize-input > * {
  164. display: -moz-inline-stack;
  165. display: inline-block;
  166. *display: inline;
  167. vertical-align: baseline;
  168. zoom: 1;
  169. }
  170. .selectize-control.multi .selectize-input > div {
  171. padding: 1px 3px;
  172. margin: 0 3px 3px 0;
  173. color: #333333;
  174. cursor: pointer;
  175. background: #e6e6e6;
  176. border: 1px solid #cccccc;
  177. }
  178. .selectize-control.multi .selectize-input > div.active {
  179. color: #ffffff;
  180. background: #0088cc;
  181. border: 1px solid #0077b3;
  182. }
  183. .selectize-control.multi .selectize-input.disabled > div,
  184. .selectize-control.multi .selectize-input.disabled > div.active {
  185. color: #474747;
  186. background: #fafafa;
  187. border: 1px solid #e0e0e0;
  188. }
  189. .selectize-input > input {
  190. max-width: 100% !important;
  191. max-height: none !important;
  192. min-height: 0 !important;
  193. padding: 0 !important;
  194. margin: 0 !important;
  195. line-height: inherit !important;
  196. text-indent: 0 !important;
  197. background: none !important;
  198. border: 0 none !important;
  199. -webkit-box-shadow: none !important;
  200. box-shadow: none !important;
  201. -webkit-user-select: auto !important;
  202. }
  203. .selectize-input > input:focus {
  204. outline: none !important;
  205. }
  206. .selectize-input::after {
  207. display: block;
  208. clear: left;
  209. content: ' ';
  210. }
  211. .selectize-input.dropdown-active::before {
  212. position: absolute;
  213. right: 0;
  214. bottom: 0;
  215. left: 0;
  216. display: block;
  217. height: 1px;
  218. background: #e5e5e5;
  219. content: ' ';
  220. }
  221. .selectize-dropdown {
  222. position: absolute;
  223. z-index: 10;
  224. margin: -1px 0 0 0;
  225. background: #ffffff;
  226. border: 1px solid #d0d0d0;
  227. border-top: 0 none;
  228. -webkit-border-radius: 0 0 4px 4px;
  229. -moz-border-radius: 0 0 4px 4px;
  230. border-radius: 0 0 4px 4px;
  231. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  232. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  233. -webkit-box-sizing: border-box;
  234. -moz-box-sizing: border-box;
  235. box-sizing: border-box;
  236. }
  237. .selectize-dropdown [data-selectable] {
  238. overflow: hidden;
  239. cursor: pointer;
  240. }
  241. .selectize-dropdown [data-selectable] .highlight {
  242. background: rgba(255, 237, 40, 0.4);
  243. -webkit-border-radius: 1px;
  244. -moz-border-radius: 1px;
  245. border-radius: 1px;
  246. }
  247. .selectize-dropdown [data-selectable],
  248. .selectize-dropdown .optgroup-header {
  249. padding: 3px 10px;
  250. }
  251. .selectize-dropdown .optgroup:first-child .optgroup-header {
  252. border-top: 0 none;
  253. }
  254. .selectize-dropdown .optgroup-header {
  255. color: #999999;
  256. cursor: default;
  257. background: #ffffff;
  258. }
  259. .selectize-dropdown .active {
  260. color: #ffffff;
  261. background-color: #0088cc;
  262. }
  263. .selectize-dropdown .active.create {
  264. color: #ffffff;
  265. }
  266. .selectize-dropdown .create {
  267. color: rgba(51, 51, 51, 0.5);
  268. }
  269. .selectize-dropdown-content {
  270. max-height: 200px;
  271. overflow-x: hidden;
  272. overflow-y: auto;
  273. }
  274. .selectize-control.single .selectize-input,
  275. .selectize-control.single .selectize-input input {
  276. cursor: pointer;
  277. }
  278. .selectize-control.single .selectize-input.input-active,
  279. .selectize-control.single .selectize-input.input-active input {
  280. cursor: text;
  281. }
  282. .selectize-control.single .selectize-input:after {
  283. position: absolute;
  284. top: 50%;
  285. right: 15px;
  286. display: block;
  287. width: 0;
  288. height: 0;
  289. margin-top: -3px;
  290. border-color: #000000 transparent transparent transparent;
  291. border-style: solid;
  292. border-width: 5px 5px 0 5px;
  293. content: ' ';
  294. }
  295. .selectize-control.single .selectize-input.dropdown-active:after {
  296. margin-top: -4px;
  297. border-color: transparent transparent #000000 transparent;
  298. border-width: 0 5px 5px 5px;
  299. }
  300. .selectize-control.rtl.single .selectize-input:after {
  301. right: auto;
  302. left: 15px;
  303. }
  304. .selectize-control.rtl .selectize-input > input {
  305. margin: 0 4px 0 -2px !important;
  306. }
  307. .selectize-control .selectize-input.disabled {
  308. background-color: #ffffff;
  309. opacity: 0.5;
  310. }
  311. .selectize-dropdown {
  312. z-index: 1000;
  313. margin: 2px 0 0 0;
  314. border: 1px solid rgba(0, 0, 0, 0.2);
  315. border-radius: 4px;
  316. -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  317. -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  318. box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  319. }
  320. .selectize-dropdown .optgroup-header {
  321. font-size: 11px;
  322. font-weight: bold;
  323. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  324. text-transform: uppercase;
  325. }
  326. .selectize-dropdown .optgroup:first-child:before {
  327. display: none;
  328. }
  329. .selectize-dropdown .optgroup:before {
  330. display: block;
  331. *width: 100%;
  332. height: 1px;
  333. margin: 9px 1px;
  334. *margin: -5px 0 5px;
  335. margin-right: -10px;
  336. margin-left: -10px;
  337. overflow: hidden;
  338. background-color: #e5e5e5;
  339. border-bottom: 1px solid #ffffff;
  340. content: ' ';
  341. }
  342. .selectize-dropdown [data-selectable].active {
  343. background-color: #0081c2;
  344. background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  345. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  346. background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  347. background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  348. background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  349. background-repeat: repeat-x;
  350. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
  351. }
  352. .selectize-dropdown-content {
  353. padding: 5px 0;
  354. }
  355. .selectize-dropdown-header {
  356. padding: 6px 10px;
  357. }
  358. .selectize-input {
  359. -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  360. -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  361. -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  362. transition: border linear 0.2s, box-shadow linear 0.2s;
  363. }
  364. .selectize-input.dropdown-active {
  365. -webkit-border-radius: 4px;
  366. -moz-border-radius: 4px;
  367. border-radius: 4px;
  368. }
  369. .selectize-input.dropdown-active::before {
  370. display: none;
  371. }
  372. .selectize-input.input-active,
  373. .selectize-input.input-active:hover,
  374. .selectize-control.multi .selectize-input.focus {
  375. background: #ffffff !important;
  376. border-color: rgba(82, 168, 236, 0.8) !important;
  377. outline: 0 !important;
  378. outline: thin dotted \9 !important;
  379. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6) !important;
  380. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6) !important;
  381. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6) !important;
  382. }
  383. .selectize-control.single .selectize-input {
  384. color: #333333;
  385. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  386. background-color: #f5f5f5;
  387. *background-color: #e6e6e6;
  388. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  389. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  390. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  391. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  392. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  393. background-repeat: repeat-x;
  394. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  395. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  396. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  397. filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  398. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  399. -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  400. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  401. }
  402. .selectize-control.single .selectize-input:hover,
  403. .selectize-control.single .selectize-input:focus,
  404. .selectize-control.single .selectize-input:active,
  405. .selectize-control.single .selectize-input.active,
  406. .selectize-control.single .selectize-input.disabled,
  407. .selectize-control.single .selectize-input[disabled] {
  408. color: #333333;
  409. background-color: #e6e6e6;
  410. *background-color: #d9d9d9;
  411. }
  412. .selectize-control.single .selectize-input:active,
  413. .selectize-control.single .selectize-input.active {
  414. background-color: #cccccc \9;
  415. }
  416. .selectize-control.single .selectize-input:hover {
  417. color: #333333;
  418. text-decoration: none;
  419. background-position: 0 -15px;
  420. -webkit-transition: background-position 0.1s linear;
  421. -moz-transition: background-position 0.1s linear;
  422. -o-transition: background-position 0.1s linear;
  423. transition: background-position 0.1s linear;
  424. }
  425. .selectize-control.single .selectize-input.disabled {
  426. background: #e6e6e6 !important;
  427. -webkit-box-shadow: none;
  428. -moz-box-shadow: none;
  429. box-shadow: none;
  430. }
  431. .selectize-control.multi .selectize-input {
  432. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  433. -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  434. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  435. }
  436. .selectize-control.multi .selectize-input.has-items {
  437. padding-right: 7px;
  438. padding-left: 7px;
  439. }
  440. .selectize-control.multi .selectize-input > div {
  441. color: #333333;
  442. text-shadow: none;
  443. background-color: #f5f5f5;
  444. *background-color: #e6e6e6;
  445. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  446. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  447. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  448. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  449. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  450. background-repeat: repeat-x;
  451. border: 1px solid #cccccc;
  452. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  453. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  454. -webkit-border-radius: 4px;
  455. -moz-border-radius: 4px;
  456. border-radius: 4px;
  457. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  458. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  459. -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  460. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  461. }
  462. .selectize-control.multi .selectize-input > div.active {
  463. color: #ffffff;
  464. text-shadow: none;
  465. background-color: #0081c2;
  466. *background-color: #0088cc;
  467. background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
  468. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
  469. background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
  470. background-image: -o-linear-gradient(top, #0088cc, #0077b3);
  471. background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  472. background-repeat: repeat-x;
  473. border: 1px solid #0088cc;
  474. border-color: #0077b3 #0077b3 #004466;
  475. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  476. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
  477. -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  478. -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  479. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  480. }