fomantic-ui 2.9.1-beta.8 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/.eslint/eqeqeq-rule.js +18 -0
  2. package/.eslint/index.js +29 -0
  3. package/.eslint/no-extra-parens-rule.js +17 -0
  4. package/.eslint/package.json +11 -0
  5. package/.eslintrc.js +123 -0
  6. package/.github/auto_assign.yml +0 -1
  7. package/.github/workflows/ci.yml +37 -4
  8. package/.github/workflows/nightly.yml +1 -1
  9. package/.github/workflows/release.yml +1 -1
  10. package/.prettierrc.js +12 -0
  11. package/.stylelintrc.js +48 -0
  12. package/CHANGELOG.md +112 -0
  13. package/README.md +1 -1
  14. package/dist/components/accordion.css +35 -53
  15. package/dist/components/accordion.js +568 -595
  16. package/dist/components/accordion.min.css +2 -2
  17. package/dist/components/accordion.min.js +3 -3
  18. package/dist/components/ad.css +34 -45
  19. package/dist/components/ad.min.css +2 -2
  20. package/dist/components/api.js +1157 -1179
  21. package/dist/components/api.min.js +3 -3
  22. package/dist/components/breadcrumb.css +5 -5
  23. package/dist/components/breadcrumb.min.css +2 -2
  24. package/dist/components/button.css +709 -1111
  25. package/dist/components/button.min.css +2 -2
  26. package/dist/components/calendar.css +24 -27
  27. package/dist/components/calendar.js +1934 -1809
  28. package/dist/components/calendar.min.css +2 -2
  29. package/dist/components/calendar.min.js +3 -3
  30. package/dist/components/card.css +219 -365
  31. package/dist/components/card.min.css +2 -2
  32. package/dist/components/checkbox.css +120 -191
  33. package/dist/components/checkbox.js +842 -841
  34. package/dist/components/checkbox.min.css +2 -2
  35. package/dist/components/checkbox.min.js +3 -3
  36. package/dist/components/comment.css +41 -59
  37. package/dist/components/comment.min.css +2 -2
  38. package/dist/components/container.css +7 -6
  39. package/dist/components/container.min.css +2 -2
  40. package/dist/components/dimmer.css +53 -172
  41. package/dist/components/dimmer.js +706 -737
  42. package/dist/components/dimmer.min.css +2 -2
  43. package/dist/components/dimmer.min.js +3 -3
  44. package/dist/components/divider.css +43 -61
  45. package/dist/components/divider.min.css +2 -2
  46. package/dist/components/dropdown.css +252 -386
  47. package/dist/components/dropdown.js +4195 -4236
  48. package/dist/components/dropdown.min.css +2 -2
  49. package/dist/components/dropdown.min.js +3 -3
  50. package/dist/components/embed.css +18 -29
  51. package/dist/components/embed.js +645 -675
  52. package/dist/components/embed.min.css +2 -2
  53. package/dist/components/embed.min.js +3 -3
  54. package/dist/components/emoji.css +3556 -3556
  55. package/dist/components/emoji.min.css +1 -1
  56. package/dist/components/feed.css +35 -57
  57. package/dist/components/feed.min.css +2 -2
  58. package/dist/components/flag.css +270 -268
  59. package/dist/components/flag.min.css +2 -2
  60. package/dist/components/flyout.css +95 -141
  61. package/dist/components/flyout.js +1514 -1465
  62. package/dist/components/flyout.min.css +2 -2
  63. package/dist/components/flyout.min.js +3 -3
  64. package/dist/components/form.css +244 -339
  65. package/dist/components/form.js +2022 -2004
  66. package/dist/components/form.min.css +2 -2
  67. package/dist/components/form.min.js +3 -3
  68. package/dist/components/grid.css +183 -329
  69. package/dist/components/grid.min.css +2 -2
  70. package/dist/components/header.css +118 -142
  71. package/dist/components/header.min.css +2 -2
  72. package/dist/components/icon.css +662 -745
  73. package/dist/components/icon.min.css +2 -2
  74. package/dist/components/image.css +39 -63
  75. package/dist/components/image.min.css +2 -2
  76. package/dist/components/input.css +356 -274
  77. package/dist/components/input.min.css +2 -2
  78. package/dist/components/item.css +84 -131
  79. package/dist/components/item.min.css +2 -2
  80. package/dist/components/label.css +359 -410
  81. package/dist/components/label.min.css +2 -2
  82. package/dist/components/list.css +49 -70
  83. package/dist/components/list.min.css +2 -2
  84. package/dist/components/loader.css +67 -155
  85. package/dist/components/loader.min.css +2 -2
  86. package/dist/components/menu.css +270 -431
  87. package/dist/components/menu.min.css +1 -1
  88. package/dist/components/message.css +125 -197
  89. package/dist/components/message.min.css +2 -2
  90. package/dist/components/modal.css +120 -154
  91. package/dist/components/modal.js +1544 -1486
  92. package/dist/components/modal.min.css +2 -2
  93. package/dist/components/modal.min.js +3 -3
  94. package/dist/components/nag.css +53 -63
  95. package/dist/components/nag.js +520 -526
  96. package/dist/components/nag.min.css +2 -2
  97. package/dist/components/nag.min.js +3 -3
  98. package/dist/components/placeholder.css +22 -42
  99. package/dist/components/placeholder.min.css +2 -2
  100. package/dist/components/popup.css +424 -202
  101. package/dist/components/popup.js +1456 -1456
  102. package/dist/components/popup.min.css +2 -2
  103. package/dist/components/popup.min.js +3 -3
  104. package/dist/components/progress.css +106 -211
  105. package/dist/components/progress.js +969 -997
  106. package/dist/components/progress.min.css +2 -2
  107. package/dist/components/progress.min.js +3 -3
  108. package/dist/components/rail.css +15 -20
  109. package/dist/components/rail.min.css +1 -1
  110. package/dist/components/rating.css +80 -121
  111. package/dist/components/rating.js +507 -523
  112. package/dist/components/rating.min.css +2 -2
  113. package/dist/components/rating.min.js +3 -3
  114. package/dist/components/reset.css +8 -13
  115. package/dist/components/reset.min.css +2 -2
  116. package/dist/components/reveal.css +44 -83
  117. package/dist/components/reveal.min.css +2 -2
  118. package/dist/components/search.css +69 -98
  119. package/dist/components/search.js +1520 -1534
  120. package/dist/components/search.min.css +2 -2
  121. package/dist/components/search.min.js +3 -3
  122. package/dist/components/segment.css +148 -224
  123. package/dist/components/segment.min.css +2 -2
  124. package/dist/components/shape.css +14 -30
  125. package/dist/components/shape.js +783 -810
  126. package/dist/components/shape.min.css +2 -2
  127. package/dist/components/shape.min.js +3 -3
  128. package/dist/components/sidebar.css +103 -206
  129. package/dist/components/sidebar.js +1061 -1099
  130. package/dist/components/sidebar.min.css +2 -2
  131. package/dist/components/sidebar.min.js +3 -3
  132. package/dist/components/site.css +28 -41
  133. package/dist/components/site.js +436 -476
  134. package/dist/components/site.min.css +2 -2
  135. package/dist/components/site.min.js +3 -3
  136. package/dist/components/slider.css +93 -121
  137. package/dist/components/slider.js +1310 -1311
  138. package/dist/components/slider.min.css +1 -1
  139. package/dist/components/slider.min.js +3 -3
  140. package/dist/components/state.js +638 -657
  141. package/dist/components/state.min.js +3 -3
  142. package/dist/components/statistic.css +75 -116
  143. package/dist/components/statistic.min.css +2 -2
  144. package/dist/components/step.css +77 -150
  145. package/dist/components/step.min.css +2 -2
  146. package/dist/components/sticky.css +1 -5
  147. package/dist/components/sticky.js +847 -901
  148. package/dist/components/sticky.min.css +2 -2
  149. package/dist/components/sticky.min.js +3 -3
  150. package/dist/components/tab.css +10 -14
  151. package/dist/components/tab.js +902 -966
  152. package/dist/components/tab.min.css +2 -2
  153. package/dist/components/tab.min.js +3 -3
  154. package/dist/components/table.css +547 -774
  155. package/dist/components/table.min.css +2 -2
  156. package/dist/components/text.css +32 -32
  157. package/dist/components/text.min.css +1 -1
  158. package/dist/components/toast.css +69 -147
  159. package/dist/components/toast.js +910 -884
  160. package/dist/components/toast.min.css +2 -2
  161. package/dist/components/toast.min.js +3 -3
  162. package/dist/components/transition.css +299 -1356
  163. package/dist/components/transition.js +1048 -1077
  164. package/dist/components/transition.min.css +2 -2
  165. package/dist/components/transition.min.js +3 -3
  166. package/dist/components/visibility.js +1213 -1245
  167. package/dist/components/visibility.min.js +3 -3
  168. package/dist/semantic.css +9344 -12298
  169. package/dist/semantic.js +29181 -29423
  170. package/dist/semantic.min.css +3 -3
  171. package/dist/semantic.min.js +3 -3
  172. package/dist/themes/basic/assets/fonts/icons.woff2 +0 -0
  173. package/dist/themes/github/assets/fonts/octicons.woff2 +0 -0
  174. package/examples/.eslintrc.js +6 -0
  175. package/examples/assets/library/jquery.min.js +2 -4
  176. package/examples/assets/show-examples.js +13 -13
  177. package/examples/attached.html +1 -1
  178. package/examples/bootstrap.html +1 -1
  179. package/examples/components/button.html +1 -1
  180. package/examples/components/card.html +6 -6
  181. package/examples/components/input.html +1 -1
  182. package/examples/components/menu.html +1 -1
  183. package/examples/components/site.html +1 -1
  184. package/examples/components/sticky-context.html +2 -2
  185. package/examples/components/table.html +1 -1
  186. package/examples/fixed.html +3 -3
  187. package/examples/grid.html +5 -5
  188. package/examples/homepage.html +1 -1
  189. package/examples/login.html +2 -2
  190. package/examples/responsive.html +2 -2
  191. package/examples/sticky.html +4 -4
  192. package/examples/theming.html +1 -1
  193. package/gulpfile.js +13 -11
  194. package/package.json +17 -8
  195. package/scripts/nightly-version.js +83 -75
  196. package/src/_site/collections/menu.overrides +1 -1
  197. package/src/_site/elements/flag.variables +2 -2
  198. package/src/_site/globals/site.variables +1 -1
  199. package/src/_site/modules/embed.variables +3 -0
  200. package/src/definitions/behaviors/api.js +1158 -1180
  201. package/src/definitions/behaviors/form.js +2021 -2003
  202. package/src/definitions/behaviors/state.js +644 -663
  203. package/src/definitions/behaviors/visibility.js +1212 -1244
  204. package/src/definitions/collections/breadcrumb.less +43 -47
  205. package/src/definitions/collections/form.less +866 -884
  206. package/src/definitions/collections/grid.less +1681 -1699
  207. package/src/definitions/collections/menu.less +1522 -1544
  208. package/src/definitions/collections/message.less +294 -298
  209. package/src/definitions/collections/table.less +1657 -1661
  210. package/src/definitions/elements/button.less +1716 -1750
  211. package/src/definitions/elements/container.less +211 -211
  212. package/src/definitions/elements/divider.less +198 -211
  213. package/src/definitions/elements/emoji.less +41 -48
  214. package/src/definitions/elements/flag.less +46 -48
  215. package/src/definitions/elements/header.less +351 -359
  216. package/src/definitions/elements/icon.less +541 -484
  217. package/src/definitions/elements/image.less +216 -227
  218. package/src/definitions/elements/input.less +692 -699
  219. package/src/definitions/elements/label.less +784 -806
  220. package/src/definitions/elements/list.less +810 -814
  221. package/src/definitions/elements/loader.less +273 -268
  222. package/src/definitions/elements/placeholder.less +173 -170
  223. package/src/definitions/elements/rail.less +93 -93
  224. package/src/definitions/elements/reveal.less +192 -198
  225. package/src/definitions/elements/segment.less +742 -749
  226. package/src/definitions/elements/step.less +423 -437
  227. package/src/definitions/elements/text.less +34 -36
  228. package/src/definitions/globals/reset.less +11 -8
  229. package/src/definitions/globals/site.js +435 -475
  230. package/src/definitions/globals/site.less +108 -110
  231. package/src/definitions/modules/accordion.js +567 -594
  232. package/src/definitions/modules/accordion.less +244 -248
  233. package/src/definitions/modules/calendar.js +1933 -1808
  234. package/src/definitions/modules/calendar.less +100 -97
  235. package/src/definitions/modules/checkbox.js +841 -840
  236. package/src/definitions/modules/checkbox.less +531 -552
  237. package/src/definitions/modules/dimmer.js +705 -736
  238. package/src/definitions/modules/dimmer.less +294 -305
  239. package/src/definitions/modules/dropdown.js +4194 -4235
  240. package/src/definitions/modules/dropdown.less +1568 -1598
  241. package/src/definitions/modules/embed.js +644 -674
  242. package/src/definitions/modules/embed.less +82 -84
  243. package/src/definitions/modules/flyout.js +1513 -1464
  244. package/src/definitions/modules/flyout.less +453 -455
  245. package/src/definitions/modules/modal.js +1543 -1485
  246. package/src/definitions/modules/modal.less +459 -467
  247. package/src/definitions/modules/nag.js +519 -525
  248. package/src/definitions/modules/nag.less +136 -149
  249. package/src/definitions/modules/popup.js +1455 -1455
  250. package/src/definitions/modules/popup.less +738 -693
  251. package/src/definitions/modules/progress.js +968 -996
  252. package/src/definitions/modules/progress.less +523 -499
  253. package/src/definitions/modules/rating.js +506 -522
  254. package/src/definitions/modules/rating.less +98 -103
  255. package/src/definitions/modules/search.js +1519 -1533
  256. package/src/definitions/modules/search.less +374 -394
  257. package/src/definitions/modules/shape.js +782 -809
  258. package/src/definitions/modules/shape.less +70 -79
  259. package/src/definitions/modules/sidebar.js +1060 -1098
  260. package/src/definitions/modules/sidebar.less +463 -476
  261. package/src/definitions/modules/slider.js +1309 -1310
  262. package/src/definitions/modules/slider.less +309 -310
  263. package/src/definitions/modules/sticky.js +863 -917
  264. package/src/definitions/modules/sticky.less +17 -25
  265. package/src/definitions/modules/tab.js +901 -965
  266. package/src/definitions/modules/tab.less +48 -54
  267. package/src/definitions/modules/toast.js +909 -883
  268. package/src/definitions/modules/toast.less +589 -589
  269. package/src/definitions/modules/transition.js +1047 -1076
  270. package/src/definitions/modules/transition.less +58 -59
  271. package/src/definitions/views/ad.less +207 -208
  272. package/src/definitions/views/card.less +955 -973
  273. package/src/definitions/views/comment.less +192 -200
  274. package/src/definitions/views/feed.less +222 -226
  275. package/src/definitions/views/item.less +437 -448
  276. package/src/definitions/views/statistic.less +273 -279
  277. package/src/semantic.less +8 -6
  278. package/src/theme.config.example +53 -53
  279. package/src/theme.less +44 -35
  280. package/src/themes/amazon/elements/button.overrides +23 -24
  281. package/src/themes/amazon/elements/button.variables +18 -23
  282. package/src/themes/amazon/globals/site.variables +16 -17
  283. package/src/themes/basic/assets/fonts/icons.woff2 +0 -0
  284. package/src/themes/basic/collections/table.overrides +0 -1
  285. package/src/themes/basic/collections/table.variables +3 -3
  286. package/src/themes/basic/elements/button.overrides +0 -1
  287. package/src/themes/basic/elements/button.variables +9 -9
  288. package/src/themes/basic/elements/icon.overrides +9 -169
  289. package/src/themes/basic/elements/icon.variables +161 -18
  290. package/src/themes/basic/elements/step.overrides +2 -2
  291. package/src/themes/basic/elements/step.variables +2 -2
  292. package/src/themes/basic/globals/reset.overrides +1 -1
  293. package/src/themes/basic/globals/reset.variables +1 -1
  294. package/src/themes/basic/modules/progress.variables +2 -2
  295. package/src/themes/basic/views/card.overrides +0 -1
  296. package/src/themes/basic/views/card.variables +6 -6
  297. package/src/themes/bookish/elements/header.overrides +4 -4
  298. package/src/themes/bookish/elements/header.variables +5 -5
  299. package/src/themes/bootstrap3/elements/button.overrides +3 -0
  300. package/src/themes/bootstrap3/elements/button.variables +20 -25
  301. package/src/themes/chubby/collections/form.overrides +9 -9
  302. package/src/themes/chubby/collections/form.variables +3 -3
  303. package/src/themes/chubby/collections/menu.overrides +3 -0
  304. package/src/themes/chubby/collections/menu.variables +3 -3
  305. package/src/themes/chubby/elements/button.overrides +8 -10
  306. package/src/themes/chubby/elements/button.variables +10 -10
  307. package/src/themes/chubby/elements/header.overrides +1 -1
  308. package/src/themes/chubby/elements/header.variables +4 -4
  309. package/src/themes/chubby/modules/accordion.overrides +2 -2
  310. package/src/themes/chubby/modules/accordion.variables +4 -4
  311. package/src/themes/chubby/views/comment.overrides +5 -5
  312. package/src/themes/chubby/views/comment.variables +11 -11
  313. package/src/themes/classic/collections/table.variables +3 -3
  314. package/src/themes/classic/elements/button.variables +36 -43
  315. package/src/themes/classic/elements/header.variables +4 -4
  316. package/src/themes/classic/modules/progress.variables +3 -3
  317. package/src/themes/classic/views/card.overrides +25 -27
  318. package/src/themes/classic/views/card.variables +7 -7
  319. package/src/themes/colored/modules/checkbox.overrides +3 -0
  320. package/src/themes/colored/modules/checkbox.variables +1 -3
  321. package/src/themes/default/collections/breadcrumb.variables +4 -4
  322. package/src/themes/default/collections/form.variables +15 -16
  323. package/src/themes/default/collections/grid.overrides +0 -1
  324. package/src/themes/default/collections/grid.variables +15 -16
  325. package/src/themes/default/collections/menu.variables +31 -45
  326. package/src/themes/default/collections/message.variables +84 -123
  327. package/src/themes/default/collections/table.overrides +3 -0
  328. package/src/themes/default/collections/table.variables +30 -34
  329. package/src/themes/default/elements/button.variables +44 -53
  330. package/src/themes/default/elements/container.variables +8 -16
  331. package/src/themes/default/elements/divider.overrides +8 -9
  332. package/src/themes/default/elements/divider.variables +5 -6
  333. package/src/themes/default/elements/emoji.overrides +0 -1
  334. package/src/themes/default/elements/emoji.variables +3556 -3556
  335. package/src/themes/default/elements/flag.variables +1595 -1595
  336. package/src/themes/default/elements/header.overrides +0 -1
  337. package/src/themes/default/elements/header.variables +21 -21
  338. package/src/themes/default/elements/icon.variables +2016 -2012
  339. package/src/themes/default/elements/image.variables +6 -7
  340. package/src/themes/default/elements/input.variables +11 -12
  341. package/src/themes/default/elements/label.variables +25 -26
  342. package/src/themes/default/elements/list.variables +17 -21
  343. package/src/themes/default/elements/loader.variables +16 -17
  344. package/src/themes/default/elements/placeholder.variables +12 -9
  345. package/src/themes/default/elements/rail.variables +4 -5
  346. package/src/themes/default/elements/reveal.variables +1 -1
  347. package/src/themes/default/elements/segment.variables +24 -36
  348. package/src/themes/default/elements/step.overrides +4 -4
  349. package/src/themes/default/elements/step.variables +19 -22
  350. package/src/themes/default/elements/text.variables +2 -3
  351. package/src/themes/default/globals/colors.less +588 -588
  352. package/src/themes/default/globals/reset.overrides +63 -59
  353. package/src/themes/default/globals/reset.variables +1 -1
  354. package/src/themes/default/globals/site.variables +1074 -1123
  355. package/src/themes/default/globals/variation.variables +6 -4
  356. package/src/themes/default/modules/accordion.overrides +11 -11
  357. package/src/themes/default/modules/accordion.variables +15 -20
  358. package/src/themes/default/modules/calendar.variables +2 -0
  359. package/src/themes/default/modules/chatroom.variables +1 -1
  360. package/src/themes/default/modules/checkbox.overrides +9 -13
  361. package/src/themes/default/modules/checkbox.variables +24 -33
  362. package/src/themes/default/modules/dimmer.variables +14 -17
  363. package/src/themes/default/modules/dropdown.overrides +17 -17
  364. package/src/themes/default/modules/dropdown.variables +29 -31
  365. package/src/themes/default/modules/embed.variables +9 -13
  366. package/src/themes/default/modules/flyout.variables +10 -8
  367. package/src/themes/default/modules/modal.variables +64 -67
  368. package/src/themes/default/modules/nag.variables +11 -14
  369. package/src/themes/default/modules/popup.variables +14 -13
  370. package/src/themes/default/modules/progress.variables +17 -19
  371. package/src/themes/default/modules/rating.variables +10 -12
  372. package/src/themes/default/modules/search.variables +12 -17
  373. package/src/themes/default/modules/shape.variables +7 -8
  374. package/src/themes/default/modules/sidebar.variables +4 -4
  375. package/src/themes/default/modules/slider.variables +55 -54
  376. package/src/themes/default/modules/sticky.variables +1 -1
  377. package/src/themes/default/modules/toast.variables +8 -8
  378. package/src/themes/default/modules/transition.overrides +936 -915
  379. package/src/themes/default/modules/transition.variables +1 -1
  380. package/src/themes/default/views/ad.variables +1 -1
  381. package/src/themes/default/views/card.variables +33 -45
  382. package/src/themes/default/views/comment.variables +7 -9
  383. package/src/themes/default/views/feed.variables +10 -10
  384. package/src/themes/default/views/item.variables +20 -23
  385. package/src/themes/default/views/statistic.variables +8 -8
  386. package/src/themes/duo/elements/loader.variables +1 -1
  387. package/src/themes/famfamfam/elements/flag.overrides +263 -268
  388. package/src/themes/famfamfam/elements/flag.variables +4 -4
  389. package/src/themes/fixed-width/collections/grid.variables +4 -4
  390. package/src/themes/fixed-width/modules/modal.variables +11 -13
  391. package/src/themes/flat/collections/form.overrides +9 -9
  392. package/src/themes/flat/collections/form.variables +16 -17
  393. package/src/themes/flat/globals/site.variables +69 -74
  394. package/src/themes/github/assets/fonts/octicons.woff2 +0 -0
  395. package/src/themes/github/collections/breadcrumb.variables +0 -1
  396. package/src/themes/github/collections/form.overrides +7 -8
  397. package/src/themes/github/collections/form.variables +16 -18
  398. package/src/themes/github/collections/grid.variables +1 -2
  399. package/src/themes/github/collections/menu.overrides +2 -2
  400. package/src/themes/github/collections/menu.variables +24 -26
  401. package/src/themes/github/collections/message.overrides +3 -3
  402. package/src/themes/github/collections/message.variables +12 -14
  403. package/src/themes/github/collections/table.variables +2 -2
  404. package/src/themes/github/elements/button.overrides +0 -1
  405. package/src/themes/github/elements/button.variables +26 -30
  406. package/src/themes/github/elements/header.variables +2 -2
  407. package/src/themes/github/elements/icon.overrides +3 -208
  408. package/src/themes/github/elements/icon.variables +234 -19
  409. package/src/themes/github/elements/image.variables +1 -1
  410. package/src/themes/github/elements/input.overrides +16 -16
  411. package/src/themes/github/elements/input.variables +4 -5
  412. package/src/themes/github/elements/label.overrides +3 -3
  413. package/src/themes/github/elements/label.variables +0 -1
  414. package/src/themes/github/elements/segment.variables +9 -10
  415. package/src/themes/github/elements/step.overrides +13 -13
  416. package/src/themes/github/elements/step.variables +6 -6
  417. package/src/themes/github/globals/site.variables +16 -16
  418. package/src/themes/github/modules/dropdown.overrides +18 -19
  419. package/src/themes/github/modules/dropdown.variables +8 -10
  420. package/src/themes/github/modules/popup.variables +0 -2
  421. package/src/themes/gmail/collections/message.overrides +3 -0
  422. package/src/themes/gmail/collections/message.variables +4 -4
  423. package/src/themes/instagram/views/card.overrides +4 -5
  424. package/src/themes/instagram/views/card.variables +7 -8
  425. package/src/themes/joypixels/elements/emoji.overrides +0 -2
  426. package/src/themes/joypixels/elements/emoji.variables +3554 -3554
  427. package/src/themes/material/collections/menu.overrides +1 -1
  428. package/src/themes/material/collections/menu.variables +4 -4
  429. package/src/themes/material/elements/button.overrides +7 -9
  430. package/src/themes/material/elements/button.variables +44 -46
  431. package/src/themes/material/elements/header.overrides +3 -3
  432. package/src/themes/material/elements/header.variables +8 -10
  433. package/src/themes/material/elements/icon.overrides +3 -934
  434. package/src/themes/material/elements/icon.variables +958 -18
  435. package/src/themes/material/globals/site.overrides +3 -0
  436. package/src/themes/material/globals/site.variables +83 -84
  437. package/src/themes/material/modules/dropdown.overrides +2 -2
  438. package/src/themes/material/modules/dropdown.variables +5 -5
  439. package/src/themes/material/modules/modal.overrides +3 -3
  440. package/src/themes/material/modules/modal.variables +4 -5
  441. package/src/themes/pulsar/elements/loader.overrides +23 -61
  442. package/src/themes/raised/elements/button.variables +8 -9
  443. package/src/themes/resetcss/globals/reset.overrides +115 -33
  444. package/src/themes/resetcss/globals/reset.variables +1 -1
  445. package/src/themes/round/elements/button.overrides +3 -0
  446. package/src/themes/round/elements/button.variables +33 -38
  447. package/src/themes/rtl/globals/site.overrides +1 -1
  448. package/src/themes/rtl/globals/site.variables +5 -6
  449. package/src/themes/striped/modules/progress.overrides +20 -16
  450. package/src/themes/systemfont/globals/reset.overrides +1 -1
  451. package/src/themes/systemfont/globals/site.variables +6 -6
  452. package/src/themes/timeline/views/feed.overrides +12 -12
  453. package/src/themes/timeline/views/feed.variables +8 -8
  454. package/src/themes/twitter/elements/button.overrides +4 -5
  455. package/src/themes/twitter/elements/button.variables +17 -18
  456. package/src/themes/twitter/elements/emoji.variables +3556 -3556
  457. package/tasks/.eslintrc.js +9 -0
  458. package/tasks/README.md +2 -4
  459. package/tasks/admin/components/create.js +268 -277
  460. package/tasks/admin/components/init.js +123 -129
  461. package/tasks/admin/components/update.js +151 -158
  462. package/tasks/admin/distributions/create.js +183 -189
  463. package/tasks/admin/distributions/init.js +125 -131
  464. package/tasks/admin/distributions/update.js +147 -153
  465. package/tasks/admin/publish.js +5 -9
  466. package/tasks/admin/register.js +37 -39
  467. package/tasks/admin/release.js +8 -12
  468. package/tasks/build/assets.js +43 -40
  469. package/tasks/build/css.js +230 -217
  470. package/tasks/build/javascript.js +120 -114
  471. package/tasks/build.js +11 -11
  472. package/tasks/check-install.js +15 -17
  473. package/tasks/clean.js +6 -6
  474. package/tasks/collections/README.md +3 -5
  475. package/tasks/collections/admin.js +34 -36
  476. package/tasks/collections/build.js +19 -21
  477. package/tasks/collections/docs.js +11 -13
  478. package/tasks/collections/install.js +11 -13
  479. package/tasks/collections/rtl.js +9 -12
  480. package/tasks/collections/various.js +10 -12
  481. package/tasks/config/admin/github.js +17 -19
  482. package/tasks/config/admin/oauth.example.js +4 -4
  483. package/tasks/config/admin/release.js +98 -98
  484. package/tasks/config/admin/templates/README.md +8 -8
  485. package/tasks/config/admin/templates/bower.json +3 -2
  486. package/tasks/config/admin/templates/component-package.js +9 -10
  487. package/tasks/config/admin/templates/css-package.js +19 -21
  488. package/tasks/config/admin/templates/less-package.js +12 -14
  489. package/tasks/config/admin/templates/package.json +6 -6
  490. package/tasks/config/defaults.js +116 -116
  491. package/tasks/config/docs.js +23 -23
  492. package/tasks/config/npm/gulpfile.js +15 -14
  493. package/tasks/config/project/config.js +124 -136
  494. package/tasks/config/project/install.js +722 -719
  495. package/tasks/config/project/release.js +34 -41
  496. package/tasks/config/tasks.js +168 -167
  497. package/tasks/config/user.js +28 -32
  498. package/tasks/docs/build.js +100 -96
  499. package/tasks/docs/metadata.js +91 -98
  500. package/tasks/docs/serve.js +84 -82
  501. package/tasks/install.js +373 -382
  502. package/tasks/rtl/build.js +4 -3
  503. package/tasks/rtl/watch.js +4 -3
  504. package/tasks/version.js +4 -6
  505. package/tasks/watch.js +29 -31
  506. package/test/.eslintrc.js +23 -0
  507. package/test/meteor/assets.js +11 -14
  508. package/test/meteor/fonts.js +12 -13
  509. package/test/modules/accordion.spec.js +6 -8
  510. package/test/modules/checkbox.spec.js +5 -7
  511. package/test/modules/dropdown.spec.js +5 -7
  512. package/test/modules/modal.spec.js +6 -8
  513. package/test/modules/module.spec.js +158 -178
  514. package/test/modules/popup.spec.js +5 -7
  515. package/test/modules/search.spec.js +5 -7
  516. package/test/modules/shape.spec.js +5 -7
  517. package/test/modules/sidebar.spec.js +5 -7
  518. package/test/modules/tab.spec.js +6 -8
  519. package/test/modules/transition.spec.js +5 -7
  520. package/test/modules/video.spec.js +5 -7
  521. package/.github/workflows/codeql.yml +0 -68
