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.

1809 lines
36 KiB

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