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.

1413 lines
34 KiB

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