@@ -9,1995 +9,1973 @@
9
9
  *
10
10
  */
11
11
 
12
-
13
12
  /*******************************
14
13
  Theme
15
14
  *******************************/
16
15
 
17
- @type : 'collection';
18
- @element : 'menu';
16
+ @type: "collection";
17
+ @element: "menu";
19
18
 
20
- @import (multiple) '../../theme.config';
19
+ @import (multiple) "../../theme.config";
21
20
 
22
21
  /*******************************
23
22
  Standard
24
23
  *******************************/
25
24
 
26
- /*--------------
25
+ /* --------------
27
26
  Menu
28
- ---------------*/
27
+ --------------- */
29
28
 
30
29
  .ui.menu {
31
- display: flex;
32
- margin: @margin;
33
- font-family: @fontFamily;
34
- background: @background;
35
- font-weight: @fontWeight;
36
- border: @border;
37
- box-shadow: @boxShadow;
38
- border-radius: @borderRadius;
39
- min-height: @minHeight;
30
+ display: flex;
31
+ margin: @margin;
32
+ font-family: @fontFamily;
33
+ background: @background;
34
+ font-weight: @fontWeight;
35
+ border: @border;
36
+ box-shadow: @boxShadow;
37
+ border-radius: @borderRadius;
38
+ min-height: @minHeight;
40
39
  }
41
40
 
42
41
  .ui.menu::after {
43
- content: '';
44
- display: block;
45
- height: 0;
46
- clear: both;
47
- visibility: hidden;
42
+ content: "";
43
+ display: block;
44
+ height: 0;
45
+ clear: both;
46
+ visibility: hidden;
48
47
  }
49
48
 
50
49
  .ui.menu:first-child {
51
- margin-top: 0;
50
+ margin-top: 0;
52
51
  }
53
52
  .ui.menu:last-child {
54
- margin-bottom: 0;
53
+ margin-bottom: 0;
55
54
  }
56
55
 
57
-
58
- /*--------------
56
+ /* --------------
59
57
  Sub-Menu
60
- ---------------*/
58
+ --------------- */
61
59
 
62
60
  .ui.menu .menu {
63
- margin: 0;
61
+ margin: 0;
64
62
  }
65
63
 
66
64
  .ui.menu:not(.vertical) > .menu {
67
- display: flex;
65
+ display: flex;
68
66
  }
69
67
 
70
- /*--------------
68
+ /* --------------
71
69
  Item
72
- ---------------*/
70
+ --------------- */
73
71
 
74
72
  .ui.menu:not(.vertical) .item {
75
- display: flex;
76
- align-items: center;
73
+ display: flex;
74
+ align-items: center;
77
75
  }
78
76
 
79
77
  .ui.menu .item {
80
- position: relative;
81
- vertical-align: middle;
82
- line-height: 1;
83
- text-decoration: none;
84
- -webkit-tap-highlight-color: transparent;
85
- flex: 0 0 auto;
86
- user-select: none;
87
-
88
- background: @itemBackground;
89
- padding: @itemVerticalPadding @itemHorizontalPadding;
90
- text-transform: @itemTextTransform;
91
- color: @itemTextColor;
92
- font-weight: @itemFontWeight;
93
- transition: @itemTransition;
78
+ position: relative;
79
+ vertical-align: middle;
80
+ line-height: 1;
81
+ text-decoration: none;
82
+ -webkit-tap-highlight-color: transparent;
83
+ flex: 0 0 auto;
84
+ user-select: none;
85
+ background: @itemBackground;
86
+ padding: @itemVerticalPadding @itemHorizontalPadding;
87
+ text-transform: @itemTextTransform;
88
+ color: @itemTextColor;
89
+ font-weight: @itemFontWeight;
90
+ transition: @itemTransition;
94
91
  }
95
92
 
96
93
  .ui.menu > .item:first-child {
97
- border-radius: @borderRadius 0 0 @borderRadius;
94
+ border-radius: @borderRadius 0 0 @borderRadius;
98
95
  }
99
96
 
100
97
  /* Border */
101
98
  .ui.menu .item::before {
102
- position: absolute;
103
- content: '';
104
- top: 0;
105
- right: 0;
106
- height: 100%;
107
-
108
- width: @dividerSize;
109
- background: @dividerBackground;
99
+ position: absolute;
100
+ content: "";
101
+ top: 0;
102
+ right: 0;
103
+ height: 100%;
104
+ width: @dividerSize;
105
+ background: @dividerBackground;
110
106
  }
111
107
 
112
- /*--------------
108
+ /* --------------
113
109
  Text Content
114
- ---------------*/
110
+ --------------- */
115
111
 
116
112
  .ui.menu .text.item > *,
117
113
  .ui.menu .item > a:not(.ui),
118
114
  .ui.menu .item > p:only-child {
119
- user-select: text;
120
- line-height: @textLineHeight;
115
+ user-select: text;
116
+ line-height: @textLineHeight;
121
117
  }
122
118
  .ui.menu .item > p:first-child {
123
- margin-top: 0;
119
+ margin-top: 0;
124
120
  }
125
121
  .ui.menu .item > p:last-child {
126
- margin-bottom: 0;
122
+ margin-bottom: 0;
127
123
  }
128
124
 
129
- /*--------------
125
+ /* --------------
130
126
  Icons
131
- ---------------*/
127
+ --------------- */
132
128
 
133
129
  .ui.menu .item > i.icon {
134
- opacity: @iconOpacity;
135
- float: @iconFloat;
136
- margin: @iconMargin;
130
+ opacity: @iconOpacity;
131
+ float: @iconFloat;
132
+ margin: @iconMargin;
137
133
  }
138
134
 
139
- /*--------------
135
+ /* --------------
140
136
  Button
141
- ---------------*/
137
+ --------------- */
142
138
 
143
139
  .ui.menu:not(.vertical) .item > .button {
144
- position: relative;
145
- top: @buttonOffset;
146
- margin: @buttonMargin;
147
- padding-bottom: @buttonVerticalPadding;
148
- padding-top: @buttonVerticalPadding;
149
- font-size: @buttonSize;
140
+ position: relative;
141
+ top: @buttonOffset;
142
+ margin: @buttonMargin;
143
+ padding-bottom: @buttonVerticalPadding;
144
+ padding-top: @buttonVerticalPadding;
145
+ font-size: @buttonSize;
150
146
  }
151
147
 
152
- /*----------------
148
+ /* ----------------
153
149
  Grid / Container
154
- -----------------*/
150
+ ----------------- */
155
151
 
156
- .ui.menu > .grid,
152
+ .ui.menu > .grid,
157
153
  .ui.menu > .container {
158
- display: flex;
159
- align-items: inherit;
160
- flex-direction: inherit;
154
+ display: flex;
155
+ align-items: inherit;
156
+ flex-direction: inherit;
161
157
  }
162
158
 
163
- /*--------------
159
+ /* --------------
164
160
  Inputs
165
- ---------------*/
161
+ --------------- */
166
162
 
167
163
  .ui.menu .item > .input {
168
- width: 100%;
164
+ width: 100%;
169
165
  }
170
166
  .ui.menu:not(.vertical) .item > .input {
171
- position: relative;
172
- top: @inputOffset;
173
- margin: @inputVerticalMargin 0;
167
+ position: relative;
168
+ top: @inputOffset;
169
+ margin: @inputVerticalMargin 0;
174
170
  }
175
171
  .ui.menu .item > .input input {
176
- font-size: @inputSize;
177
- padding-top: @inputVerticalPadding;
178
- padding-bottom: @inputVerticalPadding;
172
+ font-size: @inputSize;
173
+ padding-top: @inputVerticalPadding;
174
+ padding-bottom: @inputVerticalPadding;
179
175
  }
180
176
 
181
-
182
- /*--------------
177
+ /* --------------
183
178
  Header
184
- ---------------*/
179
+ --------------- */
185
180
 
186
181
  .ui.menu .header.item,
187
182
  .ui.vertical.menu .header.item {
188
- margin: 0;
189
- background: @headerBackground;
190
- text-transform: @headerTextTransform;
191
- font-weight: @headerWeight;
183
+ margin: 0;
184
+ background: @headerBackground;
185
+ text-transform: @headerTextTransform;
186
+ font-weight: @headerWeight;
192
187
  }
193
188
 
194
189
  & when (@variationMenuVertical) {
195
- .ui.vertical.menu .item > .header:not(.ui) {
196
- margin: @verticalHeaderMargin;
197
- font-size: @verticalHeaderFontSize;
198
- font-weight: @verticalHeaderFontWeight;
199
- }
190
+ .ui.vertical.menu .item > .header:not(.ui) {
191
+ margin: @verticalHeaderMargin;
192
+ font-size: @verticalHeaderFontSize;
193
+ font-weight: @verticalHeaderFontWeight;
194
+ }
200
195
  }
201
196
 
202
- /*--------------
197
+ /* --------------
203
198
  Dropdowns
204
- ---------------*/
205
-
199
+ --------------- */
206
200
 
207
201
  /* Dropdown Icon */
208
202
  .ui.menu .item > i.dropdown.icon {
209
- padding: 0;
210
- float: @dropdownIconFloat;
211
- margin: 0 0 0 @dropdownIconDistance;
203
+ padding: 0;
204
+ float: @dropdownIconFloat;
205
+ margin: 0 0 0 @dropdownIconDistance;
212
206
  }
213
207
 
214
208
  /* Menu */
