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.

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