fomantic-ui 2.9.0-beta.12 → 2.9.0-beta.123

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 (218) hide show
  1. package/.all-contributorsrc +197 -3
  2. package/CONTRIBUTORS.md +74 -37
  3. package/README.md +1 -1
  4. package/dist/components/accordion.css +50 -6
  5. package/dist/components/accordion.js +1 -1
  6. package/dist/components/accordion.min.css +2 -2
  7. package/dist/components/accordion.min.js +1 -1
  8. package/dist/components/ad.css +1 -1
  9. package/dist/components/ad.min.css +1 -1
  10. package/dist/components/api.js +25 -23
  11. package/dist/components/api.min.js +2 -2
  12. package/dist/components/breadcrumb.css +1 -1
  13. package/dist/components/breadcrumb.min.css +1 -1
  14. package/dist/components/button.css +81 -81
  15. package/dist/components/button.min.css +2 -2
  16. package/dist/components/calendar.css +1 -1
  17. package/dist/components/calendar.js +6 -7
  18. package/dist/components/calendar.min.css +1 -1
  19. package/dist/components/calendar.min.js +2 -2
  20. package/dist/components/card.css +26 -19
  21. package/dist/components/card.min.css +2 -2
  22. package/dist/components/checkbox.css +2 -1
  23. package/dist/components/checkbox.js +17 -11
  24. package/dist/components/checkbox.min.css +2 -2
  25. package/dist/components/checkbox.min.js +2 -2
  26. package/dist/components/comment.css +11 -11
  27. package/dist/components/comment.min.css +1 -1
  28. package/dist/components/container.css +1 -1
  29. package/dist/components/container.min.css +1 -1
  30. package/dist/components/dimmer.css +28 -14
  31. package/dist/components/dimmer.js +1 -1
  32. package/dist/components/dimmer.min.css +2 -2
  33. package/dist/components/dimmer.min.js +1 -1
  34. package/dist/components/divider.css +1 -1
  35. package/dist/components/divider.min.css +1 -1
  36. package/dist/components/dropdown.css +28 -5
  37. package/dist/components/dropdown.js +42 -31
  38. package/dist/components/dropdown.min.css +2 -2
  39. package/dist/components/dropdown.min.js +2 -2
  40. package/dist/components/embed.css +1 -1
  41. package/dist/components/embed.js +1 -1
  42. package/dist/components/embed.min.css +1 -1
  43. package/dist/components/embed.min.js +1 -1
  44. package/dist/components/emoji.css +2 -2
  45. package/dist/components/feed.css +28 -28
  46. package/dist/components/feed.min.css +2 -2
  47. package/dist/components/flag.css +731 -625
  48. package/dist/components/flag.min.css +2 -2
  49. package/dist/components/form.css +103 -54
  50. package/dist/components/form.js +25 -23
  51. package/dist/components/form.min.css +2 -2
  52. package/dist/components/form.min.js +2 -2
  53. package/dist/components/grid.css +11 -8
  54. package/dist/components/grid.min.css +2 -2
  55. package/dist/components/header.css +1 -1
  56. package/dist/components/header.min.css +1 -1
  57. package/dist/components/icon.css +6 -1
  58. package/dist/components/icon.min.css +2 -2
  59. package/dist/components/image.css +1 -1
  60. package/dist/components/image.min.css +1 -1
  61. package/dist/components/input.css +17 -2
  62. package/dist/components/input.min.css +2 -2
  63. package/dist/components/item.css +13 -13
  64. package/dist/components/item.min.css +1 -1
  65. package/dist/components/label.css +1 -1
  66. package/dist/components/label.min.css +1 -1
  67. package/dist/components/list.css +1 -1
  68. package/dist/components/list.min.css +1 -1
  69. package/dist/components/loader.css +1 -1
  70. package/dist/components/loader.min.css +1 -1
  71. package/dist/components/menu.css +29 -5
  72. package/dist/components/menu.min.css +1 -1
  73. package/dist/components/message.css +41 -41
  74. package/dist/components/message.min.css +2 -2
  75. package/dist/components/modal.css +3 -1
  76. package/dist/components/modal.js +94 -30
  77. package/dist/components/modal.min.css +2 -2
  78. package/dist/components/modal.min.js +2 -2
  79. package/dist/components/nag.css +1 -1
  80. package/dist/components/nag.js +1 -1
  81. package/dist/components/nag.min.css +1 -1
  82. package/dist/components/nag.min.js +1 -1
  83. package/dist/components/placeholder.css +1 -1
  84. package/dist/components/placeholder.min.css +1 -1
  85. package/dist/components/popup.css +5 -3
  86. package/dist/components/popup.js +1 -1
  87. package/dist/components/popup.min.css +2 -2
  88. package/dist/components/popup.min.js +1 -1
  89. package/dist/components/progress.css +1 -1
  90. package/dist/components/progress.js +1 -1
  91. package/dist/components/progress.min.css +1 -1
  92. package/dist/components/progress.min.js +1 -1
  93. package/dist/components/rail.css +1 -1
  94. package/dist/components/rail.min.css +1 -1
  95. package/dist/components/rating.css +7 -46
  96. package/dist/components/rating.js +1 -1
  97. package/dist/components/rating.min.css +2 -2
  98. package/dist/components/rating.min.js +1 -1
  99. package/dist/components/reset.css +1 -1
  100. package/dist/components/reset.min.css +1 -1
  101. package/dist/components/reveal.css +1 -1
  102. package/dist/components/reveal.min.css +1 -1
  103. package/dist/components/search.css +1 -1
  104. package/dist/components/search.js +1 -1
  105. package/dist/components/search.min.css +1 -1
  106. package/dist/components/search.min.js +1 -1
  107. package/dist/components/segment.css +12 -6
  108. package/dist/components/segment.min.css +2 -2
  109. package/dist/components/shape.css +1 -1
  110. package/dist/components/shape.js +1 -1
  111. package/dist/components/shape.min.css +1 -1
  112. package/dist/components/shape.min.js +1 -1
  113. package/dist/components/sidebar.css +4 -2
  114. package/dist/components/sidebar.js +1 -1
  115. package/dist/components/sidebar.min.css +2 -2
  116. package/dist/components/sidebar.min.js +1 -1
  117. package/dist/components/site.css +61 -39
  118. package/dist/components/site.js +1 -1
  119. package/dist/components/site.min.css +2 -2
  120. package/dist/components/site.min.js +1 -1
  121. package/dist/components/slider.js +1 -1
  122. package/dist/components/slider.min.js +1 -1
  123. package/dist/components/state.js +1 -1
  124. package/dist/components/state.min.js +1 -1
  125. package/dist/components/statistic.css +1 -1
  126. package/dist/components/statistic.min.css +1 -1
  127. package/dist/components/step.css +4 -4
  128. package/dist/components/step.min.css +2 -2
  129. package/dist/components/sticky.css +1 -1
  130. package/dist/components/sticky.js +1 -1
  131. package/dist/components/sticky.min.css +1 -1
  132. package/dist/components/sticky.min.js +1 -1
  133. package/dist/components/tab.css +1 -1
  134. package/dist/components/tab.js +1 -1
  135. package/dist/components/tab.min.css +1 -1
  136. package/dist/components/tab.min.js +1 -1
  137. package/dist/components/table.css +980 -23
  138. package/dist/components/table.min.css +2 -2
  139. package/dist/components/text.css +1 -1
  140. package/dist/components/text.min.css +1 -1
  141. package/dist/components/toast.css +33 -1
  142. package/dist/components/toast.js +54 -27
  143. package/dist/components/toast.min.css +2 -2
  144. package/dist/components/toast.min.js +2 -2
  145. package/dist/components/transition.css +1 -1
  146. package/dist/components/transition.js +1 -1
  147. package/dist/components/transition.min.css +1 -1
  148. package/dist/components/transition.min.js +1 -1
  149. package/dist/components/visibility.js +1 -1
  150. package/dist/components/visibility.min.js +1 -1
  151. package/dist/semantic.css +2542 -1050
  152. package/dist/semantic.js +281 -170
  153. package/dist/semantic.min.css +2 -2
  154. package/dist/semantic.min.js +2 -2
  155. package/examples/assets/library/iframe-content.js +5 -5
  156. package/package.json +2 -2
  157. package/src/definitions/behaviors/api.js +24 -22
  158. package/src/definitions/behaviors/form.js +24 -22
  159. package/src/definitions/collections/form.less +190 -139
  160. package/src/definitions/collections/grid.less +716 -680
  161. package/src/definitions/collections/menu.less +173 -126
  162. package/src/definitions/collections/message.less +48 -46
  163. package/src/definitions/collections/table.less +593 -260
  164. package/src/definitions/elements/button.less +360 -347
  165. package/src/definitions/elements/container.less +16 -8
  166. package/src/definitions/elements/emoji.less +15 -9
  167. package/src/definitions/elements/flag.less +7 -17
  168. package/src/definitions/elements/header.less +42 -35
  169. package/src/definitions/elements/icon.less +38 -31
  170. package/src/definitions/elements/input.less +23 -7
  171. package/src/definitions/elements/label.less +92 -91
  172. package/src/definitions/elements/list.less +55 -45
  173. package/src/definitions/elements/loader.less +30 -29
  174. package/src/definitions/elements/segment.less +30 -22
  175. package/src/definitions/elements/step.less +52 -48
  176. package/src/definitions/elements/text.less +17 -15
  177. package/src/definitions/globals/site.less +23 -2
  178. package/src/definitions/modules/accordion.less +55 -5
  179. package/src/definitions/modules/calendar.js +5 -6
  180. package/src/definitions/modules/checkbox.js +16 -10
  181. package/src/definitions/modules/checkbox.less +34 -178
  182. package/src/definitions/modules/dimmer.less +21 -8
  183. package/src/definitions/modules/dropdown.js +41 -30
  184. package/src/definitions/modules/dropdown.less +99 -67
  185. package/src/definitions/modules/modal.js +93 -29
  186. package/src/definitions/modules/modal.less +2 -0
  187. package/src/definitions/modules/nag.less +20 -19
  188. package/src/definitions/modules/popup.less +5 -1
  189. package/src/definitions/modules/progress.less +19 -18
  190. package/src/definitions/modules/rating.less +49 -42
  191. package/src/definitions/modules/search.less +32 -16
  192. package/src/definitions/modules/sidebar.less +33 -19
  193. package/src/definitions/modules/slider.less +39 -38
  194. package/src/definitions/modules/toast.js +53 -26
  195. package/src/definitions/modules/toast.less +46 -16
  196. package/src/definitions/views/card.less +402 -361
  197. package/src/definitions/views/comment.less +92 -81
  198. package/src/definitions/views/feed.less +164 -144
  199. package/src/definitions/views/item.less +249 -196
  200. package/src/definitions/views/statistic.less +90 -88
  201. package/src/themes/default/collections/menu.variables +6 -0
  202. package/src/themes/default/collections/table.variables +29 -0
  203. package/src/themes/default/elements/button.variables +2 -1
  204. package/src/themes/default/elements/flag.overrides +1635 -986
  205. package/src/themes/default/elements/flag.variables +7 -5
  206. package/src/themes/default/elements/icon.overrides +35 -28
  207. package/src/themes/default/elements/icon.variables +1 -0
  208. package/src/themes/default/elements/step.overrides +1 -1
  209. package/src/themes/default/globals/site.variables +6 -0
  210. package/src/themes/default/globals/variation.variables +108 -6
  211. package/src/themes/default/modules/accordion.variables +15 -0
  212. package/src/themes/default/modules/dimmer.variables +1 -1
  213. package/src/themes/default/modules/dropdown.variables +1 -1
  214. package/src/themes/default/modules/toast.variables +3 -0
  215. package/src/themes/famfamfam/elements/flag.overrides +1026 -0
  216. package/src/themes/famfamfam/elements/flag.variables +13 -0
  217. package/tasks/build/css.js +6 -1
  218. package/test/helpers/sinon.js +1 -1