215
209
  .ui.menu .dropdown.item .menu {
216
- min-width: e("calc(100% - 1px)");
217
- border-radius: 0 0 @dropdownMenuBorderRadius @dropdownMenuBorderRadius;
218
- background: @dropdownBackground;
219
- margin: @dropdownMenuDistance 0 0;
220
- box-shadow: @dropdownMenuBoxShadow;
210
+ min-width: e("calc(100% - 1px)");
211
+ border-radius: 0 0 @dropdownMenuBorderRadius @dropdownMenuBorderRadius;
212
+ background: @dropdownBackground;
213
+ margin: @dropdownMenuDistance 0 0;
214
+ box-shadow: @dropdownMenuBoxShadow;
221
215
  }
222
216
  .ui.menu .dropdown.item:not(.column) .menu {
223
- flex-direction: column;
217
+ flex-direction: column;
224
218
  }
225
219
 
226
-
227
220
  /* Menu Items */
228
221
  .ui.menu .ui.dropdown .menu > .item {
229
- margin: 0;
230
- text-align: left;
231
- font-size: @dropdownItemFontSize !important;
232
- padding: @dropdownItemPadding !important;
233
- background: @dropdownItemBackground !important;
234
- color: @dropdownItemColor !important;
235
- text-transform: @dropdownItemTextTransform !important;
236
- font-weight: @dropdownItemFontWeight !important;
237
- box-shadow: @dropdownItemBoxShadow !important;
238
- transition: @dropdownItemTransition !important;
222
+ margin: 0;
223
+ text-align: left;
224
+ font-size: @dropdownItemFontSize !important;
225
+ padding: @dropdownItemPadding !important;
226
+ background: @dropdownItemBackground !important;
227
+ color: @dropdownItemColor !important;
228
+ text-transform: @dropdownItemTextTransform !important;
229
+ font-weight: @dropdownItemFontWeight !important;
230
+ box-shadow: @dropdownItemBoxShadow !important;
231
+ transition: @dropdownItemTransition !important;
239
232
  }
240
233
  .ui.menu .ui.dropdown .menu > .item:hover {
241
- background: @dropdownHoveredItemBackground !important;
242
- color: @dropdownHoveredItemColor !important;
234
+ background: @dropdownHoveredItemBackground !important;
235
+ color: @dropdownHoveredItemColor !important;
243
236
  }
244
237
  .ui.menu .ui.dropdown .menu > .selected.item {
245
- background: @dropdownSelectedItemBackground !important;
246
- color: @dropdownSelectedItemColor !important;
238
+ background: @dropdownSelectedItemBackground !important;
239
+ color: @dropdownSelectedItemColor !important;
247
240
  }
248
241
  .ui.menu .ui.dropdown .menu > .active.item {
249
- background: @dropdownActiveItemBackground !important;
250
- font-weight: @dropdownActiveItemFontWeight !important;
251
- color: @dropdownActiveItemColor !important;
242
+ background: @dropdownActiveItemBackground !important;
243
+ font-weight: @dropdownActiveItemFontWeight !important;
244
+ color: @dropdownActiveItemColor !important;
252
245
  }
253
246
 
254
247
  .ui.menu .ui.dropdown.item .menu .item:not(.filtered) {
255
- display: block;
248
+ display: block;
256
249
  }
257
250
  .ui.menu .ui.dropdown .menu > .item > .icons,
258
251
  .ui.menu .ui.dropdown .menu > .item > i.icon:not(.dropdown) {
259
- display: inline-block;
260
- font-size: @dropdownItemIconFontSize !important;
261
- float: @dropdownItemIconFloat;
262
- margin: @dropdownItemIconMargin !important;
252
+ display: inline-block;
253
+ font-size: @dropdownItemIconFontSize !important;
254
+ float: @dropdownItemIconFloat;
255
+ margin: @dropdownItemIconMargin !important;
263
256
  }
264
257
 
265
258
  & when (@variationMenuSecondary) or (@variationMenuText) {
266
- /* Secondary */
267
- .ui.secondary.menu .dropdown.item > .menu,
268
- .ui.text.menu .dropdown.item > .menu {
269
- border-radius: @dropdownMenuBorderRadius;
270
- margin-top: @secondaryDropdownMenuDistance;
271
- }
259
+ /* Secondary */
260
+ .ui.secondary.menu .dropdown.item > .menu,
261
+ .ui.text.menu .dropdown.item > .menu {
262
+ border-radius: @dropdownMenuBorderRadius;
263
+ margin-top: @secondaryDropdownMenuDistance;
264
+ }
272
265
  }
273
266
 
