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.

1595 lines
31 KiB

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