fomantic-ui 2.9.0-beta.84 → 2.9.0-beta.88

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 (174) hide show
  1. package/dist/components/accordion.css +1 -1
  2. package/dist/components/accordion.js +1 -1
  3. package/dist/components/accordion.min.css +1 -1
  4. package/dist/components/accordion.min.js +1 -1
  5. package/dist/components/ad.css +1 -1
  6. package/dist/components/ad.min.css +1 -1
  7. package/dist/components/api.js +1 -1
  8. package/dist/components/api.min.js +1 -1
  9. package/dist/components/breadcrumb.css +1 -1
  10. package/dist/components/breadcrumb.min.css +1 -1
  11. package/dist/components/button.css +76 -76
  12. package/dist/components/button.min.css +1 -1
  13. package/dist/components/calendar.css +1 -1
  14. package/dist/components/calendar.js +1 -1
  15. package/dist/components/calendar.min.css +1 -1
  16. package/dist/components/calendar.min.js +1 -1
  17. package/dist/components/card.css +1 -1
  18. package/dist/components/card.min.css +1 -1
  19. package/dist/components/checkbox.css +1 -1
  20. package/dist/components/checkbox.js +1 -1
  21. package/dist/components/checkbox.min.css +1 -1
  22. package/dist/components/checkbox.min.js +1 -1
  23. package/dist/components/comment.css +1 -1
  24. package/dist/components/comment.min.css +1 -1
  25. package/dist/components/container.css +1 -1
  26. package/dist/components/container.min.css +1 -1
  27. package/dist/components/dimmer.css +1 -1
  28. package/dist/components/dimmer.js +1 -1
  29. package/dist/components/dimmer.min.css +1 -1
  30. package/dist/components/dimmer.min.js +1 -1
  31. package/dist/components/divider.css +1 -1
  32. package/dist/components/divider.min.css +1 -1
  33. package/dist/components/dropdown.css +1 -1
  34. package/dist/components/dropdown.js +1 -1
  35. package/dist/components/dropdown.min.css +1 -1
  36. package/dist/components/dropdown.min.js +1 -1
  37. package/dist/components/embed.css +1 -1
  38. package/dist/components/embed.js +1 -1
  39. package/dist/components/embed.min.css +1 -1
  40. package/dist/components/embed.min.js +1 -1
  41. package/dist/components/feed.css +1 -1
  42. package/dist/components/feed.min.css +1 -1
  43. package/dist/components/flag.css +1 -1
  44. package/dist/components/flag.min.css +1 -1
  45. package/dist/components/form.css +1 -1
  46. package/dist/components/form.js +1 -1
  47. package/dist/components/form.min.css +1 -1
  48. package/dist/components/form.min.js +1 -1
  49. package/dist/components/grid.css +1 -1
  50. package/dist/components/grid.min.css +1 -1
  51. package/dist/components/header.css +1 -1
  52. package/dist/components/header.min.css +1 -1
  53. package/dist/components/icon.css +1 -1
  54. package/dist/components/icon.min.css +1 -1
  55. package/dist/components/image.css +1 -1
  56. package/dist/components/image.min.css +1 -1
  57. package/dist/components/input.css +1 -1
  58. package/dist/components/input.min.css +1 -1
  59. package/dist/components/item.css +1 -1
  60. package/dist/components/item.min.css +1 -1
  61. package/dist/components/label.css +1 -1
  62. package/dist/components/label.min.css +1 -1
  63. package/dist/components/list.css +1 -1
  64. package/dist/components/list.min.css +1 -1
  65. package/dist/components/loader.css +1 -1
  66. package/dist/components/loader.min.css +1 -1
  67. package/dist/components/message.css +41 -41
  68. package/dist/components/message.min.css +2 -2
  69. package/dist/components/modal.css +1 -1
  70. package/dist/components/modal.js +1 -1
  71. package/dist/components/modal.min.css +1 -1
  72. package/dist/components/modal.min.js +1 -1
  73. package/dist/components/nag.css +1 -1
  74. package/dist/components/nag.js +1 -1
  75. package/dist/components/nag.min.css +1 -1
  76. package/dist/components/nag.min.js +1 -1
  77. package/dist/components/placeholder.css +1 -1
  78. package/dist/components/placeholder.min.css +1 -1
  79. package/dist/components/popup.css +1 -1
  80. package/dist/components/popup.js +1 -1
  81. package/dist/components/popup.min.css +1 -1
  82. package/dist/components/popup.min.js +1 -1
  83. package/dist/components/progress.css +1 -1
  84. package/dist/components/progress.js +1 -1
  85. package/dist/components/progress.min.css +1 -1
  86. package/dist/components/progress.min.js +1 -1
  87. package/dist/components/rail.css +1 -1
  88. package/dist/components/rail.min.css +1 -1
  89. package/dist/components/rating.css +1 -1
  90. package/dist/components/rating.js +1 -1
  91. package/dist/components/rating.min.css +1 -1
  92. package/dist/components/rating.min.js +1 -1
  93. package/dist/components/reset.css +1 -1
  94. package/dist/components/reset.min.css +1 -1
  95. package/dist/components/reveal.css +1 -1
  96. package/dist/components/reveal.min.css +1 -1
  97. package/dist/components/search.css +1 -1
  98. package/dist/components/search.js +1 -1
  99. package/dist/components/search.min.css +1 -1
  100. package/dist/components/search.min.js +1 -1
  101. package/dist/components/segment.css +1 -1
  102. package/dist/components/segment.min.css +1 -1
  103. package/dist/components/shape.css +1 -1
  104. package/dist/components/shape.js +1 -1
  105. package/dist/components/shape.min.css +1 -1
  106. package/dist/components/shape.min.js +1 -1
  107. package/dist/components/sidebar.css +4 -2
  108. package/dist/components/sidebar.js +1 -1
  109. package/dist/components/sidebar.min.css +2 -2
  110. package/dist/components/sidebar.min.js +1 -1
  111. package/dist/components/site.css +1 -1
  112. package/dist/components/site.js +1 -1
  113. package/dist/components/site.min.css +1 -1
  114. package/dist/components/site.min.js +1 -1
  115. package/dist/components/slider.js +1 -1
  116. package/dist/components/slider.min.js +1 -1
  117. package/dist/components/state.js +1 -1
  118. package/dist/components/state.min.js +1 -1
  119. package/dist/components/statistic.css +1 -1
  120. package/dist/components/statistic.min.css +1 -1
  121. package/dist/components/step.css +1 -1
  122. package/dist/components/step.min.css +1 -1
  123. package/dist/components/sticky.css +1 -1
  124. package/dist/components/sticky.js +1 -1
  125. package/dist/components/sticky.min.css +1 -1
  126. package/dist/components/sticky.min.js +1 -1
  127. package/dist/components/tab.css +1 -1
  128. package/dist/components/tab.js +1 -1
  129. package/dist/components/tab.min.css +1 -1
  130. package/dist/components/tab.min.js +1 -1
  131. package/dist/components/table.css +1 -1
  132. package/dist/components/table.min.css +1 -1
  133. package/dist/components/text.css +1 -1
  134. package/dist/components/text.min.css +1 -1
  135. package/dist/components/toast.css +1 -1
  136. package/dist/components/toast.js +1 -1
  137. package/dist/components/toast.min.css +1 -1
  138. package/dist/components/toast.min.js +1 -1
  139. package/dist/components/transition.css +1 -1
  140. package/dist/components/transition.js +1 -1
  141. package/dist/components/transition.min.css +1 -1
  142. package/dist/components/transition.min.js +1 -1
  143. package/dist/components/visibility.js +1 -1
  144. package/dist/components/visibility.min.js +1 -1
  145. package/dist/semantic.css +103 -100
  146. package/dist/semantic.js +25 -25
  147. package/dist/semantic.min.css +2 -2
  148. package/dist/semantic.min.js +1 -1
  149. package/package.json +1 -1
  150. package/src/definitions/collections/form.less +6 -6
  151. package/src/definitions/collections/grid.less +12 -11
  152. package/src/definitions/collections/menu.less +46 -42
  153. package/src/definitions/collections/message.less +40 -39
  154. package/src/definitions/collections/table.less +69 -68
  155. package/src/definitions/elements/button.less +235 -233
  156. package/src/definitions/elements/header.less +28 -27
  157. package/src/definitions/elements/icon.less +22 -21
  158. package/src/definitions/elements/input.less +6 -6
  159. package/src/definitions/elements/label.less +92 -91
  160. package/src/definitions/elements/loader.less +30 -29
  161. package/src/definitions/elements/segment.less +15 -14
  162. package/src/definitions/elements/text.less +17 -15
  163. package/src/definitions/modules/checkbox.less +33 -32
  164. package/src/definitions/modules/dropdown.less +3 -3
  165. package/src/definitions/modules/nag.less +20 -19
  166. package/src/definitions/modules/progress.less +19 -18
  167. package/src/definitions/modules/rating.less +35 -34
  168. package/src/definitions/modules/sidebar.less +3 -1
  169. package/src/definitions/modules/slider.less +39 -38
  170. package/src/definitions/modules/toast.less +17 -16
  171. package/src/definitions/views/card.less +29 -28
  172. package/src/definitions/views/statistic.less +19 -18
  173. package/src/themes/default/globals/variation.variables +30 -5
  174. package/tasks/build/css.js +6 -1
