@opengeoweb/theme 4.16.0 → 4.17.0
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/index.esm.js +156 -99
- package/index.umd.js +156 -99
- package/lib/components/Theme/types.d.ts +4 -3
- package/lib/components/Theme/utils.d.ts +5 -0
- package/lib/stories/Table.stories.d.ts +7 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -904,7 +904,8 @@ var defaultButtonStyle = function defaultButtonStyle(button) {
|
|
|
904
904
|
// hover styling
|
|
905
905
|
'&:hover': {
|
|
906
906
|
backgroundColor: button.mouseOver.fill,
|
|
907
|
-
borderColor: button.mouseOver.borderColor
|
|
907
|
+
borderColor: button.mouseOver.borderColor,
|
|
908
|
+
color: button.mouseOver.color
|
|
908
909
|
},
|
|
909
910
|
// active styling
|
|
910
911
|
'&.Mui-selected': {
|
|
@@ -920,6 +921,12 @@ var defaultButtonStyle = function defaultButtonStyle(button) {
|
|
|
920
921
|
backgroundColor: button.disabled.fill,
|
|
921
922
|
color: button.disabled.color,
|
|
922
923
|
borderColor: button.disabled.borderColor
|
|
924
|
+
},
|
|
925
|
+
// focus styling
|
|
926
|
+
'&.Mui-focusVisible:not(.Mui-selected)': {
|
|
927
|
+
outline: button.focus.outline,
|
|
928
|
+
borderColor: 'transparent',
|
|
929
|
+
backgroundColor: button.mouseOver.fill
|
|
923
930
|
}
|
|
924
931
|
};
|
|
925
932
|
};
|
|
@@ -1055,15 +1062,24 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
|
|
|
1055
1062
|
shadows: shadows,
|
|
1056
1063
|
components: {
|
|
1057
1064
|
MuiButton: {
|
|
1058
|
-
variants: buttonVariants(geowebColors.buttons)
|
|
1065
|
+
variants: buttonVariants(geowebColors.buttons),
|
|
1066
|
+
defaultProps: {
|
|
1067
|
+
focusRipple: false
|
|
1068
|
+
}
|
|
1059
1069
|
},
|
|
1060
1070
|
MuiToggleButton: {
|
|
1071
|
+
defaultProps: {
|
|
1072
|
+
focusRipple: false
|
|
1073
|
+
},
|
|
1061
1074
|
styleOverrides: {
|
|
1062
1075
|
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
1063
1076
|
}
|
|
1064
1077
|
},
|
|
1065
1078
|
MuiIconButton: {
|
|
1066
1079
|
// TODO: https://gitlab.com/opengeoweb/opengeoweb/-/issues/1926 remove default styling and create CustomIconButton
|
|
1080
|
+
defaultProps: {
|
|
1081
|
+
focusRipple: false
|
|
1082
|
+
},
|
|
1067
1083
|
styleOverrides: {
|
|
1068
1084
|
root: defaultButtonStyle(geowebColors.buttons.flat)
|
|
1069
1085
|
}
|
|
@@ -1251,6 +1267,29 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
|
|
|
1251
1267
|
}
|
|
1252
1268
|
}
|
|
1253
1269
|
},
|
|
1270
|
+
MuiListItemButton: {
|
|
1271
|
+
styleOverrides: {
|
|
1272
|
+
root: {
|
|
1273
|
+
'&:hover': {
|
|
1274
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1275
|
+
},
|
|
1276
|
+
'&.Mui-selected': {
|
|
1277
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1278
|
+
boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive),
|
|
1279
|
+
'&:hover': {
|
|
1280
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1281
|
+
}
|
|
1282
|
+
},
|
|
1283
|
+
'&.Mui-focusVisible': {
|
|
1284
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1285
|
+
outline: geowebColors.buttons.focusDefault.outline
|
|
1286
|
+
},
|
|
1287
|
+
' .MuiListItemIcon-root': {
|
|
1288
|
+
minWidth: 40
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
},
|
|
1254
1293
|
MuiBackdrop: {
|
|
1255
1294
|
styleOverrides: {
|
|
1256
1295
|
root: {
|
|
@@ -1521,9 +1560,12 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
|
|
|
1521
1560
|
* See the License for the specific language governing permissions and
|
|
1522
1561
|
* limitations under the License.
|
|
1523
1562
|
*
|
|
1524
|
-
* Copyright
|
|
1525
|
-
* Copyright
|
|
1563
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1564
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
1526
1565
|
* */
|
|
1566
|
+
var focusButtonStyle$1 = {
|
|
1567
|
+
outline: 'solid 2px #419cfe'
|
|
1568
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/5ecf84d920b99428d7f98555
|
|
1527
1569
|
|
|
1528
1570
|
var colors$1 = {
|
|
1529
1571
|
background: {
|
|
@@ -1554,43 +1596,45 @@ var colors$1 = {
|
|
|
1554
1596
|
activeMouseOver: {},
|
|
1555
1597
|
disabled: {
|
|
1556
1598
|
fill: 'transparent',
|
|
1557
|
-
color: '#
|
|
1599
|
+
color: '#626262',
|
|
1558
1600
|
borderColor: 'transparent'
|
|
1559
|
-
}
|
|
1601
|
+
},
|
|
1602
|
+
focus: focusButtonStyle$1
|
|
1560
1603
|
},
|
|
1561
1604
|
secondary: {
|
|
1562
1605
|
"default": {
|
|
1563
|
-
fill: '#
|
|
1606
|
+
fill: '#374061',
|
|
1564
1607
|
color: '#FFFFFF',
|
|
1565
1608
|
borderColor: 'transparent'
|
|
1566
1609
|
},
|
|
1567
1610
|
mouseOver: {
|
|
1568
|
-
fill: '#
|
|
1611
|
+
fill: '#1047B0',
|
|
1569
1612
|
color: '#FFFFFF',
|
|
1570
|
-
borderColor: '
|
|
1613
|
+
borderColor: 'transparent'
|
|
1571
1614
|
},
|
|
1572
1615
|
active: {
|
|
1573
|
-
fill: '#
|
|
1616
|
+
fill: '#186DFF',
|
|
1574
1617
|
color: '#FFFFFF',
|
|
1575
1618
|
borderColor: 'transparent'
|
|
1576
1619
|
},
|
|
1577
1620
|
activeMouseOver: {},
|
|
1578
1621
|
disabled: {
|
|
1579
1622
|
fill: 'transparent',
|
|
1580
|
-
color: '#
|
|
1623
|
+
color: '#626262',
|
|
1581
1624
|
borderColor: 'transparent'
|
|
1582
|
-
}
|
|
1625
|
+
},
|
|
1626
|
+
focus: focusButtonStyle$1
|
|
1583
1627
|
},
|
|
1584
1628
|
tertiary: {
|
|
1585
1629
|
"default": {
|
|
1586
1630
|
fill: 'transparent',
|
|
1587
|
-
color: '#
|
|
1588
|
-
borderColor: '#
|
|
1631
|
+
color: '#374061',
|
|
1632
|
+
borderColor: '#374061'
|
|
1589
1633
|
},
|
|
1590
1634
|
mouseOver: {
|
|
1591
|
-
fill: '#
|
|
1592
|
-
color: '#
|
|
1593
|
-
borderColor: '#
|
|
1635
|
+
fill: '#E0E8F5',
|
|
1636
|
+
color: '#374061',
|
|
1637
|
+
borderColor: '#374061'
|
|
1594
1638
|
},
|
|
1595
1639
|
active: {
|
|
1596
1640
|
fill: 'transparent',
|
|
@@ -1598,25 +1642,26 @@ var colors$1 = {
|
|
|
1598
1642
|
borderColor: '#186DFF'
|
|
1599
1643
|
},
|
|
1600
1644
|
activeMouseOver: {
|
|
1601
|
-
fill: '
|
|
1645
|
+
fill: '#E0E8F5',
|
|
1602
1646
|
color: '#186DFF',
|
|
1603
1647
|
borderColor: '#186DFF'
|
|
1604
1648
|
},
|
|
1605
1649
|
disabled: {
|
|
1606
1650
|
fill: 'transparent',
|
|
1607
|
-
color: '#
|
|
1651
|
+
color: '#626262',
|
|
1608
1652
|
borderColor: 'transparent'
|
|
1609
|
-
}
|
|
1653
|
+
},
|
|
1654
|
+
focus: focusButtonStyle$1
|
|
1610
1655
|
},
|
|
1611
1656
|
flat: {
|
|
1612
1657
|
"default": {
|
|
1613
1658
|
fill: 'transparent',
|
|
1614
|
-
color: '#
|
|
1659
|
+
color: '#374061',
|
|
1615
1660
|
borderColor: 'transparent'
|
|
1616
1661
|
},
|
|
1617
1662
|
mouseOver: {
|
|
1618
|
-
fill: '#
|
|
1619
|
-
color: '#
|
|
1663
|
+
fill: '#E0E8F5',
|
|
1664
|
+
color: '#374061',
|
|
1620
1665
|
borderColor: 'transparent'
|
|
1621
1666
|
},
|
|
1622
1667
|
active: {
|
|
@@ -1625,25 +1670,26 @@ var colors$1 = {
|
|
|
1625
1670
|
borderColor: 'transparent'
|
|
1626
1671
|
},
|
|
1627
1672
|
activeMouseOver: {
|
|
1628
|
-
fill: '
|
|
1673
|
+
fill: '#E0E8F5',
|
|
1629
1674
|
color: '#186DFF',
|
|
1630
1675
|
borderColor: 'transparent'
|
|
1631
1676
|
},
|
|
1632
1677
|
disabled: {
|
|
1633
1678
|
fill: 'transparent',
|
|
1634
|
-
color: '#
|
|
1679
|
+
color: '#626262',
|
|
1635
1680
|
borderColor: 'transparent'
|
|
1636
|
-
}
|
|
1681
|
+
},
|
|
1682
|
+
focus: focusButtonStyle$1
|
|
1637
1683
|
},
|
|
1638
1684
|
tool: {
|
|
1639
1685
|
"default": {
|
|
1640
1686
|
fill: '#ECEDEE',
|
|
1641
|
-
color: '#
|
|
1687
|
+
color: '#374061',
|
|
1642
1688
|
borderColor: 'transparent'
|
|
1643
1689
|
},
|
|
1644
1690
|
mouseOver: {
|
|
1645
|
-
fill: '#
|
|
1646
|
-
color: '#
|
|
1691
|
+
fill: '#E0E8F5',
|
|
1692
|
+
color: '#374061',
|
|
1647
1693
|
borderColor: 'transparent'
|
|
1648
1694
|
},
|
|
1649
1695
|
active: {
|
|
@@ -1658,20 +1704,21 @@ var colors$1 = {
|
|
|
1658
1704
|
},
|
|
1659
1705
|
disabled: {
|
|
1660
1706
|
fill: 'transparent',
|
|
1661
|
-
color: '#
|
|
1707
|
+
color: '#626262',
|
|
1662
1708
|
borderColor: 'transparent'
|
|
1663
|
-
}
|
|
1709
|
+
},
|
|
1710
|
+
focus: focusButtonStyle$1
|
|
1664
1711
|
},
|
|
1665
1712
|
boxed: {
|
|
1666
1713
|
"default": {
|
|
1667
1714
|
fill: 'transparent',
|
|
1668
|
-
color: '#
|
|
1669
|
-
borderColor: '#
|
|
1715
|
+
color: '#374061',
|
|
1716
|
+
borderColor: '#374061'
|
|
1670
1717
|
},
|
|
1671
1718
|
mouseOver: {
|
|
1672
|
-
fill: '#
|
|
1673
|
-
color: '#
|
|
1674
|
-
borderColor: '#
|
|
1719
|
+
fill: '#E0E8F5',
|
|
1720
|
+
color: '#374061',
|
|
1721
|
+
borderColor: '#374061'
|
|
1675
1722
|
},
|
|
1676
1723
|
active: {
|
|
1677
1724
|
fill: '#186DFF',
|
|
@@ -1685,9 +1732,10 @@ var colors$1 = {
|
|
|
1685
1732
|
},
|
|
1686
1733
|
disabled: {
|
|
1687
1734
|
fill: 'transparent',
|
|
1688
|
-
color: '#
|
|
1735
|
+
color: '#626262',
|
|
1689
1736
|
borderColor: 'transparent'
|
|
1690
|
-
}
|
|
1737
|
+
},
|
|
1738
|
+
focus: focusButtonStyle$1
|
|
1691
1739
|
},
|
|
1692
1740
|
icon: {
|
|
1693
1741
|
"default": {
|
|
@@ -1696,7 +1744,7 @@ var colors$1 = {
|
|
|
1696
1744
|
borderColor: 'transparent'
|
|
1697
1745
|
},
|
|
1698
1746
|
mouseOver: {
|
|
1699
|
-
fill: '#
|
|
1747
|
+
fill: '#E0E8F5',
|
|
1700
1748
|
color: '#374061',
|
|
1701
1749
|
borderColor: 'transparent'
|
|
1702
1750
|
},
|
|
@@ -1706,19 +1754,18 @@ var colors$1 = {
|
|
|
1706
1754
|
borderColor: 'transparent'
|
|
1707
1755
|
},
|
|
1708
1756
|
activeMouseOver: {
|
|
1709
|
-
fill: '
|
|
1757
|
+
fill: '#E0E8F5',
|
|
1710
1758
|
color: '#186DFF',
|
|
1711
1759
|
borderColor: 'transparent'
|
|
1712
1760
|
},
|
|
1713
1761
|
disabled: {
|
|
1714
1762
|
fill: 'transparent',
|
|
1715
|
-
color: '#
|
|
1763
|
+
color: '#626262',
|
|
1716
1764
|
borderColor: 'transparent'
|
|
1717
|
-
}
|
|
1765
|
+
},
|
|
1766
|
+
focus: focusButtonStyle$1
|
|
1718
1767
|
},
|
|
1719
|
-
focusDefault:
|
|
1720
|
-
outline: 'solid 2px #419cfe'
|
|
1721
|
-
}
|
|
1768
|
+
focusDefault: focusButtonStyle$1
|
|
1722
1769
|
},
|
|
1723
1770
|
typographyAndIcons: {
|
|
1724
1771
|
text: '#051039',
|
|
@@ -1728,7 +1775,7 @@ var colors$1 = {
|
|
|
1728
1775
|
iconLinkDisabled: '#CCCCCC',
|
|
1729
1776
|
textLinkActive: '#186DFF',
|
|
1730
1777
|
buttonIconTertiaryFlat: '#575F7A',
|
|
1731
|
-
inactiveText: '#
|
|
1778
|
+
inactiveText: '#626262'
|
|
1732
1779
|
},
|
|
1733
1780
|
textInputField: {
|
|
1734
1781
|
"default": {
|
|
@@ -1760,7 +1807,8 @@ var colors$1 = {
|
|
|
1760
1807
|
},
|
|
1761
1808
|
cards: {
|
|
1762
1809
|
cardContainer: '#FFFFFF',
|
|
1763
|
-
cardContainerBorder: '#EEEEEE'
|
|
1810
|
+
cardContainerBorder: '#EEEEEE',
|
|
1811
|
+
cardContainerMouseOver: '#E0E8F5'
|
|
1764
1812
|
},
|
|
1765
1813
|
backdrops: {
|
|
1766
1814
|
black: {
|
|
@@ -2328,9 +2376,12 @@ var GWTheme = createTheme$1({
|
|
|
2328
2376
|
* See the License for the specific language governing permissions and
|
|
2329
2377
|
* limitations under the License.
|
|
2330
2378
|
*
|
|
2331
|
-
* Copyright
|
|
2332
|
-
* Copyright
|
|
2379
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2380
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2333
2381
|
* */
|
|
2382
|
+
var focusButtonStyle = {
|
|
2383
|
+
outline: 'solid 2px #419cfe'
|
|
2384
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e5dc12278e35d433aa2d
|
|
2334
2385
|
|
|
2335
2386
|
var colors = {
|
|
2336
2387
|
background: {
|
|
@@ -2361,96 +2412,100 @@ var colors = {
|
|
|
2361
2412
|
activeMouseOver: {},
|
|
2362
2413
|
disabled: {
|
|
2363
2414
|
fill: 'transparent',
|
|
2364
|
-
color: '#
|
|
2415
|
+
color: '#B4B4B4',
|
|
2365
2416
|
borderColor: 'transparent'
|
|
2366
|
-
}
|
|
2417
|
+
},
|
|
2418
|
+
focus: focusButtonStyle
|
|
2367
2419
|
},
|
|
2368
2420
|
secondary: {
|
|
2369
2421
|
"default": {
|
|
2370
|
-
fill: '#
|
|
2371
|
-
color: '#
|
|
2422
|
+
fill: '#F8F9F9',
|
|
2423
|
+
color: '#374061',
|
|
2372
2424
|
borderColor: 'transparent'
|
|
2373
2425
|
},
|
|
2374
2426
|
mouseOver: {
|
|
2375
|
-
fill: '#
|
|
2427
|
+
fill: '#1047B0',
|
|
2376
2428
|
color: '#FFFFFF',
|
|
2377
|
-
borderColor: '#
|
|
2429
|
+
borderColor: '#transparent'
|
|
2378
2430
|
},
|
|
2379
2431
|
active: {
|
|
2380
|
-
fill: '#
|
|
2432
|
+
fill: '#186DFF',
|
|
2381
2433
|
color: '#FFFFFF',
|
|
2382
2434
|
borderColor: 'transparent'
|
|
2383
2435
|
},
|
|
2384
2436
|
activeMouseOver: {},
|
|
2385
2437
|
disabled: {
|
|
2386
2438
|
fill: 'transparent',
|
|
2387
|
-
color: '#
|
|
2439
|
+
color: '#B4B4B4',
|
|
2388
2440
|
borderColor: 'transparent'
|
|
2389
|
-
}
|
|
2441
|
+
},
|
|
2442
|
+
focus: focusButtonStyle
|
|
2390
2443
|
},
|
|
2391
2444
|
tertiary: {
|
|
2392
2445
|
"default": {
|
|
2393
2446
|
fill: 'transparent',
|
|
2394
|
-
color: '#
|
|
2395
|
-
borderColor: '#
|
|
2447
|
+
color: '#F8F9F9',
|
|
2448
|
+
borderColor: '#F8F9F9'
|
|
2396
2449
|
},
|
|
2397
2450
|
mouseOver: {
|
|
2398
|
-
fill: '#
|
|
2399
|
-
color: '#
|
|
2400
|
-
borderColor: '#
|
|
2451
|
+
fill: '#414751',
|
|
2452
|
+
color: '#F8F9F9',
|
|
2453
|
+
borderColor: '#F8F9F9'
|
|
2401
2454
|
},
|
|
2402
2455
|
active: {
|
|
2403
2456
|
fill: 'transparent',
|
|
2404
|
-
color: '#
|
|
2405
|
-
borderColor: '#
|
|
2457
|
+
color: '#7BACFF',
|
|
2458
|
+
borderColor: '#7BACFF'
|
|
2406
2459
|
},
|
|
2407
2460
|
activeMouseOver: {
|
|
2408
|
-
fill: '
|
|
2409
|
-
color: '#
|
|
2410
|
-
borderColor: '#
|
|
2461
|
+
fill: '#414751',
|
|
2462
|
+
color: '#7BACFF',
|
|
2463
|
+
borderColor: '#7BACFF'
|
|
2411
2464
|
},
|
|
2412
2465
|
disabled: {
|
|
2413
2466
|
fill: 'transparent',
|
|
2414
|
-
color: '#
|
|
2467
|
+
color: '#B4B4B4',
|
|
2415
2468
|
borderColor: 'transparent'
|
|
2416
|
-
}
|
|
2469
|
+
},
|
|
2470
|
+
focus: focusButtonStyle
|
|
2417
2471
|
},
|
|
2418
2472
|
flat: {
|
|
2419
2473
|
"default": {
|
|
2420
2474
|
fill: 'transparent',
|
|
2421
|
-
color: '#
|
|
2475
|
+
color: '#F8F9F9',
|
|
2422
2476
|
borderColor: 'transparent'
|
|
2423
2477
|
},
|
|
2424
2478
|
mouseOver: {
|
|
2425
|
-
fill: '#
|
|
2426
|
-
color: '#
|
|
2479
|
+
fill: '#414751',
|
|
2480
|
+
color: '#F8F9F9',
|
|
2427
2481
|
borderColor: 'transparent'
|
|
2428
2482
|
},
|
|
2429
2483
|
active: {
|
|
2430
2484
|
fill: 'transparent',
|
|
2431
|
-
color: '#
|
|
2485
|
+
color: '#7BACFF',
|
|
2432
2486
|
borderColor: 'transparent'
|
|
2433
2487
|
},
|
|
2434
2488
|
activeMouseOver: {
|
|
2435
|
-
fill: '
|
|
2436
|
-
color: '#
|
|
2489
|
+
fill: '#414751',
|
|
2490
|
+
color: '#7BACFF',
|
|
2437
2491
|
borderColor: 'transparent'
|
|
2438
2492
|
},
|
|
2439
2493
|
disabled: {
|
|
2440
2494
|
fill: 'transparent',
|
|
2441
|
-
color: '#
|
|
2495
|
+
color: '#B4B4B4',
|
|
2442
2496
|
borderColor: 'transparent'
|
|
2443
|
-
}
|
|
2497
|
+
},
|
|
2498
|
+
focus: focusButtonStyle
|
|
2444
2499
|
},
|
|
2445
2500
|
tool: {
|
|
2446
2501
|
"default": {
|
|
2447
2502
|
fill: '#393939',
|
|
2448
|
-
color: '#
|
|
2503
|
+
color: '#F8F9F9',
|
|
2449
2504
|
borderColor: 'transparent'
|
|
2450
2505
|
},
|
|
2451
2506
|
mouseOver: {
|
|
2452
|
-
fill: '#
|
|
2453
|
-
color: '#
|
|
2507
|
+
fill: '#414751',
|
|
2508
|
+
color: '#F8F9F9',
|
|
2454
2509
|
borderColor: 'transparent'
|
|
2455
2510
|
},
|
|
2456
2511
|
active: {
|
|
@@ -2465,20 +2520,21 @@ var colors = {
|
|
|
2465
2520
|
},
|
|
2466
2521
|
disabled: {
|
|
2467
2522
|
fill: 'transparent',
|
|
2468
|
-
color: '#
|
|
2523
|
+
color: '#B4B4B4',
|
|
2469
2524
|
borderColor: 'transparent'
|
|
2470
|
-
}
|
|
2525
|
+
},
|
|
2526
|
+
focus: focusButtonStyle
|
|
2471
2527
|
},
|
|
2472
2528
|
boxed: {
|
|
2473
2529
|
"default": {
|
|
2474
2530
|
fill: 'transparent',
|
|
2475
|
-
color: '#
|
|
2476
|
-
borderColor: '#
|
|
2531
|
+
color: '#F8F9F9',
|
|
2532
|
+
borderColor: '#F8F9F9'
|
|
2477
2533
|
},
|
|
2478
2534
|
mouseOver: {
|
|
2479
|
-
fill: '#
|
|
2480
|
-
color: '#
|
|
2481
|
-
borderColor: '#
|
|
2535
|
+
fill: '#414751',
|
|
2536
|
+
color: '#F8F9F9',
|
|
2537
|
+
borderColor: '#F8F9F9'
|
|
2482
2538
|
},
|
|
2483
2539
|
active: {
|
|
2484
2540
|
fill: '#186DFF',
|
|
@@ -2492,9 +2548,10 @@ var colors = {
|
|
|
2492
2548
|
},
|
|
2493
2549
|
disabled: {
|
|
2494
2550
|
fill: 'transparent',
|
|
2495
|
-
color: '#
|
|
2551
|
+
color: '#B4B4B4',
|
|
2496
2552
|
borderColor: 'transparent'
|
|
2497
|
-
}
|
|
2553
|
+
},
|
|
2554
|
+
focus: focusButtonStyle
|
|
2498
2555
|
},
|
|
2499
2556
|
icon: {
|
|
2500
2557
|
"default": {
|
|
@@ -2503,7 +2560,7 @@ var colors = {
|
|
|
2503
2560
|
borderColor: 'transparent'
|
|
2504
2561
|
},
|
|
2505
2562
|
mouseOver: {
|
|
2506
|
-
fill: '#
|
|
2563
|
+
fill: '#414751',
|
|
2507
2564
|
color: '#F8F9F9',
|
|
2508
2565
|
borderColor: 'transparent'
|
|
2509
2566
|
},
|
|
@@ -2513,7 +2570,7 @@ var colors = {
|
|
|
2513
2570
|
borderColor: 'transparent'
|
|
2514
2571
|
},
|
|
2515
2572
|
activeMouseOver: {
|
|
2516
|
-
fill: '
|
|
2573
|
+
fill: '#414751',
|
|
2517
2574
|
color: '#488BFD',
|
|
2518
2575
|
borderColor: 'transparent'
|
|
2519
2576
|
},
|
|
@@ -2521,11 +2578,10 @@ var colors = {
|
|
|
2521
2578
|
fill: 'transparent',
|
|
2522
2579
|
color: '#B4B4B4',
|
|
2523
2580
|
borderColor: 'transparent'
|
|
2524
|
-
}
|
|
2581
|
+
},
|
|
2582
|
+
focus: focusButtonStyle
|
|
2525
2583
|
},
|
|
2526
|
-
focusDefault:
|
|
2527
|
-
outline: 'solid 2px #419cfe'
|
|
2528
|
-
}
|
|
2584
|
+
focusDefault: focusButtonStyle
|
|
2529
2585
|
},
|
|
2530
2586
|
typographyAndIcons: {
|
|
2531
2587
|
text: '#FFFFFF',
|
|
@@ -2535,7 +2591,7 @@ var colors = {
|
|
|
2535
2591
|
iconLinkDisabled: '#5E5E5E',
|
|
2536
2592
|
textLinkActive: '#488BFD',
|
|
2537
2593
|
buttonIconTertiaryFlat: '#C5C5C5',
|
|
2538
|
-
inactiveText: '#
|
|
2594
|
+
inactiveText: '#b4b4b4'
|
|
2539
2595
|
},
|
|
2540
2596
|
textInputField: {
|
|
2541
2597
|
"default": {
|
|
@@ -2567,7 +2623,8 @@ var colors = {
|
|
|
2567
2623
|
},
|
|
2568
2624
|
cards: {
|
|
2569
2625
|
cardContainer: '#303030',
|
|
2570
|
-
cardContainerBorder: '#404040'
|
|
2626
|
+
cardContainerBorder: '#404040',
|
|
2627
|
+
cardContainerMouseOver: '#414751'
|
|
2571
2628
|
},
|
|
2572
2629
|
backdrops: {
|
|
2573
2630
|
black: {
|
|
@@ -2582,7 +2639,7 @@ var colors = {
|
|
|
2582
2639
|
screenManager: {
|
|
2583
2640
|
activeWindow: '#242424',
|
|
2584
2641
|
inactiveWindow: '#303030',
|
|
2585
|
-
tabButtonHover: '
|
|
2642
|
+
tabButtonHover: '#414751;'
|
|
2586
2643
|
},
|
|
2587
2644
|
timeSlider: {
|
|
2588
2645
|
// player
|
package/index.umd.js
CHANGED
|
@@ -884,7 +884,8 @@
|
|
|
884
884
|
// hover styling
|
|
885
885
|
'&:hover': {
|
|
886
886
|
backgroundColor: button.mouseOver.fill,
|
|
887
|
-
borderColor: button.mouseOver.borderColor
|
|
887
|
+
borderColor: button.mouseOver.borderColor,
|
|
888
|
+
color: button.mouseOver.color
|
|
888
889
|
},
|
|
889
890
|
// active styling
|
|
890
891
|
'&.Mui-selected': {
|
|
@@ -900,6 +901,12 @@
|
|
|
900
901
|
backgroundColor: button.disabled.fill,
|
|
901
902
|
color: button.disabled.color,
|
|
902
903
|
borderColor: button.disabled.borderColor
|
|
904
|
+
},
|
|
905
|
+
// focus styling
|
|
906
|
+
'&.Mui-focusVisible:not(.Mui-selected)': {
|
|
907
|
+
outline: button.focus.outline,
|
|
908
|
+
borderColor: 'transparent',
|
|
909
|
+
backgroundColor: button.mouseOver.fill
|
|
903
910
|
}
|
|
904
911
|
};
|
|
905
912
|
};
|
|
@@ -1042,15 +1049,24 @@
|
|
|
1042
1049
|
shadows: shadows,
|
|
1043
1050
|
components: {
|
|
1044
1051
|
MuiButton: {
|
|
1045
|
-
variants: buttonVariants(geowebColors.buttons)
|
|
1052
|
+
variants: buttonVariants(geowebColors.buttons),
|
|
1053
|
+
defaultProps: {
|
|
1054
|
+
focusRipple: false
|
|
1055
|
+
}
|
|
1046
1056
|
},
|
|
1047
1057
|
MuiToggleButton: {
|
|
1058
|
+
defaultProps: {
|
|
1059
|
+
focusRipple: false
|
|
1060
|
+
},
|
|
1048
1061
|
styleOverrides: {
|
|
1049
1062
|
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
1050
1063
|
}
|
|
1051
1064
|
},
|
|
1052
1065
|
MuiIconButton: {
|
|
1053
1066
|
// TODO: https://gitlab.com/opengeoweb/opengeoweb/-/issues/1926 remove default styling and create CustomIconButton
|
|
1067
|
+
defaultProps: {
|
|
1068
|
+
focusRipple: false
|
|
1069
|
+
},
|
|
1054
1070
|
styleOverrides: {
|
|
1055
1071
|
root: defaultButtonStyle(geowebColors.buttons.flat)
|
|
1056
1072
|
}
|
|
@@ -1238,6 +1254,29 @@
|
|
|
1238
1254
|
}
|
|
1239
1255
|
}
|
|
1240
1256
|
},
|
|
1257
|
+
MuiListItemButton: {
|
|
1258
|
+
styleOverrides: {
|
|
1259
|
+
root: {
|
|
1260
|
+
'&:hover': {
|
|
1261
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1262
|
+
},
|
|
1263
|
+
'&.Mui-selected': {
|
|
1264
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1265
|
+
boxShadow: "inset 4px 0px 0px 0px " + geowebColors.typographyAndIcons.iconLinkActive,
|
|
1266
|
+
'&:hover': {
|
|
1267
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
'&.Mui-focusVisible': {
|
|
1271
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1272
|
+
outline: geowebColors.buttons.focusDefault.outline
|
|
1273
|
+
},
|
|
1274
|
+
' .MuiListItemIcon-root': {
|
|
1275
|
+
minWidth: 40
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1241
1280
|
MuiBackdrop: {
|
|
1242
1281
|
styleOverrides: {
|
|
1243
1282
|
root: {
|
|
@@ -1508,9 +1547,12 @@
|
|
|
1508
1547
|
* See the License for the specific language governing permissions and
|
|
1509
1548
|
* limitations under the License.
|
|
1510
1549
|
*
|
|
1511
|
-
* Copyright
|
|
1512
|
-
* Copyright
|
|
1550
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1551
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
1513
1552
|
* */
|
|
1553
|
+
var focusButtonStyle$1 = {
|
|
1554
|
+
outline: 'solid 2px #419cfe'
|
|
1555
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/5ecf84d920b99428d7f98555
|
|
1514
1556
|
|
|
1515
1557
|
var colors$1 = {
|
|
1516
1558
|
background: {
|
|
@@ -1541,43 +1583,45 @@
|
|
|
1541
1583
|
activeMouseOver: {},
|
|
1542
1584
|
disabled: {
|
|
1543
1585
|
fill: 'transparent',
|
|
1544
|
-
color: '#
|
|
1586
|
+
color: '#626262',
|
|
1545
1587
|
borderColor: 'transparent'
|
|
1546
|
-
}
|
|
1588
|
+
},
|
|
1589
|
+
focus: focusButtonStyle$1
|
|
1547
1590
|
},
|
|
1548
1591
|
secondary: {
|
|
1549
1592
|
"default": {
|
|
1550
|
-
fill: '#
|
|
1593
|
+
fill: '#374061',
|
|
1551
1594
|
color: '#FFFFFF',
|
|
1552
1595
|
borderColor: 'transparent'
|
|
1553
1596
|
},
|
|
1554
1597
|
mouseOver: {
|
|
1555
|
-
fill: '#
|
|
1598
|
+
fill: '#1047B0',
|
|
1556
1599
|
color: '#FFFFFF',
|
|
1557
|
-
borderColor: '
|
|
1600
|
+
borderColor: 'transparent'
|
|
1558
1601
|
},
|
|
1559
1602
|
active: {
|
|
1560
|
-
fill: '#
|
|
1603
|
+
fill: '#186DFF',
|
|
1561
1604
|
color: '#FFFFFF',
|
|
1562
1605
|
borderColor: 'transparent'
|
|
1563
1606
|
},
|
|
1564
1607
|
activeMouseOver: {},
|
|
1565
1608
|
disabled: {
|
|
1566
1609
|
fill: 'transparent',
|
|
1567
|
-
color: '#
|
|
1610
|
+
color: '#626262',
|
|
1568
1611
|
borderColor: 'transparent'
|
|
1569
|
-
}
|
|
1612
|
+
},
|
|
1613
|
+
focus: focusButtonStyle$1
|
|
1570
1614
|
},
|
|
1571
1615
|
tertiary: {
|
|
1572
1616
|
"default": {
|
|
1573
1617
|
fill: 'transparent',
|
|
1574
|
-
color: '#
|
|
1575
|
-
borderColor: '#
|
|
1618
|
+
color: '#374061',
|
|
1619
|
+
borderColor: '#374061'
|
|
1576
1620
|
},
|
|
1577
1621
|
mouseOver: {
|
|
1578
|
-
fill: '#
|
|
1579
|
-
color: '#
|
|
1580
|
-
borderColor: '#
|
|
1622
|
+
fill: '#E0E8F5',
|
|
1623
|
+
color: '#374061',
|
|
1624
|
+
borderColor: '#374061'
|
|
1581
1625
|
},
|
|
1582
1626
|
active: {
|
|
1583
1627
|
fill: 'transparent',
|
|
@@ -1585,25 +1629,26 @@
|
|
|
1585
1629
|
borderColor: '#186DFF'
|
|
1586
1630
|
},
|
|
1587
1631
|
activeMouseOver: {
|
|
1588
|
-
fill: '
|
|
1632
|
+
fill: '#E0E8F5',
|
|
1589
1633
|
color: '#186DFF',
|
|
1590
1634
|
borderColor: '#186DFF'
|
|
1591
1635
|
},
|
|
1592
1636
|
disabled: {
|
|
1593
1637
|
fill: 'transparent',
|
|
1594
|
-
color: '#
|
|
1638
|
+
color: '#626262',
|
|
1595
1639
|
borderColor: 'transparent'
|
|
1596
|
-
}
|
|
1640
|
+
},
|
|
1641
|
+
focus: focusButtonStyle$1
|
|
1597
1642
|
},
|
|
1598
1643
|
flat: {
|
|
1599
1644
|
"default": {
|
|
1600
1645
|
fill: 'transparent',
|
|
1601
|
-
color: '#
|
|
1646
|
+
color: '#374061',
|
|
1602
1647
|
borderColor: 'transparent'
|
|
1603
1648
|
},
|
|
1604
1649
|
mouseOver: {
|
|
1605
|
-
fill: '#
|
|
1606
|
-
color: '#
|
|
1650
|
+
fill: '#E0E8F5',
|
|
1651
|
+
color: '#374061',
|
|
1607
1652
|
borderColor: 'transparent'
|
|
1608
1653
|
},
|
|
1609
1654
|
active: {
|
|
@@ -1612,25 +1657,26 @@
|
|
|
1612
1657
|
borderColor: 'transparent'
|
|
1613
1658
|
},
|
|
1614
1659
|
activeMouseOver: {
|
|
1615
|
-
fill: '
|
|
1660
|
+
fill: '#E0E8F5',
|
|
1616
1661
|
color: '#186DFF',
|
|
1617
1662
|
borderColor: 'transparent'
|
|
1618
1663
|
},
|
|
1619
1664
|
disabled: {
|
|
1620
1665
|
fill: 'transparent',
|
|
1621
|
-
color: '#
|
|
1666
|
+
color: '#626262',
|
|
1622
1667
|
borderColor: 'transparent'
|
|
1623
|
-
}
|
|
1668
|
+
},
|
|
1669
|
+
focus: focusButtonStyle$1
|
|
1624
1670
|
},
|
|
1625
1671
|
tool: {
|
|
1626
1672
|
"default": {
|
|
1627
1673
|
fill: '#ECEDEE',
|
|
1628
|
-
color: '#
|
|
1674
|
+
color: '#374061',
|
|
1629
1675
|
borderColor: 'transparent'
|
|
1630
1676
|
},
|
|
1631
1677
|
mouseOver: {
|
|
1632
|
-
fill: '#
|
|
1633
|
-
color: '#
|
|
1678
|
+
fill: '#E0E8F5',
|
|
1679
|
+
color: '#374061',
|
|
1634
1680
|
borderColor: 'transparent'
|
|
1635
1681
|
},
|
|
1636
1682
|
active: {
|
|
@@ -1645,20 +1691,21 @@
|
|
|
1645
1691
|
},
|
|
1646
1692
|
disabled: {
|
|
1647
1693
|
fill: 'transparent',
|
|
1648
|
-
color: '#
|
|
1694
|
+
color: '#626262',
|
|
1649
1695
|
borderColor: 'transparent'
|
|
1650
|
-
}
|
|
1696
|
+
},
|
|
1697
|
+
focus: focusButtonStyle$1
|
|
1651
1698
|
},
|
|
1652
1699
|
boxed: {
|
|
1653
1700
|
"default": {
|
|
1654
1701
|
fill: 'transparent',
|
|
1655
|
-
color: '#
|
|
1656
|
-
borderColor: '#
|
|
1702
|
+
color: '#374061',
|
|
1703
|
+
borderColor: '#374061'
|
|
1657
1704
|
},
|
|
1658
1705
|
mouseOver: {
|
|
1659
|
-
fill: '#
|
|
1660
|
-
color: '#
|
|
1661
|
-
borderColor: '#
|
|
1706
|
+
fill: '#E0E8F5',
|
|
1707
|
+
color: '#374061',
|
|
1708
|
+
borderColor: '#374061'
|
|
1662
1709
|
},
|
|
1663
1710
|
active: {
|
|
1664
1711
|
fill: '#186DFF',
|
|
@@ -1672,9 +1719,10 @@
|
|
|
1672
1719
|
},
|
|
1673
1720
|
disabled: {
|
|
1674
1721
|
fill: 'transparent',
|
|
1675
|
-
color: '#
|
|
1722
|
+
color: '#626262',
|
|
1676
1723
|
borderColor: 'transparent'
|
|
1677
|
-
}
|
|
1724
|
+
},
|
|
1725
|
+
focus: focusButtonStyle$1
|
|
1678
1726
|
},
|
|
1679
1727
|
icon: {
|
|
1680
1728
|
"default": {
|
|
@@ -1683,7 +1731,7 @@
|
|
|
1683
1731
|
borderColor: 'transparent'
|
|
1684
1732
|
},
|
|
1685
1733
|
mouseOver: {
|
|
1686
|
-
fill: '#
|
|
1734
|
+
fill: '#E0E8F5',
|
|
1687
1735
|
color: '#374061',
|
|
1688
1736
|
borderColor: 'transparent'
|
|
1689
1737
|
},
|
|
@@ -1693,19 +1741,18 @@
|
|
|
1693
1741
|
borderColor: 'transparent'
|
|
1694
1742
|
},
|
|
1695
1743
|
activeMouseOver: {
|
|
1696
|
-
fill: '
|
|
1744
|
+
fill: '#E0E8F5',
|
|
1697
1745
|
color: '#186DFF',
|
|
1698
1746
|
borderColor: 'transparent'
|
|
1699
1747
|
},
|
|
1700
1748
|
disabled: {
|
|
1701
1749
|
fill: 'transparent',
|
|
1702
|
-
color: '#
|
|
1750
|
+
color: '#626262',
|
|
1703
1751
|
borderColor: 'transparent'
|
|
1704
|
-
}
|
|
1752
|
+
},
|
|
1753
|
+
focus: focusButtonStyle$1
|
|
1705
1754
|
},
|
|
1706
|
-
focusDefault:
|
|
1707
|
-
outline: 'solid 2px #419cfe'
|
|
1708
|
-
}
|
|
1755
|
+
focusDefault: focusButtonStyle$1
|
|
1709
1756
|
},
|
|
1710
1757
|
typographyAndIcons: {
|
|
1711
1758
|
text: '#051039',
|
|
@@ -1715,7 +1762,7 @@
|
|
|
1715
1762
|
iconLinkDisabled: '#CCCCCC',
|
|
1716
1763
|
textLinkActive: '#186DFF',
|
|
1717
1764
|
buttonIconTertiaryFlat: '#575F7A',
|
|
1718
|
-
inactiveText: '#
|
|
1765
|
+
inactiveText: '#626262'
|
|
1719
1766
|
},
|
|
1720
1767
|
textInputField: {
|
|
1721
1768
|
"default": {
|
|
@@ -1747,7 +1794,8 @@
|
|
|
1747
1794
|
},
|
|
1748
1795
|
cards: {
|
|
1749
1796
|
cardContainer: '#FFFFFF',
|
|
1750
|
-
cardContainerBorder: '#EEEEEE'
|
|
1797
|
+
cardContainerBorder: '#EEEEEE',
|
|
1798
|
+
cardContainerMouseOver: '#E0E8F5'
|
|
1751
1799
|
},
|
|
1752
1800
|
backdrops: {
|
|
1753
1801
|
black: {
|
|
@@ -2299,9 +2347,12 @@
|
|
|
2299
2347
|
* See the License for the specific language governing permissions and
|
|
2300
2348
|
* limitations under the License.
|
|
2301
2349
|
*
|
|
2302
|
-
* Copyright
|
|
2303
|
-
* Copyright
|
|
2350
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2351
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2304
2352
|
* */
|
|
2353
|
+
var focusButtonStyle = {
|
|
2354
|
+
outline: 'solid 2px #419cfe'
|
|
2355
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e5dc12278e35d433aa2d
|
|
2305
2356
|
|
|
2306
2357
|
var colors = {
|
|
2307
2358
|
background: {
|
|
@@ -2332,96 +2383,100 @@
|
|
|
2332
2383
|
activeMouseOver: {},
|
|
2333
2384
|
disabled: {
|
|
2334
2385
|
fill: 'transparent',
|
|
2335
|
-
color: '#
|
|
2386
|
+
color: '#B4B4B4',
|
|
2336
2387
|
borderColor: 'transparent'
|
|
2337
|
-
}
|
|
2388
|
+
},
|
|
2389
|
+
focus: focusButtonStyle
|
|
2338
2390
|
},
|
|
2339
2391
|
secondary: {
|
|
2340
2392
|
"default": {
|
|
2341
|
-
fill: '#
|
|
2342
|
-
color: '#
|
|
2393
|
+
fill: '#F8F9F9',
|
|
2394
|
+
color: '#374061',
|
|
2343
2395
|
borderColor: 'transparent'
|
|
2344
2396
|
},
|
|
2345
2397
|
mouseOver: {
|
|
2346
|
-
fill: '#
|
|
2398
|
+
fill: '#1047B0',
|
|
2347
2399
|
color: '#FFFFFF',
|
|
2348
|
-
borderColor: '#
|
|
2400
|
+
borderColor: '#transparent'
|
|
2349
2401
|
},
|
|
2350
2402
|
active: {
|
|
2351
|
-
fill: '#
|
|
2403
|
+
fill: '#186DFF',
|
|
2352
2404
|
color: '#FFFFFF',
|
|
2353
2405
|
borderColor: 'transparent'
|
|
2354
2406
|
},
|
|
2355
2407
|
activeMouseOver: {},
|
|
2356
2408
|
disabled: {
|
|
2357
2409
|
fill: 'transparent',
|
|
2358
|
-
color: '#
|
|
2410
|
+
color: '#B4B4B4',
|
|
2359
2411
|
borderColor: 'transparent'
|
|
2360
|
-
}
|
|
2412
|
+
},
|
|
2413
|
+
focus: focusButtonStyle
|
|
2361
2414
|
},
|
|
2362
2415
|
tertiary: {
|
|
2363
2416
|
"default": {
|
|
2364
2417
|
fill: 'transparent',
|
|
2365
|
-
color: '#
|
|
2366
|
-
borderColor: '#
|
|
2418
|
+
color: '#F8F9F9',
|
|
2419
|
+
borderColor: '#F8F9F9'
|
|
2367
2420
|
},
|
|
2368
2421
|
mouseOver: {
|
|
2369
|
-
fill: '#
|
|
2370
|
-
color: '#
|
|
2371
|
-
borderColor: '#
|
|
2422
|
+
fill: '#414751',
|
|
2423
|
+
color: '#F8F9F9',
|
|
2424
|
+
borderColor: '#F8F9F9'
|
|
2372
2425
|
},
|
|
2373
2426
|
active: {
|
|
2374
2427
|
fill: 'transparent',
|
|
2375
|
-
color: '#
|
|
2376
|
-
borderColor: '#
|
|
2428
|
+
color: '#7BACFF',
|
|
2429
|
+
borderColor: '#7BACFF'
|
|
2377
2430
|
},
|
|
2378
2431
|
activeMouseOver: {
|
|
2379
|
-
fill: '
|
|
2380
|
-
color: '#
|
|
2381
|
-
borderColor: '#
|
|
2432
|
+
fill: '#414751',
|
|
2433
|
+
color: '#7BACFF',
|
|
2434
|
+
borderColor: '#7BACFF'
|
|
2382
2435
|
},
|
|
2383
2436
|
disabled: {
|
|
2384
2437
|
fill: 'transparent',
|
|
2385
|
-
color: '#
|
|
2438
|
+
color: '#B4B4B4',
|
|
2386
2439
|
borderColor: 'transparent'
|
|
2387
|
-
}
|
|
2440
|
+
},
|
|
2441
|
+
focus: focusButtonStyle
|
|
2388
2442
|
},
|
|
2389
2443
|
flat: {
|
|
2390
2444
|
"default": {
|
|
2391
2445
|
fill: 'transparent',
|
|
2392
|
-
color: '#
|
|
2446
|
+
color: '#F8F9F9',
|
|
2393
2447
|
borderColor: 'transparent'
|
|
2394
2448
|
},
|
|
2395
2449
|
mouseOver: {
|
|
2396
|
-
fill: '#
|
|
2397
|
-
color: '#
|
|
2450
|
+
fill: '#414751',
|
|
2451
|
+
color: '#F8F9F9',
|
|
2398
2452
|
borderColor: 'transparent'
|
|
2399
2453
|
},
|
|
2400
2454
|
active: {
|
|
2401
2455
|
fill: 'transparent',
|
|
2402
|
-
color: '#
|
|
2456
|
+
color: '#7BACFF',
|
|
2403
2457
|
borderColor: 'transparent'
|
|
2404
2458
|
},
|
|
2405
2459
|
activeMouseOver: {
|
|
2406
|
-
fill: '
|
|
2407
|
-
color: '#
|
|
2460
|
+
fill: '#414751',
|
|
2461
|
+
color: '#7BACFF',
|
|
2408
2462
|
borderColor: 'transparent'
|
|
2409
2463
|
},
|
|
2410
2464
|
disabled: {
|
|
2411
2465
|
fill: 'transparent',
|
|
2412
|
-
color: '#
|
|
2466
|
+
color: '#B4B4B4',
|
|
2413
2467
|
borderColor: 'transparent'
|
|
2414
|
-
}
|
|
2468
|
+
},
|
|
2469
|
+
focus: focusButtonStyle
|
|
2415
2470
|
},
|
|
2416
2471
|
tool: {
|
|
2417
2472
|
"default": {
|
|
2418
2473
|
fill: '#393939',
|
|
2419
|
-
color: '#
|
|
2474
|
+
color: '#F8F9F9',
|
|
2420
2475
|
borderColor: 'transparent'
|
|
2421
2476
|
},
|
|
2422
2477
|
mouseOver: {
|
|
2423
|
-
fill: '#
|
|
2424
|
-
color: '#
|
|
2478
|
+
fill: '#414751',
|
|
2479
|
+
color: '#F8F9F9',
|
|
2425
2480
|
borderColor: 'transparent'
|
|
2426
2481
|
},
|
|
2427
2482
|
active: {
|
|
@@ -2436,20 +2491,21 @@
|
|
|
2436
2491
|
},
|
|
2437
2492
|
disabled: {
|
|
2438
2493
|
fill: 'transparent',
|
|
2439
|
-
color: '#
|
|
2494
|
+
color: '#B4B4B4',
|
|
2440
2495
|
borderColor: 'transparent'
|
|
2441
|
-
}
|
|
2496
|
+
},
|
|
2497
|
+
focus: focusButtonStyle
|
|
2442
2498
|
},
|
|
2443
2499
|
boxed: {
|
|
2444
2500
|
"default": {
|
|
2445
2501
|
fill: 'transparent',
|
|
2446
|
-
color: '#
|
|
2447
|
-
borderColor: '#
|
|
2502
|
+
color: '#F8F9F9',
|
|
2503
|
+
borderColor: '#F8F9F9'
|
|
2448
2504
|
},
|
|
2449
2505
|
mouseOver: {
|
|
2450
|
-
fill: '#
|
|
2451
|
-
color: '#
|
|
2452
|
-
borderColor: '#
|
|
2506
|
+
fill: '#414751',
|
|
2507
|
+
color: '#F8F9F9',
|
|
2508
|
+
borderColor: '#F8F9F9'
|
|
2453
2509
|
},
|
|
2454
2510
|
active: {
|
|
2455
2511
|
fill: '#186DFF',
|
|
@@ -2463,9 +2519,10 @@
|
|
|
2463
2519
|
},
|
|
2464
2520
|
disabled: {
|
|
2465
2521
|
fill: 'transparent',
|
|
2466
|
-
color: '#
|
|
2522
|
+
color: '#B4B4B4',
|
|
2467
2523
|
borderColor: 'transparent'
|
|
2468
|
-
}
|
|
2524
|
+
},
|
|
2525
|
+
focus: focusButtonStyle
|
|
2469
2526
|
},
|
|
2470
2527
|
icon: {
|
|
2471
2528
|
"default": {
|
|
@@ -2474,7 +2531,7 @@
|
|
|
2474
2531
|
borderColor: 'transparent'
|
|
2475
2532
|
},
|
|
2476
2533
|
mouseOver: {
|
|
2477
|
-
fill: '#
|
|
2534
|
+
fill: '#414751',
|
|
2478
2535
|
color: '#F8F9F9',
|
|
2479
2536
|
borderColor: 'transparent'
|
|
2480
2537
|
},
|
|
@@ -2484,7 +2541,7 @@
|
|
|
2484
2541
|
borderColor: 'transparent'
|
|
2485
2542
|
},
|
|
2486
2543
|
activeMouseOver: {
|
|
2487
|
-
fill: '
|
|
2544
|
+
fill: '#414751',
|
|
2488
2545
|
color: '#488BFD',
|
|
2489
2546
|
borderColor: 'transparent'
|
|
2490
2547
|
},
|
|
@@ -2492,11 +2549,10 @@
|
|
|
2492
2549
|
fill: 'transparent',
|
|
2493
2550
|
color: '#B4B4B4',
|
|
2494
2551
|
borderColor: 'transparent'
|
|
2495
|
-
}
|
|
2552
|
+
},
|
|
2553
|
+
focus: focusButtonStyle
|
|
2496
2554
|
},
|
|
2497
|
-
focusDefault:
|
|
2498
|
-
outline: 'solid 2px #419cfe'
|
|
2499
|
-
}
|
|
2555
|
+
focusDefault: focusButtonStyle
|
|
2500
2556
|
},
|
|
2501
2557
|
typographyAndIcons: {
|
|
2502
2558
|
text: '#FFFFFF',
|
|
@@ -2506,7 +2562,7 @@
|
|
|
2506
2562
|
iconLinkDisabled: '#5E5E5E',
|
|
2507
2563
|
textLinkActive: '#488BFD',
|
|
2508
2564
|
buttonIconTertiaryFlat: '#C5C5C5',
|
|
2509
|
-
inactiveText: '#
|
|
2565
|
+
inactiveText: '#b4b4b4'
|
|
2510
2566
|
},
|
|
2511
2567
|
textInputField: {
|
|
2512
2568
|
"default": {
|
|
@@ -2538,7 +2594,8 @@
|
|
|
2538
2594
|
},
|
|
2539
2595
|
cards: {
|
|
2540
2596
|
cardContainer: '#303030',
|
|
2541
|
-
cardContainerBorder: '#404040'
|
|
2597
|
+
cardContainerBorder: '#404040',
|
|
2598
|
+
cardContainerMouseOver: '#414751'
|
|
2542
2599
|
},
|
|
2543
2600
|
backdrops: {
|
|
2544
2601
|
black: {
|
|
@@ -2553,7 +2610,7 @@
|
|
|
2553
2610
|
screenManager: {
|
|
2554
2611
|
activeWindow: '#242424',
|
|
2555
2612
|
inactiveWindow: '#303030',
|
|
2556
|
-
tabButtonHover: '
|
|
2613
|
+
tabButtonHover: '#414751;'
|
|
2557
2614
|
},
|
|
2558
2615
|
timeSlider: {
|
|
2559
2616
|
// player
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface CSSProperties extends React.CSSProperties {
|
|
2
|
+
export interface CSSProperties extends React.CSSProperties {
|
|
3
3
|
rgba?: string;
|
|
4
4
|
}
|
|
5
5
|
export declare enum ThemeTypes {
|
|
@@ -14,6 +14,7 @@ export interface ButtonStyle {
|
|
|
14
14
|
active: CSSProperties;
|
|
15
15
|
activeMouseOver: CSSProperties;
|
|
16
16
|
disabled: CSSProperties;
|
|
17
|
+
focus: CSSProperties;
|
|
17
18
|
}
|
|
18
19
|
export interface ButtonStyles {
|
|
19
20
|
primary: ButtonStyle;
|
|
@@ -60,7 +61,8 @@ export declare type GeowebColorPalette = {
|
|
|
60
61
|
};
|
|
61
62
|
cards: {
|
|
62
63
|
cardContainer: CSSProperties['color'];
|
|
63
|
-
cardContainerBorder
|
|
64
|
+
cardContainerBorder: CSSProperties['color'];
|
|
65
|
+
cardContainerMouseOver: CSSProperties['color'];
|
|
64
66
|
};
|
|
65
67
|
backdrops: {
|
|
66
68
|
black: CSSProperties;
|
|
@@ -175,4 +177,3 @@ declare module '@mui/material/Button' {
|
|
|
175
177
|
icon: true;
|
|
176
178
|
}
|
|
177
179
|
}
|
|
178
|
-
export {};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Theme, PaletteMode } from '@mui/material';
|
|
2
3
|
import { Shadows } from '@mui/material/styles/shadows';
|
|
3
4
|
import { Elevations, GeowebColorPalette } from './types';
|
|
4
5
|
export declare const hex2rgba: (hex: string, alpha?: number) => string;
|
|
6
|
+
export interface CSSProperties extends React.CSSProperties {
|
|
7
|
+
rgba?: string;
|
|
8
|
+
opacity?: number;
|
|
9
|
+
}
|
|
5
10
|
export declare const parseColors: (colors: GeowebColorPalette) => GeowebColorPalette;
|
|
6
11
|
export declare const createShadows: (elevations: Elevations) => Shadows;
|
|
7
12
|
export declare const breakpoints: {
|