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.

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