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.

1457 lines
35 KiB

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