sonata_admin_css_select2_7.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692
  1. /*
  2. Version: 3.5.4 Timestamp: Sun Aug 30 13:30:32 EDT 2015
  3. */
  4. .select2-container {
  5. margin: 0;
  6. position: relative;
  7. display: inline-block;
  8. vertical-align: middle;
  9. }
  10. .select2-container,
  11. .select2-drop,
  12. .select2-search,
  13. .select2-search input {
  14. /*
  15. Force border-box so that % widths fit the parent
  16. container without overlap because of margin/padding.
  17. More Info : http://www.quirksmode.org/css/box.html
  18. */
  19. -webkit-box-sizing: border-box; /* webkit */
  20. -moz-box-sizing: border-box; /* firefox */
  21. box-sizing: border-box; /* css3 */
  22. }
  23. .select2-container .select2-choice {
  24. display: block;
  25. height: 26px;
  26. padding: 0 0 0 8px;
  27. overflow: hidden;
  28. position: relative;
  29. border: 1px solid #aaa;
  30. white-space: nowrap;
  31. line-height: 26px;
  32. color: #444;
  33. text-decoration: none;
  34. border-radius: 4px;
  35. background-clip: padding-box;
  36. -webkit-touch-callout: none;
  37. -webkit-user-select: none;
  38. -moz-user-select: none;
  39. -ms-user-select: none;
  40. user-select: none;
  41. background-color: #fff;
  42. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
  43. background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
  44. background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
  45. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
  46. background-image: linear-gradient(to top, #eee 0%, #fff 50%);
  47. }
  48. html[dir="rtl"] .select2-container .select2-choice {
  49. padding: 0 8px 0 0;
  50. }
  51. .select2-container.select2-drop-above .select2-choice {
  52. border-bottom-color: #aaa;
  53. border-radius: 0 0 4px 4px;
  54. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.9, #fff));
  55. background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
  56. background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
  57. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
  58. background-image: linear-gradient(to bottom, #eee 0%, #fff 90%);
  59. }
  60. .select2-container.select2-allowclear .select2-choice .select2-chosen {
  61. margin-right: 42px;
  62. }
  63. .select2-container .select2-choice > .select2-chosen {
  64. margin-right: 26px;
  65. display: block;
  66. overflow: hidden;
  67. white-space: nowrap;
  68. text-overflow: ellipsis;
  69. float: none;
  70. width: auto;
  71. }
  72. html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
  73. margin-left: 26px;
  74. margin-right: 0;
  75. }
  76. .select2-container .select2-choice abbr {
  77. display: none;
  78. width: 12px;
  79. height: 12px;
  80. position: absolute;
  81. right: 24px;
  82. top: 8px;
  83. font-size: 1px;
  84. text-decoration: none;
  85. border: 0;
  86. background: url('../bundles/sonatacore/vendor/select2/select2.png') right top no-repeat;
  87. cursor: pointer;
  88. outline: 0;
  89. }
  90. .select2-container.select2-allowclear .select2-choice abbr {
  91. display: inline-block;
  92. }
  93. .select2-container .select2-choice abbr:hover {
  94. background-position: right -11px;
  95. cursor: pointer;
  96. }
  97. .select2-drop-mask {
  98. border: 0;
  99. margin: 0;
  100. padding: 0;
  101. position: fixed;
  102. left: 0;
  103. top: 0;
  104. min-height: 100%;
  105. min-width: 100%;
  106. height: auto;
  107. width: auto;
  108. opacity: 0;
  109. z-index: 9998;
  110. /* styles required for IE to work */
  111. background-color: #fff;
  112. filter: alpha(opacity=0);
  113. }
  114. .select2-drop {
  115. width: 100%;
  116. margin-top: -1px;
  117. position: absolute;
  118. z-index: 9999;
  119. top: 100%;
  120. background: #fff;
  121. color: #000;
  122. border: 1px solid #aaa;
  123. border-top: 0;
  124. border-radius: 0 0 4px 4px;
  125. -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
  126. box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
  127. }
  128. .select2-drop.select2-drop-above {
  129. margin-top: 1px;
  130. border-top: 1px solid #aaa;
  131. border-bottom: 0;
  132. border-radius: 4px 4px 0 0;
  133. -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
  134. box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
  135. }
  136. .select2-drop-active {
  137. border: 1px solid #5897fb;
  138. border-top: none;
  139. }
  140. .select2-drop.select2-drop-above.select2-drop-active {
  141. border-top: 1px solid #5897fb;
  142. }
  143. .select2-drop-auto-width {
  144. border-top: 1px solid #aaa;
  145. width: auto;
  146. }
  147. .select2-container .select2-choice .select2-arrow {
  148. display: inline-block;
  149. width: 18px;
  150. height: 100%;
  151. position: absolute;
  152. right: 0;
  153. top: 0;
  154. border-left: 1px solid #aaa;
  155. border-radius: 0 4px 4px 0;
  156. background-clip: padding-box;
  157. background: #ccc;
  158. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
  159. background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
  160. background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
  161. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
  162. background-image: linear-gradient(to top, #ccc 0%, #eee 60%);
  163. }
  164. html[dir="rtl"] .select2-container .select2-choice .select2-arrow {
  165. left: 0;
  166. right: auto;
  167. border-left: none;
  168. border-right: 1px solid #aaa;
  169. border-radius: 4px 0 0 4px;
  170. }
  171. .select2-container .select2-choice .select2-arrow b {
  172. display: block;
  173. width: 100%;
  174. height: 100%;
  175. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat 0 1px;
  176. }
  177. html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
  178. background-position: 2px 1px;
  179. }
  180. .select2-search {
  181. display: inline-block;
  182. width: 100%;
  183. min-height: 26px;
  184. margin: 0;
  185. padding: 4px 4px 0 4px;
  186. position: relative;
  187. z-index: 10000;
  188. white-space: nowrap;
  189. }
  190. .select2-search input {
  191. width: 100%;
  192. height: auto !important;
  193. min-height: 26px;
  194. padding: 4px 20px 4px 5px;
  195. margin: 0;
  196. outline: 0;
  197. font-family: sans-serif;
  198. font-size: 1em;
  199. border: 1px solid #aaa;
  200. border-radius: 0;
  201. -webkit-box-shadow: none;
  202. box-shadow: none;
  203. background: #fff url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat 100% -22px;
  204. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
  205. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
  206. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
  207. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
  208. }
  209. html[dir="rtl"] .select2-search input {
  210. padding: 4px 5px 4px 20px;
  211. background: #fff url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat -37px -22px;
  212. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat -37px -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
  213. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat -37px -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
  214. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat -37px -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
  215. background: url('../bundles/sonatacore/vendor/select2/select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
  216. }
  217. .select2-search input.select2-active {
  218. background: #fff url('../bundles/sonatacore/vendor/select2/select2-spinner.gif') no-repeat 100%;
  219. background: url('../bundles/sonatacore/vendor/select2/select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
  220. background: url('../bundles/sonatacore/vendor/select2/select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
  221. background: url('../bundles/sonatacore/vendor/select2/select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
  222. background: url('../bundles/sonatacore/vendor/select2/select2-spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
  223. }
  224. .select2-container-active .select2-choice,
  225. .select2-container-active .select2-choices {
  226. border: 1px solid #5897fb;
  227. outline: none;
  228. -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  229. box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  230. }
  231. .select2-dropdown-open .select2-choice {
  232. border-bottom-color: transparent;
  233. -webkit-box-shadow: 0 1px 0 #fff inset;
  234. box-shadow: 0 1px 0 #fff inset;
  235. border-bottom-left-radius: 0;
  236. border-bottom-right-radius: 0;
  237. background-color: #eee;
  238. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.5, #eee));
  239. background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
  240. background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
  241. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
  242. background-image: linear-gradient(to top, #fff 0%, #eee 50%);
  243. }
  244. .select2-dropdown-open.select2-drop-above .select2-choice,
  245. .select2-dropdown-open.select2-drop-above .select2-choices {
  246. border: 1px solid #5897fb;
  247. border-top-color: transparent;
  248. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #eee));
  249. background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
  250. background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
  251. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
  252. background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
  253. }
  254. .select2-dropdown-open .select2-choice .select2-arrow {
  255. background: transparent;
  256. border-left: none;
  257. filter: none;
  258. }
  259. html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {
  260. border-right: none;
  261. }
  262. .select2-dropdown-open .select2-choice .select2-arrow b {
  263. background-position: -18px 1px;
  264. }
  265. html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow b {
  266. background-position: -16px 1px;
  267. }
  268. .select2-hidden-accessible {
  269. border: 0;
  270. clip: rect(0 0 0 0);
  271. height: 1px;
  272. margin: -1px;
  273. overflow: hidden;
  274. padding: 0;
  275. position: absolute;
  276. width: 1px;
  277. }
  278. /* results */
  279. .select2-results {
  280. max-height: 200px;
  281. padding: 0 0 0 4px;
  282. margin: 4px 4px 4px 0;
  283. position: relative;
  284. overflow-x: hidden;
  285. overflow-y: auto;
  286. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  287. }
  288. html[dir="rtl"] .select2-results {
  289. padding: 0 4px 0 0;
  290. margin: 4px 0 4px 4px;
  291. }
  292. .select2-results ul.select2-result-sub {
  293. margin: 0;
  294. padding-left: 0;
  295. }
  296. .select2-results li {
  297. list-style: none;
  298. display: list-item;
  299. background-image: none;
  300. }
  301. .select2-results li.select2-result-with-children > .select2-result-label {
  302. font-weight: bold;
  303. }
  304. .select2-results .select2-result-label {
  305. padding: 3px 7px 4px;
  306. margin: 0;
  307. cursor: pointer;
  308. min-height: 1em;
  309. -webkit-touch-callout: none;
  310. -webkit-user-select: none;
  311. -moz-user-select: none;
  312. -ms-user-select: none;
  313. user-select: none;
  314. }
  315. .select2-results-dept-1 .select2-result-label { padding-left: 20px }
  316. .select2-results-dept-2 .select2-result-label { padding-left: 40px }
  317. .select2-results-dept-3 .select2-result-label { padding-left: 60px }
  318. .select2-results-dept-4 .select2-result-label { padding-left: 80px }
  319. .select2-results-dept-5 .select2-result-label { padding-left: 100px }
  320. .select2-results-dept-6 .select2-result-label { padding-left: 110px }
  321. .select2-results-dept-7 .select2-result-label { padding-left: 120px }
  322. .select2-results .select2-highlighted {
  323. background: #3875d7;
  324. color: #fff;
  325. }
  326. .select2-results li em {
  327. background: #feffde;
  328. font-style: normal;
  329. }
  330. .select2-results .select2-highlighted em {
  331. background: transparent;
  332. }
  333. .select2-results .select2-highlighted ul {
  334. background: #fff;
  335. color: #000;
  336. }
  337. .select2-results .select2-no-results,
  338. .select2-results .select2-searching,
  339. .select2-results .select2-ajax-error,
  340. .select2-results .select2-selection-limit {
  341. background: #f4f4f4;
  342. display: list-item;
  343. padding-left: 5px;
  344. }
  345. /*
  346. disabled look for disabled choices in the results dropdown
  347. */
  348. .select2-results .select2-disabled.select2-highlighted {
  349. color: #666;
  350. background: #f4f4f4;
  351. display: list-item;
  352. cursor: default;
  353. }
  354. .select2-results .select2-disabled {
  355. background: #f4f4f4;
  356. display: list-item;
  357. cursor: default;
  358. }
  359. .select2-results .select2-selected {
  360. display: none;
  361. }
  362. .select2-more-results.select2-active {
  363. background: #f4f4f4 url('../bundles/sonatacore/vendor/select2/select2-spinner.gif') no-repeat 100%;
  364. }
  365. .select2-results .select2-ajax-error {
  366. background: rgba(255, 50, 50, .2);
  367. }
  368. .select2-more-results {
  369. background: #f4f4f4;
  370. display: list-item;
  371. }
  372. /* disabled styles */
  373. .select2-container.select2-container-disabled .select2-choice {
  374. background-color: #f4f4f4;
  375. background-image: none;
  376. border: 1px solid #ddd;
  377. cursor: default;
  378. }
  379. .select2-container.select2-container-disabled .select2-choice .select2-arrow {
  380. background-color: #f4f4f4;
  381. background-image: none;
  382. border-left: 0;
  383. }
  384. .select2-container.select2-container-disabled .select2-choice abbr {
  385. display: none;
  386. }
  387. /* multiselect */
  388. .select2-container-multi .select2-choices {
  389. height: auto !important;
  390. height: 1%;
  391. margin: 0;
  392. padding: 0 5px 0 0;
  393. position: relative;
  394. border: 1px solid #aaa;
  395. cursor: text;
  396. overflow: hidden;
  397. background-color: #fff;
  398. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
  399. background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
  400. background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
  401. background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
  402. }
  403. html[dir="rtl"] .select2-container-multi .select2-choices {
  404. padding: 0 0 0 5px;
  405. }
  406. .select2-locked {
  407. padding: 3px 5px 3px 5px !important;
  408. }
  409. .select2-container-multi .select2-choices {
  410. min-height: 26px;
  411. }
  412. .select2-container-multi.select2-container-active .select2-choices {
  413. border: 1px solid #5897fb;
  414. outline: none;
  415. -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  416. box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  417. }
  418. .select2-container-multi .select2-choices li {
  419. float: left;
  420. list-style: none;
  421. }
  422. html[dir="rtl"] .select2-container-multi .select2-choices li
  423. {
  424. float: right;
  425. }
  426. .select2-container-multi .select2-choices .select2-search-field {
  427. margin: 0;
  428. padding: 0;
  429. white-space: nowrap;
  430. }
  431. .select2-container-multi .select2-choices .select2-search-field input {
  432. padding: 5px;
  433. margin: 1px 0;
  434. font-family: sans-serif;
  435. font-size: 100%;
  436. color: #666;
  437. outline: 0;
  438. border: 0;
  439. -webkit-box-shadow: none;
  440. box-shadow: none;
  441. background: transparent !important;
  442. }
  443. .select2-container-multi .select2-choices .select2-search-field input.select2-active {
  444. background: #fff url('../bundles/sonatacore/vendor/select2/select2-spinner.gif') no-repeat 100% !important;
  445. }
  446. .select2-default {
  447. color: #999 !important;
  448. }
  449. .select2-container-multi .select2-choices .select2-search-choice {
  450. padding: 3px 5px 3px 18px;
  451. margin: 3px 0 3px 5px;
  452. position: relative;
  453. line-height: 13px;
  454. color: #333;
  455. cursor: default;
  456. border: 1px solid #aaaaaa;
  457. border-radius: 3px;
  458. -webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  459. box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
  460. background-clip: padding-box;
  461. -webkit-touch-callout: none;
  462. -webkit-user-select: none;
  463. -moz-user-select: none;
  464. -ms-user-select: none;
  465. user-select: none;
  466. background-color: #e4e4e4;
  467. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
  468. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
  469. background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  470. background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  471. background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
  472. }
  473. html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
  474. {
  475. margin: 3px 5px 3px 0;
  476. padding: 3px 18px 3px 5px;
  477. }
  478. .select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
  479. cursor: default;
  480. }
  481. .select2-container-multi .select2-choices .select2-search-choice-focus {
  482. background: #d4d4d4;
  483. }
  484. .select2-search-choice-close {
  485. display: block;
  486. width: 12px;
  487. height: 13px;
  488. position: absolute;
  489. right: 3px;
  490. top: 4px;
  491. font-size: 1px;
  492. outline: none;
  493. background: url('../bundles/sonatacore/vendor/select2/select2.png') right top no-repeat;
  494. }
  495. html[dir="rtl"] .select2-search-choice-close {
  496. right: auto;
  497. left: 3px;
  498. }
  499. .select2-container-multi .select2-search-choice-close {
  500. left: 3px;
  501. }
  502. html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
  503. left: auto;
  504. right: 2px;
  505. }
  506. .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
  507. background-position: right -11px;
  508. }
  509. .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
  510. background-position: right -11px;
  511. }
  512. /* disabled styles */
  513. .select2-container-multi.select2-container-disabled .select2-choices {
  514. background-color: #f4f4f4;
  515. background-image: none;
  516. border: 1px solid #ddd;
  517. cursor: default;
  518. }
  519. .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
  520. padding: 3px 5px 3px 5px;
  521. border: 1px solid #ddd;
  522. background-image: none;
  523. background-color: #f4f4f4;
  524. }
  525. .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
  526. background: none;
  527. }
  528. /* end multiselect */
  529. .select2-result-selectable .select2-match,
  530. .select2-result-unselectable .select2-match {
  531. text-decoration: underline;
  532. }
  533. .select2-offscreen, .select2-offscreen:focus {
  534. clip: rect(0 0 0 0) !important;
  535. width: 1px !important;
  536. height: 1px !important;
  537. border: 0 !important;
  538. margin: 0 !important;
  539. padding: 0 !important;
  540. overflow: hidden !important;
  541. position: absolute !important;
  542. outline: 0 !important;
  543. left: 0px !important;
  544. top: 0px !important;
  545. }
  546. .select2-display-none {
  547. display: none;
  548. }
  549. .select2-measure-scrollbar {
  550. position: absolute;
  551. top: -10000px;
  552. left: -10000px;
  553. width: 100px;
  554. height: 100px;
  555. overflow: scroll;
  556. }
  557. /* Retina-ize icons */
  558. @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
  559. .select2-search input,
  560. .select2-search-choice-close,
  561. .select2-container .select2-choice abbr,
  562. .select2-container .select2-choice .select2-arrow b {
  563. background-image: url('../bundles/sonatacore/vendor/select2/select2x2.png') !important;
  564. background-repeat: no-repeat !important;
  565. background-size: 60px 40px !important;
  566. }
  567. .select2-search input {
  568. background-position: 100% -21px !important;
  569. }
  570. }