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.

1103 lines
26 KiB

9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 1.11.4 - Dropdown
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Dropdown
  13. *******************************/
  14. .ui.dropdown {
  15. cursor: pointer;
  16. position: relative;
  17. display: inline-block;
  18. line-height: 1em;
  19. tap-highlight-color: rgba(0, 0, 0, 0);
  20. outline: none;
  21. text-align: left;
  22. -webkit-transition: border-radius 0.1s ease, width 0.2s ease;
  23. transition: border-radius 0.1s ease, width 0.2s ease;
  24. }
  25. /*******************************
  26. Content
  27. *******************************/
  28. /*--------------
  29. Menu
  30. ---------------*/
  31. .ui.dropdown .menu {
  32. cursor: auto;
  33. position: absolute;
  34. display: none;
  35. outline: none;
  36. top: 100%;
  37. margin: 0em;
  38. padding: 0em 0em;
  39. background: #ffffff;
  40. min-width: 100%;
  41. white-space: nowrap;
  42. font-size: 1rem;
  43. text-shadow: none;
  44. text-align: left;
  45. box-shadow: 0px 1px 4px 0px rgba(39, 41, 43, 0.15);
  46. border: 1px solid rgba(39, 41, 43, 0.15);
  47. border-radius: 0em 0em 0.2857rem 0.2857rem;
  48. -webkit-transition: opacity 0.2s ease;
  49. transition: opacity 0.2s ease;
  50. z-index: 11;
  51. will-change: transform, opacity;
  52. }
  53. /*--------------
  54. Hidden Input
  55. ---------------*/
  56. .ui.dropdown > input:not(.search):first-child,
  57. .ui.dropdown > select {
  58. display: none !important;
  59. }
  60. /*--------------
  61. Dropdown Icon
  62. ---------------*/
  63. .ui.dropdown > .dropdown.icon {
  64. width: auto;
  65. margin: 0em 0em 0em 1em;
  66. }
  67. .ui.dropdown .menu > .item .dropdown.icon {
  68. width: auto;
  69. float: right;
  70. margin: 0.2em 0em 0em 1em;
  71. }
  72. .ui.dropdown .menu > .item .dropdown.icon + .text {
  73. margin-right: 1em;
  74. }
  75. /*--------------
  76. Text
  77. ---------------*/
  78. .ui.dropdown > .text {
  79. display: inline-block;
  80. -webkit-transition: color 0.2s ease;
  81. transition: color 0.2s ease;
  82. }
  83. /*--------------
  84. Menu Item
  85. ---------------*/
  86. .ui.dropdown .menu > .item {
  87. position: relative;
  88. cursor: pointer;
  89. display: block;
  90. border: none;
  91. height: auto;
  92. border-top: none;
  93. line-height: 1.2em;
  94. color: rgba(0, 0, 0, 0.8);
  95. padding: 0.65rem 1.25rem !important;
  96. font-size: 1rem;
  97. text-transform: none;
  98. font-weight: normal;
  99. box-shadow: none;
  100. -webkit-touch-callout: none;
  101. }
  102. .ui.dropdown .menu > .item:first-child {
  103. border-top-width: 0px;
  104. }
  105. /*--------------
  106. Floated Content
  107. ---------------*/
  108. .ui.dropdown > .text > [class*="right floated"],
  109. .ui.dropdown .menu .item > [class*="right floated"] {
  110. float: right !important;
  111. margin-right: 0em !important;
  112. margin-left: 1em !important;
  113. }
  114. .ui.dropdown > .text > [class*="left floated"],
  115. .ui.dropdown .menu .item > [class*="left floated"] {
  116. float: left !important;
  117. margin-left: 0em !important;
  118. margin-right: 1em !important;
  119. }
  120. .ui.dropdown .menu .item > .icon.floated,
  121. .ui.dropdown .menu .item > .flag.floated,
  122. .ui.dropdown .menu .item > .image.floated,
  123. .ui.dropdown .menu .item > img.floated {
  124. margin-top: 0.2em;
  125. }
  126. /*--------------
  127. Menu Divider
  128. ---------------*/
  129. .ui.dropdown .menu > .header {
  130. margin: 1rem 0rem 0.75rem;
  131. padding: 0em 1.25rem;
  132. color: rgba(0, 0, 0, 0.85);
  133. font-size: 0.8em;
  134. font-weight: bold;
  135. text-transform: uppercase;
  136. }
  137. .ui.dropdown .menu > .divider {
  138. border-top: 1px solid rgba(0, 0, 0, 0.05);
  139. height: 0em;
  140. margin: 0.5em 0em;
  141. }
  142. .ui.dropdown .menu > .input {
  143. margin: 0.75rem 1.25rem;
  144. min-width: 200px;
  145. }
  146. .ui.dropdown .menu > .header + .input {
  147. margin-top: 0em;
  148. }
  149. .ui.dropdown .menu > .input:not(.transparent) input {
  150. padding: 0.5em 1em;
  151. }
  152. .ui.dropdown .menu > .input:not(.transparent) .button,
  153. .ui.dropdown .menu > .input:not(.transparent) .icon,
  154. .ui.dropdown .menu > .input:not(.transparent) .label {
  155. padding-top: 0.5em;
  156. padding-bottom: 0.5em;
  157. }
  158. /*-----------------
  159. Item Description
  160. -------------------*/
  161. .ui.dropdown > .text > .description,
  162. .ui.dropdown .menu > .item > .description {
  163. margin: 0em 0em 0em 1em;
  164. color: rgba(0, 0, 0, 0.4);
  165. }
  166. /*--------------
  167. Sub Menu
  168. ---------------*/
  169. .ui.dropdown .menu .menu {
  170. top: 0% !important;
  171. left: 100% !important;
  172. right: auto !important;
  173. margin: 0em 0em 0em -0.5em !important;
  174. border-radius: 0em 0.2857rem 0.2857rem 0em !important;
  175. z-index: 21 !important;
  176. }
  177. /* Hide Arrow */
  178. .ui.dropdown .menu .menu:after {
  179. display: none;
  180. }
  181. /*******************************
  182. Coupling
  183. *******************************/
  184. /*--------------
  185. Sub Elements
  186. ---------------*/
  187. /* Icons / Flags / Labels / Image */
  188. .ui.dropdown > .text > .icon,
  189. .ui.dropdown > .text > .label,
  190. .ui.dropdown > .text > .flag,
  191. .ui.dropdown > .text > img,
  192. .ui.dropdown > .text > .image {
  193. margin-top: 0em;
  194. }
  195. .ui.dropdown .menu > .item > .icon,
  196. .ui.dropdown .menu > .item > .label,
  197. .ui.dropdown .menu > .item > .flag,
  198. .ui.dropdown .menu > .item > .image,
  199. .ui.dropdown .menu > .item > img {
  200. margin-top: 0.2em;
  201. }
  202. .ui.dropdown > .text > .icon,
  203. .ui.dropdown > .text > .label,
  204. .ui.dropdown > .text > .flag,
  205. .ui.dropdown > .text > img,
  206. .ui.dropdown > .text > .image,
  207. .ui.dropdown .menu > .item > .icon,
  208. .ui.dropdown .menu > .item > .label,
  209. .ui.dropdown .menu > .item > .flag,
  210. .ui.dropdown .menu > .item > .image,
  211. .ui.dropdown .menu > .item > img {
  212. margin-left: 0em;
  213. margin-right: 0.75em;
  214. }
  215. /*--------------
  216. Image
  217. ---------------*/
  218. .ui.dropdown > .text > img,
  219. .ui.dropdown > .text > .image,
  220. .ui.dropdown .menu > .item > .image,
  221. .ui.dropdown .menu > .item > img {
  222. display: inline-block;
  223. vertical-align: middle;
  224. width: auto;
  225. max-height: 2.5em;
  226. }
  227. /*--------------
  228. Menu
  229. ---------------*/
  230. /* Remove Menu Item Divider */
  231. .ui.dropdown .ui.menu > .item:before,
  232. .ui.menu .ui.dropdown .menu > .item:before {
  233. display: none;
  234. }
  235. /* Prevent Menu Item Border */
  236. .ui.menu .ui.dropdown .menu .active.item {
  237. border-left: none;
  238. }
  239. /* Automatically float dropdown menu right on last menu item */
  240. .ui.menu .right.menu .dropdown:last-child .menu,
  241. .ui.menu .right.dropdown.item .menu,
  242. .ui.buttons > .ui.dropdown:last-child .menu {
  243. left: auto;
  244. right: 0em;
  245. }
  246. /*--------------
  247. Button
  248. ---------------*/
  249. /* No Margin On Icon Button */
  250. .ui.dropdown.icon.button > .dropdown.icon {
  251. margin: 0em;
  252. }
  253. .ui.dropdown.button:not(.pointing):not(.floating).active,
  254. .ui.dropdown.button:not(.pointing):not(.floating).visible {
  255. border-bottom-left-radius: 0em;
  256. border-bottom-right-radius: 0em;
  257. }
  258. /*******************************
  259. Types
  260. *******************************/
  261. /*--------------
  262. Selection
  263. ---------------*/
  264. /* Displays like a select box */
  265. .ui.selection.dropdown {
  266. cursor: pointer;
  267. word-wrap: break-word;
  268. white-space: normal;
  269. outline: 0;
  270. -webkit-transform: rotateZ(0deg);
  271. transform: rotateZ(0deg);
  272. min-width: 180px;
  273. background: #ffffff;
  274. display: inline-block;
  275. padding: 0.8em 1.1em;
  276. color: rgba(0, 0, 0, 0.8);
  277. box-shadow: none;
  278. border: 1px solid rgba(39, 41, 43, 0.15);
  279. border-radius: 0.2857rem;
  280. -webkit-transition: border-radius 0.1s ease, width 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  281. transition: border-radius 0.1s ease, width 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  282. }
  283. .ui.selection.dropdown.visible,
  284. .ui.selection.dropdown.active {
  285. z-index: 10;
  286. }
  287. select.ui.dropdown {
  288. height: 38px;
  289. padding: 0.5em;
  290. border: 1px solid rgba(39, 41, 43, 0.15);
  291. visibility: visible;
  292. }
  293. .ui.selection.dropdown > .text {
  294. margin-right: 2em;
  295. }
  296. .ui.selection.dropdown > .search.icon,
  297. .ui.selection.dropdown > .delete.icon,
  298. .ui.selection.dropdown > .dropdown.icon {
  299. cursor: pointer;
  300. position: absolute;
  301. top: auto;
  302. width: auto;
  303. margin: -0.8em;
  304. padding: 0.8em;
  305. right: 1.1em;
  306. opacity: 0.8;
  307. -webkit-transition: opacity 0.2s ease;
  308. transition: opacity 0.2s ease;
  309. }
  310. /* Compact */
  311. .ui.compact.selection.dropdown {
  312. min-width: 0px;
  313. }
  314. /* Selection Menu */
  315. .ui.selection.dropdown .menu {
  316. overflow-x: hidden;
  317. overflow-y: auto;
  318. -webkit-backface-visibility: hidden;
  319. backface-visibility: hidden;
  320. -webkit-overflow-scrolling: touch;
  321. border-top-width: 0px !important;
  322. width: auto;
  323. margin: 0px -1px;
  324. min-width: -webkit-calc(100% + 2px );
  325. min-width: calc(100% + 2px );
  326. outline: none;
  327. box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
  328. -webkit-transition: box-shadow 0.2s ease, border 0.2s ease;
  329. transition: box-shadow 0.2s ease, border 0.2s ease;
  330. }
  331. .ui.selection.dropdown .menu:after,
  332. .ui.selection.dropdown .menu:before {
  333. display: none;
  334. }
  335. /* Scrollbar in IE */
  336. @media all and (-ms-high-contrast: none) {
  337. .ui.selection.dropdown .menu {
  338. min-width: -webkit-calc(85%);
  339. min-width: calc(85%);
  340. }
  341. }
  342. @media only screen and (max-width: 767px) {
  343. .ui.selection.dropdown .menu {
  344. max-height: 7.7142rem;
  345. }
  346. }
  347. @media only screen and (min-width: 768px) {
  348. .ui.selection.dropdown .menu {
  349. max-height: 10.2856rem;
  350. }
  351. }
  352. @media only screen and (min-width: 992px) {
  353. .ui.selection.dropdown .menu {
  354. max-height: 15.4284rem;
  355. }
  356. }
  357. @media only screen and (min-width: 1920px) {
  358. .ui.selection.dropdown .menu {
  359. max-height: 20.5712rem;
  360. }
  361. }
  362. /* Menu Item */
  363. .ui.selection.dropdown .menu > .item {
  364. border-top: 1px solid rgba(0, 0, 0, 0.05);
  365. padding-left: 1.1em !important;
  366. /* Add in spacing for scroll bar */
  367. padding-right: -webkit-calc(2.1em) !important;
  368. padding-right: calc(2.1em) !important;
  369. white-space: normal;
  370. word-wrap: normal;
  371. }
  372. /* Hover */
  373. .ui.selection.dropdown:hover {
  374. border-color: rgba(39, 41, 43, 0.3);
  375. box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
  376. }
  377. /* Disabled */
  378. .ui.selection.dropdown.disabled,
  379. .ui.selection.dropdown.disabled:hover {
  380. cursor: default;
  381. box-shadow: none;
  382. color: rgba(0, 0, 0, 0.8);
  383. border: 1px solid rgba(39, 41, 43, 0.15);
  384. opacity: 0.3 !important;
  385. }
  386. /* Visible Hover */
  387. .ui.selection.visible.dropdown:hover {
  388. border-color: rgba(39, 41, 43, 0.3);
  389. box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
  390. }
  391. .ui.selection.visible.dropdown:hover .menu {
  392. border: 1px solid rgba(39, 41, 43, 0.3);
  393. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
  394. }
  395. /* Visible */
  396. .ui.selection.dropdown.visible {
  397. border-color: rgba(39, 41, 43, 0.15);
  398. box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
  399. }
  400. /* Active Item */
  401. .ui.selection.active.dropdown > .text:not(.default),
  402. .ui.selection.visible.dropdown > .text:not(.default) {
  403. font-weight: normal;
  404. color: rgba(0, 0, 0, 0.8);
  405. }
  406. /* Dropdown Icon */
  407. .ui.active.selection.dropdown > .dropdown.icon,
  408. .ui.visible.selection.dropdown > .dropdown.icon {
  409. opacity: 1;
  410. z-index: 3;
  411. }
  412. /* Connecting Border */
  413. .ui.active.selection.dropdown,
  414. .ui.visible.selection.dropdown {
  415. border-bottom-left-radius: 0em !important;
  416. border-bottom-right-radius: 0em !important;
  417. }
  418. /*--------------
  419. Searchable
  420. ---------------*/
  421. /* Search Selection */
  422. .ui.search.dropdown {
  423. min-width: '';
  424. }
  425. /* Search Dropdown */
  426. .ui.search.dropdown > input.search {
  427. background: none transparent !important;
  428. border: none !important;
  429. box-shadow: none !important;
  430. border-radius: 0em !important;
  431. cursor: pointer;
  432. top: 0em;
  433. left: 0em;
  434. width: 100%;
  435. outline: none;
  436. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  437. padding: inherit;
  438. }
  439. /* Text Layering */
  440. .ui.search.dropdown > input.search {
  441. position: absolute;
  442. z-index: 2;
  443. }
  444. .ui.search.dropdown > .text {
  445. cursor: text;
  446. position: relative;
  447. z-index: 3;
  448. }
  449. /* Search Selection */
  450. .ui.search.selection.dropdown > input.search {
  451. line-height: 1.2142em;
  452. padding: 0.6929em 1.1em;
  453. }
  454. /* Active/Visible Search */
  455. .ui.search.dropdown.active > input.search,
  456. .ui.search.dropdown.visible > input.search {
  457. cursor: auto;
  458. }
  459. .ui.search.dropdown.active > .text,
  460. .ui.search.dropdown.visible > .text {
  461. pointer-events: none;
  462. }
  463. .ui.active.search.dropdown > input.search:focus + .text {
  464. color: rgba(0, 0, 0, 0.4) !important;
  465. }
  466. /* Search Menu */
  467. .ui.search.dropdown .menu {
  468. overflow-x: hidden;
  469. overflow-y: auto;
  470. -webkit-backface-visibility: hidden;
  471. backface-visibility: hidden;
  472. -webkit-overflow-scrolling: touch;
  473. }
  474. @media only screen and (max-width: 767px) {
  475. .ui.search.dropdown .menu {
  476. max-height: 7.7142rem;
  477. }
  478. }
  479. @media only screen and (min-width: 768px) {
  480. .ui.search.dropdown .menu {
  481. max-height: 10.2856rem;
  482. }
  483. }
  484. @media only screen and (min-width: 992px) {
  485. .ui.search.dropdown .menu {
  486. max-height: 15.4284rem;
  487. }
  488. }
  489. @media only screen and (min-width: 1920px) {
  490. .ui.search.dropdown .menu {
  491. max-height: 20.5712rem;
  492. }
  493. }
  494. /*--------------
  495. Inline
  496. ---------------*/
  497. .ui.inline.dropdown {
  498. cursor: pointer;
  499. display: inline-block;
  500. color: inherit;
  501. }
  502. .ui.inline.dropdown .dropdown.icon {
  503. margin: 0em 0.5em 0em 0.25em;
  504. vertical-align: top;
  505. }
  506. .ui.inline.dropdown > .text {
  507. font-weight: bold;
  508. }
  509. .ui.inline.dropdown .menu {
  510. cursor: auto;
  511. margin-top: 0.25em;
  512. border-radius: 0.2857rem;
  513. }
  514. /*******************************
  515. States
  516. *******************************/
  517. /*--------------------
  518. Hover
  519. ----------------------*/
  520. /* Menu Item Hover */
  521. .ui.dropdown .menu > .item:hover {
  522. background: rgba(0, 0, 0, 0.05);
  523. color: rgba(0, 0, 0, 0.8);
  524. z-index: 12;
  525. }
  526. /*--------------------
  527. Active
  528. ----------------------*/
  529. /* Menu Item Active */
  530. .ui.dropdown .menu .active.item {
  531. background: transparent;
  532. font-weight: bold;
  533. color: rgba(0, 0, 0, 0.8);
  534. box-shadow: none;
  535. z-index: 12;
  536. }
  537. /*--------------------
  538. Default Text
  539. ----------------------*/
  540. .ui.dropdown > .default.text,
  541. .ui.default.dropdown > .text {
  542. color: rgba(179, 179, 179, 0.7);
  543. }
  544. .ui.dropdown:hover > .default.text,
  545. .ui.default.dropdown:hover > .text {
  546. color: rgba(140, 140, 140, 0.7);
  547. }
  548. /*--------------------
  549. Loading
  550. ----------------------*/
  551. .ui.loading.dropdown > .text {
  552. -webkit-transition: none;
  553. transition: none;
  554. }
  555. .ui.dropdown > .loading.menu {
  556. display: block;
  557. visibility: hidden;
  558. z-index: -1;
  559. }
  560. /*--------------------
  561. Keyboard Select
  562. ----------------------*/
  563. /* Selected Item */
  564. .ui.dropdown.selected,
  565. .ui.dropdown .menu .selected.item {
  566. background: rgba(0, 0, 0, 0.03);
  567. color: rgba(0, 0, 0, 0.8);
  568. }
  569. /*--------------------
  570. Search Filtered
  571. ----------------------*/
  572. /* Filtered Item */
  573. .ui.dropdown > .filtered.text {
  574. visibility: hidden;
  575. }
  576. .ui.dropdown .filtered.item {
  577. display: none;
  578. }
  579. /*--------------------
  580. Error
  581. ----------------------*/
  582. .ui.dropdown.error,
  583. .ui.dropdown.error > .text,
  584. .ui.dropdown.error > .default.text {
  585. color: #a94442;
  586. }
  587. .ui.selection.dropdown.error {
  588. background: #fff0f0;
  589. border-color: #dbb1b1;
  590. }
  591. .ui.selection.dropdown.error:hover {
  592. border-color: #dbb1b1;
  593. }
  594. .ui.dropdown.error > .menu,
  595. .ui.dropdown.error > .menu .menu {
  596. border-color: #dbb1b1;
  597. }
  598. .ui.dropdown.error > .menu > .item {
  599. color: #d95c5c;
  600. }
  601. /* Item Hover */
  602. .ui.dropdown.error > .menu > .item:hover {
  603. background-color: #fff2f2;
  604. }
  605. /* Item Active */
  606. .ui.dropdown.error > .menu .active.item {
  607. background-color: #fdcfcf;
  608. }
  609. /*--------------------
  610. Disabled
  611. ----------------------*/
  612. /* Disabled */
  613. .ui.disabled.dropdown {
  614. cursor: default;
  615. pointer-events: none;
  616. opacity: 0.3;
  617. }
  618. /*******************************
  619. Variations
  620. *******************************/
  621. /*--------------
  622. Direction
  623. ---------------*/
  624. /* Flyout Direction */
  625. .ui.dropdown .menu {
  626. left: 0px;
  627. }
  628. /* Default Side (Right) */
  629. .ui.dropdown .right.menu > .menu,
  630. .ui.dropdown .menu .right.menu {
  631. left: 100% !important;
  632. right: auto !important;
  633. }
  634. /* Left Flyout Menu */
  635. .ui.dropdown > .left.menu .menu,
  636. .ui.dropdown .menu .left.menu {
  637. left: auto !important;
  638. right: 100% !important;
  639. }
  640. .ui.dropdown .item .left.dropdown.icon,
  641. .ui.dropdown .left.menu .item .dropdown.icon {
  642. width: auto;
  643. float: left;
  644. margin: 0.2em 0.75em 0em 0em;
  645. }
  646. .ui.dropdown .item .left.dropdown.icon,
  647. .ui.dropdown .left.menu .item .dropdown.icon {
  648. width: auto;
  649. float: left;
  650. margin: 0.2em 0.75em 0em 0em;
  651. }
  652. .ui.dropdown .item .left.dropdown.icon + .text,
  653. .ui.dropdown .left.menu .item .dropdown.icon + .text {
  654. margin-left: 1em;
  655. }
  656. /*--------------
  657. Upward
  658. ---------------*/
  659. .ui.upward.dropdown > .menu {
  660. top: auto;
  661. bottom: 100%;
  662. box-shadow: 0px 0px 4px 0px rgba(39, 41, 43, 0.15);
  663. border-radius: 0.2857rem 0.2857rem 0em 0em;
  664. }
  665. /* Active Upward */
  666. .ui.simple.upward.active.dropdown,
  667. .ui.simple.upward.dropdown:hover {
  668. border-radius: 0.2857rem 0.2857rem 0em 0em !important;
  669. }
  670. .ui.upward.dropdown.button:not(.pointing):not(.floating).active,
  671. .ui.upward.dropdown.button:not(.pointing):not(.floating).visible {
  672. border-radius: 0.2857rem 0.2857rem 0em 0em;
  673. }
  674. /* Selection */
  675. .ui.upward.selection.dropdown .menu {
  676. border-top-width: 1px !important;
  677. border-bottom-width: 0px !important;
  678. }
  679. .ui.upward.selection.dropdown:hover {
  680. box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
  681. }
  682. .ui.upward.selection.visible.dropdown:hover {
  683. box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
  684. }
  685. .ui.active.upward.selection.dropdown,
  686. .ui.visible.upward.selection.dropdown {
  687. border-radius: 0em 0em 0.2857rem 0.2857rem !important;
  688. }
  689. .ui.upward.selection.dropdown.visible {
  690. box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
  691. }
  692. .ui.upward.selection.visible.dropdown:hover .menu {
  693. box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
  694. }
  695. /*--------------
  696. Simple
  697. ---------------*/
  698. /* Displays without javascript */
  699. .ui.simple.dropdown .menu:before,
  700. .ui.simple.dropdown .menu:after {
  701. display: none;
  702. }
  703. .ui.simple.dropdown .menu {
  704. position: absolute;
  705. display: block;
  706. overflow: hidden;
  707. top: -9999px !important;
  708. opacity: 0;
  709. width: 0;
  710. height: 0;
  711. -webkit-transition: opacity 0.2s ease;
  712. transition: opacity 0.2s ease;
  713. }
  714. .ui.simple.active.dropdown,
  715. .ui.simple.dropdown:hover {
  716. border-bottom-left-radius: 0em !important;
  717. border-bottom-right-radius: 0em !important;
  718. }
  719. .ui.simple.active.dropdown > .menu,
  720. .ui.simple.dropdown:hover > .menu {
  721. overflow: visible;
  722. width: auto;
  723. height: auto;
  724. top: 100% !important;
  725. opacity: 1;
  726. }
  727. .ui.simple.dropdown > .menu > .item:active > .menu,
  728. .ui.simple.dropdown:hover > .menu > .item:hover > .menu {
  729. overflow: visible;
  730. width: auto;
  731. height: auto;
  732. top: 0% !important;
  733. left: 100% !important;
  734. opacity: 1;
  735. }
  736. .ui.simple.disabled.dropdown:hover .menu {
  737. display: none;
  738. height: 0px;
  739. width: 0px;
  740. overflow: hidden;
  741. }
  742. /* Visible */
  743. .ui.simple.visible.dropdown > .menu {
  744. display: block;
  745. }
  746. /*--------------
  747. Fluid
  748. ---------------*/
  749. .ui.fluid.dropdown {
  750. display: block;
  751. width: 100%;
  752. min-width: 0em;
  753. }
  754. .ui.fluid.dropdown > .dropdown.icon {
  755. float: right;
  756. }
  757. /*--------------
  758. Floating
  759. ---------------*/
  760. .ui.floating.dropdown .menu {
  761. left: 0;
  762. right: auto;
  763. box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
  764. border-radius: 0.2857rem;
  765. }
  766. .ui.floating.dropdown > .menu {
  767. margin-top: 0.5em !important;
  768. }
  769. /*--------------
  770. Pointing
  771. ---------------*/
  772. .ui.pointing.dropdown > .menu {
  773. top: 100%;
  774. margin-top: 0.75em;
  775. border-radius: 0.2857rem;
  776. }
  777. .ui.pointing.dropdown > .menu:after {
  778. display: block;
  779. position: absolute;
  780. pointer-events: none;
  781. content: '';
  782. visibility: visible;
  783. -webkit-transform: rotate(45deg);
  784. -ms-transform: rotate(45deg);
  785. transform: rotate(45deg);
  786. width: 0.5em;
  787. height: 0.5em;
  788. box-shadow: -1px -1px 0px 1px rgba(0, 0, 0, 0.1);
  789. background: #ffffff;
  790. z-index: 2;
  791. }
  792. .ui.pointing.dropdown > .menu:after {
  793. top: -0.25em;
  794. left: 50%;
  795. margin: 0em 0em 0em -0.25em;
  796. }
  797. /* Top Left Pointing */
  798. .ui.top.left.pointing.dropdown > .menu {
  799. top: 100%;
  800. bottom: auto;
  801. left: 0%;
  802. right: auto;
  803. margin: 1em 0em 0em;
  804. }
  805. .ui.top.left.pointing.dropdown > .menu {
  806. top: 100%;
  807. bottom: auto;
  808. left: 0%;
  809. right: auto;
  810. margin: 1em 0em 0em;
  811. }
  812. .ui.top.left.pointing.dropdown > .menu:after {
  813. top: -0.25em;
  814. left: 1em;
  815. right: auto;
  816. margin: 0em;
  817. -webkit-transform: rotate(45deg);
  818. -ms-transform: rotate(45deg);
  819. transform: rotate(45deg);
  820. }
  821. /* Top Right Pointing */
  822. .ui.top.right.pointing.dropdown > .menu {
  823. top: 100%;
  824. bottom: auto;
  825. right: 0%;
  826. left: auto;
  827. margin: 1em 0em 0em;
  828. }
  829. .ui.top.right.pointing.dropdown > .menu:after {
  830. top: -0.25em;
  831. left: auto;
  832. right: 1em;
  833. margin: 0em;
  834. -webkit-transform: rotate(45deg);
  835. -ms-transform: rotate(45deg);
  836. transform: rotate(45deg);
  837. }
  838. /* Left Pointing */
  839. .ui.left.pointing.dropdown > .menu {
  840. top: 0%;
  841. left: 100%;
  842. right: auto;
  843. margin: 0em 0em 0em 1em;
  844. }
  845. .ui.left.pointing.dropdown > .menu:after {
  846. top: 1em;
  847. left: -0.25em;
  848. margin: 0em 0em 0em 0em;
  849. -webkit-transform: rotate(-45deg);
  850. -ms-transform: rotate(-45deg);
  851. transform: rotate(-45deg);
  852. }
  853. /* Right Pointing */
  854. .ui.right.pointing.dropdown > .menu {
  855. top: 0%;
  856. left: auto;
  857. right: 100%;
  858. margin: 0em 1em 0em 0em;
  859. }
  860. .ui.right.pointing.dropdown > .menu:after {
  861. top: 1em;
  862. left: auto;
  863. right: -0.25em;
  864. margin: 0em 0em 0em 0em;
  865. -webkit-transform: rotate(135deg);
  866. -ms-transform: rotate(135deg);
  867. transform: rotate(135deg);
  868. }
  869. /* Bottom Pointing */
  870. .ui.bottom.pointing.dropdown > .menu {
  871. top: auto;
  872. bottom: 100%;
  873. left: 0%;
  874. right: auto;
  875. margin: 0em 0em 1em;
  876. }
  877. .ui.bottom.pointing.dropdown > .menu:after {
  878. top: auto;
  879. bottom: -0.25em;
  880. right: auto;
  881. margin: 0em;
  882. -webkit-transform: rotate(-135deg);
  883. -ms-transform: rotate(-135deg);
  884. transform: rotate(-135deg);
  885. }
  886. /* Reverse Sub-Menu Direction */
  887. .ui.bottom.pointing.dropdown > .menu .menu {
  888. top: auto !important;
  889. bottom: 0px !important;
  890. }
  891. /* Bottom Left */
  892. .ui.bottom.left.pointing.dropdown > .menu {
  893. left: 0%;
  894. right: auto;
  895. }
  896. .ui.bottom.left.pointing.dropdown > .menu:after {
  897. left: 1em;
  898. right: auto;
  899. }
  900. /* Bottom Right */
  901. .ui.bottom.right.pointing.dropdown > .menu {
  902. right: 0%;
  903. left: auto;
  904. }
  905. .ui.bottom.right.pointing.dropdown > .menu:after {
  906. left: auto;
  907. right: 1em;
  908. }
  909. /*******************************
  910. Theme Overrides
  911. *******************************/
  912. /* Dropdown Carets */
  913. @font-face {
  914. font-family: 'Dropdown';
  915. src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfuIIAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zjo82LgAAAFwAAABVGhlYWQAQ88bAAACxAAAADZoaGVhAwcB6QAAAvwAAAAkaG10eAS4ABIAAAMgAAAAIGxvY2EBNgDeAAADQAAAABJtYXhwAAoAFgAAA1QAAAAgbmFtZVcZpu4AAAN0AAABRXBvc3QAAwAAAAAEvAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADw2gHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIPDa//3//wAAAAAAIPDX//3//wAB/+MPLQADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAIABJQElABMAABM0NzY3BTYXFhUUDwEGJwYvASY1AAUGBwEACAUGBoAFCAcGgAUBEgcGBQEBAQcECQYHfwYBAQZ/BwYAAQAAAG4BJQESABMAADc0PwE2MzIfARYVFAcGIyEiJyY1AAWABgcIBYAGBgUI/wAHBgWABwaABQWABgcHBgUFBgcAAAABABIASQC3AW4AEwAANzQ/ATYXNhcWHQEUBwYnBi8BJjUSBoAFCAcFBgYFBwgFgAbbBwZ/BwEBBwQJ/wgEBwEBB38GBgAAAAABAAAASQClAW4AEwAANxE0NzYzMh8BFhUUDwEGIyInJjUABQYHCAWABgaABQgHBgVbAQAIBQYGgAUIBwWABgYFBwAAAAEAAAABAADZuaKOXw889QALAgAAAAAA0ABHWAAAAADQAEdYAAAAAAElAW4AAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAASUAAQAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAAAAACgAUAB4AQgBkAIgAqgAAAAEAAAAIABQAAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAOAAAAAQAAAAAAAgAOAEcAAQAAAAAAAwAOACQAAQAAAAAABAAOAFUAAQAAAAAABQAWAA4AAQAAAAAABgAHADIAAQAAAAAACgA0AGMAAwABBAkAAQAOAAAAAwABBAkAAgAOAEcAAwABBAkAAwAOACQAAwABBAkABAAOAFUAAwABBAkABQAWAA4AAwABBAkABgAOADkAAwABBAkACgA0AGMAaQBjAG8AbQBvAG8AbgBWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbQBvAG8Abmljb21vb24AaQBjAG8AbQBvAG8AbgBSAGUAZwB1AGwAYQByAGkAYwBvAG0AbwBvAG4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAAVwAAoAAAAABSgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAdkAAAHZLDXE/09TLzIAAALQAAAAYAAAAGAIIweQY21hcAAAAzAAAABMAAAATA9+4ghnYXNwAAADfAAAAAgAAAAIAAAAEGhlYWQAAAOEAAAANgAAADYAQ88baGhlYQAAA7wAAAAkAAAAJAMHAelobXR4AAAD4AAAACAAAAAgBLgAEm1heHAAAAQAAAAABgAAAAYACFAAbmFtZQAABAgAAAFFAAABRVcZpu5wb3N0AAAFUAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAACIDx0AAACNER0AAAAJHQAAAdASAAkBAQgPERMWGyAlKmljb21vb25pY29tb29udTB1MXUyMHVGMEQ3dUYwRDh1RjBEOXVGMERBAAACAYkABgAIAgABAAQABwAKAA0AVgCfAOgBL/yUDvyUDvyUDvuUDvtvi/emFYuQjZCOjo+Pj42Qiwj3lIsFkIuQiY6Hj4iNhouGi4aJh4eHCPsU+xQFiIiGiYaLhouHjYeOCPsU9xQFiI+Jj4uQCA77b4v3FBWLkI2Pjo8I9xT3FAWPjo+NkIuQi5CJjogI9xT7FAWPh42Hi4aLhomHh4eIiIaJhosI+5SLBYaLh42HjoiPiY+LkAgO+92d928Vi5CNkI+OCPcU9xQFjo+QjZCLkIuPiY6Hj4iNhouGCIv7lAWLhomHh4iIh4eJhouGi4aNiI8I+xT3FAWHjomPi5AIDvvdi+YVi/eUBYuQjZCOjo+Pj42Qi5CLkImOhwj3FPsUBY+IjYaLhouGiYeHiAj7FPsUBYiHhomGi4aLh42Hj4iOiY+LkAgO+JQU+JQViwwKAAAAAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8NoB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABAA4AAAACgAIAAIAAgABACDw2v/9//8AAAAAACDw1//9//8AAf/jDy0AAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAABAAA5emozXw889QALAgAAAAAA0ABHWAAAAADQAEdYAAAAAAElAW4AAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAASUAAQAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAABAAAAASUAAAElAAAAtwASALcAAAAAUAAACAAAAAAADgCuAAEAAAAAAAEADgAAAAEAAAAAAAIADgBHAAEAAAAAAAMADgAkAAEAAAAAAAQADgBVAAEAAAAAAAUAFgAOAAEAAAAAAAYABwAyAAEAAAAAAAoANABjAAMAAQQJAAEADgAAAAMAAQQJAAIADgBHAAMAAQQJAAMADgAkAAMAAQQJAAQADgBVAAMAAQQJAAUAFgAOAAMAAQQJAAYADgA5AAMAAQQJAAoANABjAGkAYwBvAG0AbwBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG4AUgBlAGcAdQBsAGEAcgBpAGMAbwBtAG8AbwBuAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('woff');
  916. font-weight: normal;
  917. font-style: normal;
  918. }
  919. .ui.dropdown > .dropdown.icon {
  920. font-family: 'Dropdown';
  921. line-height: 1;
  922. height: 1em;
  923. width: 1.23em;
  924. -webkit-backface-visibility: hidden;
  925. backface-visibility: hidden;
  926. font-weight: normal;
  927. font-style: normal;
  928. text-align: center;
  929. }
  930. .ui.dropdown > .dropdown.icon {
  931. width: auto;
  932. }
  933. .ui.dropdown > .dropdown.icon:before {
  934. content: '\f0d7';
  935. }
  936. /* Sub Menu */
  937. .ui.dropdown .menu .item .dropdown.icon:before {
  938. content: '\f0da' /*rtl:'\f0d9'*/;
  939. }
  940. .ui.dropdown .item .left.dropdown.icon:before,
  941. .ui.dropdown .left.menu .item .dropdown.icon:before {
  942. content: "\f0d9" /*rtl:"\f0da"*/;
  943. }
  944. /* Upward Dropdown */
  945. .ui.upward.dropdown > .dropdown.icon:before {
  946. content: "\f0d8";
  947. }
  948. /* Vertical Menu Dropdown */
  949. .ui.vertical.menu .dropdown.item > .dropdown.icon:before {
  950. content: "\f0da" /*rtl:"\f0d9"*/;
  951. }
  952. /* Icons for Reference
  953. .dropdown.down.icon {
  954. content: "\f0d7";
  955. }
  956. .dropdown.up.icon {
  957. content: "\f0d8";
  958. }
  959. .dropdown.left.icon {
  960. content: "\f0d9";
  961. }
  962. .dropdown.icon.icon {
  963. content: "\f0da";
  964. }
  965. */
  966. /*******************************
  967. User Overrides
  968. *******************************/