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.

1255 lines
30 KiB

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