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.

1579 lines
31 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
  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. Standard
  13. *******************************/
  14. /*--------------
  15. Menu
  16. ---------------*/
  17. .ui.menu {
  18. margin: 1rem 0rem;
  19. background: #ffffff;
  20. font-size: 0px;
  21. font-weight: normal;
  22. box-shadow: 0px 0px 0px 1px rgba(39, 41, 43, 0.15), 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
  23. border-radius: 0.2857rem;
  24. }
  25. .ui.menu:after {
  26. content: '';
  27. display: block;
  28. height: 0px;
  29. clear: both;
  30. visibility: hidden;
  31. }
  32. .ui.menu:first-child {
  33. margin-top: 0rem;
  34. }
  35. .ui.menu:last-child {
  36. margin-bottom: 0rem;
  37. }
  38. /*--------------
  39. Colors
  40. ---------------*/
  41. /* Text Color */
  42. .ui.menu .item {
  43. color: rgba(0, 0, 0, 0.8);
  44. }
  45. .ui.menu .item .item {
  46. color: rgba(0, 0, 0, 0.5);
  47. }
  48. /* Hover */
  49. .ui.menu .item .menu a.item:hover,
  50. .ui.menu .item .menu .link.item:hover {
  51. color: rgba(0, 0, 0, 0.85);
  52. }
  53. /*--------------
  54. Items
  55. ---------------*/
  56. .ui.menu .item {
  57. position: relative;
  58. display: inline-block;
  59. padding: 0.78571em 0.95em;
  60. border-top: 0em solid transparent;
  61. background: none;
  62. vertical-align: middle;
  63. line-height: 1;
  64. text-decoration: none;
  65. box-sizing: border-box;
  66. -webkit-tap-highlight-color: transparent;
  67. -webkit-user-select: none;
  68. -moz-user-select: none;
  69. -ms-user-select: none;
  70. user-select: none;
  71. -webkit-transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  72. transition: opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  73. }
  74. .ui.menu .menu {
  75. margin: 0em;
  76. }
  77. /* Floated Content */
  78. .ui.menu > .item:first-child {
  79. border-radius: 0.2857rem 0px 0px 0.2857rem;
  80. }
  81. .ui.menu:not(.vertical) .item.left,
  82. .ui.menu:not(.vertical) .menu.left {
  83. float: left;
  84. }
  85. .ui.menu:not(.vertical) .item.right,
  86. .ui.menu:not(.vertical) .menu.right {
  87. float: right;
  88. }
  89. /*--------------
  90. Borders
  91. ---------------*/
  92. .ui.menu .item:before {
  93. position: absolute;
  94. content: '';
  95. top: 0%;
  96. right: 0px;
  97. width: 1px;
  98. height: 100%;
  99. background: -webkit-linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
  100. background: linear-gradient(rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
  101. }
  102. .ui.menu > .right.menu:first-child {
  103. display: none;
  104. }
  105. .ui.menu .menu.right .item:before,
  106. .ui.menu .item.right:before {
  107. right: auto;
  108. left: 0px;
  109. }
  110. /*--------------
  111. Text Content
  112. ---------------*/
  113. .ui.menu .text.item > *,
  114. .ui.menu .item > a:not(.ui),
  115. .ui.menu .item > p:only-child {
  116. -webkit-user-select: text;
  117. -moz-user-select: text;
  118. -ms-user-select: text;
  119. user-select: text;
  120. line-height: 1.3;
  121. color: rgba(0, 0, 0, 0.8);
  122. }
  123. .ui.menu .item > p:first-child {
  124. margin-top: 0;
  125. }
  126. .ui.menu .item > p:last-child {
  127. margin-bottom: 0;
  128. }
  129. /*--------------
  130. Icons
  131. ---------------*/
  132. .ui.menu .item > i.icon {
  133. opacity: 0.75;
  134. float: none;
  135. margin: 0em 0.25em 0em 0em;
  136. }
  137. .ui.menu .item > i.dropdown.icon {
  138. float: right;
  139. margin-left: 1em;
  140. }
  141. /*--------------
  142. Button
  143. ---------------*/
  144. .ui.menu:not(.vertical) .item > .button {
  145. position: relative;
  146. top: -0.05em;
  147. margin: -0.55em 0;
  148. padding-bottom: 0.55em;
  149. padding-top: 0.55em;
  150. font-size: 0.875em;
  151. }
  152. /*--------------
  153. Inputs
  154. ---------------*/
  155. .ui.menu .item > .input {
  156. width: 100%;
  157. }
  158. .ui.menu:not(.vertical) .item > .input {
  159. position: relative;
  160. top: 0em;
  161. margin: -0.6em 0em;
  162. }
  163. .ui.menu .item > .input input {
  164. font-size: 1em;
  165. padding-top: 0.4em;
  166. padding-bottom: 0.4em;
  167. }
  168. .ui.menu .item > .input .button,
  169. .ui.menu .item > .input .label {
  170. padding-top: 0.4em;
  171. padding-bottom: 0.4em;
  172. }
  173. /* Resizes */
  174. .ui.small.menu .item > .input input {
  175. top: 0em;
  176. padding-top: 0.4em;
  177. padding-bottom: 0.4em;
  178. }
  179. .ui.small.menu .item > .input .button,
  180. .ui.small.menu .item > .input .label {
  181. padding-top: 0.4em;
  182. padding-bottom: 0.4em;
  183. }
  184. .ui.large.menu .item > .input input {
  185. top: -0.125em;
  186. padding-bottom: 0.6em;
  187. padding-top: 0.6em;
  188. }
  189. .ui.large.menu .item > .input .button,
  190. .ui.large.menu .item > .input .label {
  191. padding-top: 0.6em;
  192. padding-bottom: 0.6em;
  193. }
  194. /*--------------
  195. Header
  196. ---------------*/
  197. .ui.menu .header.item,
  198. .ui.vertical.menu .header.item {
  199. background: rgba(0, 0, 0, 0.04);
  200. margin: 0em;
  201. text-transform: normal;
  202. font-weight: bold;
  203. }
  204. /*--------------
  205. Dropdowns
  206. ---------------*/
  207. /* Dropdown */
  208. .ui.menu .ui.dropdown.visible {
  209. background: rgba(0, 0, 0, 0.03);
  210. border-bottom-right-radius: 0em;
  211. border-bottom-left-radius: 0em;
  212. }
  213. .ui.menu .ui.dropdown.active {
  214. box-shadow: none;
  215. }
  216. /* Menu Position */
  217. .ui.menu .dropdown.item .menu {
  218. background: #ffffff;
  219. left: 0px;
  220. margin: 0px 0px 0px;
  221. min-width: -webkit-calc(100% - 1px);
  222. min-width: calc(100% - 1px);
  223. box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
  224. }
  225. .ui.menu:not(.secondary) .pointing.dropdown.item .menu {
  226. margin-top: 0px;
  227. border-top-left-radius: 0em;
  228. border-top-right-radius: 0em;
  229. }
  230. .ui.menu .simple.dropdown.item .menu {
  231. margin: 0px !important;
  232. }
  233. /* Secondary Menu Dropdown */
  234. .ui.secondary.menu > .menu > .active.dropdown.item {
  235. background-color: transparent;
  236. }
  237. .ui.secondary.menu .dropdown.item .menu {
  238. left: 0px;
  239. min-width: 100%;
  240. }
  241. /* Even Width Menu Dropdown */
  242. .ui.item.menu .dropdown .menu .item {
  243. width: 100%;
  244. }
  245. /*--------------
  246. Labels
  247. ---------------*/
  248. .ui.menu .item > .label {
  249. background: rgba(0, 0, 0, 0.35);
  250. color: #ffffff;
  251. margin: -0.15em 0em -0.15em 0.5em;
  252. padding: 0.3em 0.8em;
  253. vertical-align: baseline;
  254. }
  255. .ui.menu .item > .floating.label {
  256. padding: 0.3em 0.8em;
  257. }
  258. /*--------------
  259. Images
  260. ---------------*/
  261. .ui.menu .item > img:only-child {
  262. display: block;
  263. max-width: 100%;
  264. margin: 0em auto;
  265. }
  266. /*******************************
  267. States
  268. *******************************/
  269. /*--------------
  270. Hover
  271. ---------------*/
  272. .ui.link.menu > .item:hover,
  273. .ui.menu > .link.item:hover,
  274. .ui.menu > a.item:hover,
  275. .ui.link.menu .menu > .item:hover,
  276. .ui.menu .menu > .link.item:hover,
  277. .ui.menu .menu > a.item:hover {
  278. cursor: pointer;
  279. background: rgba(0, 0, 0, 0.03);
  280. color: rgba(0, 0, 0, 0.8);
  281. }
  282. /*--------------
  283. Pressed
  284. ---------------*/
  285. .ui.link.menu .item:active,
  286. .ui.menu .link.item:active,
  287. .ui.menu a.item:active {
  288. background: rgba(0, 0, 0, 0.03);
  289. color: rgba(0, 0, 0, 0.8);
  290. }
  291. /*--------------
  292. Active
  293. ---------------*/
  294. .ui.menu .active.item {
  295. background: rgba(0, 0, 0, 0.03);
  296. color: rgba(0, 0, 0, 0.8);
  297. font-weight: normal;
  298. box-shadow: 0em 2px 0em inset;
  299. }
  300. .ui.menu .active.item > i.icon {
  301. opacity: 1;
  302. }
  303. /* Vertical */
  304. .ui.vertical.menu .active.item {
  305. background: rgba(0, 0, 0, 0.03);
  306. border-radius: 0em;
  307. box-shadow: 2px 0em 0em inset;
  308. }
  309. .ui.vertical.menu > .active.item:first-child {
  310. border-radius: 0em 0.2857rem 0em 0em;
  311. }
  312. .ui.vertical.menu > .active.item:last-child {
  313. border-radius: 0em 0em 0.2857rem 0em;
  314. }
  315. .ui.vertical.menu > .active.item:only-child {
  316. border-radius: 0em 0.2857rem 0.2857rem 0em;
  317. }
  318. .ui.vertical.menu .active.item .menu .active.item {
  319. border-left: none;
  320. }
  321. .ui.vertical.menu .item .menu .active.item {
  322. background-color: transparent;
  323. box-shadow: none;
  324. }
  325. /*--------------
  326. Active Hover
  327. ---------------*/
  328. .ui.vertical.menu .active.item:hover,
  329. .ui.menu .active.item:hover {
  330. background-color: rgba(0, 0, 0, 0.03);
  331. }
  332. /*--------------
  333. Disabled
  334. ---------------*/
  335. .ui.menu .item.disabled,
  336. .ui.menu .item.disabled:hover {
  337. cursor: default;
  338. color: rgba(40, 40, 40, 0.3);
  339. background-color: transparent !important;
  340. }
  341. /*******************************
  342. Types
  343. *******************************/
  344. /*--------------
  345. Vertical
  346. ---------------*/
  347. .ui.vertical.menu {
  348. background: #ffffff;
  349. }
  350. /*--- Item ---*/
  351. .ui.vertical.menu .item {
  352. background: none;
  353. display: block;
  354. height: auto !important;
  355. border-top: none;
  356. border-left: 0em solid transparent;
  357. border-right: none;
  358. }
  359. .ui.vertical.menu > .item:first-child {
  360. border-radius: 0.2857rem 0.2857rem 0px 0px;
  361. }
  362. .ui.vertical.menu > .item:last-child {
  363. border-radius: 0px 0px 0.2857rem 0.2857rem;
  364. }
  365. /*--- Label ---*/
  366. .ui.vertical.menu .item > .label {
  367. float: right;
  368. text-align: center;
  369. }
  370. /*--- Icon ---*/
  371. .ui.vertical.menu .item > i.icon {
  372. width: 1.18em;
  373. float: right;
  374. margin: 0em 0em 0em 0.5em;
  375. }
  376. .ui.vertical.menu .item > .label + i.icon {
  377. float: none;
  378. margin: 0em 0.5em 0em 0em;
  379. }
  380. /*--- Border ---*/
  381. .ui.vertical.menu .item:before {
  382. position: absolute;
  383. content: '';
  384. top: 0%;
  385. left: 0px;
  386. width: 100%;
  387. background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%);
  388. background: linear-gradient(to right, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%);
  389. height: 1px;
  390. }
  391. .ui.vertical.menu .item:first-child:before {
  392. background: none !important;
  393. }
  394. /*--- Dropdown ---*/
  395. .ui.vertical.menu .dropdown.item > .icon {
  396. float: right;
  397. content: "\f0da";
  398. margin-left: 1em;
  399. }
  400. .ui.vertical.menu .dropdown.item .menu {
  401. top: 0% !important;
  402. left: 100%;
  403. margin: 0px 0px 0px 0px;
  404. box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.08);
  405. }
  406. .ui.vertical.menu .dropdown.item.active {
  407. border-top-right-radius: 0em;
  408. border-bottom-right-radius: 0em;
  409. }
  410. .ui.vertical.menu .dropdown.item .menu .item {
  411. font-size: 1rem;
  412. }
  413. .ui.vertical.menu .dropdown.item .menu .item i.icon {
  414. margin-right: 0em;
  415. }
  416. .ui.vertical.menu .dropdown.item.active {
  417. box-shadow: none;
  418. }
  419. /*--- Sub Menu ---*/
  420. .ui.vertical.menu .item:not(.dropdown) > .menu {
  421. margin: 0.5em -0.95em 0em;
  422. }
  423. .ui.vertical.menu .item:not(.dropdown) > .menu > .item {
  424. background: none;
  425. padding: 0.5rem 1.5rem;
  426. font-size: 0.875rem;
  427. }
  428. .ui.vertical.menu .item > .menu > .item:before {
  429. display: none;
  430. }
  431. /*--------------
  432. Tiered
  433. ---------------*/
  434. .ui.tiered.menu > .menu > .item:hover {
  435. color: rgba(0, 0, 0, 0.8);
  436. }
  437. .ui.tiered.menu .active.item {
  438. background: #fcfcfc;
  439. }
  440. .ui.tiered.menu > .menu .item.active:after {
  441. position: absolute;
  442. content: '';
  443. margin-top: -1px;
  444. top: 100%;
  445. left: 0px;
  446. width: 100%;
  447. height: 2px;
  448. background-color: #fcfcfc;
  449. }
  450. /* Sub Menu */
  451. .ui.tiered.menu .sub.menu {
  452. background-color: #fcfcfc;
  453. border-radius: 0em;
  454. border-top: 1px solid rgba(39, 41, 43, 0.15);
  455. box-shadow: none;
  456. }
  457. .ui.tiered.menu > .sub.menu > .item {
  458. color: rgba(0, 0, 0, 0.4);
  459. font-weight: normal;
  460. text-transform: normal;
  461. font-size: 0.875rem;
  462. }
  463. /* Sub Menu Divider */
  464. .ui.tiered.menu .sub.menu .item:before {
  465. background: none;
  466. }
  467. /* Sub Menu Hover */
  468. .ui.tiered.menu .sub.menu .item:hover {
  469. background: none transparent;
  470. color: rgba(0, 0, 0, 0.8);
  471. }
  472. /* Sub Menu Active */
  473. .ui.tiered.menu .sub.menu .active.item {
  474. padding-top: 0.78571em;
  475. background: none transparent;
  476. border-radius: 0;
  477. border-top: medium none;
  478. box-shadow: none;
  479. color: rgba(0, 0, 0, 0.8) !important;
  480. }
  481. .ui.tiered.menu .sub.menu .active.item:after {
  482. display: none;
  483. }
  484. /* Inverted Tiered Menu */
  485. .ui.inverted.tiered.menu > .menu > .item {
  486. color: rgba(255, 255, 255, 0.5);
  487. }
  488. .ui.inverted.tiered.menu .sub.menu {
  489. background-color: rgba(0, 0, 0, 0.2);
  490. }
  491. .ui.inverted.tiered.menu .sub.menu .item {
  492. color: rgba(255, 255, 255, 0.8);
  493. }
  494. .ui.inverted.tiered.menu > .menu > .item:hover {
  495. color: #ffffff;
  496. }
  497. .ui.inverted.tiered.menu .active.item:after {
  498. display: none;
  499. }
  500. .ui.inverted.tiered.menu > .sub.menu > .active.item,
  501. .ui.inverted.tiered.menu > .menu > .active.item {
  502. color: #ffffff !important;
  503. box-shadow: none;
  504. }
  505. /* Tiered Pointing */
  506. .ui.pointing.tiered.menu > .menu > .item:after {
  507. display: none;
  508. }
  509. .ui.pointing.tiered.menu > .sub.menu > .item:after {
  510. display: block;
  511. }
  512. /*--------------
  513. Tabular
  514. ---------------*/
  515. .ui.tabular.menu {
  516. background-color: transparent;
  517. border-bottom: 1px solid #d4d4d5;
  518. border-radius: 0em;
  519. box-shadow: none !important;
  520. }
  521. .ui.tabular.menu .item {
  522. background-color: transparent;
  523. border-left: 1px solid transparent;
  524. border-right: 1px solid transparent;
  525. border-top: 1px solid transparent;
  526. padding-left: 1.4em;
  527. padding-right: 1.4em;
  528. color: rgba(0, 0, 0, 0.8);
  529. }
  530. .ui.tabular.menu .item:before {
  531. display: none;
  532. }
  533. /* Hover */
  534. .ui.tabular.menu .item:hover {
  535. background-color: transparent;
  536. color: rgba(0, 0, 0, 0.8);
  537. }
  538. /* Active */
  539. .ui.tabular.menu .active.item {
  540. position: relative;
  541. background-color: #ffffff;
  542. color: rgba(0, 0, 0, 0.8);
  543. border-color: #d4d4d5;
  544. font-weight: bold;
  545. margin-bottom: -1px;
  546. border-bottom: 1px solid #ffffff;
  547. box-shadow: none;
  548. border-radius: 5px 5px 0px 0px;
  549. }
  550. /* Coupling with segment for attachment */
  551. .ui.attached.tabular.menu {
  552. position: relative;
  553. z-index: 2;
  554. }
  555. .ui.tabular.menu ~ .bottom.attached.segment {
  556. margin: -1px 0px 0px;
  557. }
  558. /*--------------
  559. Pagination
  560. ---------------*/
  561. .ui.pagination.menu {
  562. margin: 0em;
  563. display: inline-block;
  564. vertical-align: middle;
  565. }
  566. .ui.pagination.menu .item {
  567. min-width: 3em;
  568. text-align: center;
  569. }
  570. .ui.pagination.menu .icon.item i.icon {
  571. vertical-align: top;
  572. }
  573. .ui.pagination.menu.floated {
  574. display: block;
  575. }
  576. /* Active */
  577. .ui.pagination.menu .active.item {
  578. border-top: none;
  579. padding-top: 0.78571em;
  580. background-color: rgba(0, 0, 0, 0.03);
  581. box-shadow: none;
  582. }
  583. /*--------------
  584. Secondary
  585. ---------------*/
  586. .ui.secondary.menu {
  587. background: none;
  588. border-radius: 0em;
  589. box-shadow: none;
  590. }
  591. .ui.secondary.menu > .menu > .item,
  592. .ui.secondary.menu > .item {
  593. box-shadow: none;
  594. border: none;
  595. height: auto !important;
  596. background: none;
  597. margin: 0em 0.25em;
  598. padding: 0.5em 0.8em;
  599. border-radius: 0.2857rem;
  600. }
  601. .ui.secondary.menu > .menu > .item:before,
  602. .ui.secondary.menu > .item:before {
  603. display: none !important;
  604. }
  605. .ui.secondary.menu .item > .input input {
  606. background-color: transparent;
  607. border: none;
  608. }
  609. .ui.secondary.menu .link.item,
  610. .ui.secondary.menu a.item {
  611. opacity: 0.8;
  612. -webkit-transition: none;
  613. transition: none;
  614. }
  615. .ui.secondary.menu .header.item {
  616. border-right: 0.1em solid rgba(0, 0, 0, 0.1);
  617. background: none transparent;
  618. border-radius: 0em;
  619. }
  620. /* Hover */
  621. .ui.secondary.menu .link.item:hover,
  622. .ui.secondary.menu a.item:hover {
  623. opacity: 1;
  624. }
  625. /* Active */
  626. .ui.secondary.menu > .menu > .active.item,
  627. .ui.secondary.menu > .active.item {
  628. background: rgba(0, 0, 0, 0.05);
  629. opacity: 1;
  630. box-shadow: none;
  631. }
  632. .ui.secondary.vertical.menu > .active.item {
  633. border-radius: 0.2857rem;
  634. }
  635. /* Inverted */
  636. .ui.secondary.inverted.menu .link.item,
  637. .ui.secondary.inverted.menu a.item {
  638. color: rgba(255, 255, 255, 0.8);
  639. }
  640. .ui.secondary.inverted.menu .link.item:hover,
  641. .ui.secondary.inverted.menu a.item:hover {
  642. color: #ffffff;
  643. }
  644. .ui.secondary.inverted.menu .active.item {
  645. background-color: rgba(255, 255, 255, 0.05);
  646. }
  647. /* Disable variations */
  648. .ui.secondary.item.menu > .item {
  649. margin: 0em;
  650. }
  651. .ui.secondary.attached.menu {
  652. box-shadow: none;
  653. }
  654. /*---------------------
  655. Secondary Vertical
  656. -----------------------*/
  657. .ui.secondary.vertical.menu > .item {
  658. border: none;
  659. margin: 0em 0em 0.3em;
  660. border-radius: 0.2857rem;
  661. }
  662. .ui.secondary.vertical.menu > .header.item {
  663. border-radius: 0em;
  664. }
  665. /* Inverted */
  666. .ui.secondary.inverted.menu {
  667. background-color: transparent;
  668. }
  669. .ui.secondary.inverted.pointing.menu {
  670. border-bottom: 3px solid rgba(255, 255, 255, 0.1);
  671. }
  672. .ui.secondary.inverted.pointing.menu > .item {
  673. color: rgba(255, 255, 255, 0.7);
  674. }
  675. .ui.secondary.inverted.pointing.menu > .header.item {
  676. color: #FFFFFF !important;
  677. }
  678. /* Hover */
  679. .ui.secondary.inverted.pointing.menu > .menu > .item:hover,
  680. .ui.secondary.inverted.pointing.menu > .item:hover {
  681. color: rgba(255, 255, 255, 0.85);
  682. }
  683. /* Pressed */
  684. .ui.secondary.inverted.pointing.menu > .menu > .item:active,
  685. .ui.secondary.inverted.pointing.menu > .item:active {
  686. border-color: rgba(255, 255, 255, 0.4);
  687. }
  688. /* Active */
  689. .ui.secondary.inverted.pointing.menu > .menu > .item.active,
  690. .ui.secondary.inverted.pointing.menu > .item.active {
  691. border-color: rgba(255, 255, 255, 0.8);
  692. color: #ffffff;
  693. }
  694. /*---------------------
  695. Secondary Pointing
  696. -----------------------*/
  697. .ui.secondary.pointing.menu {
  698. border-bottom: 3px solid rgba(0, 0, 0, 0.1);
  699. }
  700. .ui.secondary.pointing.menu > .menu > .item,
  701. .ui.secondary.pointing.menu > .item {
  702. margin: 0em 0em -3px;
  703. padding: 0.6em 0.95em;
  704. border-bottom: 3px solid transparent;
  705. border-radius: 0em;
  706. -webkit-transition: color 0.2s ease;
  707. transition: color 0.2s ease;
  708. }
  709. /* Item Types */
  710. .ui.secondary.pointing.menu .header.item {
  711. margin-bottom: -3px;
  712. background-color: transparent !important;
  713. border-right-width: 0px !important;
  714. font-weight: bold !important;
  715. color: rgba(0, 0, 0, 0.85) !important;
  716. }
  717. .ui.secondary.pointing.menu .text.item {
  718. box-shadow: none !important;
  719. }
  720. .ui.secondary.pointing.menu > .menu > .item:after,
  721. .ui.secondary.pointing.menu > .item:after {
  722. display: none;
  723. }
  724. /* Hover */
  725. .ui.secondary.pointing.menu > .menu > .link.item:hover,
  726. .ui.secondary.pointing.menu > .link.item:hover,
  727. .ui.secondary.pointing.menu > .menu > a.item:hover,
  728. .ui.secondary.pointing.menu > a.item:hover {
  729. background-color: transparent;
  730. color: rgba(0, 0, 0, 0.8);
  731. }
  732. /* Pressed */
  733. .ui.secondary.pointing.menu > .menu > .link.item:active,
  734. .ui.secondary.pointing.menu > .link.item:active,
  735. .ui.secondary.pointing.menu > .menu > a.item:active,
  736. .ui.secondary.pointing.menu > a.item:active {
  737. background-color: transparent;
  738. border-color: rgba(0, 0, 0, 0.2);
  739. }
  740. /* Active */
  741. .ui.secondary.pointing.menu > .menu > .item.active,
  742. .ui.secondary.pointing.menu > .item.active {
  743. background-color: transparent;
  744. border-color: rgba(0, 0, 0, 0.4);
  745. box-shadow: none;
  746. color: rgba(0, 0, 0, 0.8);
  747. }
  748. /* Secondary Vertical Pointing */
  749. .ui.secondary.vertical.pointing.menu {
  750. border: none;
  751. border-right: 3px solid rgba(0, 0, 0, 0.1);
  752. }
  753. .ui.secondary.vertical.pointing.menu > .item {
  754. margin: 0em -3px 0em 0em;
  755. border-bottom: none;
  756. border-right: 3px solid transparent;
  757. border-radius: 0em;
  758. }
  759. /* Hover */
  760. .ui.secondary.vertical.pointing.menu > .item:hover {
  761. background-color: transparent;
  762. color: rgba(0, 0, 0, 0.7);
  763. }
  764. /* Pressed */
  765. .ui.secondary.vertical.pointing.menu > .item:active {
  766. background-color: transparent;
  767. border-color: rgba(0, 0, 0, 0.2);
  768. }
  769. /* Active */
  770. .ui.secondary.vertical.pointing.menu > .item.active {
  771. background-color: transparent;
  772. border-color: rgba(0, 0, 0, 0.4);
  773. color: rgba(0, 0, 0, 0.85);
  774. }
  775. /* Inverted Vertical Pointing Secondary */
  776. .ui.secondary.inverted.vertical.pointing.menu {
  777. border-right: 3px solid rgba(255, 255, 255, 0.1);
  778. border-bottom: none;
  779. }
  780. /*--------------
  781. Text Menu
  782. ---------------*/
  783. .ui.text.menu {
  784. display: inline-block;
  785. background: none transparent;
  786. margin: 1rem -1rem;
  787. border-radius: 0px;
  788. box-shadow: none;
  789. }
  790. .ui.text.menu > .item {
  791. opacity: 0.8;
  792. margin: 0em 1em;
  793. padding: 0em;
  794. height: auto !important;
  795. border-radius: 0px;
  796. box-shadow: none;
  797. -webkit-transition: opacity 0.2s ease;
  798. transition: opacity 0.2s ease;
  799. }
  800. .ui.text.menu > .item:before {
  801. display: none !important;
  802. }
  803. .ui.text.menu .header.item {
  804. background-color: transparent;
  805. opacity: 1;
  806. color: rgba(50, 50, 50, 0.8);
  807. font-size: 0.875rem;
  808. padding: 0em;
  809. text-transform: uppercase;
  810. font-weight: bold;
  811. }
  812. .ui.text.menu .text.item {
  813. opacity: 1;
  814. color: rgba(50, 50, 50, 0.8);
  815. font-weight: bold;
  816. }
  817. /*--- fluid text ---*/
  818. .ui.text.item.menu .item {
  819. margin: 0em;
  820. }
  821. /*--- vertical text ---*/
  822. .ui.vertical.text.menu {
  823. margin: 1rem 0em;
  824. }
  825. .ui.vertical.text.menu:first-child {
  826. margin-top: 0rem;
  827. }
  828. .ui.vertical.text.menu:last-child {
  829. margin-bottom: 0rem;
  830. }
  831. .ui.vertical.text.menu .item {
  832. float: left;
  833. clear: left;
  834. margin: 0.5em 0em;
  835. }
  836. .ui.vertical.text.menu .item > i.icon {
  837. float: none;
  838. margin: 0em 0.78571em 0em 0em;
  839. }
  840. .ui.vertical.text.menu .header.item {
  841. margin: 0.8em 0em;
  842. }
  843. /*--- hover ---*/
  844. .ui.text.menu .item:hover {
  845. opacity: 1;
  846. background-color: transparent;
  847. }
  848. /*--- active ---*/
  849. .ui.text.menu .active.item {
  850. background-color: transparent;
  851. padding: 0em;
  852. border: none;
  853. opacity: 1;
  854. font-weight: bold;
  855. box-shadow: none;
  856. }
  857. /* disable variations */
  858. .ui.text.pointing.menu .active.item:after {
  859. box-shadow: none;
  860. }
  861. .ui.text.attached.menu {
  862. box-shadow: none;
  863. }
  864. .ui.inverted.text.menu,
  865. .ui.inverted.text.menu .item,
  866. .ui.inverted.text.menu .item:hover,
  867. .ui.inverted.text.menu .item.active {
  868. background-color: transparent;
  869. }
  870. /*--------------
  871. Icon Only
  872. ---------------*/
  873. .ui.icon.menu,
  874. .ui.vertical.icon.menu {
  875. width: auto;
  876. display: inline-block;
  877. height: auto;
  878. }
  879. .ui.icon.menu > .item {
  880. height: auto;
  881. text-align: center;
  882. color: rgba(60, 60, 60, 0.7);
  883. }
  884. .ui.icon.menu > .item > .icon {
  885. display: block;
  886. float: none !important;
  887. opacity: 1;
  888. margin: 0em auto !important;
  889. }
  890. .ui.icon.menu .icon:before {
  891. opacity: 1;
  892. }
  893. /* Item Icon Only */
  894. .ui.menu .icon.item .icon {
  895. margin: 0em;
  896. }
  897. .ui.vertical.icon.menu {
  898. float: none;
  899. }
  900. /*--- inverted ---*/
  901. .ui.inverted.icon.menu .item {
  902. color: rgba(255, 255, 255, 0.8);
  903. }
  904. .ui.inverted.icon.menu .icon {
  905. color: #ffffff;
  906. }
  907. /*--------------
  908. Labeled Icon
  909. ---------------*/
  910. .ui.labeled.icon.menu {
  911. text-align: center;
  912. }
  913. .ui.labeled.icon.menu > .item {
  914. min-width: 6em;
  915. }
  916. .ui.labeled.icon.menu > .item > .icon {
  917. display: block;
  918. font-size: 1.5em !important;
  919. margin: 0em auto 0.5em !important;
  920. }
  921. /*******************************
  922. Variations
  923. *******************************/
  924. /*--------------
  925. Colors
  926. ---------------*/
  927. /*--- Light Colors ---*/
  928. .ui.menu .blue.active.item,
  929. .ui.blue.menu .active.item {
  930. border-color: #3b83c0 !important;
  931. color: #3b83c0 !important;
  932. }
  933. .ui.menu .green.active.item,
  934. .ui.green.menu .active.item {
  935. border-color: #5bbd72 !important;
  936. color: #5bbd72 !important;
  937. }
  938. .ui.menu .orange.active.item,
  939. .ui.orange.menu .active.item {
  940. border-color: #e07b53 !important;
  941. color: #e07b53 !important;
  942. }
  943. .ui.menu .pink.active.item,
  944. .ui.pink.menu .active.item {
  945. border-color: #d9499a !important;
  946. color: #d9499a !important;
  947. }
  948. .ui.menu .purple.active.item,
  949. .ui.purple.menu .active.item {
  950. border-color: #564f8a !important;
  951. color: #564f8a !important;
  952. }
  953. .ui.menu .red.active.item,
  954. .ui.red.menu .active.item {
  955. border-color: #d95c5c !important;
  956. color: #d95c5c !important;
  957. }
  958. .ui.menu .teal.active.item,
  959. .ui.teal.menu .active.item {
  960. border-color: #00b5ad !important;
  961. color: #00b5ad !important;
  962. }
  963. .ui.menu .yellow.active.item,
  964. .ui.yellow.menu .active.item {
  965. border-color: #f2c61f !important;
  966. color: #f2c61f !important;
  967. }
  968. /*--------------
  969. Inverted
  970. ---------------*/
  971. .ui.inverted.menu {
  972. background: #1b1c1d;
  973. box-shadow: none;
  974. }
  975. .ui.inverted.menu .header.item {
  976. margin: 0em;
  977. background: rgba(0, 0, 0, 0.3);
  978. box-shadow: none;
  979. }
  980. .ui.inverted.menu .item,
  981. .ui.inverted.menu .item > a:not(.ui) {
  982. color: #ffffff;
  983. }
  984. .ui.inverted.menu .item:not(.dropdown).menu {
  985. background: transparent;
  986. }
  987. .ui.inverted.menu .item .item,
  988. .ui.inverted.menu .item .item > a:not(.ui) {
  989. color: rgba(255, 255, 255, 0.5);
  990. }
  991. .ui.inverted.menu .dropdown .menu .item {
  992. color: rgba(0, 0, 0, 0.8) !important;
  993. }
  994. .ui.inverted.menu .item.disabled,
  995. .ui.inverted.menu .item.disabled:hover {
  996. color: rgba(225, 225, 225, 0.3);
  997. }
  998. /*--- Border ---*/
  999. .ui.inverted.menu .item:before {
  1000. background: -webkit-linear-gradient(rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
  1001. background: linear-gradient(rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
  1002. }
  1003. .ui.vertical.inverted.menu .item:before {
  1004. background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
  1005. background: linear-gradient(to right, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%);
  1006. }
  1007. /*--- Hover ---*/
  1008. .ui.link.inverted.menu .item:hover,
  1009. .ui.inverted.menu .link.item:hover,
  1010. .ui.inverted.menu a.item:hover,
  1011. .ui.inverted.menu .dropdown.item:hover {
  1012. background: rgba(255, 255, 255, 0.1);
  1013. color: #ffffff;
  1014. }
  1015. .ui.inverted.menu .item .menu a.item:hover,
  1016. .ui.inverted.menu .item .menu .link.item:hover {
  1017. background: transparent;
  1018. color: #ffffff;
  1019. }
  1020. /*--- Pressed ---*/
  1021. .ui.inverted.menu a.item:active,
  1022. .ui.inverted.menu .dropdown.item:active,
  1023. .ui.inverted.menu .link.item:active,
  1024. .ui.inverted.menu a.item:active {
  1025. background: rgba(255, 255, 255, 0.15);
  1026. color: #ffffff;
  1027. }
  1028. /*--- Active ---*/
  1029. .ui.inverted.menu .active.item {
  1030. box-shadow: none !important;
  1031. background: rgba(255, 255, 255, 0.2);
  1032. color: #ffffff !important;
  1033. }
  1034. .ui.inverted.vertical.menu .item .menu .active.item {
  1035. background: transparent;
  1036. color: #ffffff;
  1037. }
  1038. /*--- Pointers ---*/
  1039. .ui.inverted.pointing.menu .active.item:after {
  1040. background: #5B5B5B;
  1041. box-shadow: none;
  1042. }
  1043. .ui.inverted.pointing.menu .active.item:hover:after {
  1044. background: #4A4A4A;
  1045. }
  1046. /*--------------
  1047. Selection
  1048. ---------------*/
  1049. .ui.selection.menu > .item {
  1050. color: rgba(0, 0, 0, 0.4);
  1051. }
  1052. .ui.selection.menu > .item:hover {
  1053. color: rgba(0, 0, 0, 0.6);
  1054. }
  1055. .ui.selection.menu > .item.active {
  1056. color: rgba(0, 0, 0, 0.85);
  1057. }
  1058. .ui.inverted.selection.menu > .item {
  1059. color: rgba(255, 255, 255, 0.4);
  1060. }
  1061. .ui.inverted.selection.menu > .item:hover {
  1062. color: rgba(255, 255, 255, 0.9);
  1063. }
  1064. .ui.inverted.selection.menu > .item.active {
  1065. color: #FFFFFF;
  1066. }
  1067. /*--------------
  1068. Floated
  1069. ---------------*/
  1070. .ui.floated.menu {
  1071. float: left;
  1072. margin: 0rem 0.5rem 0rem 0rem;
  1073. }
  1074. .ui.right.floated.menu {
  1075. float: right;
  1076. margin: 0rem 0rem 0rem 0.5rem;
  1077. }
  1078. /*--------------
  1079. Inverted Colors
  1080. ---------------*/
  1081. /*--- Light Colors ---*/
  1082. .ui.grey.menu {
  1083. background-color: #fafafa;
  1084. }
  1085. /*--- Inverted Colors ---*/
  1086. /* Blue */
  1087. .ui.inverted.blue.menu {
  1088. background-color: #3b83c0;
  1089. }
  1090. .ui.inverted.blue.pointing.menu .active.item:after {
  1091. background-color: #3b83c0;
  1092. }
  1093. /* Green */
  1094. .ui.inverted.green.menu {
  1095. background-color: #5bbd72;
  1096. }
  1097. .ui.inverted.green.pointing.menu .active.item:after {
  1098. background-color: #5bbd72;
  1099. }
  1100. /* Orange */
  1101. .ui.inverted.orange.menu {
  1102. background-color: #e07b53;
  1103. }
  1104. .ui.inverted.orange.pointing.menu .active.item:after {
  1105. background-color: #e07b53;
  1106. }
  1107. /* Pink */
  1108. .ui.inverted.pink.menu {
  1109. background-color: #d9499a;
  1110. }
  1111. .ui.inverted.pink.pointing.menu .active.item:after {
  1112. background-color: #d9499a;
  1113. }
  1114. /* Purple */
  1115. .ui.inverted.purple.menu {
  1116. background-color: #564f8a;
  1117. }
  1118. .ui.inverted.purple.pointing.menu .active.item:after {
  1119. background-color: #564f8a;
  1120. }
  1121. /* Red */
  1122. .ui.inverted.red.menu {
  1123. background-color: #d95c5c;
  1124. }
  1125. .ui.inverted.red.pointing.menu .active.item:after {
  1126. background-color: #d95c5c;
  1127. }
  1128. /* Teal */
  1129. .ui.inverted.teal.menu {
  1130. background-color: #00b5ad;
  1131. }
  1132. .ui.inverted.teal.pointing.menu .active.item:after {
  1133. background-color: #00b5ad;
  1134. }
  1135. /* Yellow */
  1136. .ui.inverted.yellow.menu {
  1137. background-color: #f2c61f;
  1138. }
  1139. .ui.inverted.yellow.pointing.menu .active.item:after {
  1140. background-color: #f2c61f;
  1141. }
  1142. /*--------------
  1143. Fitted
  1144. ---------------*/
  1145. .ui.fitted.menu .item,
  1146. .ui.fitted.menu .item .menu .item,
  1147. .ui.menu .fitted.item {
  1148. padding: 0em;
  1149. }
  1150. .ui.horizontally.fitted.menu .item,
  1151. .ui.horizontally.fitted.menu .item .menu .item,
  1152. .ui.menu .horizontally.fitted.item {
  1153. padding-top: 0.78571em;
  1154. padding-bottom: 0.78571em;
  1155. }
  1156. .ui.vertically.fitted.menu .item,
  1157. .ui.vertically.fitted.menu .item .menu .item,
  1158. .ui.menu .vertically.fitted.item {
  1159. padding-left: 0.95em;
  1160. padding-right: 0.95em;
  1161. }
  1162. /*--------------
  1163. Borderless
  1164. ---------------*/
  1165. .ui.borderless.menu .item:before,
  1166. .ui.borderless.menu .item .menu .item:before,
  1167. .ui.menu .borderless.item:before {
  1168. background: none !important;
  1169. }
  1170. /*-------------------
  1171. Compact
  1172. --------------------*/
  1173. .ui.compact.menu {
  1174. display: inline-block;
  1175. margin: 0em;
  1176. vertical-align: middle;
  1177. }
  1178. .ui.compact.vertical.menu {
  1179. width: auto !important;
  1180. }
  1181. .ui.compact.vertical.menu .item:last-child::before {
  1182. display: block;
  1183. }
  1184. /*-------------------
  1185. Fluid
  1186. --------------------*/
  1187. .ui.menu.fluid,
  1188. .ui.vertical.menu.fluid {
  1189. display: block;
  1190. width: 100% !important;
  1191. }
  1192. /*-------------------
  1193. Evenly Sized
  1194. --------------------*/
  1195. .ui.item.menu,
  1196. .ui.item.menu .item {
  1197. width: 100%;
  1198. padding-left: 0px !important;
  1199. padding-right: 0px !important;
  1200. text-align: center;
  1201. }
  1202. .ui.item.menu > .item:last-child {
  1203. border-radius: 0px 0.2857rem 0.2857rem 0px;
  1204. }
  1205. .ui.menu.two.item .item {
  1206. width: 50%;
  1207. }
  1208. .ui.menu.three.item .item {
  1209. width: 33.333%;
  1210. }
  1211. .ui.menu.four.item .item {
  1212. width: 25%;
  1213. }
  1214. .ui.menu.five.item .item {
  1215. width: 20%;
  1216. }
  1217. .ui.menu.six.item .item {
  1218. width: 16.666%;
  1219. }
  1220. .ui.menu.seven.item .item {
  1221. width: 14.285%;
  1222. }
  1223. .ui.menu.eight.item .item {
  1224. width: 12.500%;
  1225. }
  1226. .ui.menu.nine.item .item {
  1227. width: 11.11%;
  1228. }
  1229. .ui.menu.ten.item .item {
  1230. width: 10.0%;
  1231. }
  1232. .ui.menu.eleven.item .item {
  1233. width: 9.09%;
  1234. }
  1235. .ui.menu.twelve.item .item {
  1236. width: 8.333%;
  1237. }
  1238. /*--------------
  1239. Fixed
  1240. ---------------*/
  1241. .ui.menu.fixed {
  1242. position: fixed;
  1243. z-index: 101;
  1244. margin: 0em;
  1245. border: none;
  1246. width: 100%;
  1247. }
  1248. .ui.menu.fixed,
  1249. .ui.menu.fixed .item:first-child,
  1250. .ui.menu.fixed .item:last-child {
  1251. border-radius: 0px !important;
  1252. }
  1253. .ui.menu.fixed.top {
  1254. top: 0px;
  1255. left: 0px;
  1256. right: auto;
  1257. bottom: auto;
  1258. }
  1259. .ui.menu.fixed.right {
  1260. top: 0px;
  1261. right: 0px;
  1262. left: auto;
  1263. bottom: auto;
  1264. width: auto;
  1265. height: 100%;
  1266. }
  1267. .ui.menu.fixed.bottom {
  1268. bottom: 0px;
  1269. left: 0px;
  1270. top: auto;
  1271. right: auto;
  1272. }
  1273. .ui.menu.fixed.left {
  1274. top: 0px;
  1275. left: 0px;
  1276. right: auto;
  1277. bottom: auto;
  1278. width: auto;
  1279. height: 100%;
  1280. }
  1281. /* Coupling with Grid */
  1282. .ui.fixed.menu + .ui.grid {
  1283. padding-top: 2.75rem;
  1284. }
  1285. /*-------------------
  1286. Pointing
  1287. --------------------*/
  1288. .ui.pointing.menu .active.item:after {
  1289. position: absolute;
  1290. bottom: -0.3em;
  1291. left: 50%;
  1292. content: '';
  1293. margin-left: -0.3em;
  1294. width: 0.6em;
  1295. height: 0.6em;
  1296. border: none;
  1297. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  1298. border-right: 1px solid rgba(0, 0, 0, 0.1);
  1299. background: none;
  1300. -webkit-transform: rotate(45deg);
  1301. -ms-transform: rotate(45deg);
  1302. transform: rotate(45deg);
  1303. z-index: 2;
  1304. -webkit-transition: background 0.2s ease
  1305. ;
  1306. transition: background 0.2s ease
  1307. ;
  1308. }
  1309. /* Don't double up pointers */
  1310. .ui.pointing.menu .active.item .menu .active.item:after {
  1311. display: none;
  1312. }
  1313. .ui.vertical.pointing.menu .active.item:after {
  1314. position: absolute;
  1315. top: 50%;
  1316. margin-top: -0.3em;
  1317. right: -0.3em;
  1318. bottom: auto;
  1319. left: auto;
  1320. border: none;
  1321. border-top: 1px solid rgba(0, 0, 0, 0.1);
  1322. border-right: 1px solid rgba(0, 0, 0, 0.1);
  1323. }
  1324. /* Colors */
  1325. .ui.pointing.menu .active.item:hover:after {
  1326. background-color: #fafafa;
  1327. }
  1328. .ui.pointing.menu .active.item:after {
  1329. background-color: #f6f6f6;
  1330. }
  1331. .ui.vertical.pointing.menu .item:hover:after {
  1332. background-color: #fafafa;
  1333. }
  1334. .ui.vertical.pointing.menu .active.item:after {
  1335. background-color: #fcfcfc;
  1336. }
  1337. /*--------------
  1338. Attached
  1339. ---------------*/
  1340. .ui.menu.attached {
  1341. margin: 0rem;
  1342. border-radius: 0px;
  1343. /* avoid rgba multiplying */
  1344. box-shadow: 0px 0px 0px 1px #dddddd;
  1345. }
  1346. .ui.top.attached.menu {
  1347. border-radius: 0.2857rem 0.2857rem 0em 0em;
  1348. }
  1349. .ui.menu.bottom.attached {
  1350. border-radius: 0em 0em 0.2857rem 0.2857rem;
  1351. }
  1352. /*--------------
  1353. Sizes
  1354. ---------------*/
  1355. /* Small */
  1356. .ui.small.menu .item {
  1357. font-size: 0.875rem;
  1358. }
  1359. .ui.small.vertical.menu {
  1360. width: 13rem;
  1361. }
  1362. /* Medium */
  1363. .ui.menu .item {
  1364. font-size: 1rem;
  1365. }
  1366. .ui.vertical.menu {
  1367. width: 15rem;
  1368. }
  1369. /* Large */
  1370. .ui.large.menu .item {
  1371. font-size: 1.125rem;
  1372. }
  1373. .ui.large.menu .item .item {
  1374. font-size: 0.875rem;
  1375. }
  1376. .ui.large.menu .dropdown .item {
  1377. font-size: 1rem;
  1378. }
  1379. .ui.large.vertical.menu {
  1380. width: 18rem;
  1381. }
  1382. /*******************************
  1383. Theme Overrides
  1384. *******************************/
  1385. /*******************************
  1386. Site Overrides
  1387. *******************************/