274
- /* Pointing */
275
- .ui.menu .pointing.dropdown.item .menu {
267
+ /* Pointing */
268
+ .ui.menu .pointing.dropdown.item .menu {
276
269
  margin-top: @pointingDropdownMenuDistance;
277
270
  }
278
271
 
279
272
  & when (@variationMenuInverted) {
280
- /* Inverted */
281
- .ui.inverted.menu .search.dropdown.item > .search,
282
- .ui.inverted.menu .search.dropdown.item > .text {
283
- color: @invertedSelectionDropdownColor;
284
- }
273
+ /* Inverted */
274
+ .ui.inverted.menu .search.dropdown.item > .search,
275
+ .ui.inverted.menu .search.dropdown.item > .text {
276
+ color: @invertedSelectionDropdownColor;
277
+ }
285
278
  }
286
279
 
287
280
  & when (@variationMenuVertical) {
288
- /* Vertical */
289
- .ui.vertical.menu .dropdown.item > i.icon {
290
- float: right;
291
- content: "\f0da";
292
- margin-left: 1em;
293
- }
294
- .ui.vertical.menu .dropdown.item .menu {
295
- left: 100%;
296
- & when (@supportIE) {
297
- /* IE needs 0, all others support max-content to show dropdown icon inline, so keep both settings! */
298
- min-width: 0;
299
- }
300
- min-width: max-content;
301
- margin: 0 0 0 @dropdownMenuDistance;
302
- box-shadow: @dropdownVerticalMenuBoxShadow;
303
- border-radius: 0 @dropdownMenuBorderRadius @dropdownMenuBorderRadius @dropdownMenuBorderRadius;
304
- }
305
- .ui.vertical.menu .dropdown.item.upward .menu {
306
- bottom: 0;
307
- }
308
- .ui.vertical.menu .dropdown.item:not(.upward) .menu {
309
- top: 0;
310
- }
311
- .ui.vertical.menu .active.dropdown.item {
312
- border-top-right-radius: 0;
313
- border-bottom-right-radius: 0;
314
- }
315
- .ui.vertical.menu .dropdown.active.item {
316
- box-shadow: none;
317
- }
281
+ /* Vertical */
282
+ .ui.vertical.menu .dropdown.item > i.icon {
283
+ float: right;
284
+ content: "\f0da";
285
+ margin-left: 1em;
286
+ }
287
+ .ui.vertical.menu .dropdown.item .menu {
288
+ left: 100%;
289
+ & when (@supportIE) {
290
+ /* IE needs 0, all others support max-content to show dropdown icon inline, so keep both settings! */
291
+ min-width: 0;
292
+ }
293
+
294
+ min-width: max-content;
295
+ margin: 0 0 0 @dropdownMenuDistance;
296
+ box-shadow: @dropdownVerticalMenuBoxShadow;
297
+ border-radius: 0 @dropdownMenuBorderRadius @dropdownMenuBorderRadius @dropdownMenuBorderRadius;
298
+ }
299
+ .ui.vertical.menu .dropdown.item.upward .menu {
300
+ bottom: 0;
301
+ }
302
+ .ui.vertical.menu .dropdown.item:not(.upward) .menu {
303
+ top: 0;
304
+ }
305
+ .ui.vertical.menu .active.dropdown.item {
306
+ border-top-right-radius: 0;
307
+ border-bottom-right-radius: 0;
308
+ }
309
+ .ui.vertical.menu .dropdown.active.item {
310
+ box-shadow: none;
311
+ }
318
312
  }
319
313
 
320
314
  /* Evenly Divided */
321
315
  .ui.item.menu .dropdown .menu .item {
322
- width: 100%;
316
+ width: 100%;
323
317
  }
324
318
 
325
- /*--------------
319
+ /* --------------
326
320
  Labels
327
- ---------------*/
321
+ --------------- */
328
322
 
329
323
  .ui.menu .item > .label:not(.floating) {
330
- margin-left: @labelTextMargin;
331
- padding: @labelVerticalPadding @labelHorizontalPadding;
324
+ margin-left: @labelTextMargin;
325
+ padding: @labelVerticalPadding @labelHorizontalPadding;
332
326
  }
333
327
  & when (@variationMenuVertical) {
334
- .ui.vertical.menu .item > .label {
335
- margin-top: @labelOffset;
336
- margin-bottom: @labelOffset;
337
- padding: @labelVerticalPadding @labelHorizontalPadding;
338
- }
328
+ .ui.vertical.menu .item > .label {
329
+ margin-top: @labelOffset;
330
+ margin-bottom: @labelOffset;
331
+ padding: @labelVerticalPadding @labelHorizontalPadding;
332
+ }
339
333
  }
340
334
  .ui.menu .item > .floating.label {
341
- padding: @labelVerticalPadding @labelHorizontalPadding;
335
+ padding: @labelVerticalPadding @labelHorizontalPadding;
342
336
  }
343
337
  .ui.menu .item > .label {
344
- background: @labelBackground;
345
- color: @labelTextColor;
338
+ background: @labelBackground;
339
+ color: @labelTextColor;
346
340
  }
347
341
  .ui.menu .item > .image.label img {
348
- margin: @imageLabelImageMargin;
349
- height: @imageLabelHeight;
342
+ margin: @imageLabelImageMargin;
343
+ height: @imageLabelHeight;
350
344
  }
351
- /*--------------
345
+
346
+ /* --------------
352
347
  Images
353
- ---------------*/
348
+ --------------- */
354
349
 
355
350
  .ui.menu .item > img:not(.ui) {
356
- display: inline-block;
357
- vertical-align: middle;
358
- margin: @imageMargin;
359
- width: @imageWidth;
351
+ display: inline-block;
352
+ vertical-align: middle;
353
+ margin: @imageMargin;
354
+ width: @imageWidth;
360
355
  }
361
356
  & when (@variationMenuVertical) {
362
- .ui.vertical.menu .item > img:not(.ui):only-child {
363
- display: block;
364
- max-width: 100%;
365
- width: @verticalImageWidth;
366
- }
357
+ .ui.vertical.menu .item > img:not(.ui):only-child {
358
+ display: block;
359
+ max-width: 100%;
360
+ width: @verticalImageWidth;
361
+ }
367
362
  }
368
363
 
369
364
  /*******************************
370
365
  Coupling
371
366
  *******************************/
372
367
 
373
- /*--------------
368
+ /* --------------
374
369
  List
375
- ---------------*/
370
+ --------------- */
376
371
 
377
372
  /* Menu divider shouldn't apply */
378
373
  .ui.menu .list .item::before {
379
- background: none !important;
374
+ background: none !important;
380
375
  }
381
376
 
382
377
  & when (@variationMenuVertical) {
383
- /*--------------
384
- Sidebar
385
- ---------------*/
378
+ /* --------------
379
+ Sidebar
380
+ --------------- */
386
381
 
387
- /* Show vertical dividers below last */
382
+ /* Show vertical dividers below last */
388
383
 
389
- .ui.vertical.sidebar.menu > .item:first-child::before {
390
- display: block !important;
391
- }
392
- .ui.vertical.sidebar.menu > .item::before {
393
- top: auto;
394
- bottom: 0;
395
- }
384
+ .ui.vertical.sidebar.menu > .item:first-child::before {
385
+ display: block !important;
386
+ }
387
+ .ui.vertical.sidebar.menu > .item::before {
388
+ top: auto;
389
+ bottom: 0;
390
+ }
396
391
  }
397
392
 
398
- /*--------------
393
+ /* --------------
399
394
  Container
400
- ---------------*/
395
+ --------------- */
401
396
 
402
397
  @media only screen and (max-width: @largestMobileScreen) {
403
- .ui.menu > .ui.container {
404
- width: 100% !important;
405
- margin-left: 0 !important;
406
- margin-right: 0 !important;
407
- }
398
+ .ui.menu > .ui.container {
399
+ width: 100% !important;
400
+ margin-left: 0 !important;
401
+ margin-right: 0 !important;
402
+ }
408
403
  }
409
404
  @media only screen and (min-width: @tabletBreakpoint) {
410
- .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .item:not(.right):not(.borderless):first-child {
411
- border-left: @dividerSize solid @dividerBackground;
412
- }
413
- .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .right.item:not(.borderless):last-child,
414
- .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .right.menu > .item:not(.borderless):last-child {
415
- border-right: @dividerSize solid @dividerBackground;
416
- }
405
+ .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .item:not(.right):not(.borderless):first-child {
406
+ border-left: @dividerSize solid @dividerBackground;
407
+ }
408
+ .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .right.item:not(.borderless):last-child,
409
+ .ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .right.menu > .item:not(.borderless):last-child {
410
+ border-right: @dividerSize solid @dividerBackground;
411
+ }
417
412
  }
418
413
 
419
-
420
414
  /*******************************
421
415
  States
422
416
  *******************************/
423
417
 
424
- /*--------------
418
+ /* --------------
425
419
  Hover
426
- ---------------*/
427
-
420
+ --------------- */
428
421
 
429
422
  .ui.link.menu .item:hover,
430
423
  .ui.menu .dropdown.item:hover,
431
424
  .ui.menu .link.item:hover,
432
425
  .ui.menu a.item:hover {
433
- cursor: pointer;
434
- background: @hoverItemBackground;
435
- color: @hoverItemTextColor;
426
+ cursor: pointer;
427
+ background: @hoverItemBackground;
428
+ color: @hoverItemTextColor;
436
429
  }
437
430
 
438
-
439
- /*--------------
431
+ /* --------------
440
432
  Pressed
441
- ---------------*/
433
+ --------------- */
442
434
 
443
435
  .ui.link.menu .item:active,
444
436
  .ui.menu .link.item:active,
445
437
  .ui.menu a.item:active {
446
- background: @pressedItemBackground;
447
- color: @pressedItemTextColor;
438
+ background: @pressedItemBackground;
439
+ color: @pressedItemTextColor;
448
440
  }
449
441
 
450
-
451
- /*--------------
442
+ /* --------------
452
443
  Active
453
- ---------------*/
444
+ --------------- */
454
445
 
455
- .ui.menu .active.item {
456
- background: @activeItemBackground;
457
- color: @activeItemTextColor;
458
- font-weight: @activeItemFontWeight;
459
- box-shadow: @activeItemBoxShadow;
446
+ .ui.menu .active.item {
447
+ background: @activeItemBackground;
448
+ color: @activeItemTextColor;
449
+ font-weight: @activeItemFontWeight;
450
+ box-shadow: @activeItemBoxShadow;
460
451
  }
461
452
  .ui.menu .active.item > i.icon {
462
- opacity: @activeIconOpacity;
453
+ opacity: @activeIconOpacity;
463
454
  }
464
455
 
465
- /*--------------
456
+ /* --------------
466
457
  Active Hover
467
- ---------------*/
458
+ --------------- */
468
459
 
469
460
  .ui.menu .active.item:hover,
470
461
  .ui.vertical.menu .active.item:hover {
471
- background-color: @activeHoverItemBackground;
472
- color: @activeHoverItemColor;
462
+ background-color: @activeHoverItemBackground;
463
+ color: @activeHoverItemColor;
473
464
  }
474
465
 
475
-
476
- /*--------------
466
+ /* --------------
477
467
  Disabled
478
- ---------------*/
468
+ --------------- */
479
469
 
480
470
  .ui.ui.menu .item.disabled {
481
- cursor: default;
482
- background-color: transparent;
483
- color: @disabledTextColor;
484
- pointer-events: none;
471
+ cursor: default;
472
+ background-color: transparent;
473
+ color: @disabledTextColor;
474
+ pointer-events: none;
485
475
  }
486
476
 
487
-
488
477
  /*******************************
489
478
  Types
490
479
  *******************************/
491
480
 
492
- /*------------------
481
+ /* ------------------
493
482
  Floated Menu / Item
494
- -------------------*/
483
+ ------------------- */
495
484
 
496
485
  /* Left Floated */
497
486
  .ui.menu:not(.vertical) .left.item,
498
487
  .ui.menu:not(.vertical) .left.menu {
499
- display: flex;
500
- margin-right: auto !important;
488
+ display: flex;
489
+ margin-right: auto !important;
501
490
  }
491
+
502
492
  /* Right Floated */
503
493
  .ui.menu:not(.vertical) .right.item,
504
494
  .ui.menu:not(.vertical) .right.menu {
505
- display: flex;
506
- margin-left: auto !important;
495
+ display: flex;
496
+ margin-left: auto !important;
507
497
  }
508
498
 
509
499
  .ui.menu:not(.vertical) :not(.dropdown) > .left.menu,
510
500
  .ui.menu:not(.vertical) :not(.dropdown) > .right.menu {
511
- display: inherit;
501
+ display: inherit;
512
502
  }
513
503
 
514
504
  /* Center */
515
505
  .ui.menu:not(.vertical) .center.item,
516
506
  .ui.menu:not(.vertical) .center.menu {
517
- display: flex;
518
- margin-left: auto !important;
519
- margin-right: auto !important;
507
+ display: flex;
508
+ margin-left: auto !important;
509
+ margin-right: auto !important;
520
510
  }
521
511
 
522
512
  /* Swapped Borders */
523
513
  .ui.menu .right.item::before,
524
514
  .ui.menu .right.menu > .item::before {
525
- right: auto;
526
- left: 0;
515
+ right: auto;
516
+ left: 0;
527
517
  }
528
518
 
529
519
  /* Remove Outer Borders */
530
520
  .ui.menu .center.item:last-child::before,
531
521
  .ui.menu .center.menu > .item:last-child::before {
532
- display: none;
522
+ display: none;
533
523
  }
534
524
 
535
525
  & when (@variationMenuVertical) {
536
- /*--------------
537
- Vertical
538
- ---------------*/
526
+ /* --------------
527
+ Vertical
528
+ --------------- */
539
529
 
540
- .ui.vertical.menu {
541
- display: block;
542
- flex-direction: column;
543
- background: @verticalBackground;
544
- box-shadow: @verticalBoxShadow;
545
- }
530
+ .ui.vertical.menu {
531
+ display: block;
532
+ flex-direction: column;
533
+ background: @verticalBackground;
534
+ box-shadow: @verticalBoxShadow;
535
+ }
546
536
 
547
- /*--- Item ---*/
548
- .ui.vertical.menu .item {
549
- display: block;
550
- background: @verticalItemBackground;
551
- border-top: none;
552
- border-right: none;
553
- }
554
- .ui.vertical.menu > .item:first-child {
555
- border-radius: @borderRadius @borderRadius 0 0;
556
- }
557
- .ui.vertical.menu > .item:last-child {
558
- border-radius: 0 0 @borderRadius @borderRadius;
559
- }
560
-
561
- /*--- Label ---*/
562
- .ui.vertical.menu .item > .label {
563
- float: right;
564
- text-align: center;
565
- }
566
-
567
- /*--- Icon ---*/
568
- .ui.vertical.menu .item > i.icon,
569
- .ui.vertical.menu .item > i.icons {
570
- width: @iconWidth;
571
- float: @verticalIconFloat;
572
- margin: @verticalIconMargin;
573
- }
574
- .ui.vertical.menu .item > .label + i.icon {
575
- float: @labelAndIconFloat;
576
- margin: @labelAndIconMargin;
577
- }
578
-
579
-
580
- /*--- Border ---*/
581
- .ui.vertical.menu .item::before {
582
- position: absolute;
583
- content: '';
584
- top: 0;
585
- left: 0;
586
- width: 100%;
587
- height: @dividerSize;
588
- background: @verticalDividerBackground;
589
- }
590
-
591
- .ui.vertical.menu .item:first-child::before {
592
- display: none !important;
593
- }
594
-
595
-
596
- /*--- Sub Menu ---*/
597
- .ui.vertical.menu .item > .menu {
598
- margin: @subMenuMargin;
599
- }
600
- .ui.vertical.menu .menu .item {
601
- background: none;
602
- padding: @subMenuVerticalPadding @subMenuHorizontalPadding;
603
- font-size: @subMenuFontSize;
604
- color: @subMenuTextColor;
605
- }
606
- .ui.vertical.menu .item .menu a.item:hover,
607
- .ui.vertical.menu .item .menu .link.item:hover {
608
- color: @darkTextColor;
609
- }
610
- .ui.vertical.menu .menu .item::before {
611
- display: none;
612
- }
537
+ /* --- Item --- */
538
+ .ui.vertical.menu .item {
539
+ display: block;
540
+ background: @verticalItemBackground;
541
+ border-top: none;
542
+ border-right: none;
543
+ }
544
+ .ui.vertical.menu > .item:first-child {
545
+ border-radius: @borderRadius @borderRadius 0 0;
546
+ }
547
+ .ui.vertical.menu > .item:last-child {
548
+ border-radius: 0 0 @borderRadius @borderRadius;
549
+ }
613
550
 
614
- /* Vertical Active */
615
- .ui.vertical.menu .active.item {
616
- background: @activeItemBackground;
617
- border-radius: 0;
618
- box-shadow: @verticalActiveBoxShadow;
619
- }
620
- .ui.vertical.menu > .active.item:first-child {
621
- border-radius: @borderRadius @borderRadius 0 0;
622
- }
623
- .ui.vertical.menu > .active.item:last-child {
624
- border-radius: 0 0 @borderRadius @borderRadius;
625
- }
626
- .ui.vertical.menu > .active.item:only-child {
627
- border-radius: @borderRadius;
628
- }
629
- .ui.vertical.menu .active.item .menu .active.item {
630
- border-left: none;
631
- }
632
- .ui.vertical.menu .item .menu .active.item {
633
- background-color: @subMenuActiveBackground;
634
- font-weight: @subMenuActiveFontWeight;
635
- color: @subMenuActiveTextColor;
636
- }
637
- }
551
+ /* --- Label --- */
552
+ .ui.vertical.menu .item > .label {
553
+ float: right;
554
+ text-align: center;
555
+ }
638
556
 
639
- & when (@variationMenuTabular) {
640
- /*--------------
641
- Tabular
642
- ---------------*/
643
-
644
- .ui.tabular.menu {
645
- border-radius: 0;
646
- box-shadow: none !important;
647
- border: none;
648
- background: @tabularBackground;
649
- border-bottom: @tabularBorderWidth solid @tabularBorderColor;
650
- }
651
- .ui.tabular.fluid.menu {
652
- width: @tabularFluidWidth !important;
653
- }
654
- .ui.tabular.menu .item {
655
- background: transparent;
656
- border-bottom: none;
657
-
658
- border-left: @tabularBorderWidth solid transparent;
659
- border-right: @tabularBorderWidth solid transparent;
660
- border-top: @tabularOppositeBorderWidth solid transparent;
661
- padding: @tabularVerticalPadding @tabularHorizontalPadding;
662
- color: @tabularTextColor;
663
- }
664
- .ui.tabular.menu .item::before {
665
- display: none;
666
- }
557
+ /* --- Icon --- */
558
+ .ui.vertical.menu .item > i.icon,
559
+ .ui.vertical.menu .item > i.icons {
560
+ width: @iconWidth;
561
+ float: @verticalIconFloat;
562
+ margin: @verticalIconMargin;
563
+ }
564
+ .ui.vertical.menu .item > .label + i.icon {
565
+ float: @labelAndIconFloat;
566
+ margin: @labelAndIconMargin;
567
+ }
667
568
 
668
- /* Hover */
669
- .ui.tabular.menu .item:hover {
670
- background-color: transparent;
671
- color: @tabularHoveredTextColor;
672
- }
673
-
674
- /* Active */
675
- .ui.tabular.menu .active.item {
676
- background: @tabularActiveBackground;
677
- color: @tabularActiveColor;
678
- border-top-width: @tabularBorderWidth;
679
- border-color: @tabularBorderColor;
680
- font-weight: @tabularActiveWeight;
681
- margin-bottom: -@tabularBorderWidth;
682
- box-shadow: @tabularActiveBoxShadow;
683
- border-radius: @tabularBorderRadius @tabularBorderRadius 0 0 !important;
684
- &:hover {
685
- cursor: default;
686
- }
687
- }
688
-
689
- /* Coupling with segment for attachment */
690
- .ui.tabular.menu ~ .attached:not(.top).segment {
691
- border-top: none;
692
- margin-left: 0;
693
- margin-top: 0;
694
- margin-right: 0;
695
- width: 100%;
696
- }
697
- .top.attached.segment + .ui.bottom.tabular.menu {
698
- position: relative;
699
- width: @tabularFluidWidth;
700
- left: -@tabularFluidOffset;
701
- }
702
-
703
- /* Bottom Vertical Tabular */
704
- .ui.bottom.tabular.menu {
705
- background: @tabularBackground;
706
- border-radius: 0;
707
- box-shadow: none !important;
708
- border-bottom: none;
709
- border-top: @tabularBorderWidth solid @tabularBorderColor;
710
- }
711
- .ui.bottom.tabular.menu .item {
712
- background: none;
713
- border-left: @tabularBorderWidth solid transparent;
714
- border-right: @tabularBorderWidth solid transparent;
715
- border-bottom: @tabularBorderWidth solid transparent;
716
- border-top: none;
717
- }
718
- .ui.bottom.tabular.menu .active.item {
719
- background: @tabularActiveBackground;
720
- color: @tabularActiveColor;
721
- border-color: @tabularBorderColor;
722
- margin: -@tabularBorderWidth 0 0 0;
723
- border-radius: 0 0 @tabularBorderRadius @tabularBorderRadius !important;
724
- }
725
- & when (@variationMenuVertical) {
726
- /* Vertical Tabular (Left) */
727
- .ui.vertical.tabular.menu {
728
- background: @tabularVerticalBackground;
729
- border-radius: 0;
730
- box-shadow: none !important;
731
- border-bottom: none;
732
- border-right: @tabularBorderWidth solid @tabularBorderColor;
733
- }
734
- .ui.vertical.tabular.menu .item {
735
- background: none;
736
- border-left: @tabularBorderWidth solid transparent;
737
- border-bottom: @tabularBorderWidth solid transparent;
738
- border-top: @tabularBorderWidth solid transparent;
739
- border-right: none;
740
- }
741
- .ui.vertical.tabular.menu .active.item {
742
- background: @tabularActiveBackground;
743
- color: @tabularActiveColor;
744
- border-color: @tabularBorderColor;
745
- margin: 0 -@tabularBorderWidth 0 0;
746
- border-radius: @tabularBorderRadius 0 0 @tabularBorderRadius !important;
747
- }
748
-
749
- /* Vertical Right Tabular */
750
- .ui.vertical.right.tabular.menu {
751
- background: @tabularVerticalBackground;
752
- border-radius: 0;
753
- box-shadow: none !important;
754
- border-bottom: none;
755
- border-right: none;
756
- border-left: @tabularBorderWidth solid @tabularBorderColor;
757
- }
758
- .ui.vertical.right.tabular.menu .item {
759
- background: none;
760
- border-right: @tabularBorderWidth solid transparent;
761
- border-bottom: @tabularBorderWidth solid transparent;
762
- border-top: @tabularBorderWidth solid transparent;
763
- border-left: none;
764
- }
765
- .ui.vertical.right.tabular.menu .active.item {
766
- background: @tabularActiveBackground;
767
- color: @tabularActiveColor;
768
- border-color: @tabularBorderColor;
769
- margin: 0 0 0 -@tabularBorderWidth;
770
- border-radius: 0 @tabularBorderRadius @tabularBorderRadius 0 !important;
771
- }
772
- }
773
- /* Dropdown */
774
- .ui.tabular.menu .active.dropdown.item {
775
- margin-bottom: 0;
776
- border-left: @tabularBorderWidth solid transparent;
777
- border-right: @tabularBorderWidth solid transparent;
778
- border-top: @tabularOppositeBorderWidth solid transparent;
779
- border-bottom: none;
780
- }
781
- & when (@variationMenuInverted) {
782
- .ui.inverted.tabular.menu .active.item,
783
- .ui.inverted.tabular.menu .active.item:hover {
784
- background: @invertedTabularActiveBackground;
785
- border-color: @invertedTabularBorderColor;
569
+ /* --- Border --- */
570
+ .ui.vertical.menu .item::before {
571
+ position: absolute;
572
+ content: "";
573
+ top: 0;
574
+ left: 0;
575
+ width: 100%;
576
+ height: @dividerSize;
577
+ background: @verticalDividerBackground;
786
578
  }
787
- .ui.inverted.tabular.menu .item:not(.active):hover {
788
- color: @invertedTabularHoveredTextColor;
789
- background: transparent;
790
- cursor: pointer;
579
+
580
+ .ui.vertical.menu .item:first-child::before {
581
+ display: none !important;
582
+ }
583
+
584
+ /* --- Sub Menu --- */
585
+ .ui.vertical.menu .item > .menu {
586
+ margin: @subMenuMargin;
587
+ }
588
+ .ui.vertical.menu .menu .item {
589
+ background: none;
590
+ padding: @subMenuVerticalPadding @subMenuHorizontalPadding;
591
+ font-size: @subMenuFontSize;
592
+ color: @subMenuTextColor;
593
+ }
594
+ .ui.vertical.menu .item .menu a.item:hover,
595
+ .ui.vertical.menu .item .menu .link.item:hover {
596
+ color: @darkTextColor;
597
+ }
598
+ .ui.vertical.menu .menu .item::before {
599
+ display: none;
600
+ }
601
+
602
+ /* Vertical Active */
603
+ .ui.vertical.menu .active.item {
604
+ background: @activeItemBackground;
605
+ border-radius: 0;
606
+ box-shadow: @verticalActiveBoxShadow;
607
+ }
608
+ .ui.vertical.menu > .active.item:first-child {
609
+ border-radius: @borderRadius @borderRadius 0 0;
610
+ }
611
+ .ui.vertical.menu > .active.item:last-child {
612
+ border-radius: 0 0 @borderRadius @borderRadius;
613
+ }
614
+ .ui.vertical.menu > .active.item:only-child {
615
+ border-radius: @borderRadius;
616
+ }
617
+ .ui.vertical.menu .active.item .menu .active.item {
618
+ border-left: none;
619
+ }
620
+ .ui.vertical.menu .item .menu .active.item {
621
+ background-color: @subMenuActiveBackground;
622
+ font-weight: @subMenuActiveFontWeight;
623
+ color: @subMenuActiveTextColor;
791
624
  }
792
- }
793
625
  }
794
626
 
627
+ & when (@variationMenuTabular) {
628
+ /* --------------
629
+ Tabular
630
+ --------------- */
631
+
632
+ .ui.tabular.menu {
633
+ border-radius: 0;
634
+ box-shadow: none !important;
635
+ border: none;
636
+ background: @tabularBackground;
637
+ border-bottom: @tabularBorderWidth solid @tabularBorderColor;
638
+ }
639
+ .ui.tabular.fluid.menu {
640
+ width: @tabularFluidWidth !important;
641
+ }
642
+ .ui.tabular.menu .item {
643
+ background: transparent;
644
+ border-bottom: none;
645
+ border-left: @tabularBorderWidth solid transparent;
646
+ border-right: @tabularBorderWidth solid transparent;
647
+ border-top: @tabularOppositeBorderWidth solid transparent;
648
+ padding: @tabularVerticalPadding @tabularHorizontalPadding;
649
+ color: @tabularTextColor;
650
+ }
651
+ .ui.tabular.menu .item::before {
652
+ display: none;
653
+ }
795
654
 
796
- & when (@variationMenuPagination) {
797
- /*--------------
798
- Pagination
799
- ---------------*/
655
+ /* Hover */
656
+ .ui.tabular.menu .item:hover {
657
+ background-color: transparent;
658
+ color: @tabularHoveredTextColor;
659
+ }
800
660
 
801
- .ui.pagination.menu {
802
- margin: 0;
803
- display: inline-flex;
804
- vertical-align: middle;
805
- }
806
- .ui.pagination.menu .item:last-child {
807
- border-radius: 0 @borderRadius @borderRadius 0;
808
- }
809
- .ui.compact.menu .item:last-child {
810
- border-radius: 0 @borderRadius @borderRadius 0;
811
- }
812
- .ui.pagination.menu .item:last-child::before {
813
- display: none;
814
- }
661
+ /* Active */
662
+ .ui.tabular.menu .active.item {
663
+ background: @tabularActiveBackground;
664
+ color: @tabularActiveColor;
665
+ border-top-width: @tabularBorderWidth;
666
+ border-color: @tabularBorderColor;
667
+ font-weight: @tabularActiveWeight;
668
+ margin-bottom: -@tabularBorderWidth;
669
+ box-shadow: @tabularActiveBoxShadow;
670
+ border-radius: @tabularBorderRadius @tabularBorderRadius 0 0 !important;
671
+ &:hover {
672
+ cursor: default;
673
+ }
674
+ }
815
675
 
816
- .ui.pagination.menu .item {
817
- min-width: @paginationMinWidth;
818
- text-align: center;
819
- }
820
- .ui.pagination.menu .icon.item i.icon {
821
- vertical-align: top;
822
- }
676
+ /* Coupling with segment for attachment */
677
+ .ui.tabular.menu ~ .attached:not(.top).segment {
678
+ border-top: none;
679
+ margin-left: 0;
680
+ margin-top: 0;
681
+ margin-right: 0;
682
+ width: 100%;
683
+ }
684
+ .top.attached.segment + .ui.bottom.tabular.menu {
685
+ position: relative;
686
+ width: @tabularFluidWidth;
687
+ left: -@tabularFluidOffset;
688
+ }
823
689
 
824
- /* Active */
825
- .ui.pagination.menu .active.item {
826
- border-top: none;
827
- padding-top: @itemVerticalPadding;
828
- background-color: @paginationActiveBackground;
829
- color: @paginationActiveTextColor;
830
- box-shadow: none;
831
- }
832
- }
690
+ /* Bottom Vertical Tabular */
691
+ .ui.bottom.tabular.menu {
692
+ background: @tabularBackground;
693
+ border-radius: 0;
694
+ box-shadow: none !important;
695
+ border-bottom: none;
696
+ border-top: @tabularBorderWidth solid @tabularBorderColor;
697
+ }
698
+ .ui.bottom.tabular.menu .item {
699
+ background: none;
700
+ border-left: @tabularBorderWidth solid transparent;
701
+ border-right: @tabularBorderWidth solid transparent;
702
+ border-bottom: @tabularBorderWidth solid transparent;
703
+ border-top: none;
704
+ }
705
+ .ui.bottom.tabular.menu .active.item {
706
+ background: @tabularActiveBackground;
707
+ color: @tabularActiveColor;
708
+ border-color: @tabularBorderColor;
709
+ margin: -@tabularBorderWidth 0 0 0;
710
+ border-radius: 0 0 @tabularBorderRadius @tabularBorderRadius !important;
711
+ }
712
+ & when (@variationMenuVertical) {
713
+ /* Vertical Tabular (Left) */
714
+ .ui.vertical.tabular.menu {
715
+ background: @tabularVerticalBackground;
716
+ border-radius: 0;
717
+ box-shadow: none !important;
718
+ border-bottom: none;
719
+ border-right: @tabularBorderWidth solid @tabularBorderColor;
720
+ }
721
+ .ui.vertical.tabular.menu .item {
722
+ background: none;
723
+ border-left: @tabularBorderWidth solid transparent;
724
+ border-bottom: @tabularBorderWidth solid transparent;
725
+ border-top: @tabularBorderWidth solid transparent;
726
+ border-right: none;
727
+ }
728
+ .ui.vertical.tabular.menu .active.item {
729
+ background: @tabularActiveBackground;
730
+ color: @tabularActiveColor;
731
+ border-color: @tabularBorderColor;
732
+ margin: 0 -@tabularBorderWidth 0 0;
733
+ border-radius: @tabularBorderRadius 0 0 @tabularBorderRadius !important;
734
+ }
833
735
 
834
- & when (@variationMenuSecondary) {
835
- /*--------------
836
- Secondary
837
- ---------------*/
838
-
839
- .ui.secondary.menu {
840
- background: @secondaryBackground;
841
- margin-left: -@secondaryItemSpacing;
842
- margin-right: -@secondaryItemSpacing;
843
- border-radius: 0;
844
- border: none;
845
- box-shadow: none;
846
- }
847
-
848
- /* Item */
849
- .ui.secondary.menu .item {
850
- align-self: center;
851
- box-shadow: none;
852
- border: none;
853
- padding: @secondaryItemPadding;
854
- margin: @secondaryItemMargin;
855
- background: @secondaryItemBackground;
856
- transition: @secondaryItemTransition;
857
- border-radius: @secondaryItemBorderRadius;
858
- }
859
-
860
- /* No Divider */
861
- .ui.secondary.menu .item::before {
862
- display: none !important;
863
- }
864
-
865
- /* Header */
866
- .ui.secondary.menu .header.item {
867
- border-radius: 0;
868
- border-right: @secondaryHeaderBorder;
869
- background: @secondaryHeaderBackground;
870
- }
871
-
872
- /* Image */
873
- .ui.secondary.menu .item > img:not(.ui) {
874
- margin: 0;
875
- }
876
-
877
- /* Hover */
878
- .ui.secondary.menu .dropdown.item:hover,
879
- .ui.secondary.menu .link.item:hover,
880
- .ui.secondary.menu a.item:hover {
881
- background: @secondaryHoverItemBackground;
882
- color: @secondaryHoverItemColor;
883
- }
884
-
885
- /* Active */
886
- .ui.secondary.menu .active.item {
887
- box-shadow: none;
888
- background: @secondaryActiveItemBackground;
889
- color: @secondaryActiveItemColor;
890
- border-radius: @secondaryItemBorderRadius;
891
- }
892
-
893
- /* Active Hover */
894
- .ui.secondary.menu .active.item:hover {
895
- box-shadow: none;
896
- background: @secondaryActiveHoverItemBackground;
897
- color: @secondaryActiveHoverItemColor;
898
- }
899
-
900
- & when (@variationMenuInverted) {
901
- /* Inverted */
902
- .ui.secondary.inverted.menu .link.item:not(.disabled),
903
- .ui.secondary.inverted.menu a.item:not(.disabled) {
904
- color: @secondaryInvertedColor;
905
- }
906
- .ui.secondary.inverted.menu .dropdown.item:hover,
907
- .ui.secondary.inverted.menu .link.item:hover,
908
- .ui.secondary.inverted.menu a.item:hover {
909
- background: @secondaryInvertedHoverBackground;
910
- color: @secondaryInvertedHoverColor;
911
- }
912
- .ui.secondary.inverted.menu .active.item {
913
- background: @secondaryInvertedActiveBackground;
914
- color: @secondaryInvertedActiveColor;
915
- }
916
- }
917
- /* Fix item margins */
918
- .ui.secondary.item.menu {
919
- margin-left: 0;
920
- margin-right: 0;
921
- }
922
- .ui.secondary.item.menu .item:last-child {
923
- margin-right: 0;
924
- }
925
- & when (@variationMenuAttached) {
926
- .ui.secondary.attached.menu {
927
- box-shadow: none;
928
- }
929
- }
930
- & when (@variationMenuVertical) {
931
- /*---------------------
932
- Secondary Vertical
933
- -----------------------*/
934
-
935
- /* Sub Menu */
936
- .ui.vertical.secondary.menu .item:not(.dropdown) > .menu {
937
- margin: @secondaryMenuSubMenuMargin;
938
- }
939
- .ui.vertical.secondary.menu .item:not(.dropdown) > .menu > .item {
940
- margin: @secondaryMenuSubMenuItemMargin;
941
- padding: @secondaryMenuSubMenuItemPadding;
942
- }
943
-
944
-
945
- .ui.secondary.vertical.menu > .item {
946
- border: none;
947
- margin: @secondaryVerticalItemMargin;
948
- border-radius: @secondaryVerticalItemBorderRadius !important;
949
- }
950
- .ui.secondary.vertical.menu > .header.item {
951
- border-radius: 0;
952
- }
953
-
954
- /* Sub Menu */
955
- .ui.vertical.secondary.menu .item > .menu .item {
956
- background-color: transparent;
736
+ /* Vertical Right Tabular */
737
+ .ui.vertical.right.tabular.menu {
738
+ background: @tabularVerticalBackground;
739
+ border-radius: 0;
740
+ box-shadow: none !important;
741
+ border-bottom: none;
742
+ border-right: none;
743
+ border-left: @tabularBorderWidth solid @tabularBorderColor;
744
+ }
745
+ .ui.vertical.right.tabular.menu .item {
746
+ background: none;
747
+ border-right: @tabularBorderWidth solid transparent;
748
+ border-bottom: @tabularBorderWidth solid transparent;
749
+ border-top: @tabularBorderWidth solid transparent;
750
+ border-left: none;
751
+ }
752
+ .ui.vertical.right.tabular.menu .active.item {
753
+ background: @tabularActiveBackground;
754
+ color: @tabularActiveColor;
755
+ border-color: @tabularBorderColor;
756
+ margin: 0 0 0 -@tabularBorderWidth;
757
+ border-radius: 0 @tabularBorderRadius @tabularBorderRadius 0 !important;
758
+ }
759
+ }
760
+
761
+ /* Dropdown */
762
+ .ui.tabular.menu .active.dropdown.item {
763
+ margin-bottom: 0;
764
+ border-left: @tabularBorderWidth solid transparent;
765
+ border-right: @tabularBorderWidth solid transparent;
766
+ border-top: @tabularOppositeBorderWidth solid transparent;
767
+ border-bottom: none;
957
768
  }
958
769
  & when (@variationMenuInverted) {
959
- /* Inverted */
960
- .ui.secondary.inverted.menu {
961
- background-color: transparent;
962
- }
770
+ .ui.inverted.tabular.menu .active.item,
771
+ .ui.inverted.tabular.menu .active.item:hover {
772
+ background: @invertedTabularActiveBackground;
773
+ border-color: @invertedTabularBorderColor;
774
+ }
775
+ .ui.inverted.tabular.menu .item:not(.active):hover {
776
+ color: @invertedTabularHoveredTextColor;
777
+ background: transparent;
778
+ cursor: pointer;
779
+ }
963
780
  }
964
- }
781
+ }
965
782
 
966
- & when (@variationMenuPointing) {
967
- /*---------------------
968
- Secondary Pointing
969
- -----------------------*/
783
+ & when (@variationMenuPagination) {
784
+ /* --------------
785
+ Pagination
786
+ --------------- */
970
787
 
971
- .ui.secondary.pointing.menu {
972
- margin-left: 0;
973
- margin-right: 0;
974
- border-bottom: @secondaryPointingBorderWidth solid @secondaryPointingBorderColor;
788
+ .ui.pagination.menu {
789
+ margin: 0;
790
+ display: inline-flex;
791
+ vertical-align: middle;
792
+ }
793
+ .ui.pagination.menu .item:last-child {
794
+ border-radius: 0 @borderRadius @borderRadius 0;
795
+ }
796
+ .ui.compact.menu .item:last-child {
797
+ border-radius: 0 @borderRadius @borderRadius 0;
798
+ }
799
+ .ui.pagination.menu .item:last-child::before {
800
+ display: none;
975
801
  }
976
802
 
977
- .ui.secondary.pointing.menu .item {
978
- border-bottom-color: transparent;
979
- border-bottom-style: solid;
980
- border-radius: 0;
981
- align-self: flex-end;
982
-
983
- margin: 0 0 -@secondaryPointingBorderWidth;
984
- padding: @secondaryPointingItemVerticalPadding @secondaryPointingItemHorizontalPadding;
985
- border-bottom-width: @secondaryPointingBorderWidth;
986
- transition: @secondaryItemTransition;
803
+ .ui.pagination.menu .item {
804
+ min-width: @paginationMinWidth;
805
+ text-align: center;
987
806
  }
988
- .ui.secondary.pointing.menu .ui.dropdown .menu .item {
989
- border-bottom-width: 0;
807
+ .ui.pagination.menu .icon.item i.icon {
808
+ vertical-align: top;
990
809
  }
991
810
 
992
- .ui.secondary.pointing.menu .item > .label:not(.floating) {
993
- margin-top: -@labelVerticalPadding;
994
- margin-bottom: -@labelVerticalPadding;
811
+ /* Active */
812
+ .ui.pagination.menu .active.item {
813
+ border-top: none;
814
+ padding-top: @itemVerticalPadding;
815
+ background-color: @paginationActiveBackground;
816
+ color: @paginationActiveTextColor;
817
+ box-shadow: none;
995
818
  }
996
- .ui.secondary.pointing.menu .item > .circular.label {
997
- margin-top: -@circularLabelVerticalPadding;
998
- margin-bottom: -@circularLabelVerticalPadding;
819
+ }
820
+
821
+ & when (@variationMenuSecondary) {
822
+ /* --------------
823
+ Secondary
824
+ --------------- */
825
+
826
+ .ui.secondary.menu {
827
+ background: @secondaryBackground;
828
+ margin-left: -@secondaryItemSpacing;
829
+ margin-right: -@secondaryItemSpacing;
830
+ border-radius: 0;
831
+ border: none;
832
+ box-shadow: none;
999
833
  }
1000
834
 
1001
- /* Item Types */
1002
- .ui.secondary.pointing.menu .header.item {
1003
- color: @secondaryPointingHeaderColor !important;
835
+ /* Item */
836
+ .ui.secondary.menu .item {
837
+ align-self: center;
838
+ box-shadow: none;
839
+ border: none;
840
+ padding: @secondaryItemPadding;
841
+ margin: @secondaryItemMargin;
842
+ background: @secondaryItemBackground;
843
+ transition: @secondaryItemTransition;
844
+ border-radius: @secondaryItemBorderRadius;
1004
845
  }
1005
- .ui.secondary.pointing.menu .text.item {
1006
- box-shadow: none !important;
846
+
847
+ /* No Divider */
848
+ .ui.secondary.menu .item::before {
849
+ display: none !important;
1007
850
  }
1008
- .ui.secondary.pointing.menu .item::after {
1009
- display: none;
851
+
852
+ /* Header */
853
+ .ui.secondary.menu .header.item {
854
+ border-radius: 0;
855
+ border-right: @secondaryHeaderBorder;
856
+ background: @secondaryHeaderBackground;
1010
857
  }
1011
858
 
1012
- /* Hover */
1013
- .ui.secondary.pointing.menu .dropdown.item:hover,
1014
- .ui.secondary.pointing.menu .link.item:hover,
1015
- .ui.secondary.pointing.menu a.item:hover {
1016
- background-color: transparent;
1017
- color: @secondaryPointingHoverTextColor;
859
+ /* Image */
860
+ .ui.secondary.menu .item > img:not(.ui) {
861
+ margin: 0;
1018
862
  }
1019
863
 
1020
- /* Pressed */
1021
- .ui.secondary.pointing.menu .dropdown.item:active,
1022
- .ui.secondary.pointing.menu .link.item:active,
1023
- .ui.secondary.pointing.menu a.item:active {
1024
- background-color: transparent;
1025
- border-color: @secondaryPointingBorderColor;
864
+ /* Hover */
865
+ .ui.secondary.menu .dropdown.item:hover,
866
+ .ui.secondary.menu .link.item:hover,
867
+ .ui.secondary.menu a.item:hover {
868
+ background: @secondaryHoverItemBackground;
869
+ color: @secondaryHoverItemColor;
1026
870
  }
1027
871
 
1028
872
  /* Active */
1029
- .ui.secondary.pointing.menu .active.item {
1030
- background-color: transparent;
1031
- box-shadow: none;
1032
- border-color: @secondaryPointingActiveBorderColor;
1033
- font-weight: @secondaryPointingActiveFontWeight;
1034
- color: @secondaryPointingActiveTextColor;
873
+ .ui.secondary.menu .active.item {
874
+ box-shadow: none;
875
+ background: @secondaryActiveItemBackground;
876
+ color: @secondaryActiveItemColor;
877
+ border-radius: @secondaryItemBorderRadius;
1035
878
  }
1036
879
 
1037
880
  /* Active Hover */
1038
- .ui.secondary.pointing.menu .active.item:hover {
1039
- border-color: @secondaryPointingActiveHoverBorderColor;
1040
- color: @secondaryPointingActiveHoverTextColor;
881
+ .ui.secondary.menu .active.item:hover {
882
+ box-shadow: none;
883
+ background: @secondaryActiveHoverItemBackground;
884
+ color: @secondaryActiveHoverItemColor;
1041
885
  }
1042
886
 
1043
- /* Active Dropdown */
1044
- .ui.secondary.pointing.menu .active.dropdown.item {
1045
- border-color: @secondaryPointingActiveDropdownBorderColor;
887
+ & when (@variationMenuInverted) {
888
+ /* Inverted */
889
+ .ui.secondary.inverted.menu .link.item:not(.disabled),
890
+ .ui.secondary.inverted.menu a.item:not(.disabled) {
891
+ color: @secondaryInvertedColor;
892
+ }
893
+ .ui.secondary.inverted.menu .dropdown.item:hover,
894
+ .ui.secondary.inverted.menu .link.item:hover,
895
+ .ui.secondary.inverted.menu a.item:hover {
896
+ background: @secondaryInvertedHoverBackground;
897
+ color: @secondaryInvertedHoverColor;
898
+ }
899
+ .ui.secondary.inverted.menu .active.item {
900
+ background: @secondaryInvertedActiveBackground;
901
+ color: @secondaryInvertedActiveColor;
902
+ }
903
+ }
904
+
905
+ /* Fix item margins */
906
+ .ui.secondary.item.menu {
907
+ margin-left: 0;
908
+ margin-right: 0;
909
+ }
910
+ .ui.secondary.item.menu .item:last-child {
911
+ margin-right: 0;
912
+ }
913
+ & when (@variationMenuAttached) {
914
+ .ui.secondary.attached.menu {
915
+ box-shadow: none;
916
+ }
1046
917
  }
1047
918
  & when (@variationMenuVertical) {
1048
- /* Vertical Pointing */
1049
- .ui.secondary.vertical.pointing.menu {
1050
- border-bottom-width: 0;
1051
- border-right-width: @secondaryPointingBorderWidth;
1052
- border-right-style: solid;
1053
- border-right-color: @secondaryPointingBorderColor;
1054
- }
1055
- .ui.secondary.vertical.pointing.menu .item {
1056
- border-bottom: none;
1057
- border-right-style: solid;
1058
- border-right-color: transparent;
1059
- border-radius: 0 !important;
1060
- margin: @secondaryVerticalPointingItemMargin;
1061
- border-right-width: @secondaryPointingBorderWidth;
1062
- }
919
+ /* ---------------------
920
+ Secondary Vertical
921
+ ----------------------- */
922
+
923
+ /* Sub Menu */
924
+ .ui.vertical.secondary.menu .item:not(.dropdown) > .menu {
925
+ margin: @secondaryMenuSubMenuMargin;
926
+ }
927
+ .ui.vertical.secondary.menu .item:not(.dropdown) > .menu > .item {
928
+ margin: @secondaryMenuSubMenuItemMargin;
929
+ padding: @secondaryMenuSubMenuItemPadding;
930
+ }
931
+
932
+ .ui.secondary.vertical.menu > .item {
933
+ border: none;
934
+ margin: @secondaryVerticalItemMargin;
935
+ border-radius: @secondaryVerticalItemBorderRadius !important;
936
+ }
937
+ .ui.secondary.vertical.menu > .header.item {
938
+ border-radius: 0;
939
+ }
1063
940
 
1064
- /* Vertical Active */
1065
- .ui.secondary.vertical.pointing.menu .active.item {
1066
- border-color: @secondaryPointingActiveBorderColor;
1067
- }
941
+ /* Sub Menu */
942
+ .ui.vertical.secondary.menu .item > .menu .item {
943
+ background-color: transparent;
944
+ }
945
+ & when (@variationMenuInverted) {
946
+ /* Inverted */
947
+ .ui.secondary.inverted.menu {
948
+ background-color: transparent;
949
+ }
950
+ }
1068
951
  }
1069
- & when (@variationMenuInverted) {
1070
- /* Inverted */
1071
- .ui.secondary.inverted.pointing.menu {
1072
- border-color: @secondaryPointingInvertedBorderColor;
1073
- }
1074
-
1075
- .ui.secondary.inverted.pointing.menu .item:not(.disabled) {
1076
- color: @secondaryPointingInvertedItemTextColor;
1077
- }
1078
- .ui.secondary.inverted.pointing.menu .header.item {
1079
- color: @secondaryPointingInvertedItemHeaderColor !important;
1080
- }
1081
-
1082
- /* Hover */
1083
- .ui.secondary.inverted.pointing.menu .link.item:hover,
1084
- .ui.secondary.inverted.pointing.menu a.item:hover {
1085
- color: @secondaryPointingInvertedItemHoverTextColor;
1086
- }
1087
-
1088
-
1089
- /* Active */
1090
- .ui.ui.secondary.inverted.pointing.menu .active.item {
1091
- border-color: @secondaryPointingInvertedActiveBorderColor;
1092
- color: @secondaryPointingInvertedActiveColor;
1093
- background-color: transparent;
1094
- }
952
+
953
+ & when (@variationMenuPointing) {
954
+ /* ---------------------
955
+ Secondary Pointing
956
+ ----------------------- */
957
+
958
+ .ui.secondary.pointing.menu {
959
+ margin-left: 0;
960
+ margin-right: 0;
961
+ border-bottom: @secondaryPointingBorderWidth solid @secondaryPointingBorderColor;
962
+ }
963
+
964
+ .ui.secondary.pointing.menu .item {
965
+ border-bottom: @secondaryPointingBorderWidth solid transparent;
966
+ border-radius: 0;
967
+ align-self: flex-end;
968
+ margin: 0 0 -@secondaryPointingBorderWidth;
969
+ padding: @secondaryPointingItemVerticalPadding @secondaryPointingItemHorizontalPadding;
970
+ transition: @secondaryItemTransition;
971
+ }
972
+ .ui.secondary.pointing.menu .ui.dropdown .menu .item {
973
+ border-bottom-width: 0;
974
+ }
975
+
976
+ .ui.secondary.pointing.menu .item > .label:not(.floating) {
977
+ margin-top: -@labelVerticalPadding;
978
+ margin-bottom: -@labelVerticalPadding;
979
+ }
980
+ .ui.secondary.pointing.menu .item > .circular.label {
981
+ margin-top: -@circularLabelVerticalPadding;
982
+ margin-bottom: -@circularLabelVerticalPadding;
983
+ }
984
+
985
+ /* Item Types */
986
+ .ui.secondary.pointing.menu .header.item {
987
+ color: @secondaryPointingHeaderColor !important;
988
+ }
989
+ .ui.secondary.pointing.menu .text.item {
990
+ box-shadow: none !important;
991
+ }
992
+ .ui.secondary.pointing.menu .item::after {
993
+ display: none;
994
+ }
995
+
996
+ /* Hover */
997
+ .ui.secondary.pointing.menu .dropdown.item:hover,
998
+ .ui.secondary.pointing.menu .link.item:hover,
999
+ .ui.secondary.pointing.menu a.item:hover {
1000
+ background-color: transparent;
1001
+ color: @secondaryPointingHoverTextColor;
1002
+ }
1003
+
1004
+ /* Pressed */
1005
+ .ui.secondary.pointing.menu .dropdown.item:active,
1006
+ .ui.secondary.pointing.menu .link.item:active,
1007
+ .ui.secondary.pointing.menu a.item:active {
1008
+ background-color: transparent;
1009
+ border-color: @secondaryPointingBorderColor;
1010
+ }
1011
+
1012
+ /* Active */
1013
+ .ui.secondary.pointing.menu .active.item {
1014
+ background-color: transparent;
1015
+ box-shadow: none;
1016
+ border-color: @secondaryPointingActiveBorderColor;
1017
+ font-weight: @secondaryPointingActiveFontWeight;
1018
+ color: @secondaryPointingActiveTextColor;
1019
+ }
1020
+
1021
+ /* Active Hover */
1022
+ .ui.secondary.pointing.menu .active.item:hover {
1023
+ border-color: @secondaryPointingActiveHoverBorderColor;
1024
+ color: @secondaryPointingActiveHoverTextColor;
1025
+ }
1026
+
1027
+ /* Active Dropdown */
1028
+ .ui.secondary.pointing.menu .active.dropdown.item {
1029
+ border-color: @secondaryPointingActiveDropdownBorderColor;
1030
+ }
1031
+ & when (@variationMenuVertical) {
1032
+ /* Vertical Pointing */
1033
+ .ui.secondary.vertical.pointing.menu {
1034
+ border-bottom-width: 0;
1035
+ border-right: @secondaryPointingBorderWidth solid @secondaryPointingBorderColor;
1036
+ }
1037
+ .ui.secondary.vertical.pointing.menu .item {
1038
+ border-bottom: none;
1039
+ border-right: @secondaryPointingBorderWidth solid transparent;
1040
+ border-radius: 0 !important;
1041
+ margin: @secondaryVerticalPointingItemMargin;
1042
+ }
1043
+
1044
+ /* Vertical Active */
1045
+ .ui.secondary.vertical.pointing.menu .active.item {
1046
+ border-color: @secondaryPointingActiveBorderColor;
1047
+ }
1048
+ }
1049
+ & when (@variationMenuInverted) {
1050
+ /* Inverted */
1051
+ .ui.secondary.inverted.pointing.menu {
1052
+ border-color: @secondaryPointingInvertedBorderColor;
1053
+ }
1054
+
1055
+ .ui.secondary.inverted.pointing.menu .item:not(.disabled) {
1056
+ color: @secondaryPointingInvertedItemTextColor;
1057
+ }
1058
+ .ui.secondary.inverted.pointing.menu .header.item {
1059
+ color: @secondaryPointingInvertedItemHeaderColor !important;
1060
+ }
1061
+
1062
+ /* Hover */
1063
+ .ui.secondary.inverted.pointing.menu .link.item:hover,
1064
+ .ui.secondary.inverted.pointing.menu a.item:hover {
1065
+ color: @secondaryPointingInvertedItemHoverTextColor;
1066
+ }
1067
+
1068
+ /* Active */
1069
+ .ui.ui.secondary.inverted.pointing.menu .active.item {
1070
+ border-color: @secondaryPointingInvertedActiveBorderColor;
1071
+ color: @secondaryPointingInvertedActiveColor;
1072
+ background-color: transparent;
1073
+ }
1074
+ }
1095
1075
  }
1096
- }
1097
1076
  }
1098
1077
 
1099
1078
  & when (@variationMenuText) {
1100
- /*--------------
1101
- Text Menu
1102
- ---------------*/
1103
-
1104
- .ui.text.menu {
1105
- background: none transparent;
1106
- border-radius: 0;
1107
- box-shadow: none;
1108
- border: none;
1109
-
1110
- margin: @textMenuMargin;
1111
- }
1112
- .ui.text.menu .item {
1113
- border-radius: 0;
1114
- box-shadow: none;
1115
- align-self: center;
1116
- margin: @textMenuItemMargin;
1117
- padding: @textMenuItemPadding;
1118
- font-weight: @textMenuItemFontWeight;
1119
- color: @textMenuItemColor;
1120
- transition: @textMenuItemTransition;
1121
- }
1122
-
1123
- /* Border */
1124
- .ui.text.menu .item::before,
1125
- .ui.text.menu .menu .item::before {
1126
- display: none !important;
1127
- }
1128
-
1129
- /* Header */
1130
- .ui.text.menu .header.item {
1131
- background-color: transparent;
1132
- opacity: 1;
1133
- color: @textMenuHeaderColor;
1134
- font-size: @textMenuHeaderSize;
1135
- text-transform: @textMenuHeaderTextTransform;
1136
- font-weight: @textMenuHeaderFontWeight;
1137
- }
1138
-
1139
- /* Image */
1140
- .ui.text.menu .item > img:not(.ui) {
1141
- margin: 0;
1142
- }
1143
-
1144
- /*--- fluid text ---*/
1145
- .ui.text.item.menu .item {
1146
- margin: 0;
1147
- }
1148
- & when (@variationMenuVertical) {
1149
- /*--- vertical text ---*/
1150
- .ui.vertical.text.menu {
1151
- margin: @textVerticalMenuMargin;
1079
+ /* --------------
1080
+ Text Menu
1081
+ --------------- */
1082
+
1083
+ .ui.text.menu {
1084
+ background: none transparent;
1085
+ border-radius: 0;
1086
+ box-shadow: none;
1087
+ border: none;
1088
+ margin: @textMenuMargin;
1089
+ }
1090
+ .ui.text.menu .item {
1091
+ border-radius: 0;
1092
+ box-shadow: none;
1093
+ align-self: center;
1094
+ margin: @textMenuItemMargin;
1095
+ padding: @textMenuItemPadding;
1096
+ font-weight: @textMenuItemFontWeight;
1097
+ color: @textMenuItemColor;
1098
+ transition: @textMenuItemTransition;
1099
+ }
1100
+
1101
+ /* Border */
1102
+ .ui.text.menu .item::before,
1103
+ .ui.text.menu .menu .item::before {
1104
+ display: none !important;
1105
+ }
1106
+
1107
+ /* Header */
1108
+ .ui.text.menu .header.item {
1109
+ background-color: transparent;
1110
+ opacity: 1;
1111
+ color: @textMenuHeaderColor;
1112
+ font-size: @textMenuHeaderSize;
1113
+ text-transform: @textMenuHeaderTextTransform;
1114
+ font-weight: @textMenuHeaderFontWeight;
1152
1115
  }
1153
- .ui.vertical.text.menu:first-child {
1154
- margin-top: 0;
1116
+
1117
+ /* Image */
1118
+ .ui.text.menu .item > img:not(.ui) {
1119
+ margin: 0;
1155
1120
  }
1156
- .ui.vertical.text.menu:last-child {
1157
- margin-bottom: 0;
1121
+
1122
+ /* --- fluid text --- */
1123
+ .ui.text.item.menu .item {
1124
+ margin: 0;
1158
1125
  }
1159
- .ui.vertical.text.menu .item {
1160
- margin: @textVerticalMenuItemMargin;
1161
- padding-left: 0;
1162
- padding-right: 0;
1126
+ & when (@variationMenuVertical) {
1127
+ /* --- vertical text --- */
1128
+ .ui.vertical.text.menu {
1129
+ margin: @textVerticalMenuMargin;
1130
+ }
1131
+ .ui.vertical.text.menu:first-child {
1132
+ margin-top: 0;
1133
+ }
1134
+ .ui.vertical.text.menu:last-child {
1135
+ margin-bottom: 0;
1136
+ }
1137
+ .ui.vertical.text.menu .item {
1138
+ margin: @textVerticalMenuItemMargin;
1139
+ padding-left: 0;
1140
+ padding-right: 0;
1141
+ }
1142
+ .ui.vertical.text.menu .item > i.icon {
1143
+ float: @textVerticalMenuIconFloat;
1144
+ margin: @iconMargin;
1145
+ }
1146
+ .ui.vertical.text.menu .header.item {
1147
+ margin: @textVerticalMenuHeaderMargin;
1148
+ }
1149
+
1150
+ /* Vertical Sub Menu */
1151
+ .ui.vertical.text.menu .item:not(.dropdown) > .menu {
1152
+ margin: @textMenuSubMenuMargin;
1153
+ }
1154
+ .ui.vertical.text.menu .item:not(.dropdown) > .menu > .item {
1155
+ margin: @textMenuSubMenuItemMargin;
1156
+ padding: @textMenuSubMenuItemPadding;
1157
+ }
1163
1158
  }
1164
- .ui.vertical.text.menu .item > i.icon {
1165
- float: @textVerticalMenuIconFloat;
1166
- margin: @iconMargin;
1159
+
1160
+ /* --- hover --- */
1161
+ .ui.text.menu .item:hover {
1162
+ opacity: 1;
1163
+ background-color: transparent;
1167
1164
  }
1168
- .ui.vertical.text.menu .header.item {
1169
- margin: @textVerticalMenuHeaderMargin;
1165
+
1166
+ /* --- active --- */
1167
+ .ui.text.menu .active.item {
1168
+ background-color: transparent;
1169
+ border: none;
1170
+ box-shadow: none;
1171
+ font-weight: @textMenuActiveItemFontWeight;
1172
+ color: @textMenuActiveItemColor;
1170
1173
  }
1171
1174
 
1172
- /* Vertical Sub Menu */
1173
- .ui.vertical.text.menu .item:not(.dropdown) > .menu {
1174
- margin: @textMenuSubMenuMargin;
1175
+ /* --- active hover --- */
1176
+ .ui.text.menu .active.item:hover {
1177
+ background-color: transparent;
1175
1178
  }
1176
- .ui.vertical.text.menu .item:not(.dropdown) > .menu > .item {
1177
- margin: @textMenuSubMenuItemMargin;
1178
- padding: @textMenuSubMenuItemPadding;
1179
+ & when (@variationMenuPointing) {
1180
+ /* Disable Bariations */
1181
+ .ui.text.pointing.menu .active.item::after {
1182
+ box-shadow: none;
1183
+ }
1179
1184
  }
1180
- }
1181
- /*--- hover ---*/
1182
- .ui.text.menu .item:hover {
1183
- opacity: 1;
1184
- background-color: transparent;
1185
- }
1186
-
1187
- /*--- active ---*/
1188
- .ui.text.menu .active.item {
1189
- background-color: transparent;
1190
- border: none;
1191
- box-shadow: none;
1192
- font-weight: @textMenuActiveItemFontWeight;
1193
- color: @textMenuActiveItemColor;
1194
- }
1195
-
1196
- /*--- active hover ---*/
1197
- .ui.text.menu .active.item:hover {
1198
- background-color: transparent;
1199
- }
1200
- & when (@variationMenuPointing) {
1201
- /* Disable Bariations */
1202
- .ui.text.pointing.menu .active.item::after {
1203
- box-shadow: none;
1204
- }
1205
- }
1206
- & when (@variationMenuAttached) {
1207
- .ui.text.attached.menu {
1208
- box-shadow: none;
1209
- }
1210
- }
1211
- & when (@variationMenuInverted) {
1212
- /* Inverted */
1213
- .ui.inverted.text.menu,
1214
- .ui.inverted.text.menu .item,
1215
- .ui.inverted.text.menu .item:hover,
1216
- .ui.inverted.text.menu .active.item {
1217
- background-color: transparent;
1185
+ & when (@variationMenuAttached) {
1186
+ .ui.text.attached.menu {
1187
+ box-shadow: none;
1188
+ }
1189
+ }
1190
+ & when (@variationMenuInverted) {
1191
+ /* Inverted */
1192
+ .ui.inverted.text.menu,
1193
+ .ui.inverted.text.menu .item,
1194
+ .ui.inverted.text.menu .item:hover,
1195
+ .ui.inverted.text.menu .active.item {
1196
+ background-color: transparent;
1197
+ }
1218
1198
  }
1219
- }
1220
- & when (@variationMenuFluid) {
1221
- /* Fluid */
1222
- .ui.fluid.text.menu {
1223
- margin-left: 0;
1224
- margin-right: 0;
1199
+ & when (@variationMenuFluid) {
1200
+ /* Fluid */
1201
+ .ui.fluid.text.menu {
1202
+ margin-left: 0;
1203
+ margin-right: 0;
1204
+ }
1225
1205
  }
1226
- }
1227
1206
  }
1228
1207
 
1229
1208
  & when (@variationMenuIcon) {
1230
- /*--------------
1231
- Icon Only
1232
- ---------------*/
1233
-
1234
- & when (@variationMenuVertical) {
1235
- /* Vertical Menu */
1236
- .ui.vertical.icon.menu {
1237
- display: inline-block;
1238
- width: auto;
1239
- }
1240
- }
1241
-
1242
- /* Item */
1243
- .ui.icon.menu .item {
1244
- height: auto;
1245
- text-align: @iconMenuTextAlign;
1246
- color: @iconMenuItemColor;
1247
- }
1248
-
1249
- /* Icon */
1250
- .ui.icon.menu .item > i.icon:not(.dropdown) {
1251
- margin: 0;
1252
- opacity: 1;
1253
- }
1209
+ /* --------------
1210
+ Icon Only
1211
+ --------------- */
1254
1212
 
1255
- /* Icon Glyph */
1256
- .ui.icon.menu i.icon::before {
1257
- opacity: 1;
1258
- }
1213
+ & when (@variationMenuVertical) {
1214
+ /* Vertical Menu */
1215
+ .ui.vertical.icon.menu {
1216
+ display: inline-block;
1217
+ width: auto;
1218
+ }
1219
+ }
1259
1220
 
1260
- /* (x) Item Icon */
1261
- .ui.menu .icon.item > i.icon {
1262
- width: auto;
1263
- margin: 0 auto;
1264
- }
1221
+ /* Item */
1222
+ .ui.icon.menu .item {
1223
+ height: auto;
1224
+ text-align: @iconMenuTextAlign;
1225
+ color: @iconMenuItemColor;
1226
+ }
1265
1227
 
1266
- /* Vertical Icon */
1267
- & when (@variationMenuVertical) {
1268
- .ui.vertical.icon.menu .item > i.icon:not(.dropdown) {
1269
- display: block;
1270
- opacity: 1;
1271
- margin: 0 auto;
1272
- float: none;
1228
+ /* Icon */
1229
+ .ui.icon.menu .item > i.icon:not(.dropdown) {
1230
+ margin: 0;
1231
+ opacity: 1;
1273
1232
  }
1274
- }
1275
1233
 
1276
- /* Inverted */
1277
- & when (@variationMenuInverted) {
1278
- .ui.inverted.icon.menu .item {
1279
- color: @iconMenuInvertedItemColor;
1234
+ /* Icon Glyph */
1235
+ .ui.icon.menu i.icon::before {
1236
+ opacity: 1;
1237
+ }
1238
+
1239
+ /* (x) Item Icon */
1240
+ .ui.menu .icon.item > i.icon {
1241
+ width: auto;
1242
+ margin: 0 auto;
1243
+ }
1244
+
1245
+ /* Vertical Icon */
1246
+ & when (@variationMenuVertical) {
1247
+ .ui.vertical.icon.menu .item > i.icon:not(.dropdown) {
1248
+ display: block;
1249
+ opacity: 1;
1250
+ margin: 0 auto;
1251
+ float: none;
1252
+ }
1253
+ }
1254
+
1255
+ /* Inverted */
1256
+ & when (@variationMenuInverted) {
1257
+ .ui.inverted.icon.menu .item {
1258
+ color: @iconMenuInvertedItemColor;
1259
+ }
1280
1260
  }
1281
- }
1282
1261
  }
1283
1262
 
1284
1263
  & when (@variationMenuLabeled) {
1285
- /*--------------
1286
- Labeled Icon
1287
- ---------------*/
1264
+ /* --------------
1265
+ Labeled Icon
1266
+ --------------- */
1288
1267
 
1289
- /* Menu */
1290
- .ui.labeled.icon.menu {
1291
- text-align: center;
1292
- }
1268
+ /* Menu */
1269
+ .ui.labeled.icon.menu {
1270
+ text-align: center;
1271
+ }
1293
1272
 
1294
- /* Item */
1295
- .ui.labeled.icon.menu .item {
1296
- min-width: @labeledIconMinWidth;
1297
- flex-direction: column;
1298
- }
1273
+ /* Item */
1274
+ .ui.labeled.icon.menu .item {
1275
+ min-width: @labeledIconMinWidth;
1276
+ flex-direction: column;
1277
+ }
1299
1278
 
1300
- /* Icon */
1301
- .ui.labeled.icon.menu > .item > i.icon:not(.dropdown) {
1302
- height: 1em;
1303
- display: block;
1304
- font-size: @labeledIconSize !important;
1305
- margin: 0 auto @labeledIconTextMargin !important;
1306
- }
1307
- & when (@variationMenuFluid) {
1308
- /* Fluid */
1309
- .ui.fluid.labeled.icon.menu > .item {
1310
- min-width: 0;
1279
+ /* Icon */
1280
+ .ui.labeled.icon.menu > .right.menu > .item > i.icon:not(.dropdown),
1281
+ .ui.labeled.icon.menu > .item > i.icon:not(.dropdown) {
1282
+ height: 1em;
1283
+ display: block;
1284
+ font-size: @labeledIconSize !important;
1285
+ margin: 0 auto @labeledIconTextMargin !important;
1286
+ }
1287
+ & when (@variationMenuFluid) {
1288
+ /* Fluid */
1289
+ .ui.fluid.labeled.icon.menu > .item {
1290
+ min-width: 0;
1291
+ }
1311
1292
  }
1312
- }
1313
1293
  }
1314
1294
 
1315
-
1316
1295
  /*******************************
1317
1296
  Variations
1318
1297
  *******************************/
1319
1298
 
1320
1299
  & when (@variationMenuStackable) {
1321
- /*--------------
1322
- Stackable
1323
- ---------------*/
1300
+ /* --------------
1301
+ Stackable
1302
+ --------------- */
1324
1303
 
1325
- @media only screen and (max-width: @largestMobileScreen) {
1326
- .ui.stackable.menu {
1327
- flex-direction: column;
1304
+ @media only screen and (max-width: @largestMobileScreen) {
1305
+ .ui.stackable.menu {
1306
+ flex-direction: column;
1328
1307
 
1329
- &.pointing .active.item::after when (@variationMenuPointing) {
1330
- display: none;
1331
- }
1308
+ &.pointing .active.item::after when (@variationMenuPointing) {
1309
+ display: none;
1310
+ }
1311
+ }
1312
+ .ui.stackable.menu .item {
1313
+ width: 100% !important;
1314
+ }
1315
+ .ui.stackable.menu .item::before {
1316
+ position: absolute;
1317
+ content: "";
1318
+ top: auto;
1319
+ bottom: 0;
1320
+ left: 0;
1321
+ width: 100%;
1322
+ height: @dividerSize;
1323
+ background: @verticalDividerBackground;
1324
+ }
1325
+
1326
+ .ui.stackable.menu .left.menu,
1327
+ .ui.stackable.menu .left.item {
1328
+ margin-right: 0 !important;
1329
+ }
1330
+ .ui.stackable.menu .right.menu,
1331
+ .ui.stackable.menu .right.item {
1332
+ margin-left: 0 !important;
1333
+ }
1334
+ .ui.stackable.menu .center.menu,
1335
+ .ui.stackable.menu .center.item {
1336
+ margin-left: 0 !important;
1337
+ margin-right: 0 !important;
1338
+ }
1339
+
1340
+ .ui.stackable.menu .right.menu,
1341
+ .ui.stackable.menu .center.menu,
1342
+ .ui.stackable.menu .left.menu {
1343
+ flex-direction: column;
1344
+ }
1345
+ }
1346
+ }
1347
+
1348
+ /* --------------
1349
+ Colors
1350
+ --------------- */
1351
+ & when not (@variationMenuColors = false) {
1352
+ each(@variationMenuColors, {
1353
+ @color: @value;
1354
+ @c: @colors[@@color][color];
1355
+
1356
+ & when not (@color=secondary) {
1357
+ .ui.ui.ui.menu .@{color}.active.item,
1358
+ .ui.ui.@{color}.menu .active.item:hover,
1359
+ .ui.ui.@{color}.menu .active.item {
1360
+ & when not (@secondaryPointingActiveBorderColor = currentColor) {
1361
+ border-color: @c;
1362
+ }
1363
+ color: @c;
1364
+ }
1365
+ }
1366
+ });
1367
+ }
1368
+
1369
+ & when (@variationMenuInverted) {
1370
+ /* --------------
1371
+ Inverted
1372
+ --------------- */
1373
+
1374
+ .ui.inverted.menu {
1375
+ border: @invertedBorder;
1376
+ background: @invertedBackground;
1377
+ box-shadow: @invertedBoxShadow;
1378
+ }
1379
+
1380
+ /* Menu Item */
1381
+ .ui.inverted.menu .item,
1382
+ .ui.inverted.menu .item > a:not(.ui) {
1383
+ background: @invertedItemBackground;
1384
+ color: @invertedItemTextColor;
1332
1385
  }
1333
- .ui.stackable.menu .item {
1334
- width: 100% !important;
1386
+ .ui.inverted.menu .item.menu {
1387
+ background: @invertedSubMenuBackground;
1335
1388
  }
1336
- .ui.stackable.menu .item::before {
1337
- position: absolute;
1338
- content: '';
1339
- top: auto;
1340
- bottom: 0;
1341
- left: 0;
1342
- width: 100%;
1343
- height: @dividerSize;
1344
- background: @verticalDividerBackground;
1389
+
1390
+ /* --- Border --- */
1391
+ .ui.inverted.menu .item::before {
1392
+ background: @invertedDividerBackground;
1345
1393
  }
1394
+ & when (@variationMenuVertical) {
1395
+ .ui.vertical.inverted.menu .item::before {
1396
+ background: @invertedVerticalDividerBackground;
1397
+ }
1346
1398
 
1347
- .ui.stackable.menu .left.menu,
1348
- .ui.stackable.menu .left.item {
1349
- margin-right: 0 !important;
1399
+ /* Sub Menu */
1400
+ .ui.vertical.inverted.menu .menu .item,
1401
+ .ui.vertical.inverted.menu .menu .item a:not(.ui) {
1402
+ color: @invertedSubMenuColor;
1403
+ }
1350
1404
  }
1351
- .ui.stackable.menu .right.menu,
1352
- .ui.stackable.menu .right.item {
1353
- margin-left: 0 !important;
1405
+
1406
+ /* Header */
1407
+ .ui.inverted.menu .header.item {
1408
+ margin: 0;
1409
+ background: @invertedHeaderBackground;
1410
+ box-shadow: none;
1354
1411
  }
1355
- .ui.stackable.menu .center.menu,
1356
- .ui.stackable.menu .center.item {
1357
- margin-left: 0 !important;
1358
- margin-right: 0 !important;
1412
+
1413
+ /* Disabled */
1414
+ .ui.ui.inverted.menu .item.disabled {
1415
+ color: @invertedDisabledTextColor;
1359
1416
  }
1360
1417
 
1361
- .ui.stackable.menu .right.menu,
1362
- .ui.stackable.menu .center.menu,
1363
- .ui.stackable.menu .left.menu {
1364
- flex-direction: column;
1418
+ /* --- Hover --- */
1419
+ .ui.link.inverted.menu .item:hover,
1420
+ .ui.inverted.menu .dropdown.item:hover,
1421
+ .ui.inverted.menu .link.item:hover,
1422
+ .ui.inverted.menu a.item:hover {
1423
+ background: @invertedHoverBackground;
1424
+ color: @invertedHoverColor;
1425
+ }
1426
+ & when (@variationMenuVertical) {
1427
+ .ui.vertical.inverted.menu .item .menu a.item:hover,
1428
+ .ui.vertical.inverted.menu .item .menu .link.item:hover {
1429
+ background: @invertedSubMenuBackground;
1430
+ color: @invertedSubMenuHoverColor;
1431
+ }
1365
1432
  }
1366
- }
1367
- }
1368
1433
 
1369
- /*--------------
1370
- Colors
1371
- ---------------*/
1372
- & when not (@variationMenuColors = false) {
1373
- each(@variationMenuColors, {
1374
- @color: @value;
1375
- @c: @colors[@@color][color];
1434
+ /* --- Pressed --- */
1435
+ .ui.inverted.menu a.item:active,
1436
+ .ui.inverted.menu .link.item:active {
1437
+ background: @invertedMenuPressedBackground;
1438
+ color: @invertedMenuPressedColor;
1439
+ }
1376
1440
 
1377
- & when not (@color=secondary) {
1378
- .ui.ui.ui.menu .@{color}.active.item,
1379
- .ui.ui.@{color}.menu .active.item:hover,
1380
- .ui.ui.@{color}.menu .active.item {
1381
- & when not (@secondaryPointingActiveBorderColor = currentColor) {
1382
- border-color: @c;
1441
+ /* --- Active --- */
1442
+ .ui.inverted.menu .active.item {
1443
+ background: @invertedActiveBackground;
1444
+ color: @invertedActiveColor !important;
1445
+ }
1446
+ & when (@variationMenuVertical) {
1447
+ .ui.inverted.vertical.menu .item .menu .active.item {
1448
+ background: @invertedSubMenuActiveBackground;
1449
+ color: @invertedSubMenuActiveColor;
1450
+ }
1451
+ }
1452
+ & when (@variationMenuPointing) {
1453
+ .ui.inverted.pointing.menu .active.item::after {
1454
+ background: @invertedArrowActiveColor;
1455
+ margin: 0 !important;
1456
+ box-shadow: none !important;
1457
+ border: none !important;
1383
1458
  }
1384
- color: @c;
1385
- }
1386
1459
  }
1387
- })
1388
- }
1389
1460
 
1390
- & when (@variationMenuInverted) {
1391
- /*--------------
1392
- Inverted
1393
- ---------------*/
1394
-
1395
- .ui.inverted.menu {
1396
- border: @invertedBorder;
1397
- background: @invertedBackground;
1398
- box-shadow: @invertedBoxShadow;
1399
- }
1400
-
1401
- /* Menu Item */
1402
- .ui.inverted.menu .item,
1403
- .ui.inverted.menu .item > a:not(.ui) {
1404
- background: @invertedItemBackground;
1405
- color: @invertedItemTextColor;
1406
- }
1407
- .ui.inverted.menu .item.menu {
1408
- background: @invertedSubMenuBackground;
1409
- }
1410
-
1411
- /*--- Border ---*/
1412
- .ui.inverted.menu .item::before {
1413
- background: @invertedDividerBackground;
1414
- }
1415
- & when (@variationMenuVertical) {
1416
- .ui.vertical.inverted.menu .item::before {
1417
- background: @invertedVerticalDividerBackground;
1418
- }
1419
- /* Sub Menu */
1420
- .ui.vertical.inverted.menu .menu .item,
1421
- .ui.vertical.inverted.menu .menu .item a:not(.ui) {
1422
- color: @invertedSubMenuColor;
1423
- }
1424
- }
1425
- /* Header */
1426
- .ui.inverted.menu .header.item {
1427
- margin: 0;
1428
- background: @invertedHeaderBackground;
1429
- box-shadow: none;
1430
- }
1431
-
1432
- /* Disabled */
1433
- .ui.ui.inverted.menu .item.disabled {
1434
- color: @invertedDisabledTextColor;
1435
- }
1436
-
1437
- /*--- Hover ---*/
1438
- .ui.link.inverted.menu .item:hover,
1439
- .ui.inverted.menu .dropdown.item:hover,
1440
- .ui.inverted.menu .link.item:hover,
1441
- .ui.inverted.menu a.item:hover {
1442
- background: @invertedHoverBackground;
1443
- color: @invertedHoverColor;
1444
- }
1445
- & when (@variationMenuVertical) {
1446
- .ui.vertical.inverted.menu .item .menu a.item:hover,
1447
- .ui.vertical.inverted.menu .item .menu .link.item:hover {
1448
- background: @invertedSubMenuBackground;
1449
- color: @invertedSubMenuHoverColor;
1450
- }
1451
- }
1452
- /*--- Pressed ---*/
1453
- .ui.inverted.menu a.item:active,
1454
- .ui.inverted.menu .link.item:active{
1455
- background: @invertedMenuPressedBackground;
1456
- color: @invertedMenuPressedColor;
1457
- }
1458
-
1459
- /*--- Active ---*/
1460
- .ui.inverted.menu .active.item {
1461
- background: @invertedActiveBackground;
1462
- color: @invertedActiveColor !important;
1463
- }
1464
- & when (@variationMenuVertical) {
1465
- .ui.inverted.vertical.menu .item .menu .active.item {
1466
- background: @invertedSubMenuActiveBackground;
1467
- color: @invertedSubMenuActiveColor;
1468
- }
1469
- }
1470
- & when (@variationMenuPointing) {
1471
- .ui.inverted.pointing.menu .active.item::after {
1472
- background: @invertedArrowActiveColor;
1473
- margin: 0 !important;
1474
- box-shadow: none !important;
1475
- border: none !important;
1476
- }
1477
- }
1478
-
1479
- /*--- Active Hover ---*/
1480
- .ui.inverted.menu .active.item:hover {
1481
- background: @invertedActiveHoverBackground;
1482
- color: @invertedActiveHoverColor !important;
1483
- }
1484
- & when (@variationMenuPointing) {
1485
- .ui.inverted.pointing.menu .active.item:hover::after {
1486
- background: @invertedArrowActiveHoverColor;
1487
- }
1488
- }
1461
+ /* --- Active Hover --- */
1462
+ .ui.inverted.menu .active.item:hover {
1463
+ background: @invertedActiveHoverBackground;
1464
+ color: @invertedActiveHoverColor !important;
1465
+ }
1466
+ & when (@variationMenuPointing) {
1467
+ .ui.inverted.pointing.menu .active.item:hover::after {
1468
+ background: @invertedArrowActiveHoverColor;
1469
+ }
1470
+ }
1489
1471
  }
1490
1472
 
1491
1473
  & when (@variationMenuFloated) {
1492
- /*--------------
1493
- Floated
1494
- ---------------*/
1495
-
1496
- .ui.floated.menu {
1497
- float: left;
1498
- margin: 0 @floatedDistance 0 0;
1499
- }
1500
- .ui.floated.menu .item:last-child::before {
1501
- display: none;
1502
- }
1474
+ /* --------------
1475
+ Floated
1476
+ --------------- */
1477
+
1478
+ .ui.floated.menu {
1479
+ float: left;
1480
+ margin: 0 @floatedDistance 0 0;
1481
+ }
1482
+ .ui.floated.menu .item:last-child::before {
1483
+ display: none;
1484
+ }
1503
1485
 
1504
- .ui.right.floated.menu {
1505
- float: right;
1506
- margin: 0 0 0 @floatedDistance;
1507
- }
1486
+ .ui.right.floated.menu {
1487
+ float: right;
1488
+ margin: 0 0 0 @floatedDistance;
1489
+ }
1508
1490
  }
1509
1491
 
1510
1492
  & when (@variationMenuCentered) {
1511
- .ui.center.aligned.menu,
1512
- .ui.centered.menu {
1513
- display: inline-flex;
1514
- transform: translateX(-50%);
1515
- margin-left:50%;
1516
- }
1493
+ .ui.center.aligned.menu,
1494
+ .ui.centered.menu {
1495
+ display: inline-flex;
1496
+ transform: translateX(-50%);
1497
+ margin-left: 50%;
1498
+ }
1517
1499
  }
1518
1500
 
1519
1501
  & when (@variationMenuInverted) {
1520
- /*--------------
1521
- Inverted
1522
- ---------------*/
1523
- & when not (@variationMenuColors = false) {
1524
- each(@variationMenuColors, {
1525
- @color: @value;
1526
- @c: @colors[@@color][color];
1527
- @h: @colors[@@color][hover];
1528
-
1529
- & when not (@color=secondary) {
1530
- .ui.ui.ui.inverted.menu .@{color}.active.item,
1531
- .ui.ui.inverted.@{color}.menu {
1532
- background-color: @c;
1533
- }
1534
- .ui.inverted.@{color}.menu .item::before {
1535
- background-color: @invertedColoredDividerBackground;
1536
- }
1537
- .ui.ui.inverted.@{color}.menu .active.item {
1538
- background-color: @invertedColoredActiveBackground;
1539
- }
1540
- & when (@variationMenuPointing) {
1541
- .ui.inverted.pointing.@{color}.menu .active.item {
1542
- background-color: @h;
1543
- }
1502
+ /* --------------
1503
+ Inverted
1504
+ --------------- */
1505
+ & when not (@variationMenuColors = false) {
1506
+ each(@variationMenuColors, {
1507
+ @color: @value;
1508
+ @c: @colors[@@color][color];
1509
+ @h: @colors[@@color][hover];
1510
+
1511
+ & when not (@color=secondary) {
1512
+ .ui.ui.ui.inverted.menu .@{color}.active.item,
1513
+ .ui.ui.inverted.@{color}.menu {
1514
+ background-color: @c;
1515
+ }
1516
+ .ui.inverted.@{color}.menu .item::before {
1517
+ background-color: @invertedColoredDividerBackground;
1518
+ }
1519
+ .ui.ui.inverted.@{color}.menu .active.item {
1520
+ background-color: @invertedColoredActiveBackground;
1521
+ }
1522
+ & when (@variationMenuPointing) {
1523
+ .ui.inverted.pointing.@{color}.menu .active.item {
1524
+ background-color: @h;
1525
+ }
1526
+ }
1527
+ }
1528
+ });
1529
+ }
1530
+
1531
+ & when (@variationMenuPointing) {
1532
+ .ui.ui.ui.inverted.pointing.menu .active.item::after {
1533
+ background-color: inherit;
1544
1534
  }
1545
- }
1546
- })
1547
- }
1548
-
1549
- & when (@variationMenuPointing) {
1550
- .ui.ui.ui.inverted.pointing.menu .active.item::after {
1551
- background-color: inherit;
1552
1535
  }
1553
- }
1554
1536
  }
1555
1537
 
1556
1538
  & when (@variationMenuFitted) {
1557
- /*--------------
1558
- Fitted
1559
- ---------------*/
1539
+ /* --------------
1540
+ Fitted
1541
+ --------------- */
1560
1542
 
1561
- .ui.fitted.menu .item,
1562
- .ui.fitted.menu .item .menu .item,
1563
- .ui.menu .fitted.item {
1564
- padding: 0;
1565
- }
1566
- .ui.horizontally.fitted.menu .item,
1567
- .ui.horizontally.fitted.menu .item .menu .item,
1568
- .ui.menu .horizontally.fitted.item {
1569
- padding-top: @itemVerticalPadding;
1570
- padding-bottom: @itemVerticalPadding;
1571
- }
1572
- .ui.vertically.fitted.menu .item,
1573
- .ui.vertically.fitted.menu .item .menu .item,
1574
- .ui.menu .vertically.fitted.item {
1575
- padding-left: @itemHorizontalPadding;
1576
- padding-right: @itemHorizontalPadding;
1577
- }
1543
+ .ui.fitted.menu .item,
1544
+ .ui.fitted.menu .item .menu .item,
1545
+ .ui.menu .fitted.item {
1546
+ padding: 0;
1547
+ }
1548
+ .ui.horizontally.fitted.menu .item,
1549
+ .ui.horizontally.fitted.menu .item .menu .item,
1550
+ .ui.menu .horizontally.fitted.item {
1551
+ padding-top: @itemVerticalPadding;
1552
+ padding-bottom: @itemVerticalPadding;
1553
+ }
1554
+ .ui.vertically.fitted.menu .item,
1555
+ .ui.vertically.fitted.menu .item .menu .item,
1556
+ .ui.menu .vertically.fitted.item {
1557
+ padding-left: @itemHorizontalPadding;
1558
+ padding-right: @itemHorizontalPadding;
1559
+ }
1578
1560
  }
1579
1561
 
1580
1562
  & when (@variationMenuBorderless) {
1581
- /*--------------
1582
- Borderless
1583
- ---------------*/
1563
+ /* --------------
1564
+ Borderless
1565
+ --------------- */
1584
1566
 
1585
- .ui.borderless.menu .item::before,
1586
- .ui.borderless.menu .item .menu .item::before,
1587
- .ui.menu .borderless.item::before {
1588
- background: none !important;
1589
- }
1567
+ .ui.borderless.menu .item::before,
1568
+ .ui.borderless.menu .item .menu .item::before,
1569
+ .ui.menu .borderless.item::before {
1570
+ background: none !important;
1571
+ }
1590
1572
  }
1591
1573
 
1592
1574
  & when (@variationMenuCompact) {
1593
- /*-------------------
1594
- Compact
1595
- --------------------*/
1575
+ /* -------------------
1576
+ Compact
1577
+ -------------------- */
1596
1578
 
1597
- .ui.compact.menu {
1598
- display: inline-flex;
1599
- margin: 0;
1600
- vertical-align: middle;
1601
- }
1602
- & when (@variationMenuVertical) {
1603
- .ui.compact.vertical.menu {
1604
- & when (@supportIE) {
1605
- /* IE hack to make dropdown icons appear inline */
1606
- display: -ms-inline-flexbox !important;
1607
- }
1608
- display: inline-block;
1609
- }
1610
- }
1611
- .ui.compact.menu:not(.secondary) .item:last-child {
1612
- border-radius: 0 @borderRadius @borderRadius 0;
1613
- }
1614
- .ui.compact.menu .item:last-child::before {
1615
- display: none;
1616
- }
1617
- & when (@variationMenuVertical) {
1618
- .ui.compact.vertical.menu {
1619
- width: auto !important;
1579
+ .ui.compact.menu {
1580
+ display: inline-flex;
1581
+ margin: 0;
1582
+ vertical-align: middle;
1583
+ }
1584
+ & when (@variationMenuVertical) {
1585
+ .ui.compact.vertical.menu {
1586
+ & when (@supportIE) {
1587
+ /* IE hack to make dropdown icons appear inline */
1588
+ // stylelint-disable-next-line value-no-vendor-prefix
1589
+ display: -ms-inline-flexbox !important;
1590
+ }
1591
+
1592
+ display: inline-block;
1593
+ }
1620
1594
  }
1621
- .ui.compact.vertical.menu .item:last-child::before {
1622
- display: block;
1595
+ .ui.compact.menu:not(.secondary) .item:last-child {
1596
+ border-radius: 0 @borderRadius @borderRadius 0;
1597
+ }
1598
+ .ui.compact.menu .item:last-child::before {
1599
+ display: none;
1600
+ }
1601
+ & when (@variationMenuVertical) {
1602
+ .ui.compact.vertical.menu {
1603
+ width: auto !important;
1604
+ }
1605
+ .ui.compact.vertical.menu .item:last-child::before {
1606
+ display: block;
1607
+ }
1623
1608
  }
1624
- }
1625
1609
  }
1626
1610
 
1627
1611
  & when (@variationMenuFluid) {
1628
- /*-------------------
1629
- Fluid
1630
- --------------------*/
1612
+ /* -------------------
1613
+ Fluid
1614
+ -------------------- */
1631
1615
 
1632
- .ui.menu.fluid,
1633
- .ui.vertical.menu.fluid {
1634
- width: 100% !important;
1635
- }
1616
+ .ui.menu.fluid,
1617
+ .ui.vertical.menu.fluid {
1618
+ width: 100% !important;
1619
+ }
1636
1620
  }
1637
1621
 
1638
-
1639
- /*-------------------
1622
+ /* -------------------
1640
1623
  Evenly Sized
1641
- --------------------*/
1624
+ -------------------- */
1642
1625
 
1643
1626
  .ui.item.menu,
1644
1627
  .ui.item.menu .item {
1645
- width: 100%;
1646
- padding-left: 0 !important;
1647
- padding-right: 0 !important;
1648
- margin-left: 0 !important;
1649
- margin-right: 0 !important;
1650
- text-align: center;
1651
- justify-content: center;
1628
+ width: 100%;
1629
+ padding-left: 0 !important;
1630
+ padding-right: 0 !important;
1631
+ margin-left: 0 !important;
1632
+ margin-right: 0 !important;
1633
+ text-align: center;
1634
+ justify-content: center;
1652
1635
  }
1653
1636
  .ui.attached.item.menu:not(.tabular) {
1654
- margin: 0 @attachedHorizontalOffset !important;
1637
+ margin: 0 @attachedHorizontalOffset !important;
1655
1638
  }
1656
1639
 
1657
1640
  .ui.item.menu .item:last-child::before {
1658
- display: none;
1641
+ display: none;
1659
1642
  }
1660
1643
 
1661
1644
  & when (@variationMenuEqualWidth) {
1662
- .ui.menu.two.item .item {
1663
- width: 50%;
1664
- }
1665
- .ui.menu.three.item .item {
1666
- width: 33.333%;
1667
- }
1668
- .ui.menu.four.item .item {
1669
- width: 25%;
1670
- }
1671
- .ui.menu.five.item .item {
1672
- width: 20%;
1673
- }
1674
- .ui.menu.six.item .item {
1675
- width: 16.666%;
1676
- }
1677
- .ui.menu.seven.item .item {
1678
- width: 14.285%;
1679
- }
1680
- .ui.menu.eight.item .item {
1681
- width: 12.500%;
1682
- }
1683
- .ui.menu.nine.item .item {
1684
- width: 11.11%;
1685
- }
1686
- .ui.menu.ten.item .item {
1687
- width: 10.0%;
1688
- }
1689
- .ui.menu.eleven.item .item {
1690
- width: 9.09%;
1691
- }
1692
- .ui.menu.twelve.item .item {
1693
- width: 8.333%;
1694
- }
1645
+ .ui.menu.two.item .item {
1646
+ width: 50%;
1647
+ }
1648
+ .ui.menu.three.item .item {
1649
+ width: 33.333%;
1650
+ }
1651
+ .ui.menu.four.item .item {
1652
+ width: 25%;
1653
+ }
1654
+ .ui.menu.five.item .item {
1655
+ width: 20%;
1656
+ }
1657
+ .ui.menu.six.item .item {
1658
+ width: 16.666%;
1659
+ }
1660
+ .ui.menu.seven.item .item {
1661
+ width: 14.285%;
1662
+ }
1663
+ .ui.menu.eight.item .item {
1664
+ width: 12.5%;
1665
+ }
1666
+ .ui.menu.nine.item .item {
1667
+ width: 11.11%;
1668
+ }
1669
+ .ui.menu.ten.item .item {
1670
+ width: 10%;
1671
+ }
1672
+ .ui.menu.eleven.item .item {
1673
+ width: 9.09%;
1674
+ }
1675
+ .ui.menu.twelve.item .item {
1676
+ width: 8.333%;
1677
+ }
1695
1678
  }
1696
1679
 
1697
1680
  & when (@variationMenuFixed) {
1698
- /*--------------
1699
- Fixed
1700
- ---------------*/
1681
+ /* --------------
1682
+ Fixed
1683
+ --------------- */
1684
+
1685
+ .ui.menu.fixed {
1686
+ position: fixed;
1687
+ z-index: 101;
1688
+ margin: 0;
1689
+ width: 100%;
1690
+ }
1691
+ .ui.menu.fixed,
1692
+ .ui.menu.fixed .item:first-child,
1693
+ .ui.menu.fixed .item:last-child {
1694
+ border-radius: 0 !important;
1695
+ }
1701
1696
 
1702
- .ui.menu.fixed {
1703
- position: fixed;
1704
- z-index: 101;
1705
- margin: 0;
1706
- width: 100%;
1707
- }
1708
- .ui.menu.fixed,
1709
- .ui.menu.fixed .item:first-child,
1710
- .ui.menu.fixed .item:last-child {
1711
- border-radius: 0 !important;
1712
- }
1713
-
1714
- .ui.fixed.menu,
1715
- .ui[class*="top fixed"].menu {
1716
- top: 0;
1717
- left: 0;
1718
- right: auto;
1719
- bottom: auto;
1720
- }
1721
- .ui[class*="top fixed"].menu {
1722
- border-top: none;
1723
- border-left: none;
1724
- border-right: none;
1725
- }
1726
- .ui[class*="right fixed"].menu {
1727
- border-top: none;
1728
- border-bottom: none;
1729
- border-right: none;
1730
- top: 0;
1731
- right: 0;
1732
- left: auto;
1733
- bottom: auto;
1734
- width: auto;
1735
- height: 100%;
1736
- }
1737
- .ui[class*="bottom fixed"].menu {
1738
- border-bottom: none;
1739
- border-left: none;
1740
- border-right: none;
1741
- bottom: 0;
1742
- left: 0;
1743
- top: auto;
1744
- right: auto;
1745
- }
1746
- .ui[class*="left fixed"].menu {
1747
- border-top: none;
1748
- border-bottom: none;
1749
- border-left: none;
1750
- top: 0;
1751
- left: 0;
1752
- right: auto;
1753
- bottom: auto;
1754
- width: auto;
1755
- height: 100%;
1756
- }
1697
+ .ui.fixed.menu,
1698
+ .ui[class*="top fixed"].menu {
1699
+ top: 0;
1700
+ left: 0;
1701
+ right: auto;
1702
+ bottom: auto;
1703
+ }
1704
+ .ui[class*="top fixed"].menu {
1705
+ border-top: none;
1706
+ border-left: none;
1707
+ border-right: none;
1708
+ }
1709
+ .ui[class*="right fixed"].menu {
1710
+ border-top: none;
1711
+ border-bottom: none;
1712
+ border-right: none;
1713
+ top: 0;
1714
+ right: 0;
1715
+ left: auto;
1716
+ bottom: auto;
1717
+ width: auto;
1718
+ height: 100%;
1719
+ }
1720
+ .ui[class*="bottom fixed"].menu {
1721
+ border-bottom: none;
1722
+ border-left: none;
1723
+ border-right: none;
1724
+ bottom: 0;
1725
+ left: 0;
1726
+ top: auto;
1727
+ right: auto;
1728
+ }
1729
+ .ui[class*="left fixed"].menu {
1730
+ border-top: none;
1731
+ border-bottom: none;
1732
+ border-left: none;
1733
+ top: 0;
1734
+ left: 0;
1735
+ right: auto;
1736
+ bottom: auto;
1737
+ width: auto;
1738
+ height: 100%;
1739
+ }
1757
1740
 
1758
- /* Coupling with Grid */
1759
- .ui.fixed.menu + .ui.grid {
1760
- padding-top: @fixedPrecedingGridMargin;
1761
- }
1741
+ /* Coupling with Grid */
1742
+ .ui.fixed.menu + .ui.grid {
1743
+ padding-top: @fixedPrecedingGridMargin;
1744
+ }
1762
1745
  }
1763
1746
 
1764
1747
  & when (@variationMenuPointing) {
1765
- /*-------------------
1766
- Pointing
1767
- --------------------*/
1768
-
1769
- .ui.pointing.menu .item::after {
1770
- visibility: hidden;
1771
- position: absolute;
1772
- content: '';
1773
- top: 100%;
1774
- left: 50%;
1775
- transform: translateX(-50%) translateY(-50%) rotate(45deg);
1776
- background: none;
1777
-
1778
- margin: (@arrowBorderWidth / 2) 0 0;
1779
- width: @arrowSize;
1780
- height: @arrowSize;
1781
-
1782
- border: none;
1783
- border-bottom: @arrowBorder;
1784
- border-right: @arrowBorder;
1785
-
1786
- z-index: @arrowZIndex;
1787
- transition: @arrowTransition;
1788
- }
1789
- & when (@variationMenuVertical) {
1790
- .ui.vertical.pointing.menu .item::after {
1791
- position: absolute;
1792
- top: 50%;
1793
- right: 0;
1794
- bottom: auto;
1795
- left: auto;
1796
-
1797
- transform: translateX(50%) translateY(-50%) rotate(45deg);
1798
- margin: 0 -(@arrowBorderWidth / 2) 0 0;
1799
-
1800
- border: none;
1801
- border-top: @arrowBorder;
1802
- border-right: @arrowBorder;
1803
- }
1804
- }
1805
- .ui.pointing.menu .ui.dropdown .menu .item::after,
1806
- .ui.vertical.pointing.menu .ui.dropdown .menu .item::after {
1807
- display: none;
1808
- }
1748
+ /* -------------------
1749
+ Pointing
1750
+ -------------------- */
1751
+
1752
+ .ui.pointing.menu .item::after {
1753
+ visibility: hidden;
1754
+ position: absolute;
1755
+ content: "";
1756
+ top: 100%;
1757
+ left: 50%;
1758
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
1759
+ background: none;
1760
+ margin: (@arrowBorderWidth / 2) 0 0;
1761
+ width: @arrowSize;
1762
+ height: @arrowSize;
1763
+ border: none;
1764
+ border-bottom: @arrowBorder;
1765
+ border-right: @arrowBorder;
1766
+ z-index: @arrowZIndex;
1767
+ transition: @arrowTransition;
1768
+ }
1769
+ & when (@variationMenuVertical) {
1770
+ .ui.vertical.pointing.menu .item::after {
1771
+ position: absolute;
1772
+ top: 50%;
1773
+ right: 0;
1774
+ bottom: auto;
1775
+ left: auto;
1776
+ transform: translateX(50%) translateY(-50%) rotate(45deg);
1777
+ margin: 0 -(@arrowBorderWidth / 2) 0 0;
1778
+ border: none;
1779
+ border-top: @arrowBorder;
1780
+ border-right: @arrowBorder;
1781
+ }
1782
+ }
1783
+ .ui.pointing.menu .ui.dropdown .menu .item::after,
1784
+ .ui.vertical.pointing.menu .ui.dropdown .menu .item::after {
1785
+ display: none;
1786
+ }
1809
1787
 
1810
- /* Active */
1811
- .ui.pointing.menu .active.item::after {
1812
- visibility: visible;
1813
- }
1814
- .ui.pointing.menu .active.dropdown.item::after {
1815
- visibility: hidden;
1816
- }
1788
+ /* Active */
1789
+ .ui.pointing.menu .active.item::after {
1790
+ visibility: visible;
1791
+ }
1792
+ .ui.pointing.menu .active.dropdown.item::after {
1793
+ visibility: hidden;
1794
+ }
1817
1795
 
1818
- /* Don't double up pointers */
1819
- .ui.pointing.menu .dropdown.active.item::after,
1820
- .ui.pointing.menu .active.item .menu .active.item::after {
1821
- display: none;
1822
- }
1796
+ /* Don't double up pointers */
1797
+ .ui.pointing.menu .dropdown.active.item::after,
1798
+ .ui.pointing.menu .active.item .menu .active.item::after {
1799
+ display: none;
1800
+ }
1823
1801
 
1824
- /* Colors */
1825
- .ui.pointing.menu .active.item:hover::after {
1826
- background-color: @arrowHoverColor;
1827
- }
1828
- .ui.pointing.menu .active.item::after {
1829
- background-color: @arrowActiveColor;
1830
- }
1831
- .ui.pointing.menu .active.item:hover::after {
1832
- background-color: @arrowActiveHoverColor;
1833
- }
1834
- & when (@variationMenuVertical) {
1835
- .ui.vertical.pointing.menu .active.item:hover::after {
1836
- background-color: @arrowVerticalHoverColor;
1802
+ /* Colors */
1803
+ .ui.pointing.menu .active.item:hover::after {
1804
+ background-color: @arrowHoverColor;
1837
1805
  }
1838
- .ui.vertical.pointing.menu .active.item::after {
1839
- background-color: @arrowVerticalActiveColor;
1806
+ .ui.pointing.menu .active.item::after {
1807
+ background-color: @arrowActiveColor;
1840
1808
  }
1841
- .ui.vertical.pointing.menu .menu .active.item::after {
1842
- background-color: @arrowVerticalSubMenuColor;
1809
+ .ui.pointing.menu .active.item:hover::after {
1810
+ background-color: @arrowActiveHoverColor;
1843
1811
  }
1844
- & when (@variationMenuFluid) and (@variationGridStackable) {
1845
- @media only screen and (max-width: @largestMobileScreen) {
1846
- .ui.stackable.grid .ui.fluid.vertical.pointing.menu .active.item::after {
1847
- display: none;
1812
+ & when (@variationMenuVertical) {
1813
+ .ui.vertical.pointing.menu .active.item:hover::after {
1814
+ background-color: @arrowVerticalHoverColor;
1815
+ }
1816
+ .ui.vertical.pointing.menu .active.item::after {
1817
+ background-color: @arrowVerticalActiveColor;
1818
+ }
1819
+ .ui.vertical.pointing.menu .menu .active.item::after {
1820
+ background-color: @arrowVerticalSubMenuColor;
1821
+ }
1822
+ & when (@variationMenuFluid) and (@variationGridStackable) {
1823
+ @media only screen and (max-width: @largestMobileScreen) {
1824
+ .ui.stackable.grid .ui.fluid.vertical.pointing.menu .active.item::after {
1825
+ display: none;
1826
+ }
1827
+ }
1848
1828
  }
1849
- }
1850
1829
  }
1851
- }
1852
1830
  }
1853
1831
 
1854
1832
  & when not (@variationMenuColors = false) {
1855
- each(@variationMenuColors, {
1856
- @color: @value;
1857
- @c: @colors[@@color][color];
1833
+ each(@variationMenuColors, {
1834
+ @color: @value;
1835
+ @c: @colors[@@color][color];
1858
1836
 
1859
- .ui.inverted.pointing.menu .@{color}.active.item::after {
1860
- background-color: @c;
1861
- }
1862
- })
1837
+ .ui.inverted.pointing.menu .@{color}.active.item::after {
1838
+ background-color: @c;
1839
+ }
1840
+ });
1863
1841
  }
1864
1842
 
1865
1843
  & when (@variationMenuAttached) {
1866
- /*--------------
1867
- Attached
1868
- ---------------*/
1844
+ /* --------------
1845
+ Attached
1846
+ --------------- */
1869
1847
 
1870
- /* Middle */
1871
- .ui.attached.menu {
1872
- top: 0;
1873
- bottom: 0;
1874
- border-radius: 0;
1875
- margin: 0 @attachedHorizontalOffset;
1876
- width: @attachedWidth;
1877
- max-width: @attachedWidth;
1878
- box-shadow: @attachedBoxShadow;
1879
- }
1880
- .ui.attached + .ui.attached.menu:not(.top) {
1881
- border-top: none;
1882
- }
1883
-
1884
- /* Top */
1885
- .ui[class*="top attached"].menu {
1886
- bottom: 0;
1887
- margin-bottom: 0;
1888
- top: @attachedTopOffset;
1889
- margin-top: @verticalMargin;
1890
- border-radius: @borderRadius @borderRadius 0 0;
1891
- }
1892
- .ui.menu[class*="top attached"]:first-child {
1893
- margin-top: 0;
1894
- }
1848
+ /* Middle */
1849
+ .ui.attached.menu {
1850
+ top: 0;
1851
+ bottom: 0;
1852
+ border-radius: 0;
1853
+ margin: 0 @attachedHorizontalOffset;
1854
+ width: @attachedWidth;
1855
+ max-width: @attachedWidth;
1856
+ box-shadow: @attachedBoxShadow;
1857
+ }
1858
+ .ui.attached + .ui.attached.menu:not(.top) {
1859
+ border-top: none;
1860
+ }
1895
1861
 
1896
- /* Bottom */
1897
- .ui[class*="bottom attached"].menu {
1898
- bottom: 0;
1899
- margin-top: 0;
1900
- top: @attachedBottomOffset;
1901
- margin-bottom: @verticalMargin;
1902
- box-shadow: @attachedBottomBoxShadow;
1903
- border-radius: 0 0 @borderRadius @borderRadius;
1904
- }
1905
- .ui[class*="bottom attached"].menu:last-child {
1906
- margin-bottom: 0;
1907
- }
1908
-
1909
- /* Attached Menu Item */
1910
- .ui.top.attached.menu > .item:first-child {
1911
- border-radius: @borderRadius 0 0 0;
1912
- }
1913
- .ui.bottom.attached.menu > .item:first-child {
1914
- border-radius: 0 0 0 @borderRadius;
1915
- }
1916
-
1917
- /* Tabular Attached */
1918
- .ui.attached.menu:not(.tabular):not(.text) {
1919
- border: @attachedBorder;
1920
- }
1921
- & when (@variationMenuInverted) {
1922
- .ui.attached.inverted.menu {
1923
- border: none;
1862
+ /* Top */
1863
+ .ui[class*="top attached"].menu {
1864
+ bottom: 0;
1865
+ margin-bottom: 0;
1866
+ top: @attachedTopOffset;
1867
+ margin-top: @verticalMargin;
1868
+ border-radius: @borderRadius @borderRadius 0 0;
1924
1869
  }
1925
- & when (@variationMenuTabular) {
1926
- .ui[class*="top attached"].inverted.tabular.menu {
1927
- border-bottom: @invertedTabularBorder;
1928
- }
1870
+ .ui.menu[class*="top attached"]:first-child {
1871
+ margin-top: 0;
1872
+ }
1873
+
1874
+ /* Bottom */
1875
+ .ui[class*="bottom attached"].menu {
1876
+ bottom: 0;
1877
+ margin-top: 0;
1878
+ top: @attachedBottomOffset;
1879
+ margin-bottom: @verticalMargin;
1880
+ box-shadow: @attachedBottomBoxShadow;
1881
+ border-radius: 0 0 @borderRadius @borderRadius;
1882
+ }
1883
+ .ui[class*="bottom attached"].menu:last-child {
1884
+ margin-bottom: 0;
1929
1885
  }
1930
- }
1931
- & when (@variationMenuTabular) {
1932
- .ui.attached.tabular.menu {
1933
- margin-left: 0;
1934
- margin-right: 0;
1935
- width: 100%;
1886
+
1887
+ /* Attached Menu Item */
1888
+ .ui.top.attached.menu > .item:first-child {
1889
+ border-radius: @borderRadius 0 0 0;
1890
+ }
1891
+ .ui.bottom.attached.menu > .item:first-child {
1892
+ border-radius: 0 0 0 @borderRadius;
1893
+ }
1894
+
1895
+ /* Tabular Attached */
1896
+ .ui.attached.menu:not(.tabular):not(.text) {
1897
+ border: @attachedBorder;
1898
+ }
1899
+ & when (@variationMenuInverted) {
1900
+ .ui.attached.inverted.menu {
1901
+ border: none;
1902
+ }
1903
+ & when (@variationMenuTabular) {
1904
+ .ui[class*="top attached"].inverted.tabular.menu {
1905
+ border-bottom: @invertedTabularBorder;
1906
+ }
1907
+ }
1908
+ }
1909
+ & when (@variationMenuTabular) {
1910
+ .ui.attached.tabular.menu {
1911
+ margin-left: 0;
1912
+ margin-right: 0;
1913
+ width: 100%;
1914
+ }
1936
1915
  }
1937
- }
1938
1916
  }
1939
1917
 
1940
- /*--------------
1918
+ /* --------------
1941
1919
  Sizes
1942
- ---------------*/
1920
+ --------------- */
1943
1921
 
1944
1922
  .ui.menu {
1945
- font-size: @medium;
1923
+ font-size: @medium;
1946
1924
  }
1947
1925
  & when (@variationMenuVertical) {
1948
- .ui.vertical.menu {
1949
- width: @mediumWidth;
1950
- }
1926
+ .ui.vertical.menu {
1927
+ width: @mediumWidth;
1928
+ }
1951
1929
  }
1952
1930
  & when not (@variationMenuSizes = false) {
1953
- each(@variationMenuSizes, {
1954
- @w: @{value}Width;
1955
- @s: @@value;
1956
- .ui.@{value}.menu,
1957
- .ui.@{value}.menu .dropdown,
1958
- .ui.@{value}.menu .dropdown .menu > .item {
1959
- font-size: @s;
1960
- }
1961
- & when (@variationMenuVertical) {
1962
- .ui.@{value}.vertical.menu:not(.icon) {
1963
- width: @@w;
1964
- }
1965
- }
1966
- })
1931
+ each(@variationMenuSizes, {
1932
+ @w: @{value}Width;
1933
+ @s: @@value;
1934
+ .ui.@{value}.menu,
1935
+ .ui.@{value}.menu .dropdown,
1936
+ .ui.@{value}.menu .dropdown .menu > .item {
1937
+ font-size: @s;
1938
+ }
1939
+ & when (@variationMenuVertical) {
1940
+ .ui.@{value}.vertical.menu:not(.icon) {
1941
+ width: @@w;
1942
+ }
1943
+ }
1944
+ });
1967
1945
  }
1968
1946
 
1969
- /*-------------------
1947
+ /* -------------------
1970
1948
  Inverted dropdowns
1971
- --------------------*/
1949
+ -------------------- */
1972
1950
  .ui.menu .ui.inverted.inverted.dropdown.item .menu {
1973
- background: @invertedDropdownBackground;
1974
- box-shadow: @invertedDropdownMenuBoxShadow;
1951
+ background: @invertedDropdownBackground;
1952
+ box-shadow: @invertedDropdownMenuBoxShadow;
1975
1953
  }
1976
1954
 
1977
1955
  .ui.menu .ui.inverted.dropdown .menu > .item {
1978
- color: @invertedDropdownItemColor !important;
1956
+ color: @invertedDropdownItemColor !important;
1979
1957
  }
1980
1958
 
1981
1959
  .ui.menu .ui.inverted.dropdown .menu > .active.item {
1982
- background: @invertedDropdownActiveItemBackground !important;
1983
- color: @invertedDropdownActiveItemColor !important;
1960
+ background: @invertedDropdownActiveItemBackground !important;
1961
+ color: @invertedDropdownActiveItemColor !important;
1984
1962
  }
1985
1963
 
1986
1964
  .ui.menu .ui.inverted.dropdown .menu > .item:hover {
1987
- background: @invertedDropdownHoveredItemBackground !important;
1988
- color: @invertedDropdownHoveredItemColor !important;
1965
+ background: @invertedDropdownHoveredItemBackground !important;
1966
+ color: @invertedDropdownHoveredItemColor !important;
1989
1967
  }
1990
1968
 
1991
1969
  .ui.menu .ui.inverted.dropdown .menu > .selected.item {
1992
- background: @invertedDropdownSelectedItemBackground !important;
1993
- color: @invertedDropdownSelectedItemColor !important;
1970
+ background: @invertedDropdownSelectedItemBackground !important;
1971
+ color: @invertedDropdownSelectedItemColor !important;
1994
1972
  }
1995
1973
 
1996
1974
  & when (@variationMenuVertical) {
1997
- /* Vertical */
1998
- .ui.vertical.menu .inverted.dropdown.item .menu {
1999
- box-shadow: @invertedDropdownMenuBoxShadow;
2000
- }
1975
+ /* Vertical */
1976
+ .ui.vertical.menu .inverted.dropdown.item .menu {
1977
+ box-shadow: @invertedDropdownMenuBoxShadow;
1978
+ }
2001
1979
  }
2002
1980
 
2003
1981
  .loadUIOverrides();