@opengeoweb/theme 4.17.0 → 4.19.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.d.ts +4 -0
- package/index.esm.js +1333 -1066
- package/index.umd.js +1331 -1074
- package/lib/components/Theme/ThemeContext.d.ts +1 -1
- package/lib/components/Theme/index.d.ts +0 -4
- package/lib/stories/snapshots/IconButton.stories.d.ts +18 -2
- package/lib/{components/Theme/types.d.ts → types.d.ts} +16 -13
- package/lib/utils/buttonStyles.d.ts +8 -0
- package/lib/utils/createTheme.d.ts +16 -0
- package/lib/utils/themes/darkTheme.d.ts +3 -0
- package/lib/utils/themes/index.d.ts +5 -0
- package/lib/utils/themes/lightTheme.d.ts +3 -0
- package/lib/utils/utils.d.ts +5 -0
- package/lib/utils/utils.spec.d.ts +1 -0
- package/package.json +3 -2
- package/lib/components/Theme/buttonStyles.d.ts +0 -7
- package/lib/components/Theme/darkTheme.d.ts +0 -3
- package/lib/components/Theme/lightTheme.d.ts +0 -3
- package/lib/components/Theme/utils.d.ts +0 -19
- /package/lib/{components/Theme → utils}/buttonStyles.test.d.ts +0 -0
- /package/lib/{components/Theme/utils.spec.d.ts → utils/createTheme.spec.d.ts} +0 -0
- /package/lib/{components/Theme → utils/themes}/gwTheme.d.ts +0 -0
package/index.esm.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SvgIcon, createTheme as createTheme$1, ThemeProvider as ThemeProvider$1, CssBaseline, StyledEngineProvider } from '@mui/material';
|
|
3
|
+
import { renderTimeViewClock } from '@mui/x-date-pickers';
|
|
3
4
|
|
|
4
5
|
/*! *****************************************************************************
|
|
5
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -868,31 +869,6 @@ function _nonIterableRest() {
|
|
|
868
869
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
869
870
|
}
|
|
870
871
|
|
|
871
|
-
/* *
|
|
872
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
873
|
-
* you may not use this file except in compliance with the License.
|
|
874
|
-
* You may obtain a copy of the License at
|
|
875
|
-
*
|
|
876
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
877
|
-
*
|
|
878
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
879
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
880
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
881
|
-
* See the License for the specific language governing permissions and
|
|
882
|
-
* limitations under the License.
|
|
883
|
-
*
|
|
884
|
-
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
885
|
-
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
886
|
-
* */
|
|
887
|
-
var ThemeTypes;
|
|
888
|
-
|
|
889
|
-
(function (ThemeTypes) {
|
|
890
|
-
ThemeTypes["DARK_THEME"] = "darkTheme";
|
|
891
|
-
ThemeTypes["LIGHT_THEME"] = "lightTheme";
|
|
892
|
-
})(ThemeTypes || (ThemeTypes = {}));
|
|
893
|
-
|
|
894
|
-
var gwButtonVariants = ['primary', 'secondary', 'tertiary', 'flat', 'tool', 'boxed', 'icon'];
|
|
895
|
-
|
|
896
872
|
var BORDER_RADIUS = 3;
|
|
897
873
|
var defaultButtonStyle = function defaultButtonStyle(button) {
|
|
898
874
|
return {
|
|
@@ -923,10 +899,12 @@ var defaultButtonStyle = function defaultButtonStyle(button) {
|
|
|
923
899
|
borderColor: button.disabled.borderColor
|
|
924
900
|
},
|
|
925
901
|
// focus styling
|
|
926
|
-
'&.Mui-focusVisible
|
|
902
|
+
'&.Mui-focusVisible': {
|
|
927
903
|
outline: button.focus.outline,
|
|
928
|
-
|
|
929
|
-
|
|
904
|
+
'&:not(.Mui-selected)': {
|
|
905
|
+
borderColor: 'transparent',
|
|
906
|
+
backgroundColor: button.mouseOver.fill
|
|
907
|
+
}
|
|
930
908
|
}
|
|
931
909
|
};
|
|
932
910
|
};
|
|
@@ -954,24 +932,61 @@ var buttonStyle = function buttonStyle(button) {
|
|
|
954
932
|
}
|
|
955
933
|
});
|
|
956
934
|
};
|
|
957
|
-
var
|
|
958
|
-
return
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
935
|
+
var iconButtonStyle = function iconButtonStyle(button) {
|
|
936
|
+
return Object.assign(Object.assign({}, defaultButtonStyle(button)), {
|
|
937
|
+
borderStyle: 'solid',
|
|
938
|
+
borderWidth: '1px',
|
|
939
|
+
borderColor: button["default"].borderColor,
|
|
940
|
+
// size styling
|
|
941
|
+
'&[class*="sizeSmall"]': {
|
|
942
|
+
width: 24,
|
|
943
|
+
height: 24
|
|
944
|
+
},
|
|
945
|
+
'&[class*="sizeMedium"]': {
|
|
946
|
+
width: 32,
|
|
947
|
+
height: 32
|
|
948
|
+
},
|
|
949
|
+
'&[class*="sizeLarge"]': {
|
|
950
|
+
width: 40,
|
|
951
|
+
height: 40
|
|
952
|
+
}
|
|
953
|
+
});
|
|
963
954
|
};
|
|
964
955
|
var buttonVariants = function buttonVariants(buttons) {
|
|
965
|
-
|
|
956
|
+
var stylingFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : buttonStyle;
|
|
957
|
+
return Object.keys(buttons).map(function (variant) {
|
|
966
958
|
return {
|
|
967
959
|
props: {
|
|
968
960
|
variant: variant
|
|
969
961
|
},
|
|
970
|
-
style:
|
|
962
|
+
style: stylingFn(buttons[variant])
|
|
971
963
|
};
|
|
972
964
|
});
|
|
973
965
|
};
|
|
966
|
+
var variantsToClassName = function variantsToClassName(buttonVariants) {
|
|
967
|
+
return buttonVariants.reduce(function (variants, _ref) {
|
|
968
|
+
var variant = _ref.props.variant,
|
|
969
|
+
style = _ref.style;
|
|
970
|
+
return Object.assign(Object.assign({}, variants), _defineProperty({}, "&.".concat(variant), style));
|
|
971
|
+
}, {});
|
|
972
|
+
};
|
|
974
973
|
|
|
974
|
+
/* *
|
|
975
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
976
|
+
* you may not use this file except in compliance with the License.
|
|
977
|
+
* You may obtain a copy of the License at
|
|
978
|
+
*
|
|
979
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
980
|
+
*
|
|
981
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
982
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
983
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
984
|
+
* See the License for the specific language governing permissions and
|
|
985
|
+
* limitations under the License.
|
|
986
|
+
*
|
|
987
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
988
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
989
|
+
* */
|
|
975
990
|
var hex2rgba = function hex2rgba(hex) {
|
|
976
991
|
var alpha = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
977
992
|
|
|
@@ -1020,580 +1035,190 @@ var createShadows = function createShadows(elevations) {
|
|
|
1020
1035
|
return value;
|
|
1021
1036
|
});
|
|
1022
1037
|
};
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1038
|
+
|
|
1039
|
+
/* *
|
|
1040
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1041
|
+
* you may not use this file except in compliance with the License.
|
|
1042
|
+
* You may obtain a copy of the License at
|
|
1043
|
+
*
|
|
1044
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1045
|
+
*
|
|
1046
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1047
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1048
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1049
|
+
* See the License for the specific language governing permissions and
|
|
1050
|
+
* limitations under the License.
|
|
1051
|
+
*
|
|
1052
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1053
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
1054
|
+
* */
|
|
1055
|
+
var focusButtonStyle$1 = {
|
|
1056
|
+
outline: 'solid 2px #419cfe'
|
|
1057
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/5ecf84d920b99428d7f98555
|
|
1058
|
+
|
|
1059
|
+
var colors$1 = {
|
|
1060
|
+
background: {
|
|
1061
|
+
surface: '#FFFFFF',
|
|
1062
|
+
surfaceApp: '#F5F5F5',
|
|
1063
|
+
surfaceBrowser: '#CFCFCF'
|
|
1064
|
+
},
|
|
1065
|
+
brand: {
|
|
1066
|
+
brand: '#FFFFFF'
|
|
1067
|
+
},
|
|
1068
|
+
buttons: {
|
|
1069
|
+
primary: {
|
|
1070
|
+
"default": {
|
|
1071
|
+
fill: '#186DFF',
|
|
1072
|
+
color: '#FFFFFF',
|
|
1073
|
+
borderColor: 'transparent'
|
|
1045
1074
|
},
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1075
|
+
mouseOver: {
|
|
1076
|
+
fill: '#1047B0',
|
|
1077
|
+
color: '#FFFFFF',
|
|
1078
|
+
borderColor: '#71A6FF'
|
|
1049
1079
|
},
|
|
1050
|
-
|
|
1051
|
-
|
|
1080
|
+
active: {
|
|
1081
|
+
fill: '#186DFF',
|
|
1082
|
+
color: '#FFFFFF',
|
|
1083
|
+
borderColor: 'transparent'
|
|
1052
1084
|
},
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
fontFamily: ['Roboto', 'Helvetica', 'Arial', 'sans-serif'].join(',')
|
|
1085
|
+
activeMouseOver: {},
|
|
1086
|
+
disabled: {
|
|
1087
|
+
fill: 'transparent',
|
|
1088
|
+
color: '#626262',
|
|
1089
|
+
borderColor: 'transparent'
|
|
1090
|
+
},
|
|
1091
|
+
focus: focusButtonStyle$1
|
|
1061
1092
|
},
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
focusRipple: false
|
|
1068
|
-
}
|
|
1093
|
+
secondary: {
|
|
1094
|
+
"default": {
|
|
1095
|
+
fill: '#374061',
|
|
1096
|
+
color: '#FFFFFF',
|
|
1097
|
+
borderColor: 'transparent'
|
|
1069
1098
|
},
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
styleOverrides: {
|
|
1075
|
-
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
1076
|
-
}
|
|
1099
|
+
mouseOver: {
|
|
1100
|
+
fill: '#1047B0',
|
|
1101
|
+
color: '#FFFFFF',
|
|
1102
|
+
borderColor: 'transparent'
|
|
1077
1103
|
},
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
},
|
|
1083
|
-
styleOverrides: {
|
|
1084
|
-
root: defaultButtonStyle(geowebColors.buttons.flat)
|
|
1085
|
-
}
|
|
1104
|
+
active: {
|
|
1105
|
+
fill: '#186DFF',
|
|
1106
|
+
color: '#FFFFFF',
|
|
1107
|
+
borderColor: 'transparent'
|
|
1086
1108
|
},
|
|
1087
|
-
|
|
1088
|
-
|
|
1109
|
+
activeMouseOver: {},
|
|
1110
|
+
disabled: {
|
|
1111
|
+
fill: 'transparent',
|
|
1112
|
+
color: '#626262',
|
|
1113
|
+
borderColor: 'transparent'
|
|
1089
1114
|
},
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
borderBottomColor: geowebColors.greys.accessibleLight
|
|
1098
|
-
},
|
|
1099
|
-
li: {
|
|
1100
|
-
'&:hover': {
|
|
1101
|
-
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1102
|
-
}
|
|
1103
|
-
},
|
|
1104
|
-
'&.Mui-selected': {
|
|
1105
|
-
background: 'none',
|
|
1106
|
-
boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive)
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1115
|
+
focus: focusButtonStyle$1
|
|
1116
|
+
},
|
|
1117
|
+
tertiary: {
|
|
1118
|
+
"default": {
|
|
1119
|
+
fill: 'transparent',
|
|
1120
|
+
color: '#374061',
|
|
1121
|
+
borderColor: '#374061'
|
|
1110
1122
|
},
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
'&.MuiRadio-root.Mui-disabled': {
|
|
1116
|
-
color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled)
|
|
1117
|
-
},
|
|
1118
|
-
'&.Mui-checked': {
|
|
1119
|
-
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
+
mouseOver: {
|
|
1124
|
+
fill: '#E0E8F5',
|
|
1125
|
+
color: '#374061',
|
|
1126
|
+
borderColor: '#374061'
|
|
1123
1127
|
},
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
'&.MuiCheckbox-root.Mui-disabled': {
|
|
1129
|
-
color: geowebColors.typographyAndIcons.iconLinkDisabled
|
|
1130
|
-
},
|
|
1131
|
-
'&.Mui-checked': {
|
|
1132
|
-
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1128
|
+
active: {
|
|
1129
|
+
fill: 'transparent',
|
|
1130
|
+
color: '#186DFF',
|
|
1131
|
+
borderColor: '#186DFF'
|
|
1136
1132
|
},
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
},
|
|
1142
|
-
outlined: {
|
|
1143
|
-
borderColor: geowebColors.cards.cardContainerBorder
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1133
|
+
activeMouseOver: {
|
|
1134
|
+
fill: '#E0E8F5',
|
|
1135
|
+
color: '#186DFF',
|
|
1136
|
+
borderColor: '#186DFF'
|
|
1146
1137
|
},
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1138
|
+
disabled: {
|
|
1139
|
+
fill: 'transparent',
|
|
1140
|
+
color: '#626262',
|
|
1141
|
+
borderColor: 'transparent'
|
|
1153
1142
|
},
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1143
|
+
focus: focusButtonStyle$1
|
|
1144
|
+
},
|
|
1145
|
+
flat: {
|
|
1146
|
+
"default": {
|
|
1147
|
+
fill: 'transparent',
|
|
1148
|
+
color: '#374061',
|
|
1149
|
+
borderColor: 'transparent'
|
|
1160
1150
|
},
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
borderCollapse: 'separate'
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1151
|
+
mouseOver: {
|
|
1152
|
+
fill: '#E0E8F5',
|
|
1153
|
+
color: '#374061',
|
|
1154
|
+
borderColor: 'transparent'
|
|
1168
1155
|
},
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
boxShadow: shadows[0]
|
|
1174
|
-
}
|
|
1175
|
-
},
|
|
1176
|
-
root: {
|
|
1177
|
-
transition: 'box-shadow 100ms ease-out',
|
|
1178
|
-
boxShadow: shadows[0],
|
|
1179
|
-
borderRadius: BORDER_RADIUS,
|
|
1180
|
-
'&:hover': {
|
|
1181
|
-
boxShadow: shadows[1]
|
|
1182
|
-
},
|
|
1183
|
-
position: 'relative'
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1156
|
+
active: {
|
|
1157
|
+
fill: 'transparent',
|
|
1158
|
+
color: '#186DFF',
|
|
1159
|
+
borderColor: 'transparent'
|
|
1186
1160
|
},
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
fontSize: '0.875rem',
|
|
1192
|
-
fontWeight: 400
|
|
1193
|
-
},
|
|
1194
|
-
body: {
|
|
1195
|
-
padding: 12,
|
|
1196
|
-
fontWeight: 500,
|
|
1197
|
-
backgroundColor: geowebColors.background.surface,
|
|
1198
|
-
borderStyle: 'solid',
|
|
1199
|
-
borderColor: 'transparent',
|
|
1200
|
-
borderWidth: 1,
|
|
1201
|
-
borderTopColor: geowebColors.cards.cardContainerBorder,
|
|
1202
|
-
borderBottomColor: geowebColors.cards.cardContainerBorder,
|
|
1203
|
-
'&:first-child': {
|
|
1204
|
-
borderLeftColor: geowebColors.cards.cardContainerBorder,
|
|
1205
|
-
borderRadius: "".concat(BORDER_RADIUS, "px 0px 0px ").concat(BORDER_RADIUS, "px")
|
|
1206
|
-
},
|
|
1207
|
-
'&:last-child': {
|
|
1208
|
-
borderRightColor: geowebColors.cards.cardContainerBorder,
|
|
1209
|
-
borderRadius: "0px ".concat(BORDER_RADIUS, "px ").concat(BORDER_RADIUS, "px 0px")
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1161
|
+
activeMouseOver: {
|
|
1162
|
+
fill: '#E0E8F5',
|
|
1163
|
+
color: '#186DFF',
|
|
1164
|
+
borderColor: 'transparent'
|
|
1213
1165
|
},
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
'&:after': {
|
|
1219
|
-
content: '""',
|
|
1220
|
-
position: 'absolute',
|
|
1221
|
-
bottom: 0,
|
|
1222
|
-
height: 1,
|
|
1223
|
-
width: '100%',
|
|
1224
|
-
zIndex: 0,
|
|
1225
|
-
backgroundColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1226
|
-
}
|
|
1227
|
-
},
|
|
1228
|
-
indicator: {
|
|
1229
|
-
zIndex: 1,
|
|
1230
|
-
backgroundColor: geowebColors.typographyAndIcons.iconLinkActive
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1166
|
+
disabled: {
|
|
1167
|
+
fill: 'transparent',
|
|
1168
|
+
color: '#626262',
|
|
1169
|
+
borderColor: 'transparent'
|
|
1233
1170
|
},
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
'&:hover': {
|
|
1242
|
-
opacity: 1,
|
|
1243
|
-
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1244
|
-
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1171
|
+
focus: focusButtonStyle$1
|
|
1172
|
+
},
|
|
1173
|
+
tool: {
|
|
1174
|
+
"default": {
|
|
1175
|
+
fill: '#ECEDEE',
|
|
1176
|
+
color: '#374061',
|
|
1177
|
+
borderColor: 'transparent'
|
|
1248
1178
|
},
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
fontSize: '14px',
|
|
1254
|
-
minHeight: '36px'
|
|
1255
|
-
},
|
|
1256
|
-
divider: {
|
|
1257
|
-
borderBottomColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1179
|
+
mouseOver: {
|
|
1180
|
+
fill: '#E0E8F5',
|
|
1181
|
+
color: '#374061',
|
|
1182
|
+
borderColor: 'transparent'
|
|
1260
1183
|
},
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
width: '24px',
|
|
1266
|
-
height: '24px'
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1184
|
+
active: {
|
|
1185
|
+
fill: '#186DFF',
|
|
1186
|
+
color: '#FFFFFF',
|
|
1187
|
+
borderColor: 'transparent'
|
|
1269
1188
|
},
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
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
|
-
}
|
|
1189
|
+
activeMouseOver: {
|
|
1190
|
+
fill: '#1047B0',
|
|
1191
|
+
color: '#FFFFFF',
|
|
1192
|
+
borderColor: 'transparent'
|
|
1292
1193
|
},
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1194
|
+
disabled: {
|
|
1195
|
+
fill: 'transparent',
|
|
1196
|
+
color: '#626262',
|
|
1197
|
+
borderColor: 'transparent'
|
|
1299
1198
|
},
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
fontWeight: 400,
|
|
1308
|
-
fontStretch: 'normal',
|
|
1309
|
-
fontStyle: 'normal',
|
|
1310
|
-
letterSpacing: 0.44,
|
|
1311
|
-
lineHeight: 1.56
|
|
1312
|
-
}
|
|
1313
|
-
}
|
|
1199
|
+
focus: focusButtonStyle$1
|
|
1200
|
+
},
|
|
1201
|
+
boxed: {
|
|
1202
|
+
"default": {
|
|
1203
|
+
fill: 'transparent',
|
|
1204
|
+
color: '#374061',
|
|
1205
|
+
borderColor: '#374061'
|
|
1314
1206
|
},
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
textDecoration: 'none',
|
|
1320
|
-
'&:hover': {
|
|
1321
|
-
textDecoration: 'underline',
|
|
1322
|
-
textDecorationColor: geowebColors.typographyAndIcons.textLinkActive
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1207
|
+
mouseOver: {
|
|
1208
|
+
fill: '#E0E8F5',
|
|
1209
|
+
color: '#374061',
|
|
1210
|
+
borderColor: '#374061'
|
|
1326
1211
|
},
|
|
1327
|
-
|
|
1328
|
-
styleOverrides: {
|
|
1329
|
-
standardError: {
|
|
1330
|
-
border: geowebColors.functional.errorOutline.border,
|
|
1331
|
-
borderRadius: '0px',
|
|
1332
|
-
backgroundColor: geowebColors.functional.errorOutline.fill,
|
|
1333
|
-
'& .MuiAlert-icon': {
|
|
1334
|
-
color: geowebColors.functional.error,
|
|
1335
|
-
opacity: 1
|
|
1336
|
-
}
|
|
1337
|
-
},
|
|
1338
|
-
standardWarning: {
|
|
1339
|
-
border: geowebColors.functional.warningOutline.border,
|
|
1340
|
-
borderRadius: '0px',
|
|
1341
|
-
backgroundColor: geowebColors.functional.warningOutline.fill,
|
|
1342
|
-
'& .MuiAlert-icon': {
|
|
1343
|
-
color: geowebColors.functional.warning,
|
|
1344
|
-
opacity: 1
|
|
1345
|
-
}
|
|
1346
|
-
},
|
|
1347
|
-
standardInfo: {
|
|
1348
|
-
border: geowebColors.functional.notificationOutline.border,
|
|
1349
|
-
borderRadius: '0px',
|
|
1350
|
-
backgroundColor: geowebColors.functional.notificationOutline.fill,
|
|
1351
|
-
'& .MuiAlert-icon': {
|
|
1352
|
-
color: geowebColors.functional.notification,
|
|
1353
|
-
opacity: 1
|
|
1354
|
-
}
|
|
1355
|
-
},
|
|
1356
|
-
standardSuccess: {
|
|
1357
|
-
border: geowebColors.functional.successOutline.border,
|
|
1358
|
-
borderRadius: '0px',
|
|
1359
|
-
backgroundColor: geowebColors.functional.successOutline.fill,
|
|
1360
|
-
'& .MuiAlert-icon': {
|
|
1361
|
-
color: geowebColors.functional.success,
|
|
1362
|
-
opacity: 1
|
|
1363
|
-
}
|
|
1364
|
-
},
|
|
1365
|
-
action: {
|
|
1366
|
-
color: geowebColors.buttons.tertiary["default"].color
|
|
1367
|
-
},
|
|
1368
|
-
message: {
|
|
1369
|
-
fontSize: '14px',
|
|
1370
|
-
lineHeight: 1.43,
|
|
1371
|
-
letterSpacing: '0.25px',
|
|
1372
|
-
color: geowebColors.typographyAndIcons.text
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
},
|
|
1376
|
-
MuiTextField: {
|
|
1377
|
-
defaultProps: {
|
|
1378
|
-
variant: 'filled'
|
|
1379
|
-
}
|
|
1380
|
-
},
|
|
1381
|
-
MuiFilledInput: {
|
|
1382
|
-
styleOverrides: {
|
|
1383
|
-
root: {
|
|
1384
|
-
backgroundColor: geowebColors.textInputField["default"].rgba,
|
|
1385
|
-
'&.Mui-focused': {
|
|
1386
|
-
backgroundColor: geowebColors.textInputField.active.rgba,
|
|
1387
|
-
'&:after': {
|
|
1388
|
-
borderColor: 'transparent'
|
|
1389
|
-
}
|
|
1390
|
-
},
|
|
1391
|
-
'&.Mui-disabled': {
|
|
1392
|
-
backgroundColor: geowebColors.textInputField.disabled.rgba
|
|
1393
|
-
},
|
|
1394
|
-
'&.Mui-error': {
|
|
1395
|
-
'&:after': {
|
|
1396
|
-
borderColor: geowebColors.captions.captionError.color
|
|
1397
|
-
}
|
|
1398
|
-
},
|
|
1399
|
-
// can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
|
|
1400
|
-
'&.MuiInputBase-readOnly': {
|
|
1401
|
-
background: 'transparent',
|
|
1402
|
-
color: geowebColors.typographyAndIcons.text,
|
|
1403
|
-
' .MuiInputBase-readOnly': {
|
|
1404
|
-
WebkitTextFillColor: 'inherit'
|
|
1405
|
-
},
|
|
1406
|
-
'&:before': {
|
|
1407
|
-
border: 'transparent'
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
},
|
|
1411
|
-
underline: {
|
|
1412
|
-
'&:after': {
|
|
1413
|
-
borderWidth: '1px'
|
|
1414
|
-
},
|
|
1415
|
-
'&.Mui-disabled:before': {
|
|
1416
|
-
borderBottomStyle: 'solid'
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1420
|
-
},
|
|
1421
|
-
MuiFormLabel: {
|
|
1422
|
-
styleOverrides: {
|
|
1423
|
-
root: {
|
|
1424
|
-
color: geowebColors.captions.captionStatus.color,
|
|
1425
|
-
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1426
|
-
'&.Mui-focused': {
|
|
1427
|
-
color: geowebColors.captions.captionInformation.color,
|
|
1428
|
-
opacity: geowebColors.captions.captionInformation.opacity
|
|
1429
|
-
},
|
|
1430
|
-
'&.Mui-error': {
|
|
1431
|
-
color: geowebColors.captions.captionError.color,
|
|
1432
|
-
opacity: geowebColors.captions.captionError.opacity
|
|
1433
|
-
},
|
|
1434
|
-
'&.Mui-disabled': {
|
|
1435
|
-
color: geowebColors.captions.captionDisabled.color,
|
|
1436
|
-
opacity: geowebColors.captions.captionDisabled.opacity
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
},
|
|
1441
|
-
MuiFormHelperText: {
|
|
1442
|
-
styleOverrides: {
|
|
1443
|
-
root: {
|
|
1444
|
-
color: geowebColors.captions.captionStatus.color,
|
|
1445
|
-
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1446
|
-
'&.Mui-error': {
|
|
1447
|
-
color: geowebColors.captions.captionError.color,
|
|
1448
|
-
opacity: geowebColors.captions.captionError.opacity
|
|
1449
|
-
},
|
|
1450
|
-
'&.Mui-disabled': {
|
|
1451
|
-
color: geowebColors.captions.captionDisabled.color,
|
|
1452
|
-
opacity: geowebColors.captions.captionDisabled.opacity
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
}
|
|
1456
|
-
},
|
|
1457
|
-
MuiSwitch: {
|
|
1458
|
-
styleOverrides: {
|
|
1459
|
-
switchBase: {
|
|
1460
|
-
color: geowebColors.customSwitch.thumb,
|
|
1461
|
-
'&.Mui-checked': {
|
|
1462
|
-
color: geowebColors.customSwitch.thumb
|
|
1463
|
-
},
|
|
1464
|
-
'&.Mui-disabled': {
|
|
1465
|
-
color: geowebColors.customSwitch.thumbDisabled
|
|
1466
|
-
},
|
|
1467
|
-
'&.Mui-checked.Mui-disabled': {
|
|
1468
|
-
color: geowebColors.customSwitch.thumbDisabled
|
|
1469
|
-
},
|
|
1470
|
-
'&.Mui-checked+.MuiSwitch-track': {
|
|
1471
|
-
backgroundColor: geowebColors.customSwitch.trackActive
|
|
1472
|
-
},
|
|
1473
|
-
'&.Mui-disabled+.MuiSwitch-track': {
|
|
1474
|
-
backgroundColor: geowebColors.customSwitch.track
|
|
1475
|
-
},
|
|
1476
|
-
'&.Mui-checked.Mui-disabled+.MuiSwitch-track': {
|
|
1477
|
-
backgroundColor: geowebColors.customSwitch.trackActive
|
|
1478
|
-
}
|
|
1479
|
-
},
|
|
1480
|
-
track: {
|
|
1481
|
-
backgroundColor: geowebColors.customSwitch.track,
|
|
1482
|
-
opacity: '1 !important'
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
},
|
|
1486
|
-
MuiSnackbarContent: {
|
|
1487
|
-
styleOverrides: {
|
|
1488
|
-
root: {
|
|
1489
|
-
backgroundColor: geowebColors.snackbar.background,
|
|
1490
|
-
color: geowebColors.snackbar.text,
|
|
1491
|
-
fontSize: '16px',
|
|
1492
|
-
letterSpacing: '0.44px',
|
|
1493
|
-
borderRadius: '2px',
|
|
1494
|
-
boxShadow: shadows[8]
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
},
|
|
1498
|
-
MuiAvatar: {
|
|
1499
|
-
styleOverrides: {
|
|
1500
|
-
root: Object.assign(Object.assign({}, defaultButtonStyle(geowebColors.buttons.primary)), {
|
|
1501
|
-
fontWeight: 500,
|
|
1502
|
-
'&:hover': {
|
|
1503
|
-
backgroundColor: 'geowebColors.buttons.primary.default.fill'
|
|
1504
|
-
},
|
|
1505
|
-
height: 32,
|
|
1506
|
-
width: 32,
|
|
1507
|
-
fontSize: 16,
|
|
1508
|
-
borderRadius: '50%'
|
|
1509
|
-
})
|
|
1510
|
-
}
|
|
1511
|
-
},
|
|
1512
|
-
MuiAccordion: {
|
|
1513
|
-
styleOverrides: {
|
|
1514
|
-
root: {
|
|
1515
|
-
backgroundColor: geowebColors.cards.cardContainer,
|
|
1516
|
-
borderRadius: '3px',
|
|
1517
|
-
border: 'solid 1px',
|
|
1518
|
-
borderColor: geowebColors.cards.cardContainerBorder,
|
|
1519
|
-
color: geowebColors.buttons.flat["default"].color,
|
|
1520
|
-
padding: '0px',
|
|
1521
|
-
margin: '0px 12px 4px 12px',
|
|
1522
|
-
fontSize: '12px',
|
|
1523
|
-
'&:before': {
|
|
1524
|
-
display: 'none'
|
|
1525
|
-
},
|
|
1526
|
-
'& .MuiAccordionSummary-root.Mui-expanded': {
|
|
1527
|
-
borderBottom: 'solid 1px',
|
|
1528
|
-
borderColor: geowebColors.cards.cardContainerBorder
|
|
1529
|
-
},
|
|
1530
|
-
'& .MuiAccordionSummary-content': {
|
|
1531
|
-
margin: '2px',
|
|
1532
|
-
padding: '4px 4px 4px 10px'
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
}
|
|
1536
|
-
},
|
|
1537
|
-
MuiAccordionSummary: {
|
|
1538
|
-
styleOverrides: {
|
|
1539
|
-
root: {
|
|
1540
|
-
minHeight: '32px',
|
|
1541
|
-
padding: '0px',
|
|
1542
|
-
paddingRight: '5px'
|
|
1543
|
-
}
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
});
|
|
1548
|
-
};
|
|
1549
|
-
|
|
1550
|
-
/* *
|
|
1551
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1552
|
-
* you may not use this file except in compliance with the License.
|
|
1553
|
-
* You may obtain a copy of the License at
|
|
1554
|
-
*
|
|
1555
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1556
|
-
*
|
|
1557
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1558
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1559
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1560
|
-
* See the License for the specific language governing permissions and
|
|
1561
|
-
* limitations under the License.
|
|
1562
|
-
*
|
|
1563
|
-
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1564
|
-
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
1565
|
-
* */
|
|
1566
|
-
var focusButtonStyle$1 = {
|
|
1567
|
-
outline: 'solid 2px #419cfe'
|
|
1568
|
-
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/5ecf84d920b99428d7f98555
|
|
1569
|
-
|
|
1570
|
-
var colors$1 = {
|
|
1571
|
-
background: {
|
|
1572
|
-
surface: '#FFFFFF',
|
|
1573
|
-
surfaceApp: '#F5F5F5',
|
|
1574
|
-
surfaceBrowser: '#CFCFCF'
|
|
1575
|
-
},
|
|
1576
|
-
brand: {
|
|
1577
|
-
brand: '#FFFFFF'
|
|
1578
|
-
},
|
|
1579
|
-
buttons: {
|
|
1580
|
-
primary: {
|
|
1581
|
-
"default": {
|
|
1212
|
+
active: {
|
|
1582
1213
|
fill: '#186DFF',
|
|
1583
1214
|
color: '#FFFFFF',
|
|
1584
1215
|
borderColor: 'transparent'
|
|
1585
1216
|
},
|
|
1586
|
-
|
|
1217
|
+
activeMouseOver: {
|
|
1587
1218
|
fill: '#1047B0',
|
|
1588
1219
|
color: '#FFFFFF',
|
|
1589
|
-
borderColor: '#71A6FF'
|
|
1590
|
-
},
|
|
1591
|
-
active: {
|
|
1592
|
-
fill: '#186DFF',
|
|
1593
|
-
color: '#FFFFFF',
|
|
1594
1220
|
borderColor: 'transparent'
|
|
1595
1221
|
},
|
|
1596
|
-
activeMouseOver: {},
|
|
1597
1222
|
disabled: {
|
|
1598
1223
|
fill: 'transparent',
|
|
1599
1224
|
color: '#626262',
|
|
@@ -1601,50 +1226,26 @@ var colors$1 = {
|
|
|
1601
1226
|
},
|
|
1602
1227
|
focus: focusButtonStyle$1
|
|
1603
1228
|
},
|
|
1604
|
-
|
|
1229
|
+
icon: {
|
|
1605
1230
|
"default": {
|
|
1606
|
-
fill: '
|
|
1607
|
-
color: '#
|
|
1231
|
+
fill: 'transparent',
|
|
1232
|
+
color: '#374061',
|
|
1608
1233
|
borderColor: 'transparent'
|
|
1609
1234
|
},
|
|
1610
1235
|
mouseOver: {
|
|
1611
|
-
fill: '#
|
|
1612
|
-
color: '#
|
|
1236
|
+
fill: '#E0E8F5',
|
|
1237
|
+
color: '#374061',
|
|
1613
1238
|
borderColor: 'transparent'
|
|
1614
1239
|
},
|
|
1615
1240
|
active: {
|
|
1616
|
-
fill: '
|
|
1617
|
-
color: '#
|
|
1241
|
+
fill: 'transparent',
|
|
1242
|
+
color: '#186DFF',
|
|
1618
1243
|
borderColor: 'transparent'
|
|
1619
1244
|
},
|
|
1620
|
-
activeMouseOver: {},
|
|
1621
|
-
disabled: {
|
|
1622
|
-
fill: 'transparent',
|
|
1623
|
-
color: '#626262',
|
|
1624
|
-
borderColor: 'transparent'
|
|
1625
|
-
},
|
|
1626
|
-
focus: focusButtonStyle$1
|
|
1627
|
-
},
|
|
1628
|
-
tertiary: {
|
|
1629
|
-
"default": {
|
|
1630
|
-
fill: 'transparent',
|
|
1631
|
-
color: '#374061',
|
|
1632
|
-
borderColor: '#374061'
|
|
1633
|
-
},
|
|
1634
|
-
mouseOver: {
|
|
1635
|
-
fill: '#E0E8F5',
|
|
1636
|
-
color: '#374061',
|
|
1637
|
-
borderColor: '#374061'
|
|
1638
|
-
},
|
|
1639
|
-
active: {
|
|
1640
|
-
fill: 'transparent',
|
|
1641
|
-
color: '#186DFF',
|
|
1642
|
-
borderColor: '#186DFF'
|
|
1643
|
-
},
|
|
1644
1245
|
activeMouseOver: {
|
|
1645
1246
|
fill: '#E0E8F5',
|
|
1646
1247
|
color: '#186DFF',
|
|
1647
|
-
borderColor: '
|
|
1248
|
+
borderColor: 'transparent'
|
|
1648
1249
|
},
|
|
1649
1250
|
disabled: {
|
|
1650
1251
|
fill: 'transparent',
|
|
@@ -1652,7 +1253,9 @@ var colors$1 = {
|
|
|
1652
1253
|
borderColor: 'transparent'
|
|
1653
1254
|
},
|
|
1654
1255
|
focus: focusButtonStyle$1
|
|
1655
|
-
}
|
|
1256
|
+
}
|
|
1257
|
+
},
|
|
1258
|
+
iconButtons: {
|
|
1656
1259
|
flat: {
|
|
1657
1260
|
"default": {
|
|
1658
1261
|
fill: 'transparent',
|
|
@@ -1736,36 +1339,7 @@ var colors$1 = {
|
|
|
1736
1339
|
borderColor: 'transparent'
|
|
1737
1340
|
},
|
|
1738
1341
|
focus: focusButtonStyle$1
|
|
1739
|
-
}
|
|
1740
|
-
icon: {
|
|
1741
|
-
"default": {
|
|
1742
|
-
fill: 'transparent',
|
|
1743
|
-
color: '#374061',
|
|
1744
|
-
borderColor: 'transparent'
|
|
1745
|
-
},
|
|
1746
|
-
mouseOver: {
|
|
1747
|
-
fill: '#E0E8F5',
|
|
1748
|
-
color: '#374061',
|
|
1749
|
-
borderColor: 'transparent'
|
|
1750
|
-
},
|
|
1751
|
-
active: {
|
|
1752
|
-
fill: 'transparent',
|
|
1753
|
-
color: '#186DFF',
|
|
1754
|
-
borderColor: 'transparent'
|
|
1755
|
-
},
|
|
1756
|
-
activeMouseOver: {
|
|
1757
|
-
fill: '#E0E8F5',
|
|
1758
|
-
color: '#186DFF',
|
|
1759
|
-
borderColor: 'transparent'
|
|
1760
|
-
},
|
|
1761
|
-
disabled: {
|
|
1762
|
-
fill: 'transparent',
|
|
1763
|
-
color: '#626262',
|
|
1764
|
-
borderColor: 'transparent'
|
|
1765
|
-
},
|
|
1766
|
-
focus: focusButtonStyle$1
|
|
1767
|
-
},
|
|
1768
|
-
focusDefault: focusButtonStyle$1
|
|
1342
|
+
}
|
|
1769
1343
|
},
|
|
1770
1344
|
typographyAndIcons: {
|
|
1771
1345
|
text: '#051039',
|
|
@@ -1802,7 +1376,7 @@ var colors$1 = {
|
|
|
1802
1376
|
}
|
|
1803
1377
|
},
|
|
1804
1378
|
greys: {
|
|
1805
|
-
accessible: '#
|
|
1379
|
+
accessible: '#626262',
|
|
1806
1380
|
accessibleLight: '#C5C5C5'
|
|
1807
1381
|
},
|
|
1808
1382
|
cards: {
|
|
@@ -1907,7 +1481,7 @@ var colors$1 = {
|
|
|
1907
1481
|
},
|
|
1908
1482
|
legendNoDataBackground: {
|
|
1909
1483
|
fill: '#575F7A',
|
|
1910
|
-
opacity:
|
|
1484
|
+
opacity: 0.95
|
|
1911
1485
|
}
|
|
1912
1486
|
},
|
|
1913
1487
|
customSlider: {
|
|
@@ -2049,7 +1623,6 @@ var elevations$1 = {
|
|
|
2049
1623
|
elevation_16: '0 8px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 16px 24px 2px rgba(0, 0, 0, 0.14)',
|
|
2050
1624
|
elevation_24: '0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.14)'
|
|
2051
1625
|
};
|
|
2052
|
-
var lightTheme = createTheme('light', parseColors(colors$1), createShadows(elevations$1));
|
|
2053
1626
|
|
|
2054
1627
|
/* *
|
|
2055
1628
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2064,304 +1637,552 @@ var lightTheme = createTheme('light', parseColors(colors$1), createShadows(eleva
|
|
|
2064
1637
|
* See the License for the specific language governing permissions and
|
|
2065
1638
|
* limitations under the License.
|
|
2066
1639
|
*
|
|
2067
|
-
* Copyright
|
|
2068
|
-
* Copyright
|
|
1640
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1641
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2069
1642
|
* */
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
borderRadius: 3
|
|
2096
|
-
},
|
|
2097
|
-
typography: {
|
|
2098
|
-
h6: {
|
|
2099
|
-
fontSize: '16px'
|
|
2100
|
-
},
|
|
2101
|
-
subtitle1: {
|
|
2102
|
-
fontSize: '16px',
|
|
2103
|
-
fontWeight: 500,
|
|
2104
|
-
lineHeight: 1.5,
|
|
2105
|
-
letterSpacing: '0.15px',
|
|
2106
|
-
opacity: 0.87,
|
|
2107
|
-
color: '#051039'
|
|
2108
|
-
},
|
|
2109
|
-
subtitle2: {
|
|
2110
|
-
fontSize: '14px',
|
|
2111
|
-
fontWeight: 500,
|
|
2112
|
-
lineHeight: 1.71,
|
|
2113
|
-
letterSpacing: '0.1px',
|
|
2114
|
-
opacity: 0.87,
|
|
2115
|
-
color: '#051039'
|
|
2116
|
-
},
|
|
2117
|
-
body1: {
|
|
2118
|
-
fontSize: '16px',
|
|
2119
|
-
lineHeight: 1.56,
|
|
2120
|
-
letterSpacing: '0.44px',
|
|
2121
|
-
color: '#051039'
|
|
2122
|
-
},
|
|
2123
|
-
body2: {
|
|
2124
|
-
fontSize: '14px',
|
|
2125
|
-
lineHeight: 1.43,
|
|
2126
|
-
letterSpacing: '0.25px',
|
|
2127
|
-
color: '#051039'
|
|
1643
|
+
var breakpoints = {
|
|
1644
|
+
mobile: 0,
|
|
1645
|
+
tablet: 768,
|
|
1646
|
+
desktop: 1024,
|
|
1647
|
+
dekstopHD: 1440,
|
|
1648
|
+
dekstopHDWide: 1920
|
|
1649
|
+
};
|
|
1650
|
+
var createTheme = function createTheme(_ref) {
|
|
1651
|
+
var _ref$paletteType = _ref.paletteType,
|
|
1652
|
+
paletteType = _ref$paletteType === void 0 ? 'light' : _ref$paletteType,
|
|
1653
|
+
_ref$geowebColors = _ref.geowebColors,
|
|
1654
|
+
defaultGeowebColors = _ref$geowebColors === void 0 ? colors$1 : _ref$geowebColors,
|
|
1655
|
+
_ref$elevations = _ref.elevations,
|
|
1656
|
+
defaultShadows = _ref$elevations === void 0 ? elevations$1 : _ref$elevations;
|
|
1657
|
+
var geowebColors = parseColors(defaultGeowebColors);
|
|
1658
|
+
var shadows = createShadows(defaultShadows);
|
|
1659
|
+
return createTheme$1({
|
|
1660
|
+
breakpoints: {
|
|
1661
|
+
values: {
|
|
1662
|
+
xs: breakpoints.mobile,
|
|
1663
|
+
sm: breakpoints.tablet,
|
|
1664
|
+
md: breakpoints.desktop,
|
|
1665
|
+
lg: breakpoints.dekstopHD,
|
|
1666
|
+
xl: breakpoints.dekstopHDWide
|
|
1667
|
+
}
|
|
2128
1668
|
},
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
1669
|
+
palette: {
|
|
1670
|
+
mode: paletteType,
|
|
1671
|
+
secondary: {
|
|
1672
|
+
main: geowebColors.typographyAndIcons.iconLinkActive
|
|
1673
|
+
},
|
|
1674
|
+
background: {
|
|
1675
|
+
paper: geowebColors.background.surfaceApp,
|
|
1676
|
+
"default": geowebColors.background.surfaceBrowser
|
|
1677
|
+
},
|
|
1678
|
+
text: {
|
|
1679
|
+
primary: geowebColors.typographyAndIcons.text
|
|
1680
|
+
},
|
|
1681
|
+
// geoweb color palette
|
|
1682
|
+
geowebColors: geowebColors
|
|
2136
1683
|
},
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
lineHeight: 1.33,
|
|
2140
|
-
letterSpacing: '0.4px',
|
|
2141
|
-
color: '#051039',
|
|
2142
|
-
opacity: 0.7
|
|
1684
|
+
shape: {
|
|
1685
|
+
borderRadius: BORDER_RADIUS
|
|
2143
1686
|
},
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
fontSize: '14px',
|
|
2147
|
-
color: '0075a9'
|
|
2148
|
-
}
|
|
2149
|
-
},
|
|
2150
|
-
components: {
|
|
2151
|
-
MuiTooltip: {
|
|
2152
|
-
styleOverrides: {
|
|
2153
|
-
tooltip: {
|
|
2154
|
-
borderRadius: '2px',
|
|
2155
|
-
fontSize: '16px',
|
|
2156
|
-
fontWeight: 'normal',
|
|
2157
|
-
padding: '10px',
|
|
2158
|
-
backgroundColor: '#232323'
|
|
2159
|
-
}
|
|
2160
|
-
}
|
|
1687
|
+
typography: {
|
|
1688
|
+
fontFamily: ['Roboto', 'Helvetica', 'Arial', 'sans-serif'].join(',')
|
|
2161
1689
|
},
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
1690
|
+
shadows: shadows,
|
|
1691
|
+
components: {
|
|
1692
|
+
MuiButton: {
|
|
1693
|
+
variants: buttonVariants(geowebColors.buttons),
|
|
1694
|
+
defaultProps: {
|
|
1695
|
+
focusRipple: false
|
|
2166
1696
|
}
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
},
|
|
2175
|
-
'&.Mui-checked': {
|
|
2176
|
-
color: '#0075a9'
|
|
2177
|
-
}
|
|
1697
|
+
},
|
|
1698
|
+
MuiToggleButton: {
|
|
1699
|
+
defaultProps: {
|
|
1700
|
+
focusRipple: false
|
|
1701
|
+
},
|
|
1702
|
+
styleOverrides: {
|
|
1703
|
+
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
2178
1704
|
}
|
|
2179
|
-
}
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
color: '#0075a9'
|
|
1705
|
+
},
|
|
1706
|
+
MuiIconButton: {
|
|
1707
|
+
// TODO: https://gitlab.com/opengeoweb/opengeoweb/-/issues/1926 remove default styling and create CustomIconButton
|
|
1708
|
+
defaultProps: {
|
|
1709
|
+
focusRipple: false
|
|
2185
1710
|
},
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
1711
|
+
styleOverrides: {
|
|
1712
|
+
root: Object.assign(Object.assign({}, defaultButtonStyle(geowebColors.iconButtons.flat)), variantsToClassName(buttonVariants(geowebColors.iconButtons, iconButtonStyle)))
|
|
1713
|
+
}
|
|
1714
|
+
},
|
|
1715
|
+
MuiCssBaseline: {
|
|
1716
|
+
styleOverrides: "\n html {\n -webkit-font-smoothing: auto;\n }\n "
|
|
1717
|
+
},
|
|
1718
|
+
MuiMenuItem: {
|
|
1719
|
+
styleOverrides: {
|
|
1720
|
+
root: {
|
|
1721
|
+
minHeight: '48px!important',
|
|
1722
|
+
fontSize: '0.875rem',
|
|
1723
|
+
letterSpacing: '0.25px',
|
|
1724
|
+
divider: {
|
|
1725
|
+
borderBottomColor: geowebColors.greys.accessibleLight
|
|
1726
|
+
},
|
|
1727
|
+
li: {
|
|
1728
|
+
'&:hover': {
|
|
1729
|
+
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
'&.Mui-selected': {
|
|
1733
|
+
background: 'none',
|
|
1734
|
+
boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive)
|
|
1735
|
+
}
|
|
2189
1736
|
}
|
|
2190
1737
|
}
|
|
2191
|
-
}
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
1738
|
+
},
|
|
1739
|
+
MuiRadio: {
|
|
1740
|
+
styleOverrides: {
|
|
1741
|
+
root: {
|
|
1742
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1743
|
+
'&.MuiRadio-root.Mui-disabled': {
|
|
1744
|
+
color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled)
|
|
1745
|
+
},
|
|
1746
|
+
'&.Mui-checked': {
|
|
1747
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
MuiCheckbox: {
|
|
1753
|
+
styleOverrides: {
|
|
1754
|
+
root: {
|
|
1755
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1756
|
+
'&.MuiCheckbox-root.Mui-disabled': {
|
|
1757
|
+
color: geowebColors.typographyAndIcons.iconLinkDisabled
|
|
1758
|
+
},
|
|
1759
|
+
'&.Mui-checked': {
|
|
1760
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
},
|
|
1765
|
+
MuiPaper: {
|
|
1766
|
+
styleOverrides: {
|
|
1767
|
+
root: {
|
|
1768
|
+
backgroundImage: 'unset'
|
|
1769
|
+
},
|
|
1770
|
+
outlined: {
|
|
1771
|
+
borderColor: geowebColors.cards.cardContainerBorder
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
},
|
|
1775
|
+
MuiCard: {
|
|
1776
|
+
styleOverrides: {
|
|
1777
|
+
root: {
|
|
1778
|
+
backgroundColor: geowebColors.cards.cardContainer
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
MuiSlider: {
|
|
1783
|
+
styleOverrides: {
|
|
1784
|
+
root: {
|
|
1785
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
},
|
|
1789
|
+
MuiTable: {
|
|
1790
|
+
styleOverrides: {
|
|
1791
|
+
root: {
|
|
1792
|
+
borderSpacing: '0 0.25rem',
|
|
1793
|
+
borderCollapse: 'separate'
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
},
|
|
1797
|
+
MuiTableRow: {
|
|
1798
|
+
styleOverrides: {
|
|
1799
|
+
head: {
|
|
1800
|
+
'&:hover': {
|
|
1801
|
+
boxShadow: shadows[0]
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1804
|
+
root: {
|
|
1805
|
+
transition: 'box-shadow 100ms ease-out',
|
|
1806
|
+
boxShadow: shadows[0],
|
|
1807
|
+
borderRadius: BORDER_RADIUS,
|
|
1808
|
+
'&:hover': {
|
|
1809
|
+
boxShadow: shadows[1]
|
|
1810
|
+
},
|
|
1811
|
+
position: 'relative'
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
},
|
|
1815
|
+
MuiTableCell: {
|
|
1816
|
+
styleOverrides: {
|
|
1817
|
+
head: {
|
|
1818
|
+
borderBottom: 'none',
|
|
1819
|
+
fontSize: '0.875rem',
|
|
1820
|
+
fontWeight: 400
|
|
1821
|
+
},
|
|
1822
|
+
body: {
|
|
1823
|
+
padding: 12,
|
|
1824
|
+
fontWeight: 500,
|
|
1825
|
+
backgroundColor: geowebColors.background.surface,
|
|
1826
|
+
borderStyle: 'solid',
|
|
1827
|
+
borderColor: 'transparent',
|
|
1828
|
+
borderWidth: 1,
|
|
1829
|
+
borderTopColor: geowebColors.cards.cardContainerBorder,
|
|
1830
|
+
borderBottomColor: geowebColors.cards.cardContainerBorder,
|
|
1831
|
+
'&:first-child': {
|
|
1832
|
+
borderLeftColor: geowebColors.cards.cardContainerBorder,
|
|
1833
|
+
borderRadius: "".concat(BORDER_RADIUS, "px 0px 0px ").concat(BORDER_RADIUS, "px")
|
|
1834
|
+
},
|
|
1835
|
+
'&:last-child': {
|
|
1836
|
+
borderRightColor: geowebColors.cards.cardContainerBorder,
|
|
1837
|
+
borderRadius: "0px ".concat(BORDER_RADIUS, "px ").concat(BORDER_RADIUS, "px 0px")
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
MuiTabs: {
|
|
1843
|
+
styleOverrides: {
|
|
1844
|
+
root: {
|
|
1845
|
+
position: 'relative',
|
|
1846
|
+
'&:after': {
|
|
1847
|
+
content: '""',
|
|
1848
|
+
position: 'absolute',
|
|
1849
|
+
bottom: 0,
|
|
1850
|
+
height: 1,
|
|
1851
|
+
width: '100%',
|
|
1852
|
+
zIndex: 0,
|
|
1853
|
+
backgroundColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1854
|
+
}
|
|
1855
|
+
},
|
|
1856
|
+
indicator: {
|
|
1857
|
+
zIndex: 1,
|
|
1858
|
+
backgroundColor: geowebColors.typographyAndIcons.iconLinkActive
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
MuiTab: {
|
|
1863
|
+
styleOverrides: {
|
|
1864
|
+
root: {
|
|
1865
|
+
textTransform: 'initial',
|
|
1866
|
+
'&.Mui-selected': {
|
|
1867
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1868
|
+
},
|
|
1869
|
+
'&:hover': {
|
|
1870
|
+
opacity: 1,
|
|
1871
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1872
|
+
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
},
|
|
1877
|
+
MuiListItem: {
|
|
1878
|
+
styleOverrides: {
|
|
1879
|
+
root: {
|
|
1880
|
+
color: geowebColors.typographyAndIcons.text,
|
|
1881
|
+
fontSize: '14px',
|
|
1882
|
+
minHeight: '36px'
|
|
1883
|
+
},
|
|
1884
|
+
divider: {
|
|
1885
|
+
borderBottomColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
},
|
|
1889
|
+
MuiListItemIcon: {
|
|
1890
|
+
styleOverrides: {
|
|
1891
|
+
root: {
|
|
1892
|
+
color: geowebColors.typographyAndIcons.icon,
|
|
1893
|
+
width: '24px',
|
|
1894
|
+
height: '24px'
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
MuiListItemButton: {
|
|
1899
|
+
styleOverrides: {
|
|
1900
|
+
root: {
|
|
1901
|
+
'&:hover': {
|
|
1902
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1903
|
+
},
|
|
1904
|
+
'&.Mui-selected': {
|
|
1905
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1906
|
+
boxShadow: "inset 4px 0px 0px 0px ".concat(geowebColors.typographyAndIcons.iconLinkActive),
|
|
1907
|
+
'&:hover': {
|
|
1908
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
'&.Mui-focusVisible': {
|
|
1912
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1913
|
+
outline: geowebColors.buttons.primary.focus.outline
|
|
1914
|
+
},
|
|
1915
|
+
' .MuiListItemIcon-root': {
|
|
1916
|
+
minWidth: 40
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
MuiBackdrop: {
|
|
1922
|
+
styleOverrides: {
|
|
1923
|
+
root: {
|
|
1924
|
+
backgroundColor: geowebColors.backdrops.black.rgba
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
MuiTooltip: {
|
|
1929
|
+
styleOverrides: {
|
|
1930
|
+
tooltip: {
|
|
1931
|
+
backgroundColor: geowebColors.tooltips.tooltipContainer.rgba,
|
|
1932
|
+
color: geowebColors.tooltips.tooltipText.color,
|
|
1933
|
+
padding: '8px 12px',
|
|
1934
|
+
fontSize: 16,
|
|
1935
|
+
fontWeight: 400,
|
|
1936
|
+
fontStretch: 'normal',
|
|
1937
|
+
fontStyle: 'normal',
|
|
1938
|
+
letterSpacing: 0.44,
|
|
1939
|
+
lineHeight: 1.56
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
MuiLink: {
|
|
1944
|
+
styleOverrides: {
|
|
1945
|
+
root: {
|
|
1946
|
+
color: geowebColors.typographyAndIcons.textLinkActive,
|
|
1947
|
+
textDecoration: 'none',
|
|
1948
|
+
'&:hover': {
|
|
1949
|
+
textDecoration: 'underline',
|
|
1950
|
+
textDecorationColor: geowebColors.typographyAndIcons.textLinkActive
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
},
|
|
1955
|
+
MuiAlert: {
|
|
1956
|
+
styleOverrides: {
|
|
1957
|
+
standardError: {
|
|
1958
|
+
border: geowebColors.functional.errorOutline.border,
|
|
1959
|
+
borderRadius: '0px',
|
|
1960
|
+
backgroundColor: geowebColors.functional.errorOutline.fill,
|
|
1961
|
+
'& .MuiAlert-icon': {
|
|
1962
|
+
color: geowebColors.functional.error,
|
|
1963
|
+
opacity: 1
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
standardWarning: {
|
|
1967
|
+
border: geowebColors.functional.warningOutline.border,
|
|
1968
|
+
borderRadius: '0px',
|
|
1969
|
+
backgroundColor: geowebColors.functional.warningOutline.fill,
|
|
1970
|
+
'& .MuiAlert-icon': {
|
|
1971
|
+
color: geowebColors.functional.warning,
|
|
1972
|
+
opacity: 1
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
standardInfo: {
|
|
1976
|
+
border: geowebColors.functional.notificationOutline.border,
|
|
1977
|
+
borderRadius: '0px',
|
|
1978
|
+
backgroundColor: geowebColors.functional.notificationOutline.fill,
|
|
1979
|
+
'& .MuiAlert-icon': {
|
|
1980
|
+
color: geowebColors.functional.notification,
|
|
1981
|
+
opacity: 1
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
standardSuccess: {
|
|
1985
|
+
border: geowebColors.functional.successOutline.border,
|
|
1986
|
+
borderRadius: '0px',
|
|
1987
|
+
backgroundColor: geowebColors.functional.successOutline.fill,
|
|
1988
|
+
'& .MuiAlert-icon': {
|
|
1989
|
+
color: geowebColors.functional.success,
|
|
1990
|
+
opacity: 1
|
|
1991
|
+
}
|
|
1992
|
+
},
|
|
1993
|
+
action: {
|
|
1994
|
+
color: geowebColors.buttons.tertiary["default"].color
|
|
1995
|
+
},
|
|
1996
|
+
message: {
|
|
1997
|
+
fontSize: '14px',
|
|
1998
|
+
lineHeight: 1.43,
|
|
1999
|
+
letterSpacing: '0.25px',
|
|
2000
|
+
color: geowebColors.typographyAndIcons.text
|
|
2001
|
+
}
|
|
2223
2002
|
}
|
|
2224
|
-
}
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
root: {
|
|
2229
|
-
backgroundColor: '#ffffff',
|
|
2230
|
-
minHeight: '30px'
|
|
2231
|
-
},
|
|
2232
|
-
scrollButtons: {
|
|
2233
|
-
width: '20px'
|
|
2003
|
+
},
|
|
2004
|
+
MuiTextField: {
|
|
2005
|
+
defaultProps: {
|
|
2006
|
+
variant: 'filled'
|
|
2234
2007
|
}
|
|
2235
|
-
}
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2008
|
+
},
|
|
2009
|
+
MuiFilledInput: {
|
|
2010
|
+
styleOverrides: {
|
|
2011
|
+
root: {
|
|
2012
|
+
backgroundColor: geowebColors.textInputField["default"].rgba,
|
|
2013
|
+
'&.Mui-focused': {
|
|
2014
|
+
backgroundColor: geowebColors.textInputField.active.rgba,
|
|
2015
|
+
'&:after': {
|
|
2016
|
+
borderColor: 'transparent'
|
|
2017
|
+
}
|
|
2018
|
+
},
|
|
2019
|
+
'&.Mui-disabled': {
|
|
2020
|
+
backgroundColor: geowebColors.textInputField.disabled.rgba
|
|
2021
|
+
},
|
|
2022
|
+
'&.Mui-error': {
|
|
2023
|
+
'&:before': {
|
|
2024
|
+
borderColor: geowebColors.captions.captionError.color
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
2027
|
+
// can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
|
|
2028
|
+
'&.MuiInputBase-readOnly': {
|
|
2029
|
+
background: 'transparent',
|
|
2030
|
+
color: geowebColors.typographyAndIcons.text,
|
|
2031
|
+
' .MuiInputBase-readOnly': {
|
|
2032
|
+
WebkitTextFillColor: 'inherit'
|
|
2033
|
+
},
|
|
2034
|
+
'&:before': {
|
|
2035
|
+
border: 'transparent'
|
|
2036
|
+
}
|
|
2037
|
+
}
|
|
2038
|
+
},
|
|
2039
|
+
underline: {
|
|
2040
|
+
'&:after': {
|
|
2041
|
+
borderWidth: '1px'
|
|
2042
|
+
},
|
|
2043
|
+
'&.Mui-disabled:before': {
|
|
2044
|
+
borderBottomStyle: 'solid'
|
|
2045
|
+
}
|
|
2245
2046
|
}
|
|
2246
|
-
},
|
|
2247
|
-
labelIcon: {
|
|
2248
|
-
minHeight: '30px'
|
|
2249
2047
|
}
|
|
2250
|
-
}
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2048
|
+
},
|
|
2049
|
+
MuiFormLabel: {
|
|
2050
|
+
styleOverrides: {
|
|
2051
|
+
root: {
|
|
2052
|
+
color: geowebColors.captions.captionStatus.color,
|
|
2053
|
+
opacity: geowebColors.captions.captionStatus.opacity,
|
|
2054
|
+
'&.Mui-focused': {
|
|
2055
|
+
color: geowebColors.captions.captionInformation.color,
|
|
2056
|
+
opacity: geowebColors.captions.captionInformation.opacity
|
|
2057
|
+
},
|
|
2058
|
+
'&.Mui-error': {
|
|
2059
|
+
color: geowebColors.captions.captionError.color,
|
|
2060
|
+
opacity: geowebColors.captions.captionError.opacity
|
|
2061
|
+
},
|
|
2062
|
+
'&.Mui-disabled': {
|
|
2063
|
+
color: geowebColors.captions.captionDisabled.color,
|
|
2064
|
+
opacity: geowebColors.captions.captionDisabled.opacity
|
|
2260
2065
|
}
|
|
2261
2066
|
}
|
|
2262
|
-
},
|
|
2263
|
-
button: {
|
|
2264
|
-
'&:hover': {
|
|
2265
|
-
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2266
|
-
}
|
|
2267
2067
|
}
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2068
|
+
},
|
|
2069
|
+
MuiFormHelperText: {
|
|
2070
|
+
styleOverrides: {
|
|
2071
|
+
root: {
|
|
2072
|
+
color: geowebColors.captions.captionStatus.color,
|
|
2073
|
+
opacity: geowebColors.captions.captionStatus.opacity,
|
|
2074
|
+
'&.Mui-error': {
|
|
2075
|
+
color: geowebColors.captions.captionError.color,
|
|
2076
|
+
opacity: geowebColors.captions.captionError.opacity
|
|
2077
|
+
},
|
|
2078
|
+
'&.Mui-disabled': {
|
|
2079
|
+
color: geowebColors.captions.captionDisabled.color,
|
|
2080
|
+
opacity: geowebColors.captions.captionDisabled.opacity
|
|
2278
2081
|
}
|
|
2279
|
-
},
|
|
2280
|
-
'&:hover': {
|
|
2281
|
-
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2282
2082
|
}
|
|
2283
2083
|
}
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2084
|
+
},
|
|
2085
|
+
MuiSwitch: {
|
|
2086
|
+
styleOverrides: {
|
|
2087
|
+
switchBase: {
|
|
2088
|
+
color: geowebColors.customSwitch.thumb,
|
|
2089
|
+
'&.Mui-checked': {
|
|
2090
|
+
color: geowebColors.customSwitch.thumb
|
|
2091
|
+
},
|
|
2092
|
+
'&.Mui-disabled': {
|
|
2093
|
+
color: geowebColors.customSwitch.thumbDisabled
|
|
2094
|
+
},
|
|
2095
|
+
'&.Mui-checked.Mui-disabled': {
|
|
2096
|
+
color: geowebColors.customSwitch.thumbDisabled
|
|
2097
|
+
},
|
|
2098
|
+
'&.Mui-checked+.MuiSwitch-track': {
|
|
2099
|
+
backgroundColor: geowebColors.customSwitch.trackActive
|
|
2100
|
+
},
|
|
2101
|
+
'&.Mui-disabled+.MuiSwitch-track': {
|
|
2102
|
+
backgroundColor: geowebColors.customSwitch.track
|
|
2103
|
+
},
|
|
2104
|
+
'&.Mui-checked.Mui-disabled+.MuiSwitch-track': {
|
|
2105
|
+
backgroundColor: geowebColors.customSwitch.trackActive
|
|
2106
|
+
}
|
|
2292
2107
|
},
|
|
2293
|
-
|
|
2294
|
-
|
|
2108
|
+
track: {
|
|
2109
|
+
backgroundColor: geowebColors.customSwitch.track,
|
|
2110
|
+
opacity: '1 !important'
|
|
2295
2111
|
}
|
|
2296
2112
|
}
|
|
2297
|
-
}
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2113
|
+
},
|
|
2114
|
+
MuiSnackbarContent: {
|
|
2115
|
+
styleOverrides: {
|
|
2116
|
+
root: {
|
|
2117
|
+
backgroundColor: geowebColors.snackbar.background,
|
|
2118
|
+
color: geowebColors.snackbar.text,
|
|
2119
|
+
fontSize: '16px',
|
|
2120
|
+
letterSpacing: '0.44px',
|
|
2121
|
+
borderRadius: '2px',
|
|
2122
|
+
boxShadow: shadows[8]
|
|
2304
2123
|
}
|
|
2305
2124
|
}
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
}
|
|
2319
|
-
},
|
|
2320
|
-
underline: {
|
|
2321
|
-
'&.Mui-disabled:before': {
|
|
2322
|
-
borderBottomStyle: 'none'
|
|
2323
|
-
}
|
|
2125
|
+
},
|
|
2126
|
+
MuiAvatar: {
|
|
2127
|
+
styleOverrides: {
|
|
2128
|
+
root: Object.assign(Object.assign({}, defaultButtonStyle(geowebColors.buttons.primary)), {
|
|
2129
|
+
fontWeight: 500,
|
|
2130
|
+
'&:hover': {
|
|
2131
|
+
backgroundColor: 'geowebColors.buttons.primary.default.fill'
|
|
2132
|
+
},
|
|
2133
|
+
height: 32,
|
|
2134
|
+
width: 32,
|
|
2135
|
+
fontSize: 16,
|
|
2136
|
+
borderRadius: '50%'
|
|
2137
|
+
})
|
|
2324
2138
|
}
|
|
2325
|
-
}
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2139
|
+
},
|
|
2140
|
+
MuiAccordion: {
|
|
2141
|
+
styleOverrides: {
|
|
2142
|
+
root: {
|
|
2143
|
+
backgroundColor: geowebColors.cards.cardContainer,
|
|
2144
|
+
borderRadius: '3px',
|
|
2145
|
+
border: 'solid 1px',
|
|
2146
|
+
borderColor: geowebColors.cards.cardContainerBorder,
|
|
2147
|
+
color: geowebColors.buttons.flat["default"].color,
|
|
2148
|
+
padding: '0px',
|
|
2149
|
+
margin: '0px 12px 4px 12px',
|
|
2150
|
+
fontSize: '12px',
|
|
2151
|
+
'&:before': {
|
|
2152
|
+
display: 'none'
|
|
2153
|
+
},
|
|
2154
|
+
'& .MuiAccordionSummary-root.Mui-expanded': {
|
|
2155
|
+
borderBottom: 'solid 1px',
|
|
2156
|
+
borderColor: geowebColors.cards.cardContainerBorder
|
|
2157
|
+
},
|
|
2158
|
+
'& .MuiAccordionSummary-content': {
|
|
2159
|
+
margin: '2px',
|
|
2160
|
+
padding: '4px 4px 4px 10px'
|
|
2161
|
+
}
|
|
2335
2162
|
}
|
|
2336
2163
|
}
|
|
2337
|
-
}
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2164
|
+
},
|
|
2165
|
+
MuiAccordionSummary: {
|
|
2166
|
+
styleOverrides: {
|
|
2167
|
+
root: {
|
|
2168
|
+
minHeight: '32px',
|
|
2169
|
+
padding: '0px',
|
|
2170
|
+
paddingRight: '5px'
|
|
2344
2171
|
}
|
|
2345
2172
|
}
|
|
2346
|
-
}
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2173
|
+
},
|
|
2174
|
+
MuiDesktopDateTimePicker: {
|
|
2175
|
+
defaultProps: {
|
|
2176
|
+
viewRenderers: {
|
|
2177
|
+
hours: renderTimeViewClock,
|
|
2178
|
+
minutes: renderTimeViewClock,
|
|
2179
|
+
seconds: renderTimeViewClock
|
|
2180
|
+
}
|
|
2352
2181
|
}
|
|
2353
2182
|
}
|
|
2354
|
-
},
|
|
2355
|
-
MuiButton: {
|
|
2356
|
-
variants: buttonVariants(geowebColors.buttons)
|
|
2357
|
-
},
|
|
2358
|
-
MuiToggleButton: {
|
|
2359
|
-
styleOverrides: {
|
|
2360
|
-
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
2361
|
-
}
|
|
2362
2183
|
}
|
|
2363
|
-
}
|
|
2364
|
-
}
|
|
2184
|
+
});
|
|
2185
|
+
};
|
|
2365
2186
|
|
|
2366
2187
|
/* *
|
|
2367
2188
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2580,8 +2401,93 @@ var colors = {
|
|
|
2580
2401
|
borderColor: 'transparent'
|
|
2581
2402
|
},
|
|
2582
2403
|
focus: focusButtonStyle
|
|
2404
|
+
}
|
|
2405
|
+
},
|
|
2406
|
+
iconButtons: {
|
|
2407
|
+
flat: {
|
|
2408
|
+
"default": {
|
|
2409
|
+
fill: 'transparent',
|
|
2410
|
+
color: '#F8F9F9',
|
|
2411
|
+
borderColor: 'transparent'
|
|
2412
|
+
},
|
|
2413
|
+
mouseOver: {
|
|
2414
|
+
fill: '#414751',
|
|
2415
|
+
color: '#F8F9F9',
|
|
2416
|
+
borderColor: 'transparent'
|
|
2417
|
+
},
|
|
2418
|
+
active: {
|
|
2419
|
+
fill: 'transparent',
|
|
2420
|
+
color: '#7BACFF',
|
|
2421
|
+
borderColor: 'transparent'
|
|
2422
|
+
},
|
|
2423
|
+
activeMouseOver: {
|
|
2424
|
+
fill: '#414751',
|
|
2425
|
+
color: '#7BACFF',
|
|
2426
|
+
borderColor: 'transparent'
|
|
2427
|
+
},
|
|
2428
|
+
disabled: {
|
|
2429
|
+
fill: 'transparent',
|
|
2430
|
+
color: '#B4B4B4',
|
|
2431
|
+
borderColor: 'transparent'
|
|
2432
|
+
},
|
|
2433
|
+
focus: focusButtonStyle
|
|
2434
|
+
},
|
|
2435
|
+
tool: {
|
|
2436
|
+
"default": {
|
|
2437
|
+
fill: '#393939',
|
|
2438
|
+
color: '#F8F9F9',
|
|
2439
|
+
borderColor: 'transparent'
|
|
2440
|
+
},
|
|
2441
|
+
mouseOver: {
|
|
2442
|
+
fill: '#414751',
|
|
2443
|
+
color: '#F8F9F9',
|
|
2444
|
+
borderColor: 'transparent'
|
|
2445
|
+
},
|
|
2446
|
+
active: {
|
|
2447
|
+
fill: '#186DFF',
|
|
2448
|
+
color: '#FFFFFF',
|
|
2449
|
+
borderColor: 'transparent'
|
|
2450
|
+
},
|
|
2451
|
+
activeMouseOver: {
|
|
2452
|
+
fill: '#1047B0',
|
|
2453
|
+
color: '#FFFFFF',
|
|
2454
|
+
borderColor: 'transparent'
|
|
2455
|
+
},
|
|
2456
|
+
disabled: {
|
|
2457
|
+
fill: 'transparent',
|
|
2458
|
+
color: '#B4B4B4',
|
|
2459
|
+
borderColor: 'transparent'
|
|
2460
|
+
},
|
|
2461
|
+
focus: focusButtonStyle
|
|
2583
2462
|
},
|
|
2584
|
-
|
|
2463
|
+
boxed: {
|
|
2464
|
+
"default": {
|
|
2465
|
+
fill: 'transparent',
|
|
2466
|
+
color: '#F8F9F9',
|
|
2467
|
+
borderColor: '#F8F9F9'
|
|
2468
|
+
},
|
|
2469
|
+
mouseOver: {
|
|
2470
|
+
fill: '#414751',
|
|
2471
|
+
color: '#F8F9F9',
|
|
2472
|
+
borderColor: '#F8F9F9'
|
|
2473
|
+
},
|
|
2474
|
+
active: {
|
|
2475
|
+
fill: '#186DFF',
|
|
2476
|
+
color: '#FFFFFF',
|
|
2477
|
+
borderColor: 'transparent'
|
|
2478
|
+
},
|
|
2479
|
+
activeMouseOver: {
|
|
2480
|
+
fill: '#1047B0',
|
|
2481
|
+
color: '#FFFFFF',
|
|
2482
|
+
borderColor: 'transparent'
|
|
2483
|
+
},
|
|
2484
|
+
disabled: {
|
|
2485
|
+
fill: 'transparent',
|
|
2486
|
+
color: '#B4B4B4',
|
|
2487
|
+
borderColor: 'transparent'
|
|
2488
|
+
},
|
|
2489
|
+
focus: focusButtonStyle
|
|
2490
|
+
}
|
|
2585
2491
|
},
|
|
2586
2492
|
typographyAndIcons: {
|
|
2587
2493
|
text: '#FFFFFF',
|
|
@@ -2618,7 +2524,7 @@ var colors = {
|
|
|
2618
2524
|
}
|
|
2619
2525
|
},
|
|
2620
2526
|
greys: {
|
|
2621
|
-
accessible: '#
|
|
2527
|
+
accessible: '#B4B4B4',
|
|
2622
2528
|
accessibleLight: '#6F6F6F'
|
|
2623
2529
|
},
|
|
2624
2530
|
cards: {
|
|
@@ -2639,7 +2545,7 @@ var colors = {
|
|
|
2639
2545
|
screenManager: {
|
|
2640
2546
|
activeWindow: '#242424',
|
|
2641
2547
|
inactiveWindow: '#303030',
|
|
2642
|
-
tabButtonHover: '#414751
|
|
2548
|
+
tabButtonHover: '#414751'
|
|
2643
2549
|
},
|
|
2644
2550
|
timeSlider: {
|
|
2645
2551
|
// player
|
|
@@ -2683,190 +2589,551 @@ var colors = {
|
|
|
2683
2589
|
fill: '#051038',
|
|
2684
2590
|
opacity: 0.67
|
|
2685
2591
|
},
|
|
2686
|
-
timelineTimelineSurface: {
|
|
2687
|
-
fill: '#303030'
|
|
2592
|
+
timelineTimelineSurface: {
|
|
2593
|
+
fill: '#303030'
|
|
2594
|
+
},
|
|
2595
|
+
timelineMonthChangeDash: {
|
|
2596
|
+
fill: '#A2A2A2',
|
|
2597
|
+
opacity: 0.5
|
|
2598
|
+
},
|
|
2599
|
+
timelineSelectionBackground: {
|
|
2600
|
+
fill: '#FFFFFF',
|
|
2601
|
+
opacity: 0.15
|
|
2602
|
+
},
|
|
2603
|
+
timelineSelectionOutline: {
|
|
2604
|
+
fill: '#F0FF00',
|
|
2605
|
+
opacity: 0.4
|
|
2606
|
+
},
|
|
2607
|
+
// time scale
|
|
2608
|
+
timeScalePointer: {
|
|
2609
|
+
fill: '#F8F9F9'
|
|
2610
|
+
},
|
|
2611
|
+
timeScaleHorizontalScale: {
|
|
2612
|
+
fill: '#000000',
|
|
2613
|
+
opacity: 0.8
|
|
2614
|
+
},
|
|
2615
|
+
timeScaleTimeIndicators: {
|
|
2616
|
+
fill: '#A2A2A2'
|
|
2617
|
+
},
|
|
2618
|
+
timeScaleTimeIndicatorsActive: {
|
|
2619
|
+
fill: '#FFFFFF'
|
|
2620
|
+
},
|
|
2621
|
+
timeScaleShadowButtonScale: {
|
|
2622
|
+
filter: 'drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.28)) drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.24)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.40))'
|
|
2623
|
+
},
|
|
2624
|
+
// legend
|
|
2625
|
+
ledgendObservedBackground: {
|
|
2626
|
+
fill: '#00649F'
|
|
2627
|
+
},
|
|
2628
|
+
legendForecastBackground: {
|
|
2629
|
+
fill: '#9900B1'
|
|
2630
|
+
},
|
|
2631
|
+
legendNoDataBackground: {
|
|
2632
|
+
fill: '#575F7A',
|
|
2633
|
+
opacity: 0.95
|
|
2634
|
+
}
|
|
2635
|
+
},
|
|
2636
|
+
customSlider: {
|
|
2637
|
+
rail: '#488BFD',
|
|
2638
|
+
railDisabled: '#5E5E5E',
|
|
2639
|
+
track: '#186DFF',
|
|
2640
|
+
trackDisabled: '#5E5E5E',
|
|
2641
|
+
thumb: '#F8F9F9',
|
|
2642
|
+
thumbDisabled: '#5E5E5E',
|
|
2643
|
+
mark: '#FFFFFF',
|
|
2644
|
+
markDisabled: '#303030'
|
|
2645
|
+
},
|
|
2646
|
+
customSwitch: {
|
|
2647
|
+
thumb: '#F8F9F9',
|
|
2648
|
+
thumbDisabled: '#F5F5F5',
|
|
2649
|
+
track: '#BDBDBD',
|
|
2650
|
+
trackActive: '#488BFD'
|
|
2651
|
+
},
|
|
2652
|
+
syncGroups: {
|
|
2653
|
+
drawerOpen: {
|
|
2654
|
+
fill: '#232323'
|
|
2655
|
+
}
|
|
2656
|
+
},
|
|
2657
|
+
layerManager: {
|
|
2658
|
+
tableRowDefaultText: {
|
|
2659
|
+
color: '#FFFFFF',
|
|
2660
|
+
opacity: 0.87,
|
|
2661
|
+
fontSize: 12
|
|
2662
|
+
},
|
|
2663
|
+
tableRowDefaultCardContainer: {
|
|
2664
|
+
fill: '#303030',
|
|
2665
|
+
border: '1px solid #404040',
|
|
2666
|
+
borderColor: '#404040'
|
|
2667
|
+
},
|
|
2668
|
+
tableRowDisabledText: {
|
|
2669
|
+
color: '#909090',
|
|
2670
|
+
opacity: 0.87,
|
|
2671
|
+
fontSize: 12
|
|
2672
|
+
},
|
|
2673
|
+
tableRowDisabledCardContainer: {
|
|
2674
|
+
fill: '#2B2B2B',
|
|
2675
|
+
border: '1px solid #404040',
|
|
2676
|
+
borderColor: '#404040'
|
|
2677
|
+
}
|
|
2678
|
+
},
|
|
2679
|
+
tooltips: {
|
|
2680
|
+
tooltipContainer: {
|
|
2681
|
+
fill: '#232323',
|
|
2682
|
+
opacity: 1
|
|
2683
|
+
},
|
|
2684
|
+
tooltipText: {
|
|
2685
|
+
color: '#FFFFFF'
|
|
2686
|
+
}
|
|
2687
|
+
},
|
|
2688
|
+
captions: {
|
|
2689
|
+
captionStatus: {
|
|
2690
|
+
color: '#FFFFFF',
|
|
2691
|
+
opacity: 0.7
|
|
2692
|
+
},
|
|
2693
|
+
captionInformation: {
|
|
2694
|
+
color: '#9EC2FF',
|
|
2695
|
+
opacity: 1
|
|
2696
|
+
},
|
|
2697
|
+
captionError: {
|
|
2698
|
+
color: '#FF8F8F',
|
|
2699
|
+
opacity: 1
|
|
2700
|
+
},
|
|
2701
|
+
captionErrorBackground: {
|
|
2702
|
+
color: '#C00000',
|
|
2703
|
+
opacity: 0.25
|
|
2704
|
+
},
|
|
2705
|
+
captionDisabled: {
|
|
2706
|
+
color: '#B0B0B0',
|
|
2707
|
+
opacity: 1
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
functional: {
|
|
2711
|
+
success: '#72BB23',
|
|
2712
|
+
successOutline: {
|
|
2713
|
+
fill: 'rgba(114, 187, 35, 0.25)',
|
|
2714
|
+
border: '1px solid #72BB23',
|
|
2715
|
+
borderColor: '#72BB23'
|
|
2716
|
+
},
|
|
2717
|
+
error: '#C00000',
|
|
2718
|
+
errorOutline: {
|
|
2719
|
+
fill: 'rgba(192, 0, 0, 0.25)',
|
|
2720
|
+
border: '1px solid #C00000',
|
|
2721
|
+
borderColor: '#C00000'
|
|
2722
|
+
},
|
|
2723
|
+
warning: '#FFA800',
|
|
2724
|
+
warningOutline: {
|
|
2725
|
+
fill: 'rgba(255, 168, 0, 0.25)',
|
|
2726
|
+
border: '1px solid #FFA800',
|
|
2727
|
+
borderColor: '#FFA800'
|
|
2728
|
+
},
|
|
2729
|
+
warningHighlight: {
|
|
2730
|
+
fill: '#FFA800',
|
|
2731
|
+
opacity: 0.2
|
|
2732
|
+
},
|
|
2733
|
+
notification: '#186DFF',
|
|
2734
|
+
notificationOutline: {
|
|
2735
|
+
fill: 'rgba(24, 109, 255, 0.25)',
|
|
2736
|
+
border: '1px solid #186DFF',
|
|
2737
|
+
borderColor: '#186DFF'
|
|
2738
|
+
},
|
|
2739
|
+
summary: '#9595FF',
|
|
2740
|
+
summaryOutline: {
|
|
2741
|
+
fill: 'rgba(131, 131, 242, 0.25)',
|
|
2742
|
+
border: '1px solid #8383F2',
|
|
2743
|
+
borderColor: '#8383F2'
|
|
2688
2744
|
},
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2745
|
+
disabled: '#9B9FB0',
|
|
2746
|
+
disabledOutline: {
|
|
2747
|
+
fill: 'rgba(155, 159, 176, 0.25)',
|
|
2748
|
+
border: '1px solid #9B9FB0',
|
|
2749
|
+
borderColor: '#9B9FB0'
|
|
2750
|
+
}
|
|
2751
|
+
},
|
|
2752
|
+
snackbar: {
|
|
2753
|
+
background: '#051039',
|
|
2754
|
+
text: '#FFFFFF',
|
|
2755
|
+
action: '#98e1f1',
|
|
2756
|
+
actionHover: {
|
|
2757
|
+
fill: '#7BACFF',
|
|
2758
|
+
opacity: 0.2
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e694124ecf3886de76d4
|
|
2762
|
+
|
|
2763
|
+
var elevations = {
|
|
2764
|
+
elevation_01: '0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.14)',
|
|
2765
|
+
elevation_02: '0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14)',
|
|
2766
|
+
elevation_03: '0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 3px 3px 0 rgba(0, 0, 0, 0.14)',
|
|
2767
|
+
elevation_04: '0 1px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.14)',
|
|
2768
|
+
elevation_06: '0 3px 5px 0 rgba(0, 0, 0, 0.2), 0 1px 18px 0 rgba(0, 0, 0, 0.12), 0 6px 10px 0 rgba(0, 0, 0, 0.14)',
|
|
2769
|
+
elevation_08: '0 4px 5px 0 rgba(0, 0, 0, 0.2), 0 3px 14px 3px rgba(0, 0, 0, 0.12), 0 8px 10px 1px rgba(0, 0, 0, 0.14)',
|
|
2770
|
+
elevation_09: '0 5px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 16px 2px rgba(0, 0, 0, 0.12), 0 9px 12px 1px rgba(0, 0, 0, 0.14)',
|
|
2771
|
+
elevation_12: '0 7px 8px 0 rgba(0, 0, 0, 0.2), 0 5px 22px 4px rgba(0, 0, 0, 0.12), 0 12px 17px 2px rgba(0, 0, 0, 0.14)',
|
|
2772
|
+
elevation_16: '0 8px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 16px 24px 2px rgba(0, 0, 0, 0.14)',
|
|
2773
|
+
elevation_24: '0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.14)'
|
|
2774
|
+
};
|
|
2775
|
+
|
|
2776
|
+
/* *
|
|
2777
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2778
|
+
* you may not use this file except in compliance with the License.
|
|
2779
|
+
* You may obtain a copy of the License at
|
|
2780
|
+
*
|
|
2781
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2782
|
+
*
|
|
2783
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2784
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2785
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2786
|
+
* See the License for the specific language governing permissions and
|
|
2787
|
+
* limitations under the License.
|
|
2788
|
+
*
|
|
2789
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2790
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2791
|
+
* */
|
|
2792
|
+
|
|
2793
|
+
var geowebColors = Object.assign({}, colors$1);
|
|
2794
|
+
var GWTheme = createTheme$1({
|
|
2795
|
+
breakpoints: {
|
|
2796
|
+
values: {
|
|
2797
|
+
xs: breakpoints.mobile,
|
|
2798
|
+
sm: breakpoints.tablet,
|
|
2799
|
+
md: breakpoints.desktop,
|
|
2800
|
+
lg: breakpoints.dekstopHD,
|
|
2801
|
+
xl: breakpoints.dekstopHDWide
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
palette: {
|
|
2805
|
+
secondary: {
|
|
2806
|
+
main: '#0075a9'
|
|
2692
2807
|
},
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
opacity: 0.15
|
|
2808
|
+
action: {
|
|
2809
|
+
active: '#ffa800'
|
|
2696
2810
|
},
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
opacity: 0.4
|
|
2811
|
+
text: {
|
|
2812
|
+
disabled: '#051039'
|
|
2700
2813
|
},
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2814
|
+
geowebColors: parseColors(geowebColors)
|
|
2815
|
+
},
|
|
2816
|
+
shape: {
|
|
2817
|
+
borderRadius: 3
|
|
2818
|
+
},
|
|
2819
|
+
typography: {
|
|
2820
|
+
h6: {
|
|
2821
|
+
fontSize: '16px'
|
|
2704
2822
|
},
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2823
|
+
subtitle1: {
|
|
2824
|
+
fontSize: '16px',
|
|
2825
|
+
fontWeight: 500,
|
|
2826
|
+
lineHeight: 1.5,
|
|
2827
|
+
letterSpacing: '0.15px',
|
|
2828
|
+
opacity: 0.87,
|
|
2829
|
+
color: '#051039'
|
|
2708
2830
|
},
|
|
2709
|
-
|
|
2710
|
-
|
|
2831
|
+
subtitle2: {
|
|
2832
|
+
fontSize: '14px',
|
|
2833
|
+
fontWeight: 500,
|
|
2834
|
+
lineHeight: 1.71,
|
|
2835
|
+
letterSpacing: '0.1px',
|
|
2836
|
+
opacity: 0.87,
|
|
2837
|
+
color: '#051039'
|
|
2711
2838
|
},
|
|
2712
|
-
|
|
2713
|
-
|
|
2839
|
+
body1: {
|
|
2840
|
+
fontSize: '16px',
|
|
2841
|
+
lineHeight: 1.56,
|
|
2842
|
+
letterSpacing: '0.44px',
|
|
2843
|
+
color: '#051039'
|
|
2714
2844
|
},
|
|
2715
|
-
|
|
2716
|
-
|
|
2845
|
+
body2: {
|
|
2846
|
+
fontSize: '14px',
|
|
2847
|
+
lineHeight: 1.43,
|
|
2848
|
+
letterSpacing: '0.25px',
|
|
2849
|
+
color: '#051039'
|
|
2717
2850
|
},
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2851
|
+
overline: {
|
|
2852
|
+
textTransform: 'none',
|
|
2853
|
+
fontSize: '12px',
|
|
2854
|
+
lineHeight: 1.43,
|
|
2855
|
+
letterSpacing: '0.25px',
|
|
2856
|
+
color: '#051039',
|
|
2857
|
+
opacity: 0.7
|
|
2721
2858
|
},
|
|
2722
|
-
|
|
2723
|
-
|
|
2859
|
+
caption: {
|
|
2860
|
+
fontSize: '12px',
|
|
2861
|
+
lineHeight: 1.33,
|
|
2862
|
+
letterSpacing: '0.4px',
|
|
2863
|
+
color: '#051039',
|
|
2864
|
+
opacity: 0.7
|
|
2724
2865
|
},
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
},
|
|
2730
|
-
customSlider: {
|
|
2731
|
-
rail: '#488BFD',
|
|
2732
|
-
railDisabled: '#5E5E5E',
|
|
2733
|
-
track: '#186DFF',
|
|
2734
|
-
trackDisabled: '#5E5E5E',
|
|
2735
|
-
thumb: '#F8F9F9',
|
|
2736
|
-
thumbDisabled: '#5E5E5E',
|
|
2737
|
-
mark: '#FFFFFF',
|
|
2738
|
-
markDisabled: '#303030'
|
|
2739
|
-
},
|
|
2740
|
-
customSwitch: {
|
|
2741
|
-
thumb: '#F8F9F9',
|
|
2742
|
-
thumbDisabled: '#F5F5F5',
|
|
2743
|
-
track: '#BDBDBD',
|
|
2744
|
-
trackActive: '#488BFD'
|
|
2745
|
-
},
|
|
2746
|
-
syncGroups: {
|
|
2747
|
-
drawerOpen: {
|
|
2748
|
-
fill: '#232323'
|
|
2866
|
+
button: {
|
|
2867
|
+
fontWeight: 500,
|
|
2868
|
+
fontSize: '14px',
|
|
2869
|
+
color: '0075a9'
|
|
2749
2870
|
}
|
|
2750
2871
|
},
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2872
|
+
components: {
|
|
2873
|
+
MuiTooltip: {
|
|
2874
|
+
styleOverrides: {
|
|
2875
|
+
tooltip: {
|
|
2876
|
+
borderRadius: '2px',
|
|
2877
|
+
fontSize: '16px',
|
|
2878
|
+
fontWeight: 'normal',
|
|
2879
|
+
padding: '10px',
|
|
2880
|
+
backgroundColor: '#232323'
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2756
2883
|
},
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2884
|
+
MuiIconButton: {
|
|
2885
|
+
styleOverrides: {
|
|
2886
|
+
root: {
|
|
2887
|
+
color: '#0075a9'
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2761
2890
|
},
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2891
|
+
MuiCheckbox: {
|
|
2892
|
+
styleOverrides: {
|
|
2893
|
+
root: {
|
|
2894
|
+
'&.Mui-disabled': {
|
|
2895
|
+
color: '#CCCCCC!important'
|
|
2896
|
+
},
|
|
2897
|
+
'&.Mui-checked': {
|
|
2898
|
+
color: '#0075a9'
|
|
2899
|
+
}
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
},
|
|
2903
|
+
MuiSelect: {
|
|
2904
|
+
styleOverrides: {
|
|
2905
|
+
icon: {
|
|
2906
|
+
color: '#0075a9'
|
|
2907
|
+
},
|
|
2908
|
+
select: {
|
|
2909
|
+
'&:focus': {
|
|
2910
|
+
backgroundColor: 'rgba(0, 117, 169, 0.05)'
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
MuiAlert: {
|
|
2916
|
+
styleOverrides: {
|
|
2917
|
+
standardError: {
|
|
2918
|
+
border: '1px solid #c00000',
|
|
2919
|
+
borderRadius: '0px',
|
|
2920
|
+
backgroundColor: '#fff0ea'
|
|
2921
|
+
},
|
|
2922
|
+
standardWarning: {
|
|
2923
|
+
border: '1px solid #ffa800',
|
|
2924
|
+
borderRadius: '0px',
|
|
2925
|
+
backgroundColor: '#fff8eb'
|
|
2926
|
+
},
|
|
2927
|
+
standardInfo: {
|
|
2928
|
+
border: '1px solid #0062e6',
|
|
2929
|
+
borderRadius: '0px',
|
|
2930
|
+
backgroundColor: '#eaf3ff'
|
|
2931
|
+
},
|
|
2932
|
+
standardSuccess: {
|
|
2933
|
+
border: '1px solid #72bb23',
|
|
2934
|
+
borderRadius: '0px',
|
|
2935
|
+
backgroundColor: '#fcffeb'
|
|
2936
|
+
},
|
|
2937
|
+
action: {
|
|
2938
|
+
color: '#0075a9'
|
|
2939
|
+
},
|
|
2940
|
+
message: {
|
|
2941
|
+
fontSize: '14px',
|
|
2942
|
+
lineHeight: 1.43,
|
|
2943
|
+
letterSpacing: '0.25px',
|
|
2944
|
+
color: '#051039'
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2766
2947
|
},
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2948
|
+
MuiTabs: {
|
|
2949
|
+
styleOverrides: {
|
|
2950
|
+
root: {
|
|
2951
|
+
backgroundColor: '#ffffff',
|
|
2952
|
+
minHeight: '30px'
|
|
2953
|
+
},
|
|
2954
|
+
scrollButtons: {
|
|
2955
|
+
width: '20px'
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2777
2958
|
},
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2959
|
+
MuiTab: {
|
|
2960
|
+
styleOverrides: {
|
|
2961
|
+
root: {
|
|
2962
|
+
minHeight: '30px',
|
|
2963
|
+
textTransform: 'none',
|
|
2964
|
+
minWidth: '76px',
|
|
2965
|
+
'@media (min-width: 600px)': {
|
|
2966
|
+
minWidth: '76px'
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
labelIcon: {
|
|
2970
|
+
minHeight: '30px'
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2786
2973
|
},
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2974
|
+
MuiListItem: {
|
|
2975
|
+
styleOverrides: {
|
|
2976
|
+
root: {
|
|
2977
|
+
'&$selected': {
|
|
2978
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)',
|
|
2979
|
+
borderLeft: '4px solid #0075a9',
|
|
2980
|
+
'&:hover': {
|
|
2981
|
+
backgroundColor: 'rgba(0, 117, 169, 0.10)'
|
|
2982
|
+
}
|
|
2983
|
+
}
|
|
2984
|
+
},
|
|
2985
|
+
button: {
|
|
2986
|
+
'&:hover': {
|
|
2987
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2790
2991
|
},
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2992
|
+
MuiMenuItem: {
|
|
2993
|
+
styleOverrides: {
|
|
2994
|
+
root: {
|
|
2995
|
+
'&.Mui-selected': {
|
|
2996
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)',
|
|
2997
|
+
borderLeft: '4px solid #0075a9',
|
|
2998
|
+
'&:hover': {
|
|
2999
|
+
backgroundColor: 'rgba(0, 117, 169, 0.10)'
|
|
3000
|
+
}
|
|
3001
|
+
},
|
|
3002
|
+
'&:hover': {
|
|
3003
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
2794
3007
|
},
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
3008
|
+
MuiFormLabel: {
|
|
3009
|
+
styleOverrides: {
|
|
3010
|
+
root: {
|
|
3011
|
+
color: 'rgba(5, 16, 57, 0.7)',
|
|
3012
|
+
'&.Mui-focused': {
|
|
3013
|
+
color: '#0075a9'
|
|
3014
|
+
},
|
|
3015
|
+
'&.Mui-error': {
|
|
3016
|
+
color: '#d32f2f!important'
|
|
3017
|
+
}
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
2798
3020
|
},
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
fill: 'rgba(114, 187, 35, 0.25)',
|
|
2808
|
-
border: '1px solid #72BB23',
|
|
2809
|
-
borderColor: '#72BB23'
|
|
3021
|
+
MuiOutlinedInput: {
|
|
3022
|
+
styleOverrides: {
|
|
3023
|
+
root: {
|
|
3024
|
+
'&$focused $notchedOutline': {
|
|
3025
|
+
borderColor: '#0075a9'
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
2810
3029
|
},
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
3030
|
+
MuiFilledInput: {
|
|
3031
|
+
styleOverrides: {
|
|
3032
|
+
root: {
|
|
3033
|
+
backgroundColor: 'rgba(0, 117, 169, 0.05)',
|
|
3034
|
+
color: '#051039',
|
|
3035
|
+
'&.Mui-disabled': {
|
|
3036
|
+
backgroundColor: 'white'
|
|
3037
|
+
},
|
|
3038
|
+
'&.Mui-focused': {
|
|
3039
|
+
backgroundColor: 'rgba(0,0,0,0.09)'
|
|
3040
|
+
}
|
|
3041
|
+
},
|
|
3042
|
+
underline: {
|
|
3043
|
+
'&.Mui-disabled:before': {
|
|
3044
|
+
borderBottomStyle: 'none'
|
|
3045
|
+
}
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
2816
3048
|
},
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
3049
|
+
MuiRadio: {
|
|
3050
|
+
styleOverrides: {
|
|
3051
|
+
root: {
|
|
3052
|
+
'&.Mui-disabled': {
|
|
3053
|
+
color: '#CCCCCC!important'
|
|
3054
|
+
},
|
|
3055
|
+
'&.Mui-checked': {
|
|
3056
|
+
color: '#0075a9'
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
2822
3060
|
},
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
3061
|
+
MuiCardContent: {
|
|
3062
|
+
styleOverrides: {
|
|
3063
|
+
root: {
|
|
3064
|
+
'&:last-child': {
|
|
3065
|
+
paddingBottom: 0
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
2826
3069
|
},
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
3070
|
+
MuiDialog: {
|
|
3071
|
+
styleOverrides: {
|
|
3072
|
+
paperWidthLg: {
|
|
3073
|
+
maxWidth: '1280px'
|
|
3074
|
+
}
|
|
3075
|
+
}
|
|
2832
3076
|
},
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
fill: 'rgba(131, 131, 242, 0.25)',
|
|
2836
|
-
border: '1px solid #8383F2',
|
|
2837
|
-
borderColor: '#8383F2'
|
|
3077
|
+
MuiButton: {
|
|
3078
|
+
variants: buttonVariants(geowebColors.buttons)
|
|
2838
3079
|
},
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
borderColor: '#9B9FB0'
|
|
2844
|
-
}
|
|
2845
|
-
},
|
|
2846
|
-
snackbar: {
|
|
2847
|
-
background: '#051039',
|
|
2848
|
-
text: '#FFFFFF',
|
|
2849
|
-
action: '#98e1f1',
|
|
2850
|
-
actionHover: {
|
|
2851
|
-
fill: '#7BACFF',
|
|
2852
|
-
opacity: 0.2
|
|
3080
|
+
MuiToggleButton: {
|
|
3081
|
+
styleOverrides: {
|
|
3082
|
+
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
3083
|
+
}
|
|
2853
3084
|
}
|
|
2854
3085
|
}
|
|
2855
|
-
};
|
|
3086
|
+
});
|
|
2856
3087
|
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
3088
|
+
/* *
|
|
3089
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3090
|
+
* you may not use this file except in compliance with the License.
|
|
3091
|
+
* You may obtain a copy of the License at
|
|
3092
|
+
*
|
|
3093
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3094
|
+
*
|
|
3095
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3096
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3097
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3098
|
+
* See the License for the specific language governing permissions and
|
|
3099
|
+
* limitations under the License.
|
|
3100
|
+
*
|
|
3101
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
3102
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
3103
|
+
* */
|
|
3104
|
+
var lightTheme = createTheme({
|
|
3105
|
+
paletteType: 'light',
|
|
3106
|
+
geowebColors: colors$1,
|
|
3107
|
+
elevations: elevations$1
|
|
3108
|
+
});
|
|
3109
|
+
var darkTheme = createTheme({
|
|
3110
|
+
paletteType: 'dark',
|
|
3111
|
+
geowebColors: colors,
|
|
3112
|
+
elevations: elevations
|
|
3113
|
+
});
|
|
3114
|
+
|
|
3115
|
+
/* *
|
|
3116
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3117
|
+
* you may not use this file except in compliance with the License.
|
|
3118
|
+
* You may obtain a copy of the License at
|
|
3119
|
+
*
|
|
3120
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3121
|
+
*
|
|
3122
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3123
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3124
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3125
|
+
* See the License for the specific language governing permissions and
|
|
3126
|
+
* limitations under the License.
|
|
3127
|
+
*
|
|
3128
|
+
* Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
3129
|
+
* Copyright 2021 - Finnish Meteorological Institute (FMI)
|
|
3130
|
+
* */
|
|
3131
|
+
var ThemeTypes;
|
|
3132
|
+
|
|
3133
|
+
(function (ThemeTypes) {
|
|
3134
|
+
ThemeTypes["DARK_THEME"] = "darkTheme";
|
|
3135
|
+
ThemeTypes["LIGHT_THEME"] = "lightTheme";
|
|
3136
|
+
})(ThemeTypes || (ThemeTypes = {}));
|
|
2870
3137
|
|
|
2871
3138
|
var ThemeContext = /*#__PURE__*/React.createContext({
|
|
2872
3139
|
toggleTheme: undefined,
|
|
@@ -2932,4 +3199,4 @@ var ThemeWrapperOldTheme = function ThemeWrapperOldTheme(_a) {
|
|
|
2932
3199
|
}, props), children);
|
|
2933
3200
|
};
|
|
2934
3201
|
|
|
2935
|
-
export { Add, Animation, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, Link, LinkOff, List, ListItem, Location, Menu, Minus, None, Notifications, Now, Options, Pause, Picture, Play, Preset, PresetTiles, PresetWorkspace, Resize, Search, SliderThumb, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, darkTheme, dragHandlePath,
|
|
3202
|
+
export { Add, Animation, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, Link, LinkOff, List, ListItem, Location, Menu, Minus, None, Notifications, Now, Options, Pause, Picture, Play, Preset, PresetTiles, PresetWorkspace, Resize, Search, SliderThumb, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, colors$1 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$1 as elevationsLight, lightTheme, parseColors, useThemeContext };
|