@@ -238,9 +238,9 @@
238
238
  .ui.definition.table:not(.unstackable) > thead > tr > th:first-child {
239
239
  box-shadow: none !important;
240
240
  }
241
- & when (@variationTableMarked) {
242
- each(@colors, {
243
- @color: replace(@key, '@', '');
241
+ & when (@variationTableMarked) and not (@variationTableColors = false) {
242
+ each(@variationTableColors, {
243
+ @color: @value;
244
244
  @c: @colors[@@color][color];
245
245
  @l: @colors[@@color][light];
246
246
  .ui.ui.ui.ui.table:not(.unstackable) tr.marked.@{color} {
@@ -263,6 +263,203 @@
263
263
  }
264
264
  })
265
265
  }
266
+ & when (@variationTableScrolling) {
267
+ & when (@variationTableScrollingShort) {
268
+ .ui.scrolling.table.short > tbody {
269
+ max-height: @scrollingMobileMaxBodyHeight * 0.75;
270
+ }
271
+ }
272
+ & when (@variationTableScrollingVeryShort) {
273
+ .ui.scrolling.table[class*="very short"] > tbody {
274
+ max-height: @scrollingMobileMaxBodyHeight * 0.5;
275
+ }
276
+ }
277
+ .ui.scrolling.table > tbody {
278
+ max-height: @scrollingMobileMaxBodyHeight;
279
+ }
280
+ & when (@variationTableScrollingLong) {
281
+ .ui.scrolling.table.long > tbody {
282
+ max-height: @scrollingMobileMaxBodyHeight * 2;
283
+ }
284
+ }
285
+ & when (@variationTableScrollingVeryLong) {
286
+ .ui.scrolling.table[class*="very long"] > tbody {
287
+ max-height: @scrollingMobileMaxBodyHeight * 3;
288
+ }
289
+ }
290
+ }
291
+ }
292
+ & when (@variationTableScrolling) {
293
+ /*--------------
294
+ Scrolling
295
+ ---------------*/
296
+ @media only screen and (min-width: @tabletBreakpoint) {
297
+ & when (@variationTableScrollingShort) {
298
+ .ui.scrolling.table.short > tbody {
299
+ max-height: @scrollingTabletMaxBodyHeight * 0.75;
300
+ }
301
+ }
302
+ & when (@variationTableScrollingVeryShort) {
303
+ .ui.scrolling.table[class*="very short"] > tbody {
304
+ max-height: @scrollingTabletMaxBodyHeight * 0.5;
305
+ }
306
+ }
307
+ .ui.scrolling.table > tbody {
308
+ max-height: @scrollingTabletMaxBodyHeight;
309
+ }
310
+ & when (@variationTableScrollingLong) {
311
+ .ui.scrolling.table.long > tbody {
312
+ max-height: @scrollingTabletMaxBodyHeight * 2;
313
+ }
314
+ }
315
+ & when (@variationTableScrollingVeryLong) {
316
+ .ui.scrolling.table[class*="very long"] > tbody {
317
+ max-height: @scrollingTabletMaxBodyHeight * 3;
318
+ }
319
+ }
320
+ }
321
+ @media only screen and (min-width: @computerBreakpoint) {
322
+ & when (@variationTableScrollingShort) {
323
+ .ui.scrolling.table.short > tbody {
324
+ max-height: @scrollingComputerMaxBodyHeight * 0.75;
325
+ }
326
+ }
327
+ & when (@variationTableScrollingVeryShort) {
328
+ .ui.scrolling.table[class*="very short"] > tbody {
329
+ max-height: @scrollingComputerMaxBodyHeight * 0.5;
330
+ }
331
+ }
332
+ .ui.scrolling.table > tbody {
333
+ max-height: @scrollingComputerMaxBodyHeight;
334
+ }
335
+ & when (@variationTableScrollingLong) {
336
+ .ui.scrolling.table.long > tbody {
337
+ max-height: @scrollingComputerMaxBodyHeight * 2;
338
+ }
339
+ }
340
+ & when (@variationTableScrollingVeryLong) {
341
+ .ui.scrolling.table[class*="very long"] > tbody {
342
+ max-height: @scrollingComputerMaxBodyHeight * 3;
343
+ }
344
+ }
345
+ }
346
+ @media only screen and (min-width: @widescreenMonitorBreakpoint) {
347
+ & when (@variationTableScrollingShort) {
348
+ .ui.scrolling.table.short > tbody {
349
+ max-height: @scrollingWidescreenMaxBodyHeight * 0.75;
350
+ }
351
+ }
352
+ & when (@variationTableScrollingVeryShort) {
353
+ .ui.scrolling.table[class*="very short"] > tbody {
354
+ max-height: @scrollingWidescreenMaxBodyHeight * 0.5;
355
+ }
356
+ }
357
+ .ui.scrolling.table > tbody {
358
+ max-height: @scrollingWidescreenMaxBodyHeight;
359
+ }
360
+ & when (@variationTableScrollingLong) {
361
+ .ui.scrolling.table.long > tbody {
362
+ max-height: @scrollingWidescreenMaxBodyHeight * 2;
363
+ }
364
+ }
365
+ & when (@variationTableScrollingVeryLong) {
366
+ .ui.scrolling.table[class*="very long"] > tbody {
367
+ max-height: @scrollingWidescreenMaxBodyHeight * 3;
368
+ }
369
+ }
370
+ }
371
+
372
+ .ui.scrolling.table > thead,
373
+ .ui.scrolling.table > tfoot,
374
+ .ui.scrolling.table > tbody {
375
+ display: block;
376
+ overflow-y: scroll;
377
+ scrollbar-width: thin; /* Firefox */
378
+ & > tr {
379
+ display: table;
380
+ table-layout: fixed;
381
+ width: 100%;
382
+ }
383
+ }
384
+
385
+ /* Camouflage scrollbars, we need them only to gain the same width as tbody */
386
+ .ui.scrolling.table > thead {
387
+ background: @headerBackground;
388
+ color: @headerBackground;
389
+ border-radius: @borderRadius @borderRadius 0 0;
390
+ }
391
+ .ui.scrolling.table > tfoot {
392
+ background: @footerBackground;
393
+ color: @footerBackground;
394
+ border-radius: 0 0 @borderRadius @borderRadius;
395
+ }
396
+ & when (@variationTableInverted) {
397
+ .ui.inverted.scrolling.table > thead {
398
+ background: @invertedHeaderBackground;
399
+ color: @invertedHeaderBackground;
400
+ }
401
+ .ui.inverted.scrolling.table > tfoot {
402
+ background: @invertedFooterBackground;
403
+ color: @invertedFooterBackground;
404
+ }
405
+ }
406
+ .ui.scrolling.table > thead::-webkit-scrollbar-track,
407
+ .ui.scrolling.table > tfoot::-webkit-scrollbar-track {
408
+ background: inherit;
409
+ border-radius: @borderRadius;
410
+ }
411
+
412
+ /* Firefox & IE */
413
+ .ui.scrolling.table > thead,
414
+ .ui.scrolling.table > tfoot {
415
+ scrollbar-color: currentColor currentColor;
416
+ scrollbar-face-color: currentColor;
417
+ scrollbar-shadow-color: currentColor;
418
+ scrollbar-track-color: currentColor;
419
+ scrollbar-arrow-color: currentColor;
420
+ }
421
+ /* IE scrollbar color needs hex values */
422
+ @media all and (-ms-high-contrast:none) {
423
+ .ui.scrolling.table > thead {
424
+ color: @headerBackgroundHex;
425
+ }
426
+ .ui.scrolling.table > tfoot {
427
+ color: @footerBackgroundHex;
428
+ }
429
+ & when (@variationTableInverted) {
430
+ .ui.inverted.scrolling.table > thead {
431
+ color: @invertedHeaderBackgroundHex;
432
+ }
433
+ .ui.inverted.scrolling.table > tfoot {
434
+ color: @invertedFooterBackgroundHex;
435
+ }
436
+ }
437
+ }
438
+ & when (@variationTableInverted) {
439
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-track {
440
+ background: @trackInvertedBackground;
441
+ }
442
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb {
443
+ background: @thumbInvertedBackground;
444
+ }
445
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:window-inactive {
446
+ background: @thumbInvertedInactiveBackground;
447
+ }
448
+ .ui.inverted.scrolling.table > tbody::-webkit-scrollbar-thumb:hover {
449
+ background: @thumbInvertedHoverBackground;
450
+ }
451
+ .ui.inverted.scrolling.table > tbody {
452
+ /* IE11 */
453
+ scrollbar-face-color: @thumbInvertedBackgroundHex;
454
+ scrollbar-shadow-color: @thumbInvertedBackgroundHex;
455
+ scrollbar-track-color: @trackInvertedBackgroundHex;
456
+ scrollbar-arrow-color: @trackInvertedBackgroundHex;
457
+
458
+ /* firefox : first color thumb, second track */
459
+ scrollbar-color: @thumbInvertedBackground @trackInvertedBackground;
460
+ }
461
+ }
462
+
266
463
  }
267
464
 
268
465
 
@@ -392,6 +589,13 @@
392
589
  background: @positiveBackgroundColor;
393
590
  color: @positiveColor;
394
591
  }
592
+ & when (@variationTableInverted) {
593
+ .ui.ui.ui.ui.inverted.table tr.positive,
594
+ .ui.ui.inverted.table td.positive {
595
+ background: @invertedPositiveBackgroundColor;
596
+ color: @invertedPositiveColor;
597
+ }
598
+ }
395
599
  }
