Le repo des sources pour le site web des JM2L
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 

616 řádky
17 KiB

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