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.
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +76 -76
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/message.css +41 -41
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +4 -2
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +103 -100
- package/dist/semantic.js +25 -25
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +1 -1
- package/package.json +1 -1
- package/src/definitions/collections/form.less +6 -6
- package/src/definitions/collections/grid.less +12 -11
- package/src/definitions/collections/menu.less +46 -42
- package/src/definitions/collections/message.less +40 -39
- package/src/definitions/collections/table.less +69 -68
- package/src/definitions/elements/button.less +235 -233
- package/src/definitions/elements/header.less +28 -27
- package/src/definitions/elements/icon.less +22 -21
- package/src/definitions/elements/input.less +6 -6
- package/src/definitions/elements/label.less +92 -91
- package/src/definitions/elements/loader.less +30 -29
- package/src/definitions/elements/segment.less +15 -14
- package/src/definitions/elements/text.less +17 -15
- package/src/definitions/modules/checkbox.less +33 -32
- package/src/definitions/modules/dropdown.less +3 -3
- package/src/definitions/modules/nag.less +20 -19
- package/src/definitions/modules/progress.less +19 -18
- package/src/definitions/modules/rating.less +35 -34
- package/src/definitions/modules/sidebar.less +3 -1
- package/src/definitions/modules/slider.less +39 -38
- package/src/definitions/modules/toast.less +17 -16
- package/src/definitions/views/card.less +29 -28
- package/src/definitions/views/statistic.less +19 -18
- package/src/themes/default/globals/variation.variables +30 -5
- package/tasks/build/css.js +6 -1
@@ -1447,191 +1447,178 @@
|
|
1447
1447
|
Colors
|
1448
1448
|
--------------------*/
|
1449
1449
|
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
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
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
box-shadow: 0 0 0 @
|
1554
|
-
color: @
|
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
|
-
|
1558
|
-
|
1559
|
-
color: @l;
|
1543
|
+
.ui.buttons:not(.vertical) > .basic.@{color}.button:not(:first-child) {
|
1544
|
+
margin-left: -@basicColoredBorderSize;
|
1560
1545
|
}
|
1561
1546
|
}
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
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
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
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
|
-
|
1604
|
-
|
1558
|
+
& when not (@isDark) {
|
1559
|
+
box-shadow: 0 0 0 @invertedBorderSize @l inset;
|
1560
|
+
color: @l;
|
1561
|
+
}
|
1605
1562
|
}
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
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
|
-
|
1623
|
-
|
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
|
-
|
1627
|
-
|
1608
|
+
& when not (@isDark) {
|
1609
|
+
color: @l;
|
1610
|
+
}
|
1628
1611
|
}
|
1629
|
-
|
1630
|
-
|
1631
|
-
.ui.inverted.@{color}.basic.
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
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
|
-
|
1648
|
-
|
1648
|
+
& when (@variationButtonTertiary) {
|
1649
|
+
/* Tertiary */
|
1649
1650
|
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
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
|
-
|
1658
|
-
|
1659
|
-
|
1658
|
+
& when (@tertiaryWithUnderline = true) {
|
1659
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @ty;
|
1660
|
+
}
|
1660
1661
|
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1662
|
+
& when (@tertiaryWithOverline = true) {
|
1663
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @ty;
|
1664
|
+
}
|
1664
1665
|
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1666
|
+
& when (@tertiaryWithUnderline = false) and (@tertiaryWithOverline = false){
|
1667
|
+
box-shadow: none;
|
1668
|
+
}
|
1668
1669
|
|
1669
|
-
|
1670
|
-
|
1670
|
+
color: @c;
|
1671
|
+
}
|
1671
1672
|
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
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
|
-
|
1679
|
-
|
1680
|
-
|
1679
|
+
& when (@tertiaryHoverWithUnderline = true) {
|
1680
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tyh;
|
1681
|
+
}
|
1681
1682
|
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1683
|
+
& when (@tertiaryHoverWithOverline = true) {
|
1684
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tyh;
|
1685
|
+
}
|
1685
1686
|
|
1686
|
-
|
1687
|
-
|
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
|
-
|
1695
|
-
|
1696
|
-
|
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
|
-
|
1702
|
-
|
1703
|
-
|
1702
|
+
& when (@tertiaryFocusWithUnderline = true) {
|
1703
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tyf;
|
1704
|
+
}
|
1704
1705
|
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1706
|
+
& when (@tertiaryFocusWithOverline = true) {
|
1707
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tyf;
|
1708
|
+
}
|
1708
1709
|
|
1709
|
-
|
1710
|
-
|
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
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
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
|
-
|
1727
|
-
|
1728
|
-
|
1727
|
+
& when (@tertiaryActiveWithUnderline = true) {
|
1728
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tya;
|
1729
|
+
}
|
1729
1730
|
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1731
|
+
& when (@tertiaryActiveWithOverline = true) {
|
1732
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tya;
|
1733
|
+
}
|
1733
1734
|
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1735
|
+
& when (@tertiaryActiveWithUnderline = false) and (@tertiaryActiveWithOverline = false) {
|
1736
|
+
box-shadow: none;
|
1737
|
+
}
|
1737
1738
|
|
1738
|
-
|
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(@
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
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
|
-
|
331
|
-
.ui.inverted.@{color}.header.header.header {
|
332
|
-
color: @l;
|
322
|
+
a.ui.@{color}.header:hover {
|
323
|
+
color: @h;
|
333
324
|
}
|
334
|
-
|
335
|
-
color
|
325
|
+
& when (@variationHeaderDividing) {
|
326
|
+
.ui.@{color}.dividing.header {
|
327
|
+
border-bottom: @dividedColoredBorderWidth solid @c;
|
328
|
+
}
|
336
329
|
}
|
337
|
-
|
338
|
-
|
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(@
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
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 (@
|
338
|
-
i.inverted
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
color
|
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
|
/*-------------------
|