396
600
 
397
601
  & when (@variationTableNegative) {
@@ -405,6 +609,13 @@
405
609
  background: @negativeBackgroundColor;
406
610
  color: @negativeColor;
407
611
  }
612
+ & when (@variationTableInverted) {
613
+ .ui.ui.ui.ui.inverted.table tr.negative,
614
+ .ui.ui.inverted.table td.negative {
615
+ background: @invertedNegativeBackgroundColor;
616
+ color: @invertedNegativeColor;
617
+ }
618
+ }
408
619
  }
409
620
 
410
621
  & when (@variationTableError) {
@@ -418,6 +629,13 @@
418
629
  background: @errorBackgroundColor;
419
630
  color: @errorColor;
420
631
  }
632
+ & when (@variationTableInverted) {
633
+ .ui.ui.ui.ui.inverted.table tr.error,
634
+ .ui.ui.inverted.table td.error {
635
+ background: @invertedErrorBackgroundColor;
636
+ color: @invertedErrorColor;
637
+ }
638
+ }
421
639
  }
422
640
 
423
641
  & when (@variationTableWarning) {
@@ -431,6 +649,13 @@
431
649
  background: @warningBackgroundColor;
432
650
  color: @warningColor;
433
651
  }
652
+ & when (@variationTableInverted) {
653
+ .ui.ui.ui.ui.inverted.table tr.warning,
654
+ .ui.ui.inverted.table td.warning {
655
+ background: @invertedWarningBackgroundColor;
656
+ color: @invertedWarningColor;
657
+ }
658
+ }
434
659
  }