@@ -1447,191 +1447,178 @@
1447
1447
  Colors
1448
1448
  --------------------*/
1449
1449
 
1450
- each(@colors, {
1451
- @color: replace(@key, '@', '');
1452
- @c: @colors[@@color][color];
1453
- @h: @colors[@@color][hover];
1454
- @f: @colors[@@color][focus];
1455
- @d: @colors[@@color][down];
1456
- @a: @colors[@@color][active];
1457
- @t: @colors[@@color][text];
1458
- @s: @colors[@@color][shadow];
1459
- @l: @colors[@@color][light];
1460
- @lh: @colors[@@color][lightHover];
1461
- @lf: @colors[@@color][lightFocus];
1462
- @ld: @colors[@@color][lightDown];
1463
- @la: @colors[@@color][lightActive];
1464
- @lt: @colors[@@color][lightText];
1465
- @ls: @colors[@@color][lightShadow];
1466
- @ty: @colors[@@color][tertiary];
1467
- @tyh: @colors[@@color][tertiaryHover];
1468
- @tyf: @colors[@@color][tertiaryFocus];
1469
- @tya: @colors[@@color][tertiaryActive];
1470
- @isDark: @colors[@@color][isDark];
1471
- @isVeryDark: @colors[@@color][isVeryDark];
1472
-
1473
- .ui.@{color}.buttons .button,
1474
- .ui.@{color}.button {
1475
- background-color: @c;
1476
- color: @t;
1477
- text-shadow: @s;
1478
- background-image: @coloredBackgroundImage;
1479
- }
1480
- .ui.@{color}.button {
1481
- box-shadow: @coloredBoxShadow;
1482
- }
1483
- .ui.@{color}.buttons .button:hover,
1484
- .ui.@{color}.button:hover {
1485
- background-color: @h;
1486
- color: @t;
1487
- text-shadow: @s;
1488
- }
1489
- .ui.@{color}.buttons .button:focus,
1490
- .ui.@{color}.button:focus {
1491
- background-color: @f;
1492
- color: @t;
1493
- text-shadow: @s;
1494
- }
1495
- .ui.@{color}.buttons .button:active,
1496
- .ui.@{color}.button:active {
1497
- background-color: @d;
1498
- color: @t;
1499
- text-shadow: @s;
1500
- }
1501
- .ui.@{color}.buttons .active.button,
1502
- .ui.@{color}.buttons .active.button:active,
1503
- .ui.@{color}.active.button,
1504
- .ui.@{color}.button .active.button:active {
1505
- background-color: @a;
1506
- color: @t;
1507
- text-shadow: @s;
1508
- }
1509
-
1510
- & when (@variationButtonBasic) {
1511
- /* Basic */
1512
- .ui.basic.@{color}.buttons .button,
1513
- .ui.basic.@{color}.button {
1514
- background: transparent;
1515
- box-shadow: 0 0 0 @basicBorderSize @c inset ;
1516
- color: @c ;
1517
- }
1518
- .ui.basic.@{color}.buttons .button:hover,
1519
- .ui.basic.@{color}.button:hover {
1520
- background: transparent ;
1521
- box-shadow: 0 0 0 @basicColoredBorderSize @h inset ;
1522
- color: @h ;
1523
- }
1524
- .ui.basic.@{color}.buttons .button:focus,
1525
- .ui.basic.@{color}.button:focus {
1526
- background: transparent ;
1527
- box-shadow: 0 0 0 @basicColoredBorderSize @f inset ;
1528
- color: @h ;
1529
- }
1530
- .ui.basic.@{color}.buttons .active.button,
1531
- .ui.basic.@{color}.active.button {
1532
- background: transparent ;
1533
- box-shadow: 0 0 0 @basicColoredBorderSize @a inset ;
1534
- color: @d ;
1535
- }
1536
- .ui.basic.@{color}.buttons .button:active,
1537
- .ui.basic.@{color}.button:active {
1538
- box-shadow: 0 0 0 @basicColoredBorderSize @d inset ;
1539
- color: @d ;
1450
+ & when not (@variationButtonColors = false) {
1451
+ each(@variationButtonColors, {
1452
+ @color: @value;
1453
+ @c: @colors[@@color][color];
1454
+ @h: @colors[@@color][hover];
1455
+ @f: @colors[@@color][focus];
1456
+ @d: @colors[@@color][down];
1457
+ @a: @colors[@@color][active];
1458
+ @t: @colors[@@color][text];
1459
+ @s: @colors[@@color][shadow];
1460
+ @l: @colors[@@color][light];
1461
+ @lh: @colors[@@color][lightHover];
1462
+ @lf: @colors[@@color][lightFocus];
1463
+ @ld: @colors[@@color][lightDown];
1464
+ @la: @colors[@@color][lightActive];
1465
+ @lt: @colors[@@color][lightText];
1466
+ @ls: @colors[@@color][lightShadow];
1467
+ @ty: @colors[@@color][tertiary];
1468
+ @tyh: @colors[@@color][tertiaryHover];
1469
+ @tyf: @colors[@@color][tertiaryFocus];
1470
+ @tya: @colors[@@color][tertiaryActive];
1471
+ @isDark: @colors[@@color][isDark];
1472
+ @isVeryDark: @colors[@@color][isVeryDark];
1473
+
1474
+ .ui.@{color}.buttons .button,
1475
+ .ui.@{color}.button {
1476
+ background-color: @c;
1477
+ color: @t;
1478
+ text-shadow: @s;
1479
+ background-image: @coloredBackgroundImage;
1480
+ }
1481
+ .ui.@{color}.button {
1482
+ box-shadow: @coloredBoxShadow;
1483
+ }
1484
+ .ui.@{color}.buttons .button:hover,
1485
+ .ui.@{color}.button:hover {
1486
+ background-color: @h;
1487
+ color: @t;
1488
+ text-shadow: @s;
1489
+ }
1490
+ .ui.@{color}.buttons .button:focus,
1491
+ .ui.@{color}.button:focus {
1492
+ background-color: @f;
1493
+ color: @t;
1494
+ text-shadow: @s;
1495
+ }
1496
+ .ui.@{color}.buttons .button:active,
1497
+ .ui.@{color}.button:active {
1498
+ background-color: @d;
1499
+ color: @t;
1500
+ text-shadow: @s;
1501
+ }
1502
+ .ui.@{color}.buttons .active.button,
1503
+ .ui.@{color}.buttons .active.button:active,
1504
+ .ui.@{color}.active.button,
1505
+ .ui.@{color}.button .active.button:active {
1506
+ background-color: @a;
1507
+ color: @t;
1508
+ text-shadow: @s;
1540
1509
  }
1541
1510
 
1542
- .ui.buttons:not(.vertical) > .basic.@{color}.button:not(:first-child) {
1543
- margin-left: -@basicColoredBorderSize;
1544
- }
1545
- }
1546
- & when (@variationButtonInverted) {
1547
- /* Inverted */
1548
- .ui.inverted.@{color}.buttons .button,
1549
- .ui.inverted.@{color}.button {
1550
- background-color: transparent;
1551
-
1552
- & when (@isDark) {
1553
- box-shadow: 0 0 0 @invertedBorderSize @solidBorderColor inset ;
1554
- color: @invertedTextColor;
1511
+ & when (@variationButtonBasic) {
1512
+ /* Basic */
1513
+ .ui.basic.@{color}.buttons .button,
1514
+ .ui.basic.@{color}.button {
1515
+ background: transparent;
1516
+ box-shadow: 0 0 0 @basicBorderSize @c inset;
1517
+ color: @c;
1518
+ }
1519
+ .ui.basic.@{color}.buttons .button:hover,
1520
+ .ui.basic.@{color}.button:hover {
1521
+ background: transparent;
1522
+ box-shadow: 0 0 0 @basicColoredBorderSize @h inset;
1523
+ color: @h;
1524
+ }
1525
+ .ui.basic.@{color}.buttons .button:focus,
1526
+ .ui.basic.@{color}.button:focus {
1527
+ background: transparent;
1528
+ box-shadow: 0 0 0 @basicColoredBorderSize @f inset;
1529
+ color: @h;
1530
+ }
1531
+ .ui.basic.@{color}.buttons .active.button,
1532
+ .ui.basic.@{color}.active.button {
1533
+ background: transparent;
1534
+ box-shadow: 0 0 0 @basicColoredBorderSize @a inset;
1535
+ color: @d;
1536
+ }
1537
+ .ui.basic.@{color}.buttons .button:active,
1538
+ .ui.basic.@{color}.button:active {
1539
+ box-shadow: 0 0 0 @basicColoredBorderSize @d inset;
1540
+ color: @d;
1555
1541
  }
1556
1542
 
1557
- & when not (@isDark) {
1558
- box-shadow: 0 0 0 @invertedBorderSize @l inset ;
1559
- color: @l;
1543
+ .ui.buttons:not(.vertical) > .basic.@{color}.button:not(:first-child) {
1544
+ margin-left: -@basicColoredBorderSize;
1560
1545
  }
1561
1546
  }
1562
- .ui.inverted.@{color}.buttons .button:hover,
1563
- .ui.inverted.@{color}.button:hover,
1564
- .ui.inverted.@{color}.buttons .button:focus,
1565
- .ui.inverted.@{color}.button:focus,
1566
- .ui.inverted.@{color}.buttons .button.active,
1567
- .ui.inverted.@{color}.button.active,
1568
- .ui.inverted.@{color}.buttons .button:active,
1569
- .ui.inverted.@{color}.button:active {
1570
- box-shadow: none ;
1571
- color: @lt;
1572
- }
1573
- .ui.inverted.@{color}.buttons .button:hover,
1574
- .ui.inverted.@{color}.button:hover {
1575
- background-color: @lh;
1576
- }
1577
- .ui.inverted.@{color}.buttons .button:focus,
1578
- .ui.inverted.@{color}.button:focus {
1579
- background-color: @lf;
1580
- }
1581
- .ui.inverted.@{color}.buttons .active.button,
1582
- .ui.inverted.@{color}.active.button {
1583
- background-color: @la;
1584
- }
1585
- .ui.inverted.@{color}.buttons .button:active,
1586
- .ui.inverted.@{color}.button:active {
1587
- background-color: @ld;
1588
- }
1547
+ & when (@variationButtonInverted) {
1548
+ /* Inverted */
1549
+ .ui.inverted.@{color}.buttons .button,
1550
+ .ui.inverted.@{color}.button {
1551
+ background-color: transparent;
1589
1552
 
1590
- /* Inverted Basic */
1591
- .ui.inverted.@{color}.basic.buttons .button,
1592
- .ui.inverted.@{color}.buttons .basic.button,
1593
- .ui.inverted.@{color}.basic.button {
1594
- background-color: transparent;
1595
- box-shadow: @basicInvertedBoxShadow ;
1596
- color: @white ;
1597
- }
1598
- .ui.inverted.@{color}.basic.buttons .button:hover,
1599
- .ui.inverted.@{color}.buttons .basic.button:hover,
1600
- .ui.inverted.@{color}.basic.button:hover {
1601
- box-shadow: 0 0 0 @invertedBorderSize @lh inset ;
1553
+ & when (@isDark) {
1554
+ box-shadow: 0 0 0 @invertedBorderSize @solidBorderColor inset;
1555
+ color: @invertedTextColor;
1556
+ }
1602
1557
 
1603
- & when (@isDark) {
1604
- color: @white ;
1558
+ & when not (@isDark) {
1559
+ box-shadow: 0 0 0 @invertedBorderSize @l inset;
1560
+ color: @l;
1561
+ }
1605
1562
  }
1606
-
1607
- & when not (@isDark) {
1608
- color: @l ;
1563
+ .ui.inverted.@{color}.buttons .button:hover,
1564
+ .ui.inverted.@{color}.button:hover,
1565
+ .ui.inverted.@{color}.buttons .button:focus,
1566
+ .ui.inverted.@{color}.button:focus,
1567
+ .ui.inverted.@{color}.buttons .button.active,
1568
+ .ui.inverted.@{color}.button.active,
1569
+ .ui.inverted.@{color}.buttons .button:active,
1570
+ .ui.inverted.@{color}.button:active {
1571
+ box-shadow: none;
1572
+ color: @lt;
1573
+ }
1574
+ .ui.inverted.@{color}.buttons .button:hover,
1575
+ .ui.inverted.@{color}.button:hover {
1576
+ background-color: @lh;
1577
+ }
1578
+ .ui.inverted.@{color}.buttons .button:focus,
1579
+ .ui.inverted.@{color}.button:focus {
1580
+ background-color: @lf;
1581
+ }
1582
+ .ui.inverted.@{color}.buttons .active.button,
1583
+ .ui.inverted.@{color}.active.button {
1584
+ background-color: @la;
1585
+ }
1586
+ .ui.inverted.@{color}.buttons .button:active,
1587
+ .ui.inverted.@{color}.button:active {
1588
+ background-color: @ld;
1609
1589
  }
1610
- }
1611
- .ui.inverted.@{color}.basic.buttons .button:focus,
1612
- .ui.inverted.@{color}.basic.buttons .button:focus,
1613
- .ui.inverted.@{color}.basic.button:focus {
1614
- box-shadow: 0 0 0 @invertedBorderSize @lf inset ;
1615
- color: @l ;
1616
- }
1617
- .ui.inverted.@{color}.basic.buttons .active.button,
1618
- .ui.inverted.@{color}.buttons .basic.active.button,
1619
- .ui.inverted.@{color}.basic.active.button {
1620
- box-shadow: 0 0 0 @invertedBorderSize @la inset ;
1621
1590
 
1622
- & when (@isDark) {
1623
- color: @white ;
1591
+ /* Inverted Basic */
1592
+ .ui.inverted.@{color}.basic.buttons .button,
1593
+ .ui.inverted.@{color}.buttons .basic.button,
1594
+ .ui.inverted.@{color}.basic.button {
1595
+ background-color: transparent;
1596
+ box-shadow: @basicInvertedBoxShadow;
1597
+ color: @white;
1624
1598
  }
1599
+ .ui.inverted.@{color}.basic.buttons .button:hover,
1600
+ .ui.inverted.@{color}.buttons .basic.button:hover,
1601
+ .ui.inverted.@{color}.basic.button:hover {
1602
+ box-shadow: 0 0 0 @invertedBorderSize @lh inset;
1603
+
1604
+ & when (@isDark) {
1605
+ color: @white;
1606
+ }
1625
1607
 
1626
- & when not (@isDark) {
1627
- color: @l ;
1608
+ & when not (@isDark) {
1609
+ color: @l;
1610
+ }
1628
1611
  }
1629
- }
1630
- & when (@variationButtonBasic) {
1631
- .ui.inverted.@{color}.basic.buttons .button:active,
1632
- .ui.inverted.@{color}.buttons .basic.button:active,
1633
- .ui.inverted.@{color}.basic.button:active {
1634
- box-shadow: 0 0 0 @invertedBorderSize @ld inset;
1612
+ .ui.inverted.@{color}.basic.buttons .button:focus,
1613
+ .ui.inverted.@{color}.basic.buttons .button:focus,
1614
+ .ui.inverted.@{color}.basic.button:focus {
1615
+ box-shadow: 0 0 0 @invertedBorderSize @lf inset;
1616
+ color: @l;
1617
+ }
1618
+ .ui.inverted.@{color}.basic.buttons .active.button,
1619
+ .ui.inverted.@{color}.buttons .basic.active.button,
1620
+ .ui.inverted.@{color}.basic.active.button {
1621
+ box-shadow: 0 0 0 @invertedBorderSize @la inset;
1635
1622
 
1636
1623
  & when (@isDark) {
1637
1624
  color: @white;
@@ -1641,104 +1628,119 @@ each(@colors, {
1641
1628
  color: @l;
1642
1629
  }
1643
1630
  }
1631
+ & when (@variationButtonBasic) {
1632
+ .ui.inverted.@{color}.basic.buttons .button:active,
1633
+ .ui.inverted.@{color}.buttons .basic.button:active,
1634
+ .ui.inverted.@{color}.basic.button:active {
1635
+ box-shadow: 0 0 0 @invertedBorderSize @ld inset;
1636
+
1637
+ & when (@isDark) {
1638
+ color: @white;
1639
+ }
1640
+
1641
+ & when not (@isDark) {
1642
+ color: @l;
1643
+ }
1644
+ }
1645
+ }
1644
1646
  }
1645
- }
1646
1647
 
1647
- & when (@variationButtonTertiary) {
1648
- /* Tertiary */
1648
+ & when (@variationButtonTertiary) {
1649
+ /* Tertiary */
1649
1650
 
1650
- .ui.tertiary.@{color}.buttons .button,
1651
- .ui.tertiary.@{color}.buttons .tertiary.button,
1652
- .ui.tertiary.@{color}.button {
1653
- background: transparent;
1651
+ .ui.tertiary.@{color}.buttons .button,
1652
+ .ui.tertiary.@{color}.buttons .tertiary.button,
1653
+ .ui.tertiary.@{color}.button {
1654
+ background: transparent;
1654
1655
 
1655
1656
 
1656
1657
 
1657
- & when (@tertiaryWithUnderline = true) {
1658
- box-shadow: inset 0 -@tertiaryLineHeight 0 @ty;
1659
- }
1658
+ & when (@tertiaryWithUnderline = true) {
1659
+ box-shadow: inset 0 -@tertiaryLineHeight 0 @ty;
1660
+ }
1660
1661
 
1661
- & when (@tertiaryWithOverline = true) {
1662
- box-shadow: inset 0 @tertiaryLineHeight 0 @ty;
1663
- }
1662
+ & when (@tertiaryWithOverline = true) {
1663
+ box-shadow: inset 0 @tertiaryLineHeight 0 @ty;
1664
+ }
1664
1665
 
1665
- & when (@tertiaryWithUnderline = false) and (@tertiaryWithOverline = false){
1666
- box-shadow: none;
1667
- }
1666
+ & when (@tertiaryWithUnderline = false) and (@tertiaryWithOverline = false){
1667
+ box-shadow: none;
1668
+ }
1668
1669
 
1669
- color: @c;
1670
- }
1670
+ color: @c;
1671
+ }
1671
1672
 
1672
- .ui.tertiary.@{color}.buttons .button:hover,
1673
- .ui.tertiary.@{color}.buttons button:hover,
1674
- .ui.tertiary.@{color}.button:hover {
1673
+ .ui.tertiary.@{color}.buttons .button:hover,
1674
+ .ui.tertiary.@{color}.buttons button:hover,
1675
+ .ui.tertiary.@{color}.button:hover {
1675
1676
 
1676
1677
 
1677
1678
 
1678
- & when (@tertiaryHoverWithUnderline = true) {
1679
- box-shadow: inset 0 -@tertiaryLineHeight 0 @tyh;
1680
- }
1679
+ & when (@tertiaryHoverWithUnderline = true) {
1680
+ box-shadow: inset 0 -@tertiaryLineHeight 0 @tyh;
1681
+ }
1681
1682
 
1682
- & when (@tertiaryHoverWithOverline = true) {
1683
- box-shadow: inset 0 @tertiaryLineHeight 0 @tyh;
1684
- }
1683
+ & when (@tertiaryHoverWithOverline = true) {
1684
+ box-shadow: inset 0 @tertiaryLineHeight 0 @tyh;
1685
+ }
1685
1686
 
1686
- & when (@tertiaryHoverWithUnderline = false) and (@tertiaryHoverWithOverline = false) {
1687
- box-shadow: none;
1688
- }
1687
+ & when (@tertiaryHoverWithUnderline = false) and (@tertiaryHoverWithOverline = false) {
1688
+ box-shadow: none;
1689
+ }
1689
1690
 
1690
1691
 
1691
1692
  color: @tyh;
1692
- }
1693
+ }
1693
1694
 
1694
- .ui.tertiary.@{color}.buttons .button:focus,
1695
- .ui.tertiary.@{color}.buttons .tertiary.button:focus,
1696
- .ui.tertiary.@{color}.button:focus {
1695
+ .ui.tertiary.@{color}.buttons .button:focus,
1696
+ .ui.tertiary.@{color}.buttons .tertiary.button:focus,
1697
+ .ui.tertiary.@{color}.button:focus {
1697
1698
 
1698
1699
 
1699
1700
 
1700
1701
 
1701
- & when (@tertiaryFocusWithUnderline = true) {
1702
- box-shadow: inset 0 -@tertiaryLineHeight 0 @tyf;
1703
- }
1702
+ & when (@tertiaryFocusWithUnderline = true) {
1703
+ box-shadow: inset 0 -@tertiaryLineHeight 0 @tyf;
1704
+ }
1704
1705
 
1705
- & when (@tertiaryFocusWithOverline = true) {
1706
- box-shadow: inset 0 @tertiaryLineHeight 0 @tyf;
1707
- }
1706
+ & when (@tertiaryFocusWithOverline = true) {
1707
+ box-shadow: inset 0 @tertiaryLineHeight 0 @tyf;
1708
+ }
1708
1709
 
1709
- & when (@tertiaryFocusWithUnderline = false) and (@tertiaryFocusWithOverline = false) {
1710
- box-shadow: none;
1711
- }
1710
+ & when (@tertiaryFocusWithUnderline = false) and (@tertiaryFocusWithOverline = false) {
1711
+ box-shadow: none;
1712
+ }
1712
1713
 
1713
1714
 
1714
1715
  color: @tyf;
1715
- }
1716
+ }
1716
1717
 
1717
- .ui.tertiary.@{color}.buttons .active.button,
1718
- .ui.tertiary.@{color}.buttons .tertiary.active.button,
1719
- .ui.tertiary.@{color}.active.button,
1720
- .ui.tertiary.@{color}.buttons .button:active,
1721
- .ui.tertiary.@{color}.buttons .tertiary.button:active,
1722
- .ui.tertiary.@{color}.button:active {
1718
+ .ui.tertiary.@{color}.buttons .active.button,
1719
+ .ui.tertiary.@{color}.buttons .tertiary.active.button,
1720
+ .ui.tertiary.@{color}.active.button,
1721
+ .ui.tertiary.@{color}.buttons .button:active,
1722
+ .ui.tertiary.@{color}.buttons .tertiary.button:active,
1723
+ .ui.tertiary.@{color}.button:active {
1723
1724
 
1724
1725
 
1725
1726
 
1726
- & when (@tertiaryActiveWithUnderline = true) {
1727
- box-shadow: inset 0 -@tertiaryLineHeight 0 @tya;
1728
- }
1727
+ & when (@tertiaryActiveWithUnderline = true) {
1728
+ box-shadow: inset 0 -@tertiaryLineHeight 0 @tya;
1729
+ }
1729
1730
 
1730
- & when (@tertiaryActiveWithOverline = true) {
1731
- box-shadow: inset 0 @tertiaryLineHeight 0 @tya;
1732
- }
1731
+ & when (@tertiaryActiveWithOverline = true) {
1732
+ box-shadow: inset 0 @tertiaryLineHeight 0 @tya;
1733
+ }
1733
1734
 
1734
- & when (@tertiaryActiveWithUnderline = false) and (@tertiaryActiveWithOverline = false) {
1735
- box-shadow: none;
1736
- }
1735
+ & when (@tertiaryActiveWithUnderline = false) and (@tertiaryActiveWithOverline = false) {
1736
+ box-shadow: none;
1737
+ }
1737
1738
 
1738
- color: @a;
1739
+ color: @a;
1740
+ }
1739
1741
  }
1740
- }
1741
- })
1742
+ })
1743
+ }
1742
1744
 
1743
1745
  .addConsequence(@consequence) {
1744
1746
 
@@ -308,37 +308,38 @@
308
308
  /*-------------------
309
309
  Colors
310
310
  --------------------*/
311
-
312
- each(@colors, {
313
- @color: replace(@key, '@', '');
314
- @c: @colors[@@color][color];
315
- @l: @colors[@@color][light];
316
- @h: @colors[@@color][hover];
317
- @lh: @colors[@@color][lightHover];
318
-
319
- .ui.@{color}.header {
320
- color: @c;
321
- }
322
- a.ui.@{color}.header:hover {
323
- color: @h;
324
- }
325
- & when (@variationHeaderDividing) {
326
- .ui.@{color}.dividing.header {
327
- border-bottom: @dividedColoredBorderWidth solid @c;
311
+ & when not (@variationHeaderColors = false) {
312
+ each(@variationHeaderColors, {
313
+ @color: @value;
314
+ @c: @colors[@@color][color];
315
+ @l: @colors[@@color][light];
316
+ @h: @colors[@@color][hover];
317
+ @lh: @colors[@@color][lightHover];
318
+
319
+ .ui.@{color}.header {
320
+ color: @c;
328
321
  }
329
- }
330
- & when (@variationHeaderInverted) {
331
- .ui.inverted.@{color}.header.header.header {
332
- color: @l;
322
+ a.ui.@{color}.header:hover {
323
+ color: @h;
333
324
  }
334
- a.ui.inverted.@{color}.header.header.header:hover {
335
- color: @lh;
325
+ & when (@variationHeaderDividing) {
326
+ .ui.@{color}.dividing.header {
327
+ border-bottom: @dividedColoredBorderWidth solid @c;
328
+ }
336
329
  }
337
- .ui.inverted.@{color}.dividing.header {
338
- border-bottom: @dividedColoredBorderWidth solid @l;
330
+ & when (@variationHeaderInverted) {
331
+ .ui.inverted.@{color}.header.header.header {
332
+ color: @l;
333
+ }
334
+ a.ui.inverted.@{color}.header.header.header:hover {
335
+ color: @lh;
336
+ }
337
+ .ui.inverted.@{color}.dividing.header {
338
+ border-bottom: @dividedColoredBorderWidth solid @l;
339
+ }
339
340
  }
340
- }
341
- })
341
+ })
342
+ }
342
343
 
343
344
  & when (@variationHeaderAligned) {
344
345
  /*-------------------
@@ -321,30 +321,31 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
321
321
  /*-------------------
322
322
  Colors
323
323
  --------------------*/
324
-
325
- each(@colors, {
326
- @color: replace(@key, '@', '');
327
- @c: @colors[@@color][color];
328
- @l: @colors[@@color][light];
329
-
330
- i.@{color}.icon.icon.icon.icon.icon {
331
- color: @c;
332
- }
333
- & when (@variationIconInverted) {
334
- i.inverted.@{color}.icon.icon.icon.icon.icon {
335
- color: @l;
324
+ & when not (@variationIconColors = false) {
325
+ each(@variationIconColors, {
326
+ @color: @value;
327
+ @c: @colors[@@color][color];
328
+ @l: @colors[@@color][light];
329
+
330
+ i.@{color}.icon.icon.icon.icon.icon {
331
+ color: @c;
336
332
  }
337
- & when (@variationIconBordered) or (@variationIconCircular) {
338
- i.inverted.bordered.@{color}.icon.icon.icon.icon.icon,
339
- i.inverted.circular.@{color}.icon.icon.icon.icon.icon,
340
- i.inverted.bordered.@{color}.icons,
341
- i.inverted.circular.@{color}.icons {
342
- background-color: @c;
343
- color: @white;
333
+ & when (@variationIconInverted) {
334
+ i.inverted.@{color}.icon.icon.icon.icon.icon {
335
+ color: @l;
336
+ }
337
+ & when (@variationIconBordered) or (@variationIconCircular) {
338
+ i.inverted.bordered.@{color}.icon.icon.icon.icon.icon,
339
+ i.inverted.circular.@{color}.icon.icon.icon.icon.icon,
340
+ i.inverted.bordered.@{color}.icons,
341
+ i.inverted.circular.@{color}.icons {
342
+ background-color: @c;
343
+ color: @white;
344
+ }
344
345
  }
345
346
  }
346
- }
347
- })
347
+ })
348
+ }
348
349
 
349
350
 
350
351
  /*-------------------