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.

967 lines
23 KiB

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
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
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
  3. * https://github.com/Semantic-Org/Semantic-UI
  4. * http://www.semantic-ui.com/
  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(0, 0, 0, 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[type="hidden"],
  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 0.75em;
  71. }
  72. /*--------------
  73. Text
  74. ---------------*/
  75. .ui.dropdown > .text {
  76. display: inline-block;
  77. -webkit-transition: color 0.2s ease;
  78. transition: color 0.2s ease;
  79. }
  80. /*--------------
  81. Menu Item
  82. ---------------*/
  83. .ui.dropdown .menu > .item {
  84. position: relative;
  85. cursor: pointer;
  86. display: block;
  87. border: none;
  88. height: auto;
  89. border-top: none;
  90. line-height: 1.2em;
  91. color: rgba(0, 0, 0, 0.8);
  92. padding: 0.65rem 1.25rem !important;
  93. font-size: 1rem;
  94. text-transform: none;
  95. font-weight: normal;
  96. box-shadow: none;
  97. -webkit-touch-callout: none;
  98. }
  99. .ui.dropdown .menu > .item:first-child {
  100. border-top: none;
  101. }
  102. /*--------------
  103. Floated Content
  104. ---------------*/
  105. .ui.dropdown > .text > [class*="right floated"],
  106. .ui.dropdown .menu .item > [class*="right floated"] {
  107. float: right;
  108. margin-right: 0em;
  109. margin-left: 1em;
  110. }
  111. .ui.dropdown > .text > [class*="left floated"],
  112. .ui.dropdown .menu .item > [class*="left floated"] {
  113. float: right;
  114. margin-left: 0em;
  115. margin-right: 1em;
  116. }
  117. .ui.dropdown .menu .item > .icon.floated,
  118. .ui.dropdown .menu .item > .flag.floated,
  119. .ui.dropdown .menu .item > .image.floated,
  120. .ui.dropdown .menu .item > img.floated {
  121. margin-top: 0.2em;
  122. }
  123. /*--------------
  124. Menu Divider
  125. ---------------*/
  126. .ui.dropdown .menu > .header {
  127. margin: 1rem 0rem 0.75rem;
  128. padding: 0em 1.25rem;
  129. color: rgba(0, 0, 0, 0.85);
  130. font-size: 0.8em;
  131. font-weight: bold;
  132. text-transform: uppercase;
  133. }
  134. .ui.dropdown .menu > .divider {
  135. border-top: 1px solid rgba(0, 0, 0, 0.05);
  136. height: 0em;
  137. margin: 0.5em 0em;
  138. }
  139. .ui.dropdown .menu > .input {
  140. margin: 0.75rem 1.25rem;
  141. min-width: 200px;
  142. }
  143. .ui.dropdown .menu > .header + .input {
  144. margin-top: 0em;
  145. }
  146. .ui.dropdown .menu > .input:not(.transparent) input {
  147. padding: 0.5em 1em;
  148. }
  149. .ui.dropdown .menu > .input:not(.transparent) .button,
  150. .ui.dropdown .menu > .input:not(.transparent) .icon,
  151. .ui.dropdown .menu > .input:not(.transparent) .label {
  152. padding-top: 0.5em;
  153. padding-bottom: 0.5em;
  154. }
  155. /*-----------------
  156. Item Description
  157. -------------------*/
  158. .ui.dropdown > .text > .description,
  159. .ui.dropdown .menu > .item > .description {
  160. margin: 0em 0em 0em 1em;
  161. color: rgba(0, 0, 0, 0.4);
  162. }
  163. /*--------------
  164. Sub Menu
  165. ---------------*/
  166. .ui.dropdown .menu .menu {
  167. top: 0% !important;
  168. left: 100% !important;
  169. right: auto !important;
  170. margin: 0em 0em 0em -0.5em !important;
  171. border-radius: 0em 0.2857rem 0.2857rem 0em !important;
  172. z-index: 21 !important;
  173. }
  174. /* Hide Arrow */
  175. .ui.dropdown .menu .menu:after {
  176. display: none;
  177. }
  178. /*******************************
  179. Coupling
  180. *******************************/
  181. /*--------------
  182. Sub Elements
  183. ---------------*/
  184. /* Icons / Flags / Labels / Image */
  185. .ui.dropdown > .text > .icon,
  186. .ui.dropdown > .text > .label,
  187. .ui.dropdown > .text > .flag,
  188. .ui.dropdown > .text > img,
  189. .ui.dropdown > .text > .image {
  190. margin-top: 0em;
  191. }
  192. .ui.dropdown .menu > .item > .icon,
  193. .ui.dropdown .menu > .item > .label,
  194. .ui.dropdown .menu > .item > .flag,
  195. .ui.dropdown .menu > .item > .image,
  196. .ui.dropdown .menu > .item > img {
  197. margin-top: 0.2em;
  198. }
  199. .ui.dropdown > .text > .icon,
  200. .ui.dropdown > .text > .label,
  201. .ui.dropdown > .text > .flag,
  202. .ui.dropdown > .text > img,
  203. .ui.dropdown > .text > .image,
  204. .ui.dropdown .menu > .item > .icon,
  205. .ui.dropdown .menu > .item > .label,
  206. .ui.dropdown .menu > .item > .flag,
  207. .ui.dropdown .menu > .item > .image,
  208. .ui.dropdown .menu > .item > img {
  209. margin-left: 0em;
  210. margin-right: 0.75em;
  211. }
  212. /*--------------
  213. Image
  214. ---------------*/
  215. .ui.dropdown > .text > img,
  216. .ui.dropdown > .text > .image,
  217. .ui.dropdown .menu > .item > .image,
  218. .ui.dropdown .menu > .item > img {
  219. display: inline-block;
  220. vertical-align: middle;
  221. width: auto;
  222. max-height: 2.5em;
  223. }
  224. /*--------------
  225. Menu
  226. ---------------*/
  227. /* Remove Menu Item Divider */
  228. .ui.dropdown .ui.menu > .item:before,
  229. .ui.menu .ui.dropdown .menu > .item:before {
  230. display: none;
  231. }
  232. /* Prevent Menu Item Border */
  233. .ui.menu .ui.dropdown .menu .active.item {
  234. border-left: none;
  235. }
  236. /* Automatically float dropdown menu right on last menu item */
  237. .ui.menu .right.menu .dropdown:last-child .menu,
  238. .ui.menu .right.dropdown.item .menu,
  239. .ui.buttons > .ui.dropdown:last-child .menu {
  240. left: auto;
  241. right: 0em;
  242. }
  243. /*--------------
  244. Button
  245. ---------------*/
  246. /* No Margin On Icon Button */
  247. .ui.dropdown.icon.button > .dropdown.icon {
  248. margin: 0em;
  249. }
  250. .ui.dropdown.button:not(.pointing):not(.floating).active,
  251. .ui.dropdown.button:not(.pointing):not(.floating).visible {
  252. border-bottom-left-radius: 0em;
  253. border-bottom-right-radius: 0em;
  254. }
  255. /*******************************
  256. Types
  257. *******************************/
  258. /*--------------
  259. Selection
  260. ---------------*/
  261. /* Displays like a select box */
  262. .ui.selection.dropdown {
  263. cursor: pointer;
  264. word-wrap: break-word;
  265. white-space: normal;
  266. outline: 0;
  267. -webkit-transform: rotateZ(0deg);
  268. transform: rotateZ(0deg);
  269. min-width: 180px;
  270. background: #ffffff;
  271. display: inline-block;
  272. padding: 0.8em 1.1em;
  273. color: rgba(0, 0, 0, 0.8);
  274. box-shadow: none;
  275. border: 1px solid rgba(39, 41, 43, 0.15);
  276. border-radius: 0.2857rem;
  277. -webkit-transition: border-radius 0.1s ease, width 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  278. transition: border-radius 0.1s ease, width 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  279. }
  280. .ui.selection.dropdown.visible,
  281. .ui.selection.dropdown.active {
  282. z-index: 10;
  283. }
  284. select.ui.dropdown {
  285. height: 38px;
  286. padding: 0em;
  287. margin: 0em;
  288. visibility: hidden;
  289. }
  290. .ui.selection.dropdown > .text {
  291. margin-right: 2em;
  292. }
  293. .ui.selection.dropdown > .search.icon,
  294. .ui.selection.dropdown > .delete.icon,
  295. .ui.selection.dropdown > .dropdown.icon {
  296. position: absolute;
  297. top: auto;
  298. margin: 0em;
  299. width: auto;
  300. right: 1.1em;
  301. opacity: 0.8;
  302. -webkit-transition: opacity 0.2s ease;
  303. transition: opacity 0.2s ease;
  304. }
  305. /* Compact */
  306. .ui.compact.selection.dropdown {
  307. min-width: 0px;
  308. }
  309. /* Remove Selection */
  310. .ui.selection.dropdown > .delete.icon {
  311. opacity: 0.6;
  312. }
  313. .ui.selection.dropdown > .delete.icon:hover {
  314. opacity: 1;
  315. }
  316. /* Selection Menu */
  317. .ui.selection.dropdown .menu {
  318. overflow-x: hidden;
  319. overflow-y: auto;
  320. -webkit-backface-visibility: hidden;
  321. backface-visibility: hidden;
  322. -webkit-overflow-scrolling: touch;
  323. border-top: none !important;
  324. width: auto;
  325. margin: 0px -1px;
  326. min-width: -webkit-calc(100% + 2px);
  327. min-width: calc(100% + 2px);
  328. outline: none;
  329. box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
  330. -webkit-transition: box-shadow 0.2s ease, border 0.2s ease;
  331. transition: box-shadow 0.2s ease, border 0.2s ease;
  332. }
  333. .ui.selection.dropdown .menu:after,
  334. .ui.selection.dropdown .menu:before {
  335. display: none;
  336. }
  337. @media only screen and (max-width: 767px) {
  338. .ui.selection.dropdown .menu {
  339. max-height: 7.7142rem;
  340. }
  341. }
  342. @media only screen and (min-width: 768px) {
  343. .ui.selection.dropdown .menu {
  344. max-height: 10.2856rem;
  345. }
  346. }
  347. @media only screen and (min-width: 992px) {
  348. .ui.selection.dropdown .menu {
  349. max-height: 15.4284rem;
  350. }
  351. }
  352. @media only screen and (min-width: 1920px) {
  353. .ui.selection.dropdown .menu {
  354. max-height: 20.5712rem;
  355. }
  356. }
  357. /* Menu Item */
  358. .ui.selection.dropdown .menu > .item {
  359. border-top: 1px solid rgba(0, 0, 0, 0.05);
  360. padding-left: 1.1em !important;
  361. /* Add in spacing for scroll bar */
  362. padding-right: -webkit-calc(2.1em) !important;
  363. padding-right: calc(2.1em) !important;
  364. white-space: normal;
  365. word-wrap: normal;
  366. }
  367. /* Hover */
  368. .ui.selection.dropdown:hover {
  369. border-color: rgba(39, 41, 43, 0.3);
  370. box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
  371. }
  372. /* Visible Hover */
  373. .ui.selection.visible.dropdown:hover {
  374. border-color: rgba(39, 41, 43, 0.3);
  375. box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
  376. }
  377. .ui.selection.visible.dropdown:hover .menu {
  378. border: 1px solid rgba(39, 41, 43, 0.3);
  379. box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.08);
  380. }
  381. /* Visible */
  382. .ui.selection.dropdown.visible {
  383. border-color: rgba(39, 41, 43, 0.15);
  384. box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
  385. }
  386. .ui.visible.selection.dropdown > .dropdown.icon {
  387. opacity: 1;
  388. }
  389. /* Active Item */
  390. .ui.selection.active.dropdown > .text:not(.default),
  391. .ui.selection.visible.dropdown > .text:not(.default) {
  392. font-weight: normal;
  393. color: rgba(0, 0, 0, 0.8);
  394. }
  395. /* Connecting Border */
  396. .ui.active.selection.dropdown,
  397. .ui.visible.selection.dropdown {
  398. border-bottom-left-radius: 0em !important;
  399. border-bottom-right-radius: 0em !important;
  400. }
  401. /*--------------
  402. Searchable
  403. ---------------*/
  404. /* Search Selection */
  405. .ui.search.dropdown {
  406. min-width: '';
  407. }
  408. /* Search Dropdown */
  409. .ui.search.dropdown > input.search {
  410. background: none transparent;
  411. border: none;
  412. cursor: pointer;
  413. position: absolute;
  414. border-radius: 0em !important;
  415. top: 0em;
  416. left: 0em;
  417. width: 100%;
  418. outline: none;
  419. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  420. padding: inherit
  421. /*Amazing trick */
  422. }
  423. /* Search Selection */
  424. .ui.search.selection.dropdown > input.search {
  425. line-height: 1.2em;
  426. }
  427. .ui.search.dropdown.active > input.search,
  428. .ui.search.dropdown.visible > input.search {
  429. cursor: auto;
  430. }
  431. .ui.active.search.dropdown > input.search:focus + .text {
  432. color: rgba(0, 0, 0, 0.4) !important;
  433. }
  434. /* Search Menu */
  435. .ui.search.dropdown .menu {
  436. overflow-x: hidden;
  437. overflow-y: auto;
  438. -webkit-backface-visibility: hidden;
  439. backface-visibility: hidden;
  440. -webkit-overflow-scrolling: touch;
  441. }
  442. @media only screen and (max-width: 767px) {
  443. .ui.search.dropdown .menu {
  444. max-height: 7.7142rem;
  445. }
  446. }
  447. @media only screen and (min-width: 768px) {
  448. .ui.search.dropdown .menu {
  449. max-height: 10.2856rem;
  450. }
  451. }
  452. @media only screen and (min-width: 992px) {
  453. .ui.search.dropdown .menu {
  454. max-height: 15.4284rem;
  455. }
  456. }
  457. @media only screen and (min-width: 1920px) {
  458. .ui.search.dropdown .menu {
  459. max-height: 20.5712rem;
  460. }
  461. }
  462. /*--------------
  463. Inline
  464. ---------------*/
  465. .ui.inline.dropdown {
  466. cursor: pointer;
  467. display: inline-block;
  468. color: inherit;
  469. }
  470. .ui.inline.dropdown .dropdown.icon {
  471. margin: 0em 0.5em 0em 0.25em;
  472. vertical-align: top;
  473. }
  474. .ui.inline.dropdown > .text {
  475. font-weight: bold;
  476. }
  477. .ui.inline.dropdown .menu {
  478. cursor: auto;
  479. margin-top: 0.25em;
  480. border-radius: 0.2857rem;
  481. }
  482. /*******************************
  483. States
  484. *******************************/
  485. /*--------------------
  486. Hover
  487. ----------------------*/
  488. /* Menu Item Hover */
  489. .ui.dropdown .menu > .item:hover {
  490. background: rgba(0, 0, 0, 0.05);
  491. color: rgba(0, 0, 0, 0.8);
  492. z-index: 12;
  493. }
  494. /*--------------------
  495. Active
  496. ----------------------*/
  497. /* Menu Item Active */
  498. .ui.dropdown .menu .active.item {
  499. background: transparent;
  500. font-weight: bold;
  501. color: rgba(0, 0, 0, 0.8);
  502. box-shadow: none;
  503. z-index: 12;
  504. }
  505. /*--------------------
  506. Default Text
  507. ----------------------*/
  508. .ui.dropdown > .default.text,
  509. .ui.default.dropdown > .text {
  510. color: rgba(179, 179, 179, 0.7);
  511. }
  512. .ui.dropdown:hover > .default.text,
  513. .ui.default.dropdown:hover > .text {
  514. color: rgba(140, 140, 140, 0.7);
  515. }
  516. /*--------------------
  517. Loading
  518. ----------------------*/
  519. .ui.loading.dropdown > .text {
  520. -webkit-transition: none;
  521. transition: none;
  522. }
  523. /*--------------------
  524. Keyboard Select
  525. ----------------------*/
  526. /* Selected Item */
  527. .ui.dropdown.selected,
  528. .ui.dropdown .menu .selected.item {
  529. background: rgba(0, 0, 0, 0.03);
  530. color: rgba(0, 0, 0, 0.8);
  531. }
  532. /*--------------------
  533. Search Filtered
  534. ----------------------*/
  535. /* Filtered Item */
  536. .ui.dropdown > .filtered.text {
  537. visibility: hidden;
  538. }
  539. .ui.dropdown .filtered.item {
  540. display: none;
  541. }
  542. /*--------------------
  543. Error
  544. ----------------------*/
  545. .ui.dropdown.error,
  546. .ui.dropdown.error > .text,
  547. .ui.dropdown.error > .default.text {
  548. color: #a94442;
  549. }
  550. .ui.selection.dropdown.error {
  551. background: #fff0f0;
  552. border-color: #dbb1b1;
  553. }
  554. .ui.selection.dropdown.error:hover {
  555. border-color: #dbb1b1;
  556. }
  557. .ui.dropdown.error > .menu,
  558. .ui.dropdown.error > .menu .menu {
  559. border-color: #dbb1b1;
  560. }
  561. .ui.dropdown.error > .menu > .item {
  562. color: #d95c5c;
  563. }
  564. /* Item Hover */
  565. .ui.dropdown.error > .menu > .item:hover {
  566. background-color: #fff2f2;
  567. }
  568. /* Item Active */
  569. .ui.dropdown.error > .menu .active.item {
  570. background-color: #fdcfcf;
  571. }
  572. /*******************************
  573. Variations
  574. *******************************/
  575. /*--------------
  576. Direction
  577. ---------------*/
  578. /* Flyout Direction */
  579. .ui.dropdown .menu {
  580. left: 0px;
  581. }
  582. /*--------------
  583. Simple
  584. ---------------*/
  585. /* Displays without javascript */
  586. .ui.simple.dropdown .menu:before,
  587. .ui.simple.dropdown .menu:after {
  588. display: none;
  589. }
  590. .ui.simple.dropdown .menu {
  591. position: absolute;
  592. display: block;
  593. overflow: hidden;
  594. top: -9999px !important;
  595. opacity: 0;
  596. width: 0;
  597. height: 0;
  598. -webkit-transition: opacity 0.2s ease;
  599. transition: opacity 0.2s ease;
  600. }
  601. .ui.simple.active.dropdown,
  602. .ui.simple.dropdown:hover {
  603. border-bottom-left-radius: 0em !important;
  604. border-bottom-right-radius: 0em !important;
  605. }
  606. .ui.simple.active.dropdown > .menu,
  607. .ui.simple.dropdown:hover > .menu {
  608. overflow: visible;
  609. width: auto;
  610. height: auto;
  611. top: 100% !important;
  612. opacity: 1;
  613. }
  614. .ui.simple.dropdown > .menu > .item:active > .menu,
  615. .ui.simple.dropdown:hover > .menu > .item:hover > .menu {
  616. overflow: visible;
  617. width: auto;
  618. height: auto;
  619. top: 0% !important;
  620. left: 100% !important;
  621. opacity: 1;
  622. }
  623. .ui.simple.disabled.dropdown:hover .menu {
  624. display: none;
  625. height: 0px;
  626. width: 0px;
  627. overflow: hidden;
  628. }
  629. /* Visible */
  630. .ui.simple.visible.dropdown > .menu {
  631. display: block;
  632. }
  633. /*--------------
  634. Fluid
  635. ---------------*/
  636. .ui.fluid.dropdown {
  637. display: block;
  638. width: 100%;
  639. min-width: 0em;
  640. }
  641. .ui.fluid.dropdown > .dropdown.icon {
  642. float: right;
  643. }
  644. /*--------------
  645. Floating
  646. ---------------*/
  647. .ui.floating.dropdown .menu {
  648. left: 0;
  649. right: auto;
  650. margin-top: 0.5em !important;
  651. box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.15);
  652. border-radius: 0.2857rem;
  653. }
  654. /*--------------
  655. Pointing
  656. ---------------*/
  657. .ui.pointing.dropdown > .menu {
  658. top: 100%;
  659. margin-top: 0.75em;
  660. border-radius: 0.2857rem;
  661. }
  662. .ui.pointing.dropdown > .menu:after {
  663. display: block;
  664. position: absolute;
  665. pointer-events: none;
  666. content: '';
  667. visibility: visible;
  668. -webkit-transform: rotate(45deg);
  669. -ms-transform: rotate(45deg);
  670. transform: rotate(45deg);
  671. width: 0.5em;
  672. height: 0.5em;
  673. box-shadow: -1px -1px 0px 1px rgba(0, 0, 0, 0.1);
  674. background: #ffffff;
  675. z-index: 2;
  676. }
  677. .ui.pointing.dropdown > .menu:after {
  678. top: -0.25em;
  679. left: 50%;
  680. margin: 0em 0em 0em -0.25em;
  681. }
  682. /* Top Left Pointing */
  683. .ui.top.left.pointing.dropdown > .menu {
  684. top: 100%;
  685. bottom: auto;
  686. left: 0%;
  687. right: auto;
  688. margin: 1em 0em 0em;
  689. }
  690. .ui.top.left.pointing.dropdown > .menu {
  691. top: 100%;
  692. bottom: auto;
  693. left: 0%;
  694. right: auto;
  695. margin: 1em 0em 0em;
  696. }
  697. .ui.top.left.pointing.dropdown > .menu:after {
  698. top: -0.25em;
  699. left: 1em;
  700. right: auto;
  701. margin: 0em;
  702. -webkit-transform: rotate(45deg);
  703. -ms-transform: rotate(45deg);
  704. transform: rotate(45deg);
  705. }
  706. /* Top Right Pointing */
  707. .ui.top.right.pointing.dropdown > .menu {
  708. top: 100%;
  709. bottom: auto;
  710. right: 0%;
  711. left: auto;
  712. margin: 1em 0em 0em;
  713. }
  714. .ui.top.right.pointing.dropdown > .menu:after {
  715. top: -0.25em;
  716. left: auto;
  717. right: 1em;
  718. margin: 0em;
  719. -webkit-transform: rotate(45deg);
  720. -ms-transform: rotate(45deg);
  721. transform: rotate(45deg);
  722. }
  723. /* Left Pointing */
  724. .ui.left.pointing.dropdown > .menu {
  725. top: 0%;
  726. left: 100%;
  727. right: auto;
  728. margin: 0em 0em 0em 1em;
  729. }
  730. .ui.left.pointing.dropdown > .menu:after {
  731. top: 1em;
  732. left: -0.25em;
  733. margin: 0em 0em 0em 0em;
  734. -webkit-transform: rotate(-45deg);
  735. -ms-transform: rotate(-45deg);
  736. transform: rotate(-45deg);
  737. }
  738. /* Right Pointing */
  739. .ui.right.pointing.dropdown > .menu {
  740. top: 0%;
  741. left: auto;
  742. right: 100%;
  743. margin: 0em 1em 0em 0em;
  744. }
  745. .ui.right.pointing.dropdown > .menu:after {
  746. top: 1em;
  747. left: auto;
  748. right: -0.25em;
  749. margin: 0em 0em 0em 0em;
  750. -webkit-transform: rotate(135deg);
  751. -ms-transform: rotate(135deg);
  752. transform: rotate(135deg);
  753. }
  754. /* Bottom Pointing */
  755. .ui.bottom.pointing.dropdown > .menu {
  756. top: auto;
  757. bottom: 100%;
  758. left: 0%;
  759. right: auto;
  760. margin: 0em 0em 1em;
  761. }
  762. .ui.bottom.pointing.dropdown > .menu:after {
  763. top: auto;
  764. bottom: -0.25em;
  765. right: auto;
  766. margin: 0em;
  767. -webkit-transform: rotate(-135deg);
  768. -ms-transform: rotate(-135deg);
  769. transform: rotate(-135deg);
  770. }
  771. /* Reverse Sub-Menu Direction */
  772. .ui.bottom.pointing.dropdown > .menu .menu {
  773. top: auto !important;
  774. bottom: 0px !important;
  775. }
  776. /* Bottom Left */
  777. .ui.bottom.left.pointing.dropdown > .menu {
  778. left: 0%;
  779. right: auto;
  780. }
  781. .ui.bottom.left.pointing.dropdown > .menu:after {
  782. left: 1em;
  783. right: auto;
  784. }
  785. /* Bottom Right */
  786. .ui.bottom.right.pointing.dropdown > .menu {
  787. right: 0%;
  788. left: auto;
  789. }
  790. .ui.bottom.right.pointing.dropdown > .menu:after {
  791. left: auto;
  792. right: 1em;
  793. }
  794. /*******************************
  795. Theme Overrides
  796. *******************************/
  797. /* Dropdown Carets */
  798. @font-face {
  799. font-family: 'Dropdown';
  800. 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');
  801. font-weight: normal;
  802. font-style: normal;
  803. }
  804. .ui.dropdown > .dropdown.icon {
  805. font-family: 'Dropdown';
  806. line-height: 1;
  807. height: 1em;
  808. width: 1.23em;
  809. -webkit-backface-visibility: hidden;
  810. backface-visibility: hidden;
  811. font-weight: normal;
  812. font-style: normal;
  813. text-align: center;
  814. }
  815. .ui.dropdown > .dropdown.icon {
  816. width: auto;
  817. }
  818. .ui.dropdown > .dropdown.icon:before {
  819. content: '\f0d7';
  820. }
  821. /* Sub Menu */
  822. .ui.dropdown .menu .item .dropdown.icon:before {
  823. content: '\f0da' /*rtl:'\f0d9'*/;
  824. }
  825. /* Vertical Menu Dropdown */
  826. .ui.vertical.menu .dropdown.item > .dropdown.icon:before {
  827. content: "\f0da" /*rtl:"\f0d9"*/;
  828. }
  829. /* Icons for Reference
  830. .dropdown.down.icon {
  831. content: "\f0d7";
  832. }
  833. .dropdown.up.icon {
  834. content: "\f0d8";
  835. }
  836. .dropdown.left.icon {
  837. content: "\f0d9";
  838. }
  839. .dropdown.icon.icon {
  840. content: "\f0da";
  841. }
  842. */
  843. /*******************************
  844. User Overrides
  845. *******************************/