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.

1812 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: 0.1875em 0px 0px 0.1875em;
  44. }
  45. .ui.menu > .item:last-child {
  46. border-radius: 0px 0.1875em 0.1875em 0px;
  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: left;
  144. }
  145. .ui.menu .item.right,
  146. .ui.menu .menu.right {
  147. float: right;
  148. }
  149. /*--------------
  150. Borders
  151. ---------------*/
  152. .ui.menu .item:before {
  153. position: absolute;
  154. content: '';
  155. top: 0%;
  156. right: 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. right: auto;
  188. left: 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. left: 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 0em -0.15em 0.5em;
  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-right-radius: 0em;
  315. -moz-border-bottom-right-radius: 0em;
  316. border-bottom-right-radius: 0em;
  317. -webkit-border-bottom-left-radius: 0em;
  318. -moz-border-bottom-left-radius: 0em;
  319. border-bottom-left-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: 0em 0.1875em 0em 0em;
  350. -moz-border-radius: 0em 0.1875em 0em 0em;
  351. border-radius: 0em 0.1875em 0em 0em;
  352. }
  353. .ui.vertical.menu > .active.item:last-child {
  354. -webkit-border-radius: 0em 0em 0.1875em 0em;
  355. -moz-border-radius: 0em 0em 0.1875em 0em;
  356. border-radius: 0em 0em 0.1875em 0em;
  357. }
  358. .ui.vertical.menu > .active.item:only-child {
  359. -webkit-border-radius: 0em 0.1875em 0.1875em 0em;
  360. -moz-border-radius: 0em 0.1875em 0.1875em 0em;
  361. border-radius: 0em 0.1875em 0.1875em 0em;
  362. }
  363. .ui.vertical.menu .active.item .menu .active.item {
  364. border-left: none;
  365. }
  366. .ui.vertical.menu .active.item .menu .active.item {
  367. padding-left: 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. left: 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-left: 0em solid rgba(0, 0, 0, 0);
  413. border-right: 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: right;
  423. min-width: 2.5;
  424. text-align: center;
  425. }
  426. .ui.vertical.menu .item > .icon:not(.input) {
  427. float: right;
  428. width: 1.22em;
  429. margin: 0em 0em 0em 0.5em;
  430. }
  431. .ui.vertical.menu .item > .label + .icon {
  432. float: none;
  433. margin: 0em 0.25em 0em 0em;
  434. }
  435. /*--- Border ---*/
  436. .ui.vertical.menu .item:before {
  437. position: absolute;
  438. content: '';
  439. top: 0%;
  440. left: 0px;
  441. width: 100%;
  442. height: 1px;
  443. background-image: -webkit-linear-gradient(left,
  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(left,
  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(left,
  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(left,
  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(left,
  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: right;
  475. content: "\f0da";
  476. }
  477. .ui.vertical.menu .dropdown.item .menu {
  478. top: 0% !important;
  479. left: 100%;
  480. margin: 0px 0px 0px 1px;
  481. box-shadow: 0 0px 1px 1px #DDDDDD;
  482. }
  483. .ui.vertical.menu .dropdown.item.active {
  484. border-top-right-radius: 0em;
  485. border-bottom-right-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-right: 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. left: 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. border-radius: 0em;
  598. -webkit-box-shadow: none !important;
  599. -moz-box-shadow: none !important;
  600. box-shadow: none !important;
  601. }
  602. .ui.tabular.menu .item {
  603. background-color: transparent;
  604. border-left: 1px solid transparent;
  605. border-right: 1px solid transparent;
  606. border-top: 1px solid transparent;
  607. padding-left: 1.4em;
  608. padding-right: 1.4em;
  609. color: rgba(0, 0, 0, 0.6);
  610. }
  611. .ui.tabular.menu .item:before {
  612. display: none;
  613. }
  614. /* Hover */
  615. .ui.tabular.menu .item:hover {
  616. background-color: transparent;
  617. color: rgba(0, 0, 0, 0.8);
  618. }
  619. /* Active */
  620. .ui.tabular.menu .active.item {
  621. position: relative;
  622. background-color: #FFFFFF;
  623. color: rgba(0, 0, 0, 0.8);
  624. border-color: #DCDDDE;
  625. font-weight: bold;
  626. margin-bottom: -1px;
  627. border-bottom: 1px solid #FFFFFF;
  628. -webkit-box-shadow: none;
  629. -moz-box-shadow: none;
  630. box-shadow: none;
  631. -webkit-border-radius: 5px 5px 0 0;
  632. -moz-border-radius: 5px 5px 0 0;
  633. border-radius: 5px 5px 0 0;
  634. }
  635. /* Coupling with segment for attachment */
  636. .ui.attached.tabular.menu {
  637. position: relative;
  638. z-index: 2;
  639. }
  640. .ui.tabular.menu ~ .bottom.attached.segment {
  641. margin: 1px 0px 0px 1px;
  642. }
  643. /*--------------
  644. Pagination
  645. ---------------*/
  646. .ui.pagination.menu {
  647. margin: 0em;
  648. display: inline-block;
  649. vertical-align: middle;
  650. }
  651. .ui.pagination.menu .item {
  652. min-width: 3em;
  653. text-align: center;
  654. }
  655. .ui.pagination.menu .icon.item .icon {
  656. vertical-align: top;
  657. }
  658. .ui.pagination.menu.floated {
  659. display: block;
  660. }
  661. /* active */
  662. .ui.pagination.menu .active.item {
  663. border-top: none;
  664. padding-top: 0.83em;
  665. background-color: rgba(0, 0, 0, 0.05);
  666. -webkit-box-shadow: none;
  667. -moz-box-shadow: none;
  668. box-shadow: none;
  669. }
  670. /*--------------
  671. Secondary
  672. ---------------*/
  673. .ui.secondary.menu {
  674. background-color: transparent;
  675. -webkit-border-radius: 0px;
  676. -moz-border-radius: 0px;
  677. border-radius: 0px;
  678. -webkit-box-shadow: none;
  679. -moz-box-shadow: none;
  680. box-shadow: none;
  681. }
  682. .ui.secondary.menu > .menu > .item,
  683. .ui.secondary.menu > .item {
  684. -webkit-box-shadow: none;
  685. -moz-box-shadow: none;
  686. box-shadow: none;
  687. border: none;
  688. height: auto !important;
  689. margin: 0em 0.25em;
  690. padding: 0.5em 1em;
  691. -webkit-border-radius: 0.3125em;
  692. -moz-border-radius: 0.3125em;
  693. border-radius: 0.3125em;
  694. }
  695. .ui.secondary.menu > .menu > .item:before,
  696. .ui.secondary.menu > .item:before {
  697. display: none !important;
  698. }
  699. .ui.secondary.menu .item > .input input {
  700. background-color: transparent;
  701. border: none;
  702. }
  703. .ui.secondary.menu .link.item,
  704. .ui.secondary.menu a.item {
  705. opacity: 0.8;
  706. -webkit-transition: none;
  707. -moz-transition: none;
  708. -o-transition: none;
  709. -ms-transition: none;
  710. transition: none;
  711. }
  712. .ui.secondary.menu .header.item {
  713. border-right: 0.1em solid rgba(0, 0, 0, 0.1);
  714. background-color: transparent;
  715. -webkit-border-radius: 0em;
  716. -moz-border-radius: 0em;
  717. border-radius: 0em;
  718. }
  719. /* hover */
  720. .ui.secondary.menu .link.item:hover,
  721. .ui.secondary.menu a.item:hover {
  722. opacity: 1;
  723. }
  724. /* active */
  725. .ui.secondary.menu > .menu > .active.item,
  726. .ui.secondary.menu > .active.item {
  727. background-color: rgba(0, 0, 0, 0.08);
  728. opacity: 1;
  729. -webkit-box-shadow: none;
  730. -moz-box-shadow: none;
  731. box-shadow: none;
  732. }
  733. .ui.secondary.vertical.menu > .active.item {
  734. -webkit-border-radius: 0.3125em;
  735. -moz-border-radius: 0.3125em;
  736. border-radius: 0.3125em;
  737. }
  738. /* inverted */
  739. .ui.secondary.inverted.menu .link.item,
  740. .ui.secondary.inverted.menu a.item {
  741. color: rgba(255, 255, 255, 0.5);
  742. }
  743. .ui.secondary.inverted.menu .link.item:hover,
  744. .ui.secondary.inverted.menu a.item:hover {
  745. color: rgba(255, 255, 255, 0.9);
  746. }
  747. .ui.secondary.inverted.menu > .active.item {
  748. background-color: rgba(255, 255, 255, 0.9);
  749. }
  750. /* disable variations */
  751. .ui.secondary.item.menu > .item {
  752. margin: 0em;
  753. }
  754. .ui.secondary.attached.menu {
  755. -webkit-box-shadow: none;
  756. -moz-box-shadow: none;
  757. box-shadow: none;
  758. }
  759. /*---------------------
  760. Secondary Pointing
  761. -----------------------*/
  762. .ui.secondary.pointing.menu {
  763. border-bottom: 3px solid rgba(0, 0, 0, 0.1);
  764. }
  765. .ui.secondary.pointing.menu > .menu > .item,
  766. .ui.secondary.pointing.menu > .item {
  767. margin: 0em 0em -3px;
  768. padding: 0.6em 0.95em;
  769. border-bottom: 3px solid rgba(0, 0, 0, 0);
  770. -webkit-border-radius: 0em;
  771. -moz-border-radius: 0em;
  772. border-radius: 0em;
  773. -webkit-transition:
  774. color 0.2s
  775. ;
  776. -moz-transition:
  777. color 0.2s
  778. ;
  779. -o-transition:
  780. color 0.2s
  781. ;
  782. -ms-transition:
  783. color 0.2s
  784. ;
  785. transition:
  786. color 0.2s
  787. ;
  788. }
  789. /* Item Types */
  790. .ui.secondary.pointing.menu .header.item {
  791. border-right-width: 0px;
  792. font-weight: bold;
  793. }
  794. .ui.secondary.pointing.menu .text.item {
  795. box-shadow: none !important;
  796. }
  797. .ui.secondary.pointing.menu > .menu > .item:after,
  798. .ui.secondary.pointing.menu > .item:after {
  799. display: none;
  800. }
  801. /* Hover */
  802. .ui.secondary.pointing.menu > .menu > .link.item:hover,
  803. .ui.secondary.pointing.menu > .link.item:hover,
  804. .ui.secondary.pointing.menu > .menu > a.item:hover,
  805. .ui.secondary.pointing.menu > a.item:hover {
  806. background-color: transparent;
  807. color: rgba(0, 0, 0, 0.7);
  808. }
  809. /* Down */
  810. .ui.secondary.pointing.menu > .menu > .link.item:active,
  811. .ui.secondary.pointing.menu > .link.item:active,
  812. .ui.secondary.pointing.menu > .menu > a.item:active,
  813. .ui.secondary.pointing.menu > a.item:active {
  814. background-color: transparent;
  815. border-color: rgba(0, 0, 0, 0.2);
  816. }
  817. /* Active */
  818. .ui.secondary.pointing.menu > .menu > .item.active,
  819. .ui.secondary.pointing.menu > .item.active {
  820. background-color: transparent;
  821. border-color: rgba(0, 0, 0, 0.4);
  822. -webkit-box-shadow: none;
  823. -moz-box-shadow: none;
  824. box-shadow: none;
  825. }
  826. /*---------------------
  827. Secondary Vertical
  828. -----------------------*/
  829. .ui.secondary.vertical.pointing.menu {
  830. border: none;
  831. border-right: 3px solid rgba(0, 0, 0, 0.1);
  832. }
  833. .ui.secondary.vertical.menu > .item {
  834. border: none;
  835. margin: 0em 0em 0.3em;
  836. padding: 0.6em 0.8em;
  837. -webkit-border-radius: 0.1875em;
  838. -moz-border-radius: 0.1875em;
  839. border-radius: 0.1875em;
  840. }
  841. .ui.secondary.vertical.menu > .header.item {
  842. -webkit-border-radius: 0em;
  843. -moz-border-radius: 0em;
  844. border-radius: 0em;
  845. }
  846. .ui.secondary.vertical.pointing.menu > .item {
  847. margin: 0em -3px 0em 0em;
  848. border-bottom: none;
  849. border-right: 3px solid transparent;
  850. -webkit-border-radius: 0em;
  851. -moz-border-radius: 0em;
  852. border-radius: 0em;
  853. }
  854. /* Hover */
  855. .ui.secondary.vertical.pointing.menu > .item.hover,
  856. .ui.secondary.vertical.pointing.menu > .item:hover {
  857. background-color: transparent;
  858. color: rgba(0, 0, 0, 0.7);
  859. }
  860. /* Down */
  861. .ui.secondary.vertical.pointing.menu > .item:active {
  862. background-color: transparent;
  863. border-color: rgba(0, 0, 0, 0.2);
  864. }
  865. /* Active */
  866. .ui.secondary.vertical.pointing.menu > .item.active {
  867. background-color: transparent;
  868. border-color: rgba(0, 0, 0, 0.4);
  869. color: rgba(0, 0, 0, 0.85);
  870. }
  871. /*--------------
  872. Inverted
  873. ---------------*/
  874. .ui.secondary.inverted.menu {
  875. background-color: transparent;
  876. }
  877. .ui.secondary.inverted.pointing.menu {
  878. border-bottom: 3px solid rgba(255, 255, 255, 0.1);
  879. }
  880. .ui.secondary.inverted.pointing.menu > .item {
  881. color: rgba(255, 255, 255, 0.7);
  882. }
  883. /* Hover */
  884. .ui.secondary.inverted.pointing.menu > .item.hover,
  885. .ui.secondary.inverted.pointing.menu > .item:hover {
  886. color: rgba(255, 255, 255, 0.85);
  887. }
  888. /* Down */
  889. .ui.secondary.inverted.pointing.menu > .item:active {
  890. border-color: rgba(255, 255, 255, 0.4) !important;
  891. }
  892. /* Active */
  893. .ui.secondary.inverted.pointing.menu > .item.active {
  894. border-color: rgba(255, 255, 255, 0.8) !important;
  895. color: rgba(255, 255, 255, 1);
  896. }
  897. /*---------------------
  898. Inverted Vertical
  899. ----------------------*/
  900. .ui.secondary.inverted.vertical.pointing.menu {
  901. border-right: 3px solid rgba(255, 255, 255, 0.1);
  902. border-bottom: none;
  903. }
  904. /*--------------
  905. Text Menu
  906. ---------------*/
  907. .ui.text.menu {
  908. background-color: transparent;
  909. margin: 1rem -1rem;
  910. -moz-border-radius: 0px;
  911. -webkit-border-radius: 0px;
  912. border-radius: 0px;
  913. -webkit-box-shadow: none;
  914. -moz-box-shadow: none;
  915. box-shadow: none;
  916. }
  917. .ui.text.menu > .item {
  918. opacity: 0.8;
  919. margin: 0em 1em;
  920. padding: 0em;
  921. height: auto !important;
  922. -webkit-border-radius: 0px;
  923. -moz-border-radius: 0px;
  924. border-radius: 0px;
  925. -webkit-box-shadow: none;
  926. -moz-box-shadow: none;
  927. box-shadow: none;
  928. -webkit-transition:
  929. opacity 0.2s ease
  930. ;
  931. -moz-transition:
  932. opacity 0.2s ease
  933. ;
  934. -o-transition:
  935. opacity 0.2s ease
  936. ;
  937. -ms-transition:
  938. opacity 0.2s ease
  939. ;
  940. transition:
  941. opacity 0.2s ease
  942. ;
  943. }
  944. .ui.text.menu > .item:before {
  945. display: none !important;
  946. }
  947. .ui.text.menu .header.item {
  948. background-color: transparent;
  949. opacity: 1;
  950. color: rgba(50, 50, 50, 0.8);
  951. font-size: 0.875rem;
  952. padding: 0em;
  953. text-transform: uppercase;
  954. font-weight: bold;
  955. }
  956. /*--- fluid text ---*/
  957. .ui.text.item.menu .item {
  958. margin: 0em;
  959. }
  960. /*--- vertical text ---*/
  961. .ui.vertical.text.menu {
  962. margin: 1rem 0em;
  963. }
  964. .ui.vertical.text.menu:first-child {
  965. margin-top: 0rem;
  966. }
  967. .ui.vertical.text.menu:last-child {
  968. margin-bottom: 0rem;
  969. }
  970. .ui.vertical.text.menu .item {
  971. float: left;
  972. clear: left;
  973. margin: 0.5em 0em;
  974. }
  975. .ui.vertical.text.menu .item > .icon {
  976. float: none;
  977. margin: 0em 0.83em 0em 0em;
  978. }
  979. .ui.vertical.text.menu .header.item {
  980. margin: 0.8em 0em;
  981. }
  982. /*--- hover ---*/
  983. .ui.text.menu .item.hover,
  984. .ui.text.menu .item:hover {
  985. opacity: 1;
  986. background-color: transparent;
  987. }
  988. /*--- active ---*/
  989. .ui.text.menu .active.item {
  990. background-color: transparent;
  991. padding: 0em;
  992. border: none;
  993. opacity: 1;
  994. font-weight: bold;
  995. -webkit-box-shadow: none;
  996. -moz-box-shadow: none;
  997. box-shadow: none;
  998. }
  999. /* disable variations */
  1000. .ui.text.pointing.menu .active.item:after {
  1001. -webkit-box-shadow: none;
  1002. -moz-box-shadow: none;
  1003. box-shadow: none;
  1004. }
  1005. .ui.text.attached.menu {
  1006. -webkit-box-shadow: none;
  1007. -moz-box-shadow: none;
  1008. box-shadow: none;
  1009. }
  1010. .ui.inverted.text.menu,
  1011. .ui.inverted.text.menu .item,
  1012. .ui.inverted.text.menu .item:hover,
  1013. .ui.inverted.text.menu .item.active {
  1014. background-color: transparent;
  1015. }
  1016. /*--------------
  1017. Icon Only
  1018. ---------------*/
  1019. .ui.icon.menu,
  1020. .ui.vertical.icon.menu {
  1021. width: auto;
  1022. display: inline-block;
  1023. height: auto;
  1024. }
  1025. .ui.icon.menu > .item {
  1026. height: auto;
  1027. text-align: center;
  1028. color: rgba(60, 60, 60, 0.7);
  1029. }
  1030. .ui.icon.menu > .item > .icon {
  1031. display: block;
  1032. float: none !important;
  1033. opacity: 1;
  1034. margin: 0em auto !important;
  1035. }
  1036. .ui.icon.menu .icon:before {
  1037. opacity: 1;
  1038. }
  1039. /* Item Icon Only */
  1040. .ui.menu .icon.item .icon {
  1041. margin: 0em;
  1042. }
  1043. .ui.vertical.icon.menu {
  1044. float: none;
  1045. }
  1046. /*--- inverted ---*/
  1047. .ui.inverted.icon.menu .item {
  1048. color: rgba(255, 255, 255, 0.8);
  1049. }
  1050. .ui.inverted.icon.menu .icon {
  1051. color: rgba(255, 255, 255, 1);
  1052. }
  1053. /*--------------
  1054. Labeled Icon
  1055. ---------------*/
  1056. .ui.labeled.icon.menu {
  1057. text-align: center;
  1058. }
  1059. .ui.labeled.icon.menu > .item > .icon {
  1060. display: block;
  1061. font-size: 1.5em !important;
  1062. margin: 0em auto 0.3em !important;
  1063. }
  1064. /*******************************
  1065. Variations
  1066. *******************************/
  1067. /*--------------
  1068. Colors
  1069. ---------------*/
  1070. /*--- Light Colors ---*/
  1071. .ui.menu .green.active.item,
  1072. .ui.green.menu .active.item {
  1073. border-color: #A1CF64 !important;
  1074. color: #A1CF64 !important;
  1075. }
  1076. .ui.menu .red.active.item,
  1077. .ui.red.menu .active.item {
  1078. border-color: #D95C5C !important;
  1079. color: #D95C5C !important;
  1080. }
  1081. .ui.menu .blue.active.item,
  1082. .ui.blue.menu .active.item {
  1083. border-color: #6ECFF5 !important;
  1084. color: #6ECFF5 !important;
  1085. }
  1086. .ui.menu .purple.active.item,
  1087. .ui.purple.menu .active.item {
  1088. border-color: #564F8A !important;
  1089. color: #564F8A !important;
  1090. }
  1091. .ui.menu .orange.active.item,
  1092. .ui.orange.menu .active.item {
  1093. border-color: #F05940 !important;
  1094. color: #F05940 !important;
  1095. }
  1096. .ui.menu .teal.active.item,
  1097. .ui.teal.menu .active.item {
  1098. border-color: #00B5AD !important;
  1099. color: #00B5AD !important;
  1100. }
  1101. /*--------------
  1102. Inverted
  1103. ---------------*/
  1104. .ui.inverted.menu {
  1105. background-color: #333333;
  1106. box-shadow: none;
  1107. }
  1108. .ui.inverted.menu .header.item {
  1109. margin: 0em;
  1110. background-color: rgba(0, 0, 0, 0.3);
  1111. -webkit-box-shadow: none;
  1112. -moz-box-shadow: none;
  1113. box-shadow: none;
  1114. }
  1115. .ui.inverted.menu .item,
  1116. .ui.inverted.menu .item > a {
  1117. color: #FFFFFF;
  1118. }
  1119. .ui.inverted.menu .item .item,
  1120. .ui.inverted.menu .item .item > a {
  1121. color: rgba(255, 255, 255, 0.8);
  1122. }
  1123. .ui.inverted.menu .dropdown.item .menu .item,
  1124. .ui.inverted.menu .dropdown.item .menu .item a {
  1125. color: rgba(0, 0, 0, 0.75) !important;
  1126. }
  1127. .ui.inverted.menu .item.disabled,
  1128. .ui.inverted.menu .item.disabled:hover,
  1129. .ui.inverted.menu .item.disabled.hover {
  1130. color: rgba(255, 255, 255, 0.2);
  1131. }
  1132. /*--- Border ---*/
  1133. .ui.inverted.menu .item:before {
  1134. background-image: -webkit-linear-gradient(top,
  1135. rgba(255, 255, 255, 0.03) 0%,
  1136. rgba(255, 255, 255, 0.1) 50%,
  1137. rgba(255, 255, 255, 0.03) 100%)
  1138. ;
  1139. background-image: -moz-linear-gradient(top,
  1140. rgba(255, 255, 255, 0.03) 0%,
  1141. rgba(255, 255, 255, 0.1) 50%,
  1142. rgba(255, 255, 255, 0.03) 100%)
  1143. ;
  1144. background-image: -o-linear-gradient(top,
  1145. rgba(255, 255, 255, 0.03) 0%,
  1146. rgba(255, 255, 255, 0.1) 50%,
  1147. rgba(255, 255, 255, 0.03) 100%)
  1148. ;
  1149. background-image: -ms-linear-gradient(top,
  1150. rgba(255, 255, 255, 0.03) 0%,
  1151. rgba(255, 255, 255, 0.1) 50%,
  1152. rgba(255, 255, 255, 0.03) 100%)
  1153. ;
  1154. background-image: linear-gradient(top,
  1155. rgba(255, 255, 255, 0.03) 0%,
  1156. rgba(255, 255, 255, 0.1) 50%,
  1157. rgba(255, 255, 255, 0.03) 100%)
  1158. ;
  1159. }
  1160. .ui.vertical.inverted.menu .item:before {
  1161. background-image: -webkit-linear-gradient(left,
  1162. rgba(255, 255, 255, 0.03) 0%,
  1163. rgba(255, 255, 255, 0.1) 50%,
  1164. rgba(255, 255, 255, 0.03) 100%)
  1165. ;
  1166. background-image: -moz-linear-gradient(left,
  1167. rgba(255, 255, 255, 0.03) 0%,
  1168. rgba(255, 255, 255, 0.1) 50%,
  1169. rgba(255, 255, 255, 0.03) 100%)
  1170. ;
  1171. background-image: -o-linear-gradient(left,
  1172. rgba(255, 255, 255, 0.03) 0%,
  1173. rgba(255, 255, 255, 0.1) 50%,
  1174. rgba(255, 255, 255, 0.03) 100%)
  1175. ;
  1176. background-image: -ms-linear-gradient(left,
  1177. rgba(255, 255, 255, 0.03) 0%,
  1178. rgba(255, 255, 255, 0.1) 50%,
  1179. rgba(255, 255, 255, 0.03) 100%)
  1180. ;
  1181. background-image: linear-gradient(left,
  1182. rgba(255, 255, 255, 0.03) 0%,
  1183. rgba(255, 255, 255, 0.1) 50%,
  1184. rgba(255, 255, 255, 0.03) 100%)
  1185. ;
  1186. }
  1187. /*--- Hover ---*/
  1188. .ui.link.inverted.menu .item:hover,
  1189. .ui.inverted.menu .item.hover,
  1190. .ui.inverted.menu .link.item:hover,
  1191. .ui.inverted.menu a.item:hover,
  1192. .ui.inverted.menu .dropdown.item.hover,
  1193. .ui.inverted.menu .dropdown.item:hover {
  1194. background-color: rgba(255, 255, 255, 0.1);
  1195. }
  1196. .ui.inverted.menu a.item:hover,
  1197. .ui.inverted.menu .item.hover,
  1198. .ui.inverted.menu .item > a:hover,
  1199. .ui.inverted.menu .item .menu a.item:hover,
  1200. .ui.inverted.menu .item .menu a.item.hover,
  1201. .ui.inverted.menu .item .menu .link.item:hover,
  1202. .ui.inverted.menu .item .menu .link.item.hover {
  1203. color: rgba(255, 255, 255, 1);
  1204. }
  1205. /*--- Down ---*/
  1206. .ui.inverted.menu a.item:active,
  1207. .ui.inverted.menu .dropdown.item:active,
  1208. .ui.inverted.menu .link.item:active,
  1209. .ui.inverted.menu a.item:active {
  1210. background-color: rgba(255, 255, 255, 0.15);
  1211. }
  1212. /*--- Active ---*/
  1213. .ui.inverted.menu .active.item {
  1214. box-shadow: none !important;
  1215. background-color: rgba(255, 255, 255, 0.2);
  1216. }
  1217. .ui.inverted.menu .active.item,
  1218. .ui.inverted.menu .active.item a {
  1219. color: rgba(255, 255, 255, 1) !important;
  1220. }
  1221. .ui.inverted.vertical.menu .item .menu .active.item {
  1222. background-color: rgba(255, 255, 255, 0.2);
  1223. color: rgba(255, 255, 255, 1);
  1224. }
  1225. /*--- Pointers ---*/
  1226. .ui.inverted.pointing.menu .active.item:after {
  1227. background-color: #505050;
  1228. box-shadow: none;
  1229. }
  1230. .ui.inverted.pointing.menu .active.item:hover:after {
  1231. background-color: #3B3B3B;
  1232. }
  1233. /*--------------
  1234. Selection
  1235. ---------------*/
  1236. .ui.selection.menu > .item {
  1237. color: rgba(0, 0, 0, 0.4);
  1238. }
  1239. .ui.selection.menu > .item:hover {
  1240. color: rgba(0, 0, 0, 0.6);
  1241. }
  1242. .ui.selection.menu > .item.active {
  1243. color: rgba(0, 0, 0, 0.85);
  1244. }
  1245. .ui.inverted.selection.menu > .item {
  1246. color: rgba(255, 255, 255, 0.4);
  1247. }
  1248. .ui.inverted.selection.menu > .item:hover {
  1249. color: rgba(255, 255, 255, 0.9);
  1250. }
  1251. .ui.inverted.selection.menu > .item.active {
  1252. color: #FFFFFF;
  1253. }
  1254. /*--------------
  1255. Floated
  1256. ---------------*/
  1257. .ui.floated.menu {
  1258. float: left;
  1259. margin: 0rem 0.5rem 0rem 0rem;
  1260. }
  1261. .ui.right.floated.menu {
  1262. float: right;
  1263. margin: 0rem 0rem 0rem 0.5rem;
  1264. }
  1265. /*--------------
  1266. Inverted Colors
  1267. ---------------*/
  1268. /*--- Light Colors ---*/
  1269. .ui.grey.menu {
  1270. background-color: #F0F0F0;
  1271. }
  1272. /*--- Inverted Colors ---*/
  1273. .ui.inverted.green.menu {
  1274. background-color: #A1CF64;
  1275. }
  1276. .ui.inverted.green.pointing.menu .active.item:after {
  1277. background-color: #A1CF64;
  1278. }
  1279. .ui.inverted.red.menu {
  1280. background-color: #D95C5C;
  1281. }
  1282. .ui.inverted.red.pointing.menu .active.item:after {
  1283. background-color: #F16883;
  1284. }
  1285. .ui.inverted.blue.menu {
  1286. background-color: #6ECFF5;
  1287. }
  1288. .ui.inverted.blue.pointing.menu .active.item:after {
  1289. background-color: #6ECFF5;
  1290. }
  1291. .ui.inverted.purple.menu {
  1292. background-color: #564F8A;
  1293. }
  1294. .ui.inverted.purple.pointing.menu .active.item:after {
  1295. background-color: #564F8A;
  1296. }
  1297. .ui.inverted.orange.menu {
  1298. background-color: #F05940;
  1299. }
  1300. .ui.inverted.orange.pointing.menu .active.item:after {
  1301. background-color: #F05940;
  1302. }
  1303. .ui.inverted.teal.menu {
  1304. background-color: #00B5AD;
  1305. }
  1306. .ui.inverted.teal.pointing.menu .active.item:after {
  1307. background-color: #00B5AD;
  1308. }
  1309. /*--------------
  1310. Fitted
  1311. ---------------*/
  1312. .ui.fitted.menu .item,
  1313. .ui.fitted.menu .item .menu .item,
  1314. .ui.menu .fitted.item {
  1315. padding: 0em;
  1316. }
  1317. .ui.horizontally.fitted.menu .item,
  1318. .ui.horizontally.fitted.menu .item .menu .item,
  1319. .ui.menu .horizontally.fitted.item {
  1320. padding-top: 0.83em;
  1321. padding-bottom: 0.83em;
  1322. }
  1323. .ui.vertically.fitted.menu .item,
  1324. .ui.vertically.fitted.menu .item .menu .item,
  1325. .ui.menu .vertically.fitted.item {
  1326. padding-left: 0.95em;
  1327. padding-right: 0.95em;
  1328. }
  1329. /*--------------
  1330. Borderless
  1331. ---------------*/
  1332. .ui.borderless.menu .item:before,
  1333. .ui.borderless.menu .item .menu .item:before,
  1334. .ui.menu .borderless.item:before {
  1335. background-image: none;
  1336. }
  1337. /*-------------------
  1338. Compact
  1339. --------------------*/
  1340. .ui.compact.menu {
  1341. display: inline-block;
  1342. margin: 0em;
  1343. vertical-align: middle;
  1344. }
  1345. .ui.compact.vertical.menu {
  1346. width: auto !important;
  1347. }
  1348. .ui.compact.vertical.menu .item:last-child::before {
  1349. display: block;
  1350. }
  1351. /*-------------------
  1352. Fluid
  1353. --------------------*/
  1354. .ui.menu.fluid,
  1355. .ui.vertical.menu.fluid {
  1356. display: block;
  1357. width: 100% !important;
  1358. }
  1359. /*-------------------
  1360. Evenly Sized
  1361. --------------------*/
  1362. .ui.item.menu,
  1363. .ui.item.menu .item {
  1364. width: 100%;
  1365. padding-left: 0px !important;
  1366. padding-right: 0px !important;
  1367. text-align: center;
  1368. }
  1369. .ui.menu.two.item .item {
  1370. width: 50%;
  1371. }
  1372. .ui.menu.three.item .item {
  1373. width: 33.333%;
  1374. }
  1375. .ui.menu.four.item .item {
  1376. width: 25%;
  1377. }
  1378. .ui.menu.five.item .item {
  1379. width: 20%;
  1380. }
  1381. .ui.menu.six.item .item {
  1382. width: 16.666%;
  1383. }
  1384. .ui.menu.seven.item .item {
  1385. width: 14.285%;
  1386. }
  1387. .ui.menu.eight.item .item {
  1388. width: 12.500%;
  1389. }
  1390. .ui.menu.nine.item .item {
  1391. width: 11.11%;
  1392. }
  1393. .ui.menu.ten.item .item {
  1394. width: 10.0%;
  1395. }
  1396. .ui.menu.eleven.item .item {
  1397. width: 9.09%;
  1398. }
  1399. .ui.menu.twelve.item .item {
  1400. width: 8.333%;
  1401. }
  1402. /*--------------
  1403. Fixed
  1404. ---------------*/
  1405. .ui.menu.fixed {
  1406. position: fixed;
  1407. z-index: 10;
  1408. margin: 0em;
  1409. border: none;
  1410. width: 100%;
  1411. }
  1412. .ui.menu.fixed,
  1413. .ui.menu.fixed .item:first-child,
  1414. .ui.menu.fixed .item:last-child {
  1415. -webkit-border-radius: 0px !important;
  1416. -moz-border-radius: 0px !important;
  1417. border-radius: 0px !important;
  1418. }
  1419. .ui.menu.fixed.top {
  1420. top: 0px;
  1421. left: 0px;
  1422. right: auto;
  1423. bottom: auto;
  1424. }
  1425. .ui.menu.fixed.right {
  1426. top: 0px;
  1427. right: 0px;
  1428. left: auto;
  1429. bottom: auto;
  1430. width: auto;
  1431. height: 100%;
  1432. }
  1433. .ui.menu.fixed.bottom {
  1434. bottom: 0px;
  1435. left: 0px;
  1436. top: auto;
  1437. right: auto;
  1438. }
  1439. .ui.menu.fixed.left {
  1440. top: 0px;
  1441. left: 0px;
  1442. right: auto;
  1443. bottom: auto;
  1444. width: auto;
  1445. height: 100%;
  1446. }
  1447. /*-------------------
  1448. Pointing
  1449. --------------------*/
  1450. .ui.pointing.menu .active.item:after {
  1451. position: absolute;
  1452. bottom: -0.35em;
  1453. left: 50%;
  1454. content: "";
  1455. margin-left: -0.3em;
  1456. width: 0.6em;
  1457. height: 0.6em;
  1458. border: none;
  1459. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  1460. border-right: 1px solid rgba(0, 0, 0, 0.1);
  1461. background-image: none;
  1462. -webkit-transform: rotate(45deg);
  1463. -moz-transform: rotate(45deg);
  1464. transform: rotate(45deg);
  1465. z-index: 2;
  1466. -webkit-transition:
  1467. background 0.2s ease
  1468. ;
  1469. -moz-transition:
  1470. background 0.2s ease
  1471. ;
  1472. -o-transition:
  1473. background 0.2s ease
  1474. ;
  1475. -ms-transition:
  1476. background 0.2s ease
  1477. ;
  1478. transition:
  1479. background 0.2s ease
  1480. ;
  1481. }
  1482. /* Don't double up pointers */
  1483. .ui.pointing.menu .active.item .menu .active.item:after {
  1484. display: none;
  1485. }
  1486. .ui.vertical.pointing.menu .active.item:after {
  1487. position: absolute;
  1488. top: 50%;
  1489. margin-top: -0.3em;
  1490. right: -0.4em;
  1491. bottom: auto;
  1492. left: auto;
  1493. border: none;
  1494. border-top: 1px solid rgba(0, 0, 0, 0.1);
  1495. border-right: 1px solid rgba(0, 0, 0, 0.1);
  1496. }
  1497. /* Colors */
  1498. .ui.pointing.menu .active.item:after {
  1499. background-color: #FCFCFC;
  1500. }
  1501. .ui.pointing.menu .active.item.hover:after,
  1502. .ui.pointing.menu .active.item:hover:after {
  1503. background-color: #FAFAFA;
  1504. }
  1505. .ui.vertical.pointing.menu .menu .active.item:after {
  1506. background-color: #F4F4F4;
  1507. }
  1508. .ui.pointing.menu a.active.item:active:after {
  1509. background-color: #F0F0F0;
  1510. }
  1511. /*--------------
  1512. Attached
  1513. ---------------*/
  1514. .ui.menu.attached {
  1515. margin: 0rem;
  1516. -moz-border-radius: 0px;
  1517. -webkit-border-radius: 0px;
  1518. border-radius: 0px;
  1519. /* avoid rgba multiplying */
  1520. -moz-box-shadow: 0px 0px 0px 1px #DDDDDD;
  1521. -webkit-box-shadow: 0px 0px 0px 1px #DDDDDD;
  1522. box-shadow: 0px 0px 0px 1px #DDDDDD;
  1523. }
  1524. .ui.top.attached.menu {
  1525. -moz-border-radius: 0.1875em 0.1875em 0px 0px;
  1526. -webkit-border-radius: 0.1875em 0.1875em 0px 0px;
  1527. border-radius: 0.1875em 0.1875em 0px 0px;
  1528. }
  1529. .ui.menu.bottom.attached {
  1530. -moz-border-radius: 0px 0px 0.1875em 0.1875em;
  1531. -webkit-border-radius: 0px 0px 0.1875em 0.1875em;
  1532. border-radius: 0px 0px 0.1875em 0.1875em;
  1533. }
  1534. /*--------------
  1535. Sizes
  1536. ---------------*/
  1537. .ui.small.menu .item {
  1538. font-size: 0.875rem;
  1539. }
  1540. .ui.small.menu:not(.vertical) .item > .input input {
  1541. padding-top: 0.4em;
  1542. padding-bottom: 0.4em;
  1543. }
  1544. .ui.small.vertical.menu {
  1545. width: 13rem;
  1546. }
  1547. .ui.menu .item {
  1548. font-size: 1rem;
  1549. }
  1550. .ui.vertical.menu {
  1551. width: 15rem;
  1552. }
  1553. .ui.large.menu .item {
  1554. font-size: 1.125rem;
  1555. }
  1556. .ui.large.menu .item .item {
  1557. font-size: 0.875rem;
  1558. }
  1559. .ui.large.menu:not(.vertical) .item > .input input {
  1560. top: -0.125em;
  1561. padding-bottom: 0.6em;
  1562. padding-top: 0.6em;
  1563. }
  1564. .ui.large.menu .dropdown.item .item {
  1565. font-size: 1rem;
  1566. }
  1567. .ui.large.vertical.menu {
  1568. width: 18rem;
  1569. }