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.

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