@guardian/interactive-component-library 0.1.0-alpha.11 → 0.1.0-alpha.13
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/style.css
CHANGED
|
@@ -957,7 +957,8 @@
|
|
|
957
957
|
--undeclared: #848484;
|
|
958
958
|
}
|
|
959
959
|
@media (prefers-color-scheme: dark) {
|
|
960
|
-
body
|
|
960
|
+
body.ios,
|
|
961
|
+
body.android {
|
|
961
962
|
--border-divider-color: #606060;
|
|
962
963
|
--primary-text-color: #DCDCDC;
|
|
963
964
|
--secondary-text-color: #C8C8C8;
|
|
@@ -1065,17 +1066,22 @@
|
|
|
1065
1066
|
._backgroundRect_wmb0k_11 {
|
|
1066
1067
|
fill: var(--news-grey-05);
|
|
1067
1068
|
}
|
|
1068
|
-
|
|
1069
|
+
#gv-gradient-defs {
|
|
1070
|
+
visibility: hidden;
|
|
1071
|
+
height: 0;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
._svg_1cajk_6 {
|
|
1069
1075
|
display: 'inline-block';
|
|
1070
1076
|
transform: 'translateY(-1px)';
|
|
1071
1077
|
fill: none;
|
|
1072
1078
|
}
|
|
1073
1079
|
|
|
1074
|
-
.
|
|
1080
|
+
._previous_1cajk_12 {
|
|
1075
1081
|
stop-color: var(--con);
|
|
1076
1082
|
}
|
|
1077
1083
|
|
|
1078
|
-
.
|
|
1084
|
+
._next_1cajk_16 {
|
|
1079
1085
|
stop-color: var(--lab);
|
|
1080
1086
|
}
|
|
1081
1087
|
._button_kpmyt_1 {
|
|
@@ -1101,14 +1107,30 @@
|
|
|
1101
1107
|
._svg_kpmyt_14 > path {
|
|
1102
1108
|
fill: var(--primary-text-color);
|
|
1103
1109
|
}
|
|
1104
|
-
.
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1110
|
+
._svg_1v49v_1 {
|
|
1111
|
+
display: inline-block;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
._circle_1v49v_5 {
|
|
1115
|
+
fill: var(--secondary-text-color);
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
._pulse_1v49v_9 {
|
|
1119
|
+
animation: 1.5s linear 0s _pulse_1v49v_9 infinite;
|
|
1108
1120
|
}
|
|
1109
1121
|
|
|
1110
|
-
|
|
1111
|
-
|
|
1122
|
+
@keyframes _pulse_1v49v_9 {
|
|
1123
|
+
0% {
|
|
1124
|
+
opacity: 0;
|
|
1125
|
+
}
|
|
1126
|
+
50% {
|
|
1127
|
+
opacity: 1;
|
|
1128
|
+
}
|
|
1129
|
+
100% {
|
|
1130
|
+
opacity: 0;
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
._text_1okyv_1 {
|
|
1112
1134
|
font-family: var(--text-sans);
|
|
1113
1135
|
font-size: var(--sans-xsmall);
|
|
1114
1136
|
line-height: var(--sans-line-height);
|
|
@@ -1501,23 +1523,43 @@ body.android {
|
|
|
1501
1523
|
--top-inset: 58px;
|
|
1502
1524
|
}
|
|
1503
1525
|
|
|
1504
|
-
.
|
|
1526
|
+
._toplineResult_w8o28_9 {
|
|
1505
1527
|
width: fit-content;
|
|
1506
1528
|
}
|
|
1507
|
-
.
|
|
1529
|
+
._toplineResult_w8o28_9 ._primaryname_w8o28_12 {
|
|
1530
|
+
color: var(--primary-text-color);
|
|
1531
|
+
font-family: var(--text-headline);
|
|
1532
|
+
font-size: var(--headline-xxxsmall);
|
|
1533
|
+
font-weight: 500;
|
|
1534
|
+
font-style: italic;
|
|
1535
|
+
}
|
|
1536
|
+
._toplineResult_w8o28_9 ._primaryname_w8o28_12:before {
|
|
1537
|
+
content: "";
|
|
1538
|
+
height: 4px;
|
|
1539
|
+
width: 2.2em;
|
|
1540
|
+
border-radius: 50px;
|
|
1541
|
+
display: block;
|
|
1542
|
+
}
|
|
1543
|
+
._toplineResult_w8o28_9 ._secondaryname_w8o28_26 {
|
|
1544
|
+
color: var(--primary-text-color);
|
|
1545
|
+
font-family: var(--text-headline);
|
|
1546
|
+
font-size: var(--headline-xxxsmall);
|
|
1547
|
+
font-weight: 500;
|
|
1548
|
+
}
|
|
1549
|
+
._toplineResult_w8o28_9 ._name_w8o28_32 {
|
|
1508
1550
|
color: var(--primary-text-color);
|
|
1509
1551
|
font-family: var(--text-headline);
|
|
1510
1552
|
font-size: var(--headline-xxxsmall);
|
|
1511
1553
|
font-weight: 500;
|
|
1512
1554
|
}
|
|
1513
|
-
.
|
|
1555
|
+
._toplineResult_w8o28_9 ._name_w8o28_32:before {
|
|
1514
1556
|
content: "";
|
|
1515
1557
|
height: 4px;
|
|
1516
1558
|
width: 2.2em;
|
|
1517
1559
|
border-radius: 50px;
|
|
1518
1560
|
display: block;
|
|
1519
1561
|
}
|
|
1520
|
-
.
|
|
1562
|
+
._toplineResult_w8o28_9 ._displayNumbers_w8o28_45 {
|
|
1521
1563
|
display: flex;
|
|
1522
1564
|
align-items: baseline;
|
|
1523
1565
|
font-family: var(--text-titlepiece);
|
|
@@ -1526,28 +1568,28 @@ body.android {
|
|
|
1526
1568
|
-webkit-font-feature-settings: "lnum";
|
|
1527
1569
|
font-feature-settings: "lnum";
|
|
1528
1570
|
}
|
|
1529
|
-
.
|
|
1571
|
+
._toplineResult_w8o28_9 ._displayNumbers_w8o28_45 ._mainNumber_w8o28_54 {
|
|
1530
1572
|
color: var(--primary-text-color);
|
|
1531
1573
|
font-size: var(--titlepiece-xsmall);
|
|
1532
1574
|
}
|
|
1533
|
-
.
|
|
1575
|
+
._toplineResult_w8o28_9 ._displayNumbers_w8o28_45 ._secondaryNumber_w8o28_58 {
|
|
1534
1576
|
color: var(--secondary-text-color-alt);
|
|
1535
1577
|
font-size: var(--titlepiece-xxsmall);
|
|
1536
1578
|
}
|
|
1537
|
-
.
|
|
1579
|
+
._toplineResult_w8o28_9 ._displayNumbers_w8o28_45 > div {
|
|
1538
1580
|
flex-shrink: 0;
|
|
1539
1581
|
}
|
|
1540
|
-
.
|
|
1582
|
+
._toplineResult_w8o28_9 ._displayRow_w8o28_65 {
|
|
1541
1583
|
flex-direction: row;
|
|
1542
1584
|
}
|
|
1543
|
-
.
|
|
1585
|
+
._toplineResult_w8o28_9 ._displayRow_w8o28_65 ._mainNumber_w8o28_54 {
|
|
1544
1586
|
margin-right: var(--space-0);
|
|
1545
1587
|
}
|
|
1546
|
-
.
|
|
1588
|
+
._toplineResult_w8o28_9 ._displayColumn_w8o28_71 {
|
|
1547
1589
|
flex-direction: column;
|
|
1548
1590
|
}
|
|
1549
1591
|
|
|
1550
|
-
.
|
|
1592
|
+
._topRow_w8o28_75 {
|
|
1551
1593
|
width: fit-content;
|
|
1552
1594
|
padding-bottom: 1px;
|
|
1553
1595
|
display: flex;
|
|
@@ -1556,7 +1598,7 @@ body.android {
|
|
|
1556
1598
|
align-items: flex-end;
|
|
1557
1599
|
}
|
|
1558
1600
|
@media (min-width: 61.25em) {
|
|
1559
|
-
.
|
|
1601
|
+
._topRow_w8o28_75 {
|
|
1560
1602
|
border-bottom: none;
|
|
1561
1603
|
}
|
|
1562
1604
|
}body {
|
|
@@ -1567,49 +1609,60 @@ body.android {
|
|
|
1567
1609
|
--top-inset: 58px;
|
|
1568
1610
|
}
|
|
1569
1611
|
|
|
1570
|
-
.
|
|
1612
|
+
._section_12aiu_9 {
|
|
1613
|
+
position: relative;
|
|
1614
|
+
z-index: 0;
|
|
1571
1615
|
margin-bottom: var(--space-8);
|
|
1572
1616
|
}
|
|
1573
1617
|
|
|
1574
|
-
.
|
|
1618
|
+
._section_12aiu_9::before {
|
|
1575
1619
|
display: block;
|
|
1576
1620
|
content: "";
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1621
|
+
position: absolute;
|
|
1622
|
+
top: 0;
|
|
1623
|
+
left: 0;
|
|
1624
|
+
transform: translate(-10px);
|
|
1625
|
+
width: calc(100% + 20px);
|
|
1626
|
+
height: calc(100% + var(--space-8));
|
|
1627
|
+
background-color: var(--background-color);
|
|
1628
|
+
z-index: -1;
|
|
1580
1629
|
}
|
|
1581
1630
|
@media (min-width: 30em) {
|
|
1582
|
-
.
|
|
1631
|
+
._section_12aiu_9::before {
|
|
1583
1632
|
transform: translate(-20px);
|
|
1584
1633
|
width: calc(100% + 40px);
|
|
1585
1634
|
}
|
|
1586
1635
|
}
|
|
1587
|
-
@media (min-width:
|
|
1588
|
-
.
|
|
1589
|
-
|
|
1590
|
-
width: 100%;
|
|
1636
|
+
@media (min-width: 46.25em) {
|
|
1637
|
+
._section_12aiu_9::before {
|
|
1638
|
+
width: calc(100% + 60px);
|
|
1591
1639
|
}
|
|
1592
1640
|
}
|
|
1593
1641
|
@media (min-width: 71.25em) {
|
|
1594
|
-
.
|
|
1642
|
+
._section_12aiu_9::before {
|
|
1595
1643
|
transform: translate(-180px);
|
|
1596
1644
|
width: calc(100% + 200px);
|
|
1645
|
+
background-color: transparent;
|
|
1597
1646
|
}
|
|
1598
1647
|
}
|
|
1599
1648
|
@media (min-width: 81.25em) {
|
|
1600
|
-
.
|
|
1649
|
+
._section_12aiu_9::before {
|
|
1601
1650
|
transform: translate(-260px);
|
|
1602
1651
|
width: calc(100% + 280px);
|
|
1603
1652
|
}
|
|
1604
1653
|
}
|
|
1605
1654
|
|
|
1606
|
-
.
|
|
1655
|
+
._borderTop_12aiu_52::before {
|
|
1656
|
+
border-top: 1px solid var(--border-divider-color);
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
._header_12aiu_56 {
|
|
1607
1660
|
color: var(--primary-text-color);
|
|
1608
1661
|
padding-top: var(--space-2);
|
|
1609
1662
|
margin-bottom: var(--space-5);
|
|
1610
1663
|
}
|
|
1611
1664
|
@media (min-width: 71.25em) {
|
|
1612
|
-
.
|
|
1665
|
+
._header_12aiu_56 {
|
|
1613
1666
|
position: absolute;
|
|
1614
1667
|
max-width: 160px;
|
|
1615
1668
|
transform: translateX(-170px);
|
|
@@ -1617,20 +1670,32 @@ body.android {
|
|
|
1617
1670
|
}
|
|
1618
1671
|
}
|
|
1619
1672
|
@media (min-width: 81.25em) {
|
|
1620
|
-
.
|
|
1673
|
+
._header_12aiu_56 {
|
|
1621
1674
|
max-width: 220px;
|
|
1622
1675
|
transform: translateX(-250px);
|
|
1623
1676
|
}
|
|
1624
1677
|
}
|
|
1625
1678
|
|
|
1626
|
-
.
|
|
1679
|
+
._content_12aiu_76 {
|
|
1680
|
+
position: relative;
|
|
1627
1681
|
padding-top: 0;
|
|
1628
1682
|
color: var(--primary-text-color);
|
|
1629
1683
|
}
|
|
1630
1684
|
@media (min-width: 71.25em) {
|
|
1631
|
-
.
|
|
1685
|
+
._content_12aiu_76 {
|
|
1632
1686
|
padding-top: var(--space-2);
|
|
1633
1687
|
}
|
|
1688
|
+
._content_12aiu_76::before {
|
|
1689
|
+
content: "";
|
|
1690
|
+
position: absolute;
|
|
1691
|
+
top: 0;
|
|
1692
|
+
left: 0;
|
|
1693
|
+
transform: translateX(-9px);
|
|
1694
|
+
width: calc(100% + 29px);
|
|
1695
|
+
height: calc(100% + var(--space-8));
|
|
1696
|
+
background-color: var(--background-color);
|
|
1697
|
+
z-index: -2;
|
|
1698
|
+
}
|
|
1634
1699
|
}._text_lo5h3_1 {
|
|
1635
1700
|
font-family: var(--text-sans);
|
|
1636
1701
|
fill: var(--primary-text-color);
|
|
@@ -1835,6 +1900,28 @@ body.android {
|
|
|
1835
1900
|
color: var(--highlighted-text-color);
|
|
1836
1901
|
background-color: var(--highlight-color);
|
|
1837
1902
|
}
|
|
1903
|
+
._refreshIndicator_u6lji_1 {
|
|
1904
|
+
display: flex;
|
|
1905
|
+
flex-direction: row;
|
|
1906
|
+
column-gap: var(--space-0);
|
|
1907
|
+
align-items: center;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
._liveText_u6lji_8,
|
|
1911
|
+
._refreshText_u6lji_9 {
|
|
1912
|
+
font-family: var(--text-sans);
|
|
1913
|
+
color: var(--secondary-text-color);
|
|
1914
|
+
line-height: var(--sans-line-height);
|
|
1915
|
+
font-size: var(--sans-small);
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
._liveText_u6lji_8 {
|
|
1919
|
+
font-weight: 700;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
._refreshText_u6lji_9 {
|
|
1923
|
+
margin-left: var(--space-0);
|
|
1924
|
+
}
|
|
1838
1925
|
body {
|
|
1839
1926
|
--top-inset: 0;
|
|
1840
1927
|
}
|