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.

1143 lines
28 KiB

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