435
660
 
436
661
  & when (@variationTableActive) {
@@ -444,6 +669,13 @@
444
669
  background: @activeBackgroundColor;
445
670
  color: @activeColor;
446
671
  }
672
+ & when (@variationTableInverted) {
673
+ .ui.ui.ui.ui.inverted.table tr.active,
674
+ .ui.ui.inverted.table td.active {
675
+ background: @invertedActiveBackgroundColor;
676
+ color: @invertedActiveColor;
677
+ }
678
+ }
447
679
  }
448
680
 
449
681
 
@@ -452,8 +684,8 @@
452
684
  Disabled
453
685
  ---------------*/
454
686
 
455
- .ui.table tr.disabled td,
456
- .ui.table tr td.disabled,
687
+ .ui.ui.ui.table tr.disabled td,
688
+ .ui.ui.ui.table tr td.disabled,
457
689
  .ui.table tr.disabled:hover,
458
690
  .ui.table tr:hover td.disabled {
459
691
  pointer-events: none;
@@ -526,9 +758,9 @@
526
758
  }
527
759
  }
528
760
  }
529
- & when (@variationTableMarked) {
530
- each(@colors, {
531
- @color: replace(@key, '@', '');
761
+ & when (@variationTableMarked) and not (@variationTableColors = false) {
762
+ each(@variationTableColors, {
763
+ @color: @value;
532
764
  @c: @colors[@@color][color];
533
765
  @l: @colors[@@color][light];
534
766
  .ui.ui.ui.ui[class*="tablet stackable"].table tr.marked.@{color} {
@@ -642,6 +874,8 @@
642
874
  .ui.table tbody tr td.selectable > a:not(.ui) {
643
875
  display: block;
644
876
  color: inherit;
877
+ }
878
+ .ui.table:not(.compact) tbody tr td.selectable > a:not(.ui) {
645
879
  padding: @cellVerticalPadding @cellHorizontalPadding;
646
880
  }
647
881
  .ui.table > tr > td.selectable,
@@ -778,208 +1012,294 @@
778
1012
  /*-------------------
779
1013
  Colors
780
1014
  --------------------*/
781
-
782
- each(@colors, {
783
- @color: replace(@key, '@', '');
784
- @c: @colors[@@color][color];
785
- @t: @colors[@@color][text];
786
- @ht: @colors[@@color][hoverText];
787
- @l: @colors[@@color][light];
788
- @lh: @colors[@@color][lightHover];
789
- @r: @colors[@@color][ribbon];
790
- @b: @colors[@@color][bright];
791
- @bh: @colors[@@color][brightHover];
792
- @isDark: @colors[@@color][isDark];
793
- @isVeryDark: @colors[@@color][isVeryDark];
794
-
795
- .ui.@{color}.table {
796
- border-top: @coloredBorderSize solid @c;
797
- }
798
- & when (@variationTableInverted) {
799
- .ui.inverted.@{color}.table {
800
- background-color: @c;
801
- color: @white;
802
- }
803
- }
804
- .ui.ui.ui.ui.table tr.@{color}:not(.marked),
805
- .ui.ui.table td.@{color}:not(.marked) {
806
- & when (@stateMarkerWidth > 0) {
807
- box-shadow: @stateMarkerWidth 0 0 @r inset;
808
- }
809
- & when (@isDark) {
810
- background: @l;
1015
+ & when not (@variationTableColors = false) {
1016
+ each(@variationTableColors, {
1017
+ @color: @value;
1018
+ @c: @colors[@@color][color];
1019
+ @t: @colors[@@color][text];
1020
+ @ht: @colors[@@color][hoverText];
1021
+ @l: @colors[@@color][light];
1022
+ @lh: @colors[@@color][lightHover];
1023
+ @r: @colors[@@color][ribbon];
1024
+ @b: @colors[@@color][bright];
1025
+ @bh: @colors[@@color][brightHover];
1026
+ @isDark: @colors[@@color][isDark];
1027
+ @isVeryDark: @colors[@@color][isVeryDark];
1028
+
1029
+ .ui.@{color}.table {
1030
+ border-top: @coloredBorderSize solid @c;
811
1031
  }
812
- & when not (@isDark) {
813
- background: @b;
814
- }
815
- & when (@isVeryDark) {
816
- color: @white;
1032
+ & when (@variationTableInverted) {
1033
+ .ui.inverted.@{color}.table {
1034
+ background: @c;
1035
+ color: @white;
1036
+ }
817
1037
  }
818
- & when not (@isVeryDark) {
819
- color: @t;
1038
+ /* Same color for background and color to camouflage the scrollbar */
1039
+ & when (@variationTableScrolling) {
1040
+ .ui.scrolling.table > thead.@{color},
1041
+ .ui.scrolling.table > tfoot.@{color} {
1042
+ & when (@isDark) {
1043
+ background: @l;
1044
+ color: @l;
1045
+ }
1046
+ & when not (@isDark) {
1047
+ background: @b;
1048
+ color: @b;
1049
+ }
1050
+ & > tr > th,
1051
+ > tr > td {
1052
+ background: inherit;
1053
+ & when (@isVeryDark) {
1054
+ color: @white;
1055
+ }
1056
+ & when not (@isVeryDark) {
1057
+ color: @t;
1058
+ }
1059
+ }
1060
+ }
1061
+ & when (@variationTableInverted) {
1062
+ .ui.inverted.scrolling.table > thead.@{color},
1063
+ .ui.inverted.scrolling.table > tfoot.@{color} {
1064
+ background: @c;
1065
+ color: @c;
1066
+ & > tr > th,
1067
+ > tr > td {
1068
+ background: inherit;
1069
+ color: @white;
1070
+ }
1071
+ }
1072
+ }
820
1073
  }
821
- }
822
- & when (@variationTableSelectable) {
823
- .ui.ui.selectable.table tr.@{color}:not(.marked):hover,
824
- .ui.table tr td.selectable.@{color}:not(.marked):hover,
825
- .ui.selectable.table tr:hover td.@{color}:not(.marked) {
1074
+ .ui.ui.ui.ui.table tr.@{color}:not(.marked),
1075
+ .ui.ui.table th.@{color}:not(.marked),
1076
+ .ui.ui.table td.@{color}:not(.marked) {
1077
+ & when (@stateMarkerWidth > 0) {
1078
+ box-shadow: @stateMarkerWidth 0 0 @r inset;
1079
+ }
826
1080
  & when (@isDark) {
827
- background: @lh;
1081
+ background: @l;
828
1082
  }
829
1083
  & when not (@isDark) {
830
- background: @bh;
1084
+ background: @b;
831
1085
  }
832
1086
  & when (@isVeryDark) {
833
1087
  color: @white;
834
1088
  }
835
1089
  & when not (@isVeryDark) {
836
- color: @ht;
1090
+ color: @t;
837
1091
  }
838
1092
  }
839
- }
840
- & when (@variationTableMarked) {
841
- .ui.table td.marked.@{color},
842
- .ui.table tr.marked.@{color} {
843
- &.left {
844
- box-shadow: @coloredBorderSize 0 0 0 @c inset;
1093
+ .ui.table > thead > tr.@{color}:not(.marked) > th,
1094
+ .ui.table > tfoot > tr.@{color}:not(.marked) > th,
1095
+ .ui.table > tfoot > tr.@{color}:not(.marked) > td {
1096
+ background: inherit;
1097
+ & when (@isVeryDark) {
1098
+ color: @white;
845
1099
  }
846
- &.right {
847
- box-shadow: -@coloredBorderSize 0 0 0 @c inset;
1100
+ & when not (@isVeryDark) {
1101
+ color: @t;
848
1102
  }
849
1103
  }
1104
+
850
1105
  & when (@variationTableInverted) {
851
- .ui.inverted.table td.marked.@{color},
852
- .ui.inverted.table tr.marked.@{color} {
1106
+ .ui.ui.ui.ui.inverted.table tr.@{color}:not(.marked),
1107
+ .ui.ui.inverted.table th.@{color}:not(.marked),
1108
+ .ui.ui.inverted.table td.@{color}:not(.marked) {
1109
+ background: @c;
1110
+ color: @white;
1111
+ }
1112
+ .ui.inverted.table > thead > tr.@{color}:not(.marked) > th,
1113
+ .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > th,
1114
+ .ui.inverted.table > tfoot > tr.@{color}:not(.marked) > td {
1115
+ background: inherit;
1116
+ color: @white;
1117
+ }
1118
+ }
1119
+ & when (@variationTableSelectable) {
1120
+ .ui.ui.selectable.table tr.@{color}:not(.marked):hover,
1121
+ .ui.table tr td.selectable.@{color}:not(.marked):hover,
1122
+ .ui.selectable.table tr:hover td.@{color}:not(.marked) {
1123
+ & when (@isDark) {
1124
+ background: @lh;
1125
+ }
1126
+ & when not (@isDark) {
1127
+ background: @bh;
1128
+ }
1129
+ & when (@isVeryDark) {
1130
+ color: @white;
1131
+ }
1132
+ & when not (@isVeryDark) {
1133
+ color: @ht;
1134
+ }
1135
+ }
1136
+ & when (@variationTableInverted) {
1137
+ .ui.ui.inverted.selectable.table tr.@{color}:not(.marked):hover,
1138
+ .ui.inverted.table tr td.selectable.@{color}:not(.marked):hover,
1139
+ .ui.inverted.selectable.table tr:hover td.@{color}:not(.marked) {
1140
+ & when (@isDark) {
1141
+ background: @bh;
1142
+ }
1143
+ & when not (@isDark) {
1144
+ background: @lh;
1145
+ }
1146
+ & when (@isVeryDark) {
1147
+ color: @ht;
1148
+ }
1149
+ & when not (@isVeryDark) {
1150
+ color: @white;
1151
+ }
1152
+ }
1153
+ }
1154
+ }
1155
+ & when (@variationTableMarked) {
1156
+ .ui.table td.marked.@{color},
1157
+ .ui.table tr.marked.@{color} {
853
1158
  &.left {
854
- box-shadow: @coloredBorderSize 0 0 0 @l inset;
1159
+ box-shadow: @coloredBorderSize 0 0 0 @c inset;
855
1160
  }
856
1161
  &.right {
857
- box-shadow: -@coloredBorderSize 0 0 0 @l inset;
1162
+ box-shadow: -@coloredBorderSize 0 0 0 @c inset;
1163
+ }
1164
+ }
1165
+ & when (@variationTableInverted) {
1166
+ .ui.inverted.table td.marked.@{color},
1167
+ .ui.inverted.table tr.marked.@{color} {
1168
+ &.left {
1169
+ box-shadow: @coloredBorderSize 0 0 0 @l inset;
1170
+ }
1171
+ &.right {
1172
+ box-shadow: -@coloredBorderSize 0 0 0 @l inset;
1173
+ }
858
1174
  }
859
1175
  }
860
1176
  }
861
- }
862
1177
 
863
- })
1178
+ })
1179
+ }
864
1180
 
865
- /*--------------
866
- Column Count
867
- ---------------*/
1181
+ & when (@variationTableEqualWidth) {
1182
+ /*--------------
1183
+ Column Count
1184
+ ---------------*/
868
1185
 
869
- /* Grid Based */
870
- .ui.one.column.table td {
871
- width: @oneColumn;
872
- }
873
- .ui.two.column.table td {
874
- width: @twoColumn;
875
- }
876
- .ui.three.column.table td {
877
- width: @threeColumn;
878
- }
879
- .ui.four.column.table td {
880
- width: @fourColumn;
881
- }
882
- .ui.five.column.table td {
883
- width: @fiveColumn;
884
- }
885
- .ui.six.column.table td {
886
- width: @sixColumn;
887
- }
888
- .ui.seven.column.table td {
889
- width: @sevenColumn;
890
- }
891
- .ui.eight.column.table td {
892
- width: @eightColumn;
893
- }
894
- .ui.nine.column.table td {
895
- width: @nineColumn;
896
- }
897
- .ui.ten.column.table td {
898
- width: @tenColumn;
899
- }
900
- .ui.eleven.column.table td {
901
- width: @elevenColumn;
902
- }
903
- .ui.twelve.column.table td {
904
- width: @twelveColumn;
905
- }
906
- .ui.thirteen.column.table td {
907
- width: @thirteenColumn;
908
- }
909
- .ui.fourteen.column.table td {
910
- width: @fourteenColumn;
911
- }
912
- .ui.fifteen.column.table td {
913
- width: @fifteenColumn;
914
- }
915
- .ui.sixteen.column.table td {
916
- width: @sixteenColumn;
1186
+ /* Grid Based */
1187
+ .ui.one.column.table td {
1188
+ width: @oneColumn;
1189
+ }
1190
+ .ui.two.column.table td {
1191
+ width: @twoColumn;
1192
+ }
1193
+ .ui.three.column.table td {
1194
+ width: @threeColumn;
1195
+ }
1196
+ .ui.four.column.table td {
1197
+ width: @fourColumn;
1198
+ }
1199
+ .ui.five.column.table td {
1200
+ width: @fiveColumn;
1201
+ }
1202
+ .ui.six.column.table td {
1203
+ width: @sixColumn;
1204
+ }
1205
+ .ui.seven.column.table td {
1206
+ width: @sevenColumn;
1207
+ }
1208
+ .ui.eight.column.table td {
1209
+ width: @eightColumn;
1210
+ }
1211
+ .ui.nine.column.table td {
1212
+ width: @nineColumn;
1213
+ }
1214
+ .ui.ten.column.table td {
1215
+ width: @tenColumn;
1216
+ }
1217
+ .ui.eleven.column.table td {
1218
+ width: @elevenColumn;
1219
+ }
1220
+ .ui.twelve.column.table td {
1221
+ width: @twelveColumn;
1222
+ }
1223
+ .ui.thirteen.column.table td {
1224
+ width: @thirteenColumn;
1225
+ }
1226
+ .ui.fourteen.column.table td {
1227
+ width: @fourteenColumn;
1228
+ }
1229
+ .ui.fifteen.column.table td {
1230
+ width: @fifteenColumn;
1231
+ }
1232
+ .ui.sixteen.column.table td {
1233
+ width: @sixteenColumn;
1234
+ }
917
1235
  }
918
1236
 
919
- /* Column Width */
920
- .ui.table th.one.wide,
921
- .ui.table td.one.wide {
922
- width: @oneWide;
923
- }
924
- .ui.table th.two.wide,
925
- .ui.table td.two.wide {
926
- width: @twoWide;
927
- }
928
- .ui.table th.three.wide,
929
- .ui.table td.three.wide {
930
- width: @threeWide;
931
- }
932
- .ui.table th.four.wide,
933
- .ui.table td.four.wide {
934
- width: @fourWide;
935
- }
936
- .ui.table th.five.wide,
937
- .ui.table td.five.wide {
938
- width: @fiveWide;
939
- }
940
- .ui.table th.six.wide,
941
- .ui.table td.six.wide {
942
- width: @sixWide;
943
- }
944
- .ui.table th.seven.wide,
945
- .ui.table td.seven.wide {
946
- width: @sevenWide;
947
- }
948
- .ui.table th.eight.wide,
949
- .ui.table td.eight.wide {
950
- width: @eightWide;
951
- }
952
- .ui.table th.nine.wide,
953
- .ui.table td.nine.wide {
954
- width: @nineWide;
955
- }
956
- .ui.table th.ten.wide,
957
- .ui.table td.ten.wide {
958
- width: @tenWide;
959
- }
960
- .ui.table th.eleven.wide,
961
- .ui.table td.eleven.wide {
962
- width: @elevenWide;
963
- }
964
- .ui.table th.twelve.wide,
965
- .ui.table td.twelve.wide {
966
- width: @twelveWide;
967
- }
968
- .ui.table th.thirteen.wide,
969
- .ui.table td.thirteen.wide {
970
- width: @thirteenWide;
971
- }
972
- .ui.table th.fourteen.wide,
973
- .ui.table td.fourteen.wide {
974
- width: @fourteenWide;
975
- }
976
- .ui.table th.fifteen.wide,
977
- .ui.table td.fifteen.wide {
978
- width: @fifteenWide;
979
- }
980
- .ui.table th.sixteen.wide,
981
- .ui.table td.sixteen.wide {
982
- width: @sixteenWide;
1237
+ & when (@variationTableWide) {
1238
+ /* Column Width */
1239
+ .ui.table th.one.wide,
1240
+ .ui.table td.one.wide {
1241
+ width: @oneWide;
1242
+ }
1243
+ .ui.table th.two.wide,
1244
+ .ui.table td.two.wide {
1245
+ width: @twoWide;
1246
+ }
1247
+ .ui.table th.three.wide,
1248
+ .ui.table td.three.wide {
1249
+ width: @threeWide;
1250
+ }
1251
+ .ui.table th.four.wide,
1252
+ .ui.table td.four.wide {
1253
+ width: @fourWide;
1254
+ }
1255
+ .ui.table th.five.wide,
1256
+ .ui.table td.five.wide {
1257
+ width: @fiveWide;
1258
+ }
1259
+ .ui.table th.six.wide,
1260
+ .ui.table td.six.wide {
1261
+ width: @sixWide;
1262
+ }
1263
+ .ui.table th.seven.wide,
1264
+ .ui.table td.seven.wide {
1265
+ width: @sevenWide;
1266
+ }
1267
+ .ui.table th.eight.wide,
1268
+ .ui.table td.eight.wide {
1269
+ width: @eightWide;
1270
+ }
1271
+ .ui.table th.nine.wide,
1272
+ .ui.table td.nine.wide {
1273
+ width: @nineWide;
1274
+ }
1275
+ .ui.table th.ten.wide,
1276
+ .ui.table td.ten.wide {
1277
+ width: @tenWide;
1278
+ }
1279
+ .ui.table th.eleven.wide,
1280
+ .ui.table td.eleven.wide {
1281
+ width: @elevenWide;
1282
+ }
1283
+ .ui.table th.twelve.wide,
1284
+ .ui.table td.twelve.wide {
1285
+ width: @twelveWide;
1286
+ }
1287
+ .ui.table th.thirteen.wide,
1288
+ .ui.table td.thirteen.wide {
1289
+ width: @thirteenWide;
1290
+ }
1291
+ .ui.table th.fourteen.wide,
1292
+ .ui.table td.fourteen.wide {
1293
+ width: @fourteenWide;
1294
+ }
1295
+ .ui.table th.fifteen.wide,
1296
+ .ui.table td.fifteen.wide {
1297
+ width: @fifteenWide;
1298
+ }
1299
+ .ui.table th.sixteen.wide,
1300
+ .ui.table td.sixteen.wide {
1301
+ width: @sixteenWide;
1302
+ }
983
1303
  }
984
1304
 
985
1305
  & when (@variationTableSortable) {
@@ -1020,10 +1340,12 @@ each(@colors, {
1020
1340
  content: @sortableIconDescending;
1021
1341
  }
1022
1342
 
1023
- /* Hover */
1024
- .ui.sortable.table th.disabled:hover {
1025
- cursor: auto;
1026
- color: @sortableDisabledColor;
1343
+ & when (@variationTableDisabled) {
1344
+ /* Hover */
1345
+ .ui.sortable.table th.disabled:hover {
1346
+ cursor: auto;
1347
+ color: @sortableDisabledColor;
1348
+ }
1027
1349
  }
1028
1350
  .ui.sortable.table > thead > tr > th:hover {
1029
1351
  color: @sortableHoverColor;
@@ -1084,31 +1406,36 @@ each(@colors, {
1084
1406
  }
1085
1407
  .ui.ui.inverted.table > thead > tr > th,
1086
1408
  .ui.ui.inverted.table > tbody > tr > th,
1087
- .ui.ui.inverted.table > tfoot > tr > th,
1088
- .ui.ui.inverted.table > tfoot > tr > td,
1089
1409
  .ui.ui.inverted.table > tr > th {
1090
1410
  background-color: @invertedHeaderBackground;
1091
1411
  border-color: @invertedHeaderBorderColor;
1092
1412
  color: @invertedHeaderColor;
1093
1413
  }
1414
+ .ui.ui.inverted.table > tfoot > tr > th,
1415
+ .ui.ui.inverted.table > tfoot > tr > td {
1416
+ background-color: @invertedFooterBackground;
1417
+ border-color: @invertedFooterBorderColor;
1418
+ color: @invertedFooterColor;
1419
+ }
1094
1420
  .ui.inverted.table > tbody > tr > td,
1095
1421
  .ui.inverted.table > tfoot > tr > td,
1096
1422
  .ui.inverted.table > tr > td {
1097
1423
  border-color: @invertedCellBorderColor;
1098
1424
  }
1099
-
1100
- .ui.inverted.table tr.disabled td,
1101
- .ui.inverted.table tr td.disabled,
1102
- .ui.inverted.table tr.disabled:hover td,
1103
- .ui.inverted.table tr:hover td.disabled {
1104
- pointer-events: none;
1105
- color: @invertedDisabledTextColor;
1106
- }
1107
- .ui.inverted.table tr td.disabled:not([class="disabled"]),
1108
- .ui.inverted.table tr.disabled:not([class="disabled"]) td,
1109
- .ui.inverted.table tr.disabled td[class]:not(.disabled),
1110
- .ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
1111
- color: @disabledTextColor;
1425
+ & when (@variationTableDisabled) {
1426
+ .ui.inverted.table tr.disabled td,
1427
+ .ui.inverted.table tr td.disabled,
1428
+ .ui.inverted.table tr.disabled:hover td,
1429
+ .ui.inverted.table tr:hover td.disabled {
1430
+ pointer-events: none;
1431
+ color: @invertedDisabledTextColor;
1432
+ }
1433
+ .ui.ui.ui.inverted.table tr td.disabled:not([class="disabled"]),
1434
+ .ui.inverted.table tr.disabled:not([class="disabled"]) td,
1435
+ .ui.inverted.table tr.disabled td[class]:not(.disabled),
1436
+ .ui.inverted.table tr:hover td.disabled:not([class="disabled"]) {
1437
+ color: @disabledTextColor;
1438
+ }
1112
1439
  }
1113
1440
  & when (@variationTableDefinition) {
1114
1441
  /* Definition */
@@ -1135,7 +1462,7 @@ each(@colors, {
1135
1462
  }
1136
1463
  }
1137
1464
 
1138
- & when (@variationTableBasic) {
1465
+ & when (@variationTableBasic) or (@variationTableVeryBasic){
1139
1466
  /*--------------
1140
1467
  Basic
1141
1468
  ---------------*/
@@ -1169,38 +1496,40 @@ each(@colors, {
1169
1496
  background-color: @basicTableStripedBackground;
1170
1497
  }
1171
1498
  }
1172
- /* Very Basic */
1173
- .ui[class*="very basic"].table {
1174
- border: none;
1175
- }
1176
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
1177
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
1178
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
1179
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
1180
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
1181
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
1182
- padding: @basicTableCellPadding;
1183
- }
1184
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
1185
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
1186
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
1187
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
1188
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
1189
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child ,
1190
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
1191
- padding-left: 0;
1192
- }
1193
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
1194
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
1195
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
1196
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
1197
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
1198
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
1199
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot >tr > td:last-child {
1200
- padding-right: 0;
1201
- }
1202
- .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
1203
- padding-top: 0;
1499
+ & when (@variationTableVeryBasic) {
1500
+ /* Very Basic */
1501
+ .ui[class*="very basic"].table {
1502
+ border: none;
1503
+ }
1504
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th,
1505
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th,
1506
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th,
1507
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th,
1508
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td,
1509
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td {
1510
+ padding: @basicTableCellPadding;
1511
+ }
1512
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:first-child,
1513
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:first-child,
1514
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:first-child,
1515
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:first-child,
1516
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:first-child,
1517
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:first-child,
1518
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:first-child {
1519
+ padding-left: 0;
1520
+ }
1521
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > th:last-child,
1522
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr > th:last-child,
1523
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > th:last-child,
1524
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > th:last-child,
1525
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tr > td:last-child,
1526
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tbody > tr > td:last-child,
1527
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > tfoot > tr > td:last-child {
1528
+ padding-right: 0;
1529
+ }
1530
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) > thead > tr:first-child > th {
1531
+ padding-top: 0;
1532
+ }
1204
1533
  }
1205
1534
  }
1206
1535
 
@@ -1235,7 +1564,7 @@ each(@colors, {
1235
1564
  }
1236
1565
  }
1237
1566
 
1238
- & when (@variationTablePadded) {
1567
+ & when (@variationTablePadded) or (@variationTableVeryPadded) {
1239
1568
  /*--------------
1240
1569
  Padded
1241
1570
  ---------------*/
@@ -1257,22 +1586,24 @@ each(@colors, {
1257
1586
  padding: @paddedVerticalPadding @paddedHorizontalPadding;
1258
1587
  }
1259
1588
 
1260
- /* Very */
1261
- .ui[class*="very padded"].table > tr > th,
1262
- .ui[class*="very padded"].table > thead > tr > th,
1263
- .ui[class*="very padded"].table > tbody > tr > th,
1264
- .ui[class*="very padded"].table > tfoot > tr > th {
1265
- padding-left: @veryPaddedHorizontalPadding;
1266
- padding-right: @veryPaddedHorizontalPadding;
1267
- }
1268
- .ui[class*="very padded"].table > tr > td,
1269
- .ui[class*="very padded"].table > tbody > tr > td ,
1270
- .ui[class*="very padded"].table > tfoot > tr > td {
1271
- padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
1589
+ & when (@variationTableVeryPadded) {
1590
+ /* Very */
1591
+ .ui[class*="very padded"].table > tr > th,
1592
+ .ui[class*="very padded"].table > thead > tr > th,
1593
+ .ui[class*="very padded"].table > tbody > tr > th,
1594
+ .ui[class*="very padded"].table > tfoot > tr > th {
1595
+ padding-left: @veryPaddedHorizontalPadding;
1596
+ padding-right: @veryPaddedHorizontalPadding;
1597
+ }
1598
+ .ui[class*="very padded"].table > tr > td,
1599
+ .ui[class*="very padded"].table > tbody > tr > td,
1600
+ .ui[class*="very padded"].table > tfoot > tr > td {
1601
+ padding: @veryPaddedVerticalPadding @veryPaddedHorizontalPadding;
1602
+ }
1272
1603
  }
1273
1604
  }
1274
1605
 
1275
- & when (@variationTableCompact) {
1606
+ & when (@variationTableCompact) or (@variationTableVeryCompact) {
1276
1607
  /*--------------
1277
1608
  Compact
1278
1609
  ---------------*/
@@ -1290,18 +1621,20 @@ each(@colors, {
1290
1621
  padding: @compactVerticalPadding @compactHorizontalPadding;
1291
1622
  }
1292
1623
 
1293
- /* Very */
1294
- .ui[class*="very compact"].table > tr > th,
1295
- .ui[class*="very compact"].table > thead > tr > th,
1296
- .ui[class*="very compact"].table > tbody > tr > th,
1297
- .ui[class*="very compact"].table > tfoot > tr > th {
1298
- padding-left: @veryCompactHorizontalPadding;
1299
- padding-right: @veryCompactHorizontalPadding;
1300
- }
1301
- .ui[class*="very compact"].table > tr > td,
1302
- .ui[class*="very compact"].table > tbody > tr > td ,
1303
- .ui[class*="very compact"].table > tfoot > tr > td {
1304
- padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
1624
+ & when (@variationTableVeryCompact) {
1625
+ /* Very */
1626
+ .ui[class*="very compact"].table > tr > th,
1627
+ .ui[class*="very compact"].table > thead > tr > th,
1628
+ .ui[class*="very compact"].table > tbody > tr > th,
1629
+ .ui[class*="very compact"].table > tfoot > tr > th {
1630
+ padding-left: @veryCompactHorizontalPadding;
1631
+ padding-right: @veryCompactHorizontalPadding;
1632
+ }
1633
+ .ui[class*="very compact"].table > tr > td,
1634
+ .ui[class*="very compact"].table > tbody > tr > td,
1635
+ .ui[class*="very compact"].table > tfoot > tr > td {
1636
+ padding: @veryCompactVerticalPadding @veryCompactHorizontalPadding;
1637
+ }
1305
1638
  }
1306
1639
  }
1307
1640