@opengeoweb/theme 4.17.0 → 4.18.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 +1055 -987
- package/index.umd.js +1105 -1048
- package/lib/components/Theme/ThemeContext.d.ts +1 -1
- package/lib/components/Theme/index.d.ts +0 -4
- package/lib/{components/Theme/types.d.ts → types.d.ts} +1 -0
- package/lib/{components/Theme → utils}/buttonStyles.d.ts +1 -1
- 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 +1 -1
- 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.umd.js
CHANGED
|
@@ -903,10 +903,12 @@
|
|
|
903
903
|
borderColor: button.disabled.borderColor
|
|
904
904
|
},
|
|
905
905
|
// focus styling
|
|
906
|
-
'&.Mui-focusVisible
|
|
906
|
+
'&.Mui-focusVisible': {
|
|
907
907
|
outline: button.focus.outline,
|
|
908
|
-
|
|
909
|
-
|
|
908
|
+
'&:not(.Mui-selected)': {
|
|
909
|
+
borderColor: 'transparent',
|
|
910
|
+
backgroundColor: button.mouseOver.fill
|
|
911
|
+
}
|
|
910
912
|
}
|
|
911
913
|
};
|
|
912
914
|
};
|
|
@@ -954,6 +956,22 @@
|
|
|
954
956
|
});
|
|
955
957
|
};
|
|
956
958
|
|
|
959
|
+
/* *
|
|
960
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
961
|
+
* you may not use this file except in compliance with the License.
|
|
962
|
+
* You may obtain a copy of the License at
|
|
963
|
+
*
|
|
964
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
965
|
+
*
|
|
966
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
967
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
968
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
969
|
+
* See the License for the specific language governing permissions and
|
|
970
|
+
* limitations under the License.
|
|
971
|
+
*
|
|
972
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
973
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
974
|
+
* */
|
|
957
975
|
var hex2rgba = function hex2rgba(hex, alpha) {
|
|
958
976
|
if (alpha === void 0) {
|
|
959
977
|
alpha = 1;
|
|
@@ -1007,604 +1025,190 @@
|
|
|
1007
1025
|
return value;
|
|
1008
1026
|
});
|
|
1009
1027
|
};
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1028
|
+
|
|
1029
|
+
/* *
|
|
1030
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1031
|
+
* you may not use this file except in compliance with the License.
|
|
1032
|
+
* You may obtain a copy of the License at
|
|
1033
|
+
*
|
|
1034
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1035
|
+
*
|
|
1036
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1037
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1038
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1039
|
+
* See the License for the specific language governing permissions and
|
|
1040
|
+
* limitations under the License.
|
|
1041
|
+
*
|
|
1042
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1043
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
1044
|
+
* */
|
|
1045
|
+
var focusButtonStyle$1 = {
|
|
1046
|
+
outline: 'solid 2px #419cfe'
|
|
1047
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/5ecf84d920b99428d7f98555
|
|
1048
|
+
|
|
1049
|
+
var colors$1 = {
|
|
1050
|
+
background: {
|
|
1051
|
+
surface: '#FFFFFF',
|
|
1052
|
+
surfaceApp: '#F5F5F5',
|
|
1053
|
+
surfaceBrowser: '#CFCFCF'
|
|
1054
|
+
},
|
|
1055
|
+
brand: {
|
|
1056
|
+
brand: '#FFFFFF'
|
|
1057
|
+
},
|
|
1058
|
+
buttons: {
|
|
1059
|
+
primary: {
|
|
1060
|
+
"default": {
|
|
1061
|
+
fill: '#186DFF',
|
|
1062
|
+
color: '#FFFFFF',
|
|
1063
|
+
borderColor: 'transparent'
|
|
1032
1064
|
},
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1065
|
+
mouseOver: {
|
|
1066
|
+
fill: '#1047B0',
|
|
1067
|
+
color: '#FFFFFF',
|
|
1068
|
+
borderColor: '#71A6FF'
|
|
1036
1069
|
},
|
|
1037
|
-
|
|
1038
|
-
|
|
1070
|
+
active: {
|
|
1071
|
+
fill: '#186DFF',
|
|
1072
|
+
color: '#FFFFFF',
|
|
1073
|
+
borderColor: 'transparent'
|
|
1039
1074
|
},
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
fontFamily: ['Roboto', 'Helvetica', 'Arial', 'sans-serif'].join(',')
|
|
1075
|
+
activeMouseOver: {},
|
|
1076
|
+
disabled: {
|
|
1077
|
+
fill: 'transparent',
|
|
1078
|
+
color: '#626262',
|
|
1079
|
+
borderColor: 'transparent'
|
|
1080
|
+
},
|
|
1081
|
+
focus: focusButtonStyle$1
|
|
1048
1082
|
},
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
focusRipple: false
|
|
1055
|
-
}
|
|
1083
|
+
secondary: {
|
|
1084
|
+
"default": {
|
|
1085
|
+
fill: '#374061',
|
|
1086
|
+
color: '#FFFFFF',
|
|
1087
|
+
borderColor: 'transparent'
|
|
1056
1088
|
},
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
styleOverrides: {
|
|
1062
|
-
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
1063
|
-
}
|
|
1089
|
+
mouseOver: {
|
|
1090
|
+
fill: '#1047B0',
|
|
1091
|
+
color: '#FFFFFF',
|
|
1092
|
+
borderColor: 'transparent'
|
|
1064
1093
|
},
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
},
|
|
1070
|
-
styleOverrides: {
|
|
1071
|
-
root: defaultButtonStyle(geowebColors.buttons.flat)
|
|
1072
|
-
}
|
|
1094
|
+
active: {
|
|
1095
|
+
fill: '#186DFF',
|
|
1096
|
+
color: '#FFFFFF',
|
|
1097
|
+
borderColor: 'transparent'
|
|
1073
1098
|
},
|
|
1074
|
-
|
|
1075
|
-
|
|
1099
|
+
activeMouseOver: {},
|
|
1100
|
+
disabled: {
|
|
1101
|
+
fill: 'transparent',
|
|
1102
|
+
color: '#626262',
|
|
1103
|
+
borderColor: 'transparent'
|
|
1076
1104
|
},
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
borderBottomColor: geowebColors.greys.accessibleLight
|
|
1085
|
-
},
|
|
1086
|
-
li: {
|
|
1087
|
-
'&:hover': {
|
|
1088
|
-
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1089
|
-
}
|
|
1090
|
-
},
|
|
1091
|
-
'&.Mui-selected': {
|
|
1092
|
-
background: 'none',
|
|
1093
|
-
boxShadow: "inset 4px 0px 0px 0px " + geowebColors.typographyAndIcons.iconLinkActive
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1105
|
+
focus: focusButtonStyle$1
|
|
1106
|
+
},
|
|
1107
|
+
tertiary: {
|
|
1108
|
+
"default": {
|
|
1109
|
+
fill: 'transparent',
|
|
1110
|
+
color: '#374061',
|
|
1111
|
+
borderColor: '#374061'
|
|
1097
1112
|
},
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
'&.MuiRadio-root.Mui-disabled': {
|
|
1103
|
-
color: "" + geowebColors.typographyAndIcons.iconLinkDisabled
|
|
1104
|
-
},
|
|
1105
|
-
'&.Mui-checked': {
|
|
1106
|
-
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1113
|
+
mouseOver: {
|
|
1114
|
+
fill: '#E0E8F5',
|
|
1115
|
+
color: '#374061',
|
|
1116
|
+
borderColor: '#374061'
|
|
1110
1117
|
},
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
'&.MuiCheckbox-root.Mui-disabled': {
|
|
1116
|
-
color: geowebColors.typographyAndIcons.iconLinkDisabled
|
|
1117
|
-
},
|
|
1118
|
-
'&.Mui-checked': {
|
|
1119
|
-
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1118
|
+
active: {
|
|
1119
|
+
fill: 'transparent',
|
|
1120
|
+
color: '#186DFF',
|
|
1121
|
+
borderColor: '#186DFF'
|
|
1123
1122
|
},
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
},
|
|
1129
|
-
outlined: {
|
|
1130
|
-
borderColor: geowebColors.cards.cardContainerBorder
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1123
|
+
activeMouseOver: {
|
|
1124
|
+
fill: '#E0E8F5',
|
|
1125
|
+
color: '#186DFF',
|
|
1126
|
+
borderColor: '#186DFF'
|
|
1133
1127
|
},
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1128
|
+
disabled: {
|
|
1129
|
+
fill: 'transparent',
|
|
1130
|
+
color: '#626262',
|
|
1131
|
+
borderColor: 'transparent'
|
|
1140
1132
|
},
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1133
|
+
focus: focusButtonStyle$1
|
|
1134
|
+
},
|
|
1135
|
+
flat: {
|
|
1136
|
+
"default": {
|
|
1137
|
+
fill: 'transparent',
|
|
1138
|
+
color: '#374061',
|
|
1139
|
+
borderColor: 'transparent'
|
|
1147
1140
|
},
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
borderCollapse: 'separate'
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1141
|
+
mouseOver: {
|
|
1142
|
+
fill: '#E0E8F5',
|
|
1143
|
+
color: '#374061',
|
|
1144
|
+
borderColor: 'transparent'
|
|
1155
1145
|
},
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
boxShadow: shadows[0]
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
root: {
|
|
1164
|
-
transition: 'box-shadow 100ms ease-out',
|
|
1165
|
-
boxShadow: shadows[0],
|
|
1166
|
-
borderRadius: BORDER_RADIUS,
|
|
1167
|
-
'&:hover': {
|
|
1168
|
-
boxShadow: shadows[1]
|
|
1169
|
-
},
|
|
1170
|
-
position: 'relative'
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1146
|
+
active: {
|
|
1147
|
+
fill: 'transparent',
|
|
1148
|
+
color: '#186DFF',
|
|
1149
|
+
borderColor: 'transparent'
|
|
1173
1150
|
},
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
fontSize: '0.875rem',
|
|
1179
|
-
fontWeight: 400
|
|
1180
|
-
},
|
|
1181
|
-
body: {
|
|
1182
|
-
padding: 12,
|
|
1183
|
-
fontWeight: 500,
|
|
1184
|
-
backgroundColor: geowebColors.background.surface,
|
|
1185
|
-
borderStyle: 'solid',
|
|
1186
|
-
borderColor: 'transparent',
|
|
1187
|
-
borderWidth: 1,
|
|
1188
|
-
borderTopColor: geowebColors.cards.cardContainerBorder,
|
|
1189
|
-
borderBottomColor: geowebColors.cards.cardContainerBorder,
|
|
1190
|
-
'&:first-child': {
|
|
1191
|
-
borderLeftColor: geowebColors.cards.cardContainerBorder,
|
|
1192
|
-
borderRadius: BORDER_RADIUS + "px 0px 0px " + BORDER_RADIUS + "px"
|
|
1193
|
-
},
|
|
1194
|
-
'&:last-child': {
|
|
1195
|
-
borderRightColor: geowebColors.cards.cardContainerBorder,
|
|
1196
|
-
borderRadius: "0px " + BORDER_RADIUS + "px " + BORDER_RADIUS + "px 0px"
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1151
|
+
activeMouseOver: {
|
|
1152
|
+
fill: '#E0E8F5',
|
|
1153
|
+
color: '#186DFF',
|
|
1154
|
+
borderColor: 'transparent'
|
|
1200
1155
|
},
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
'&:after': {
|
|
1206
|
-
content: '""',
|
|
1207
|
-
position: 'absolute',
|
|
1208
|
-
bottom: 0,
|
|
1209
|
-
height: 1,
|
|
1210
|
-
width: '100%',
|
|
1211
|
-
zIndex: 0,
|
|
1212
|
-
backgroundColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1213
|
-
}
|
|
1214
|
-
},
|
|
1215
|
-
indicator: {
|
|
1216
|
-
zIndex: 1,
|
|
1217
|
-
backgroundColor: geowebColors.typographyAndIcons.iconLinkActive
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1156
|
+
disabled: {
|
|
1157
|
+
fill: 'transparent',
|
|
1158
|
+
color: '#626262',
|
|
1159
|
+
borderColor: 'transparent'
|
|
1220
1160
|
},
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
'&:hover': {
|
|
1229
|
-
opacity: 1,
|
|
1230
|
-
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1231
|
-
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1232
|
-
}
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1161
|
+
focus: focusButtonStyle$1
|
|
1162
|
+
},
|
|
1163
|
+
tool: {
|
|
1164
|
+
"default": {
|
|
1165
|
+
fill: '#ECEDEE',
|
|
1166
|
+
color: '#374061',
|
|
1167
|
+
borderColor: 'transparent'
|
|
1235
1168
|
},
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
fontSize: '14px',
|
|
1241
|
-
minHeight: '36px'
|
|
1242
|
-
},
|
|
1243
|
-
divider: {
|
|
1244
|
-
borderBottomColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1169
|
+
mouseOver: {
|
|
1170
|
+
fill: '#E0E8F5',
|
|
1171
|
+
color: '#374061',
|
|
1172
|
+
borderColor: 'transparent'
|
|
1247
1173
|
},
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
width: '24px',
|
|
1253
|
-
height: '24px'
|
|
1254
|
-
}
|
|
1255
|
-
}
|
|
1174
|
+
active: {
|
|
1175
|
+
fill: '#186DFF',
|
|
1176
|
+
color: '#FFFFFF',
|
|
1177
|
+
borderColor: 'transparent'
|
|
1256
1178
|
},
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
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
|
-
}
|
|
1179
|
+
activeMouseOver: {
|
|
1180
|
+
fill: '#1047B0',
|
|
1181
|
+
color: '#FFFFFF',
|
|
1182
|
+
borderColor: 'transparent'
|
|
1279
1183
|
},
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1184
|
+
disabled: {
|
|
1185
|
+
fill: 'transparent',
|
|
1186
|
+
color: '#626262',
|
|
1187
|
+
borderColor: 'transparent'
|
|
1286
1188
|
},
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
fontWeight: 400,
|
|
1295
|
-
fontStretch: 'normal',
|
|
1296
|
-
fontStyle: 'normal',
|
|
1297
|
-
letterSpacing: 0.44,
|
|
1298
|
-
lineHeight: 1.56
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1189
|
+
focus: focusButtonStyle$1
|
|
1190
|
+
},
|
|
1191
|
+
boxed: {
|
|
1192
|
+
"default": {
|
|
1193
|
+
fill: 'transparent',
|
|
1194
|
+
color: '#374061',
|
|
1195
|
+
borderColor: '#374061'
|
|
1301
1196
|
},
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
textDecoration: 'none',
|
|
1307
|
-
'&:hover': {
|
|
1308
|
-
textDecoration: 'underline',
|
|
1309
|
-
textDecorationColor: geowebColors.typographyAndIcons.textLinkActive
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1197
|
+
mouseOver: {
|
|
1198
|
+
fill: '#E0E8F5',
|
|
1199
|
+
color: '#374061',
|
|
1200
|
+
borderColor: '#374061'
|
|
1313
1201
|
},
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
borderRadius: '0px',
|
|
1319
|
-
backgroundColor: geowebColors.functional.errorOutline.fill,
|
|
1320
|
-
'& .MuiAlert-icon': {
|
|
1321
|
-
color: geowebColors.functional.error,
|
|
1322
|
-
opacity: 1
|
|
1323
|
-
}
|
|
1324
|
-
},
|
|
1325
|
-
standardWarning: {
|
|
1326
|
-
border: geowebColors.functional.warningOutline.border,
|
|
1327
|
-
borderRadius: '0px',
|
|
1328
|
-
backgroundColor: geowebColors.functional.warningOutline.fill,
|
|
1329
|
-
'& .MuiAlert-icon': {
|
|
1330
|
-
color: geowebColors.functional.warning,
|
|
1331
|
-
opacity: 1
|
|
1332
|
-
}
|
|
1333
|
-
},
|
|
1334
|
-
standardInfo: {
|
|
1335
|
-
border: geowebColors.functional.notificationOutline.border,
|
|
1336
|
-
borderRadius: '0px',
|
|
1337
|
-
backgroundColor: geowebColors.functional.notificationOutline.fill,
|
|
1338
|
-
'& .MuiAlert-icon': {
|
|
1339
|
-
color: geowebColors.functional.notification,
|
|
1340
|
-
opacity: 1
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1343
|
-
standardSuccess: {
|
|
1344
|
-
border: geowebColors.functional.successOutline.border,
|
|
1345
|
-
borderRadius: '0px',
|
|
1346
|
-
backgroundColor: geowebColors.functional.successOutline.fill,
|
|
1347
|
-
'& .MuiAlert-icon': {
|
|
1348
|
-
color: geowebColors.functional.success,
|
|
1349
|
-
opacity: 1
|
|
1350
|
-
}
|
|
1351
|
-
},
|
|
1352
|
-
action: {
|
|
1353
|
-
color: geowebColors.buttons.tertiary["default"].color
|
|
1354
|
-
},
|
|
1355
|
-
message: {
|
|
1356
|
-
fontSize: '14px',
|
|
1357
|
-
lineHeight: 1.43,
|
|
1358
|
-
letterSpacing: '0.25px',
|
|
1359
|
-
color: geowebColors.typographyAndIcons.text
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1202
|
+
active: {
|
|
1203
|
+
fill: '#186DFF',
|
|
1204
|
+
color: '#FFFFFF',
|
|
1205
|
+
borderColor: 'transparent'
|
|
1362
1206
|
},
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1207
|
+
activeMouseOver: {
|
|
1208
|
+
fill: '#1047B0',
|
|
1209
|
+
color: '#FFFFFF',
|
|
1210
|
+
borderColor: 'transparent'
|
|
1367
1211
|
},
|
|
1368
|
-
MuiFilledInput: {
|
|
1369
|
-
styleOverrides: {
|
|
1370
|
-
root: {
|
|
1371
|
-
backgroundColor: geowebColors.textInputField["default"].rgba,
|
|
1372
|
-
'&.Mui-focused': {
|
|
1373
|
-
backgroundColor: geowebColors.textInputField.active.rgba,
|
|
1374
|
-
'&:after': {
|
|
1375
|
-
borderColor: 'transparent'
|
|
1376
|
-
}
|
|
1377
|
-
},
|
|
1378
|
-
'&.Mui-disabled': {
|
|
1379
|
-
backgroundColor: geowebColors.textInputField.disabled.rgba
|
|
1380
|
-
},
|
|
1381
|
-
'&.Mui-error': {
|
|
1382
|
-
'&:after': {
|
|
1383
|
-
borderColor: geowebColors.captions.captionError.color
|
|
1384
|
-
}
|
|
1385
|
-
},
|
|
1386
|
-
// can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
|
|
1387
|
-
'&.MuiInputBase-readOnly': {
|
|
1388
|
-
background: 'transparent',
|
|
1389
|
-
color: geowebColors.typographyAndIcons.text,
|
|
1390
|
-
' .MuiInputBase-readOnly': {
|
|
1391
|
-
WebkitTextFillColor: 'inherit'
|
|
1392
|
-
},
|
|
1393
|
-
'&:before': {
|
|
1394
|
-
border: 'transparent'
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
},
|
|
1398
|
-
underline: {
|
|
1399
|
-
'&:after': {
|
|
1400
|
-
borderWidth: '1px'
|
|
1401
|
-
},
|
|
1402
|
-
'&.Mui-disabled:before': {
|
|
1403
|
-
borderBottomStyle: 'solid'
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
}
|
|
1407
|
-
},
|
|
1408
|
-
MuiFormLabel: {
|
|
1409
|
-
styleOverrides: {
|
|
1410
|
-
root: {
|
|
1411
|
-
color: geowebColors.captions.captionStatus.color,
|
|
1412
|
-
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1413
|
-
'&.Mui-focused': {
|
|
1414
|
-
color: geowebColors.captions.captionInformation.color,
|
|
1415
|
-
opacity: geowebColors.captions.captionInformation.opacity
|
|
1416
|
-
},
|
|
1417
|
-
'&.Mui-error': {
|
|
1418
|
-
color: geowebColors.captions.captionError.color,
|
|
1419
|
-
opacity: geowebColors.captions.captionError.opacity
|
|
1420
|
-
},
|
|
1421
|
-
'&.Mui-disabled': {
|
|
1422
|
-
color: geowebColors.captions.captionDisabled.color,
|
|
1423
|
-
opacity: geowebColors.captions.captionDisabled.opacity
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
},
|
|
1428
|
-
MuiFormHelperText: {
|
|
1429
|
-
styleOverrides: {
|
|
1430
|
-
root: {
|
|
1431
|
-
color: geowebColors.captions.captionStatus.color,
|
|
1432
|
-
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1433
|
-
'&.Mui-error': {
|
|
1434
|
-
color: geowebColors.captions.captionError.color,
|
|
1435
|
-
opacity: geowebColors.captions.captionError.opacity
|
|
1436
|
-
},
|
|
1437
|
-
'&.Mui-disabled': {
|
|
1438
|
-
color: geowebColors.captions.captionDisabled.color,
|
|
1439
|
-
opacity: geowebColors.captions.captionDisabled.opacity
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
},
|
|
1444
|
-
MuiSwitch: {
|
|
1445
|
-
styleOverrides: {
|
|
1446
|
-
switchBase: {
|
|
1447
|
-
color: geowebColors.customSwitch.thumb,
|
|
1448
|
-
'&.Mui-checked': {
|
|
1449
|
-
color: geowebColors.customSwitch.thumb
|
|
1450
|
-
},
|
|
1451
|
-
'&.Mui-disabled': {
|
|
1452
|
-
color: geowebColors.customSwitch.thumbDisabled
|
|
1453
|
-
},
|
|
1454
|
-
'&.Mui-checked.Mui-disabled': {
|
|
1455
|
-
color: geowebColors.customSwitch.thumbDisabled
|
|
1456
|
-
},
|
|
1457
|
-
'&.Mui-checked+.MuiSwitch-track': {
|
|
1458
|
-
backgroundColor: geowebColors.customSwitch.trackActive
|
|
1459
|
-
},
|
|
1460
|
-
'&.Mui-disabled+.MuiSwitch-track': {
|
|
1461
|
-
backgroundColor: geowebColors.customSwitch.track
|
|
1462
|
-
},
|
|
1463
|
-
'&.Mui-checked.Mui-disabled+.MuiSwitch-track': {
|
|
1464
|
-
backgroundColor: geowebColors.customSwitch.trackActive
|
|
1465
|
-
}
|
|
1466
|
-
},
|
|
1467
|
-
track: {
|
|
1468
|
-
backgroundColor: geowebColors.customSwitch.track,
|
|
1469
|
-
opacity: '1 !important'
|
|
1470
|
-
}
|
|
1471
|
-
}
|
|
1472
|
-
},
|
|
1473
|
-
MuiSnackbarContent: {
|
|
1474
|
-
styleOverrides: {
|
|
1475
|
-
root: {
|
|
1476
|
-
backgroundColor: geowebColors.snackbar.background,
|
|
1477
|
-
color: geowebColors.snackbar.text,
|
|
1478
|
-
fontSize: '16px',
|
|
1479
|
-
letterSpacing: '0.44px',
|
|
1480
|
-
borderRadius: '2px',
|
|
1481
|
-
boxShadow: shadows[8]
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
},
|
|
1485
|
-
MuiAvatar: {
|
|
1486
|
-
styleOverrides: {
|
|
1487
|
-
root: __assign(__assign({}, defaultButtonStyle(geowebColors.buttons.primary)), {
|
|
1488
|
-
fontWeight: 500,
|
|
1489
|
-
'&:hover': {
|
|
1490
|
-
backgroundColor: 'geowebColors.buttons.primary.default.fill'
|
|
1491
|
-
},
|
|
1492
|
-
height: 32,
|
|
1493
|
-
width: 32,
|
|
1494
|
-
fontSize: 16,
|
|
1495
|
-
borderRadius: '50%'
|
|
1496
|
-
})
|
|
1497
|
-
}
|
|
1498
|
-
},
|
|
1499
|
-
MuiAccordion: {
|
|
1500
|
-
styleOverrides: {
|
|
1501
|
-
root: {
|
|
1502
|
-
backgroundColor: geowebColors.cards.cardContainer,
|
|
1503
|
-
borderRadius: '3px',
|
|
1504
|
-
border: 'solid 1px',
|
|
1505
|
-
borderColor: geowebColors.cards.cardContainerBorder,
|
|
1506
|
-
color: geowebColors.buttons.flat["default"].color,
|
|
1507
|
-
padding: '0px',
|
|
1508
|
-
margin: '0px 12px 4px 12px',
|
|
1509
|
-
fontSize: '12px',
|
|
1510
|
-
'&:before': {
|
|
1511
|
-
display: 'none'
|
|
1512
|
-
},
|
|
1513
|
-
'& .MuiAccordionSummary-root.Mui-expanded': {
|
|
1514
|
-
borderBottom: 'solid 1px',
|
|
1515
|
-
borderColor: geowebColors.cards.cardContainerBorder
|
|
1516
|
-
},
|
|
1517
|
-
'& .MuiAccordionSummary-content': {
|
|
1518
|
-
margin: '2px',
|
|
1519
|
-
padding: '4px 4px 4px 10px'
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
},
|
|
1524
|
-
MuiAccordionSummary: {
|
|
1525
|
-
styleOverrides: {
|
|
1526
|
-
root: {
|
|
1527
|
-
minHeight: '32px',
|
|
1528
|
-
padding: '0px',
|
|
1529
|
-
paddingRight: '5px'
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
});
|
|
1535
|
-
};
|
|
1536
|
-
|
|
1537
|
-
/* *
|
|
1538
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1539
|
-
* you may not use this file except in compliance with the License.
|
|
1540
|
-
* You may obtain a copy of the License at
|
|
1541
|
-
*
|
|
1542
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1543
|
-
*
|
|
1544
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
1545
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1546
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1547
|
-
* See the License for the specific language governing permissions and
|
|
1548
|
-
* limitations under the License.
|
|
1549
|
-
*
|
|
1550
|
-
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1551
|
-
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
1552
|
-
* */
|
|
1553
|
-
var focusButtonStyle$1 = {
|
|
1554
|
-
outline: 'solid 2px #419cfe'
|
|
1555
|
-
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/5ecf84d920b99428d7f98555
|
|
1556
|
-
|
|
1557
|
-
var colors$1 = {
|
|
1558
|
-
background: {
|
|
1559
|
-
surface: '#FFFFFF',
|
|
1560
|
-
surfaceApp: '#F5F5F5',
|
|
1561
|
-
surfaceBrowser: '#CFCFCF'
|
|
1562
|
-
},
|
|
1563
|
-
brand: {
|
|
1564
|
-
brand: '#FFFFFF'
|
|
1565
|
-
},
|
|
1566
|
-
buttons: {
|
|
1567
|
-
primary: {
|
|
1568
|
-
"default": {
|
|
1569
|
-
fill: '#186DFF',
|
|
1570
|
-
color: '#FFFFFF',
|
|
1571
|
-
borderColor: 'transparent'
|
|
1572
|
-
},
|
|
1573
|
-
mouseOver: {
|
|
1574
|
-
fill: '#1047B0',
|
|
1575
|
-
color: '#FFFFFF',
|
|
1576
|
-
borderColor: '#71A6FF'
|
|
1577
|
-
},
|
|
1578
|
-
active: {
|
|
1579
|
-
fill: '#186DFF',
|
|
1580
|
-
color: '#FFFFFF',
|
|
1581
|
-
borderColor: 'transparent'
|
|
1582
|
-
},
|
|
1583
|
-
activeMouseOver: {},
|
|
1584
|
-
disabled: {
|
|
1585
|
-
fill: 'transparent',
|
|
1586
|
-
color: '#626262',
|
|
1587
|
-
borderColor: 'transparent'
|
|
1588
|
-
},
|
|
1589
|
-
focus: focusButtonStyle$1
|
|
1590
|
-
},
|
|
1591
|
-
secondary: {
|
|
1592
|
-
"default": {
|
|
1593
|
-
fill: '#374061',
|
|
1594
|
-
color: '#FFFFFF',
|
|
1595
|
-
borderColor: 'transparent'
|
|
1596
|
-
},
|
|
1597
|
-
mouseOver: {
|
|
1598
|
-
fill: '#1047B0',
|
|
1599
|
-
color: '#FFFFFF',
|
|
1600
|
-
borderColor: 'transparent'
|
|
1601
|
-
},
|
|
1602
|
-
active: {
|
|
1603
|
-
fill: '#186DFF',
|
|
1604
|
-
color: '#FFFFFF',
|
|
1605
|
-
borderColor: 'transparent'
|
|
1606
|
-
},
|
|
1607
|
-
activeMouseOver: {},
|
|
1608
1212
|
disabled: {
|
|
1609
1213
|
fill: 'transparent',
|
|
1610
1214
|
color: '#626262',
|
|
@@ -1612,138 +1216,26 @@
|
|
|
1612
1216
|
},
|
|
1613
1217
|
focus: focusButtonStyle$1
|
|
1614
1218
|
},
|
|
1615
|
-
|
|
1219
|
+
icon: {
|
|
1616
1220
|
"default": {
|
|
1617
1221
|
fill: 'transparent',
|
|
1618
1222
|
color: '#374061',
|
|
1619
|
-
borderColor: '
|
|
1223
|
+
borderColor: 'transparent'
|
|
1620
1224
|
},
|
|
1621
1225
|
mouseOver: {
|
|
1622
1226
|
fill: '#E0E8F5',
|
|
1623
1227
|
color: '#374061',
|
|
1624
|
-
borderColor: '
|
|
1228
|
+
borderColor: 'transparent'
|
|
1625
1229
|
},
|
|
1626
1230
|
active: {
|
|
1627
1231
|
fill: 'transparent',
|
|
1628
1232
|
color: '#186DFF',
|
|
1629
|
-
borderColor: '
|
|
1233
|
+
borderColor: 'transparent'
|
|
1630
1234
|
},
|
|
1631
1235
|
activeMouseOver: {
|
|
1632
1236
|
fill: '#E0E8F5',
|
|
1633
1237
|
color: '#186DFF',
|
|
1634
|
-
borderColor: '
|
|
1635
|
-
},
|
|
1636
|
-
disabled: {
|
|
1637
|
-
fill: 'transparent',
|
|
1638
|
-
color: '#626262',
|
|
1639
|
-
borderColor: 'transparent'
|
|
1640
|
-
},
|
|
1641
|
-
focus: focusButtonStyle$1
|
|
1642
|
-
},
|
|
1643
|
-
flat: {
|
|
1644
|
-
"default": {
|
|
1645
|
-
fill: 'transparent',
|
|
1646
|
-
color: '#374061',
|
|
1647
|
-
borderColor: 'transparent'
|
|
1648
|
-
},
|
|
1649
|
-
mouseOver: {
|
|
1650
|
-
fill: '#E0E8F5',
|
|
1651
|
-
color: '#374061',
|
|
1652
|
-
borderColor: 'transparent'
|
|
1653
|
-
},
|
|
1654
|
-
active: {
|
|
1655
|
-
fill: 'transparent',
|
|
1656
|
-
color: '#186DFF',
|
|
1657
|
-
borderColor: 'transparent'
|
|
1658
|
-
},
|
|
1659
|
-
activeMouseOver: {
|
|
1660
|
-
fill: '#E0E8F5',
|
|
1661
|
-
color: '#186DFF',
|
|
1662
|
-
borderColor: 'transparent'
|
|
1663
|
-
},
|
|
1664
|
-
disabled: {
|
|
1665
|
-
fill: 'transparent',
|
|
1666
|
-
color: '#626262',
|
|
1667
|
-
borderColor: 'transparent'
|
|
1668
|
-
},
|
|
1669
|
-
focus: focusButtonStyle$1
|
|
1670
|
-
},
|
|
1671
|
-
tool: {
|
|
1672
|
-
"default": {
|
|
1673
|
-
fill: '#ECEDEE',
|
|
1674
|
-
color: '#374061',
|
|
1675
|
-
borderColor: 'transparent'
|
|
1676
|
-
},
|
|
1677
|
-
mouseOver: {
|
|
1678
|
-
fill: '#E0E8F5',
|
|
1679
|
-
color: '#374061',
|
|
1680
|
-
borderColor: 'transparent'
|
|
1681
|
-
},
|
|
1682
|
-
active: {
|
|
1683
|
-
fill: '#186DFF',
|
|
1684
|
-
color: '#FFFFFF',
|
|
1685
|
-
borderColor: 'transparent'
|
|
1686
|
-
},
|
|
1687
|
-
activeMouseOver: {
|
|
1688
|
-
fill: '#1047B0',
|
|
1689
|
-
color: '#FFFFFF',
|
|
1690
|
-
borderColor: 'transparent'
|
|
1691
|
-
},
|
|
1692
|
-
disabled: {
|
|
1693
|
-
fill: 'transparent',
|
|
1694
|
-
color: '#626262',
|
|
1695
|
-
borderColor: 'transparent'
|
|
1696
|
-
},
|
|
1697
|
-
focus: focusButtonStyle$1
|
|
1698
|
-
},
|
|
1699
|
-
boxed: {
|
|
1700
|
-
"default": {
|
|
1701
|
-
fill: 'transparent',
|
|
1702
|
-
color: '#374061',
|
|
1703
|
-
borderColor: '#374061'
|
|
1704
|
-
},
|
|
1705
|
-
mouseOver: {
|
|
1706
|
-
fill: '#E0E8F5',
|
|
1707
|
-
color: '#374061',
|
|
1708
|
-
borderColor: '#374061'
|
|
1709
|
-
},
|
|
1710
|
-
active: {
|
|
1711
|
-
fill: '#186DFF',
|
|
1712
|
-
color: '#FFFFFF',
|
|
1713
|
-
borderColor: 'transparent'
|
|
1714
|
-
},
|
|
1715
|
-
activeMouseOver: {
|
|
1716
|
-
fill: '#1047B0',
|
|
1717
|
-
color: '#FFFFFF',
|
|
1718
|
-
borderColor: 'transparent'
|
|
1719
|
-
},
|
|
1720
|
-
disabled: {
|
|
1721
|
-
fill: 'transparent',
|
|
1722
|
-
color: '#626262',
|
|
1723
|
-
borderColor: 'transparent'
|
|
1724
|
-
},
|
|
1725
|
-
focus: focusButtonStyle$1
|
|
1726
|
-
},
|
|
1727
|
-
icon: {
|
|
1728
|
-
"default": {
|
|
1729
|
-
fill: 'transparent',
|
|
1730
|
-
color: '#374061',
|
|
1731
|
-
borderColor: 'transparent'
|
|
1732
|
-
},
|
|
1733
|
-
mouseOver: {
|
|
1734
|
-
fill: '#E0E8F5',
|
|
1735
|
-
color: '#374061',
|
|
1736
|
-
borderColor: 'transparent'
|
|
1737
|
-
},
|
|
1738
|
-
active: {
|
|
1739
|
-
fill: 'transparent',
|
|
1740
|
-
color: '#186DFF',
|
|
1741
|
-
borderColor: 'transparent'
|
|
1742
|
-
},
|
|
1743
|
-
activeMouseOver: {
|
|
1744
|
-
fill: '#E0E8F5',
|
|
1745
|
-
color: '#186DFF',
|
|
1746
|
-
borderColor: 'transparent'
|
|
1238
|
+
borderColor: 'transparent'
|
|
1747
1239
|
},
|
|
1748
1240
|
disabled: {
|
|
1749
1241
|
fill: 'transparent',
|
|
@@ -1894,7 +1386,7 @@
|
|
|
1894
1386
|
},
|
|
1895
1387
|
legendNoDataBackground: {
|
|
1896
1388
|
fill: '#575F7A',
|
|
1897
|
-
opacity:
|
|
1389
|
+
opacity: 0.95
|
|
1898
1390
|
}
|
|
1899
1391
|
},
|
|
1900
1392
|
customSlider: {
|
|
@@ -2036,303 +1528,541 @@
|
|
|
2036
1528
|
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)',
|
|
2037
1529
|
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)'
|
|
2038
1530
|
};
|
|
2039
|
-
var lightTheme = createTheme('light', parseColors(colors$1), createShadows(elevations$1));
|
|
2040
|
-
|
|
2041
|
-
var geowebColors = __assign({}, colors$1);
|
|
2042
1531
|
|
|
2043
|
-
var
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
typography: {
|
|
2069
|
-
h6: {
|
|
2070
|
-
fontSize: '16px'
|
|
2071
|
-
},
|
|
2072
|
-
subtitle1: {
|
|
2073
|
-
fontSize: '16px',
|
|
2074
|
-
fontWeight: 500,
|
|
2075
|
-
lineHeight: 1.5,
|
|
2076
|
-
letterSpacing: '0.15px',
|
|
2077
|
-
opacity: 0.87,
|
|
2078
|
-
color: '#051039'
|
|
2079
|
-
},
|
|
2080
|
-
subtitle2: {
|
|
2081
|
-
fontSize: '14px',
|
|
2082
|
-
fontWeight: 500,
|
|
2083
|
-
lineHeight: 1.71,
|
|
2084
|
-
letterSpacing: '0.1px',
|
|
2085
|
-
opacity: 0.87,
|
|
2086
|
-
color: '#051039'
|
|
2087
|
-
},
|
|
2088
|
-
body1: {
|
|
2089
|
-
fontSize: '16px',
|
|
2090
|
-
lineHeight: 1.56,
|
|
2091
|
-
letterSpacing: '0.44px',
|
|
2092
|
-
color: '#051039'
|
|
1532
|
+
var breakpoints = {
|
|
1533
|
+
mobile: 0,
|
|
1534
|
+
tablet: 768,
|
|
1535
|
+
desktop: 1024,
|
|
1536
|
+
dekstopHD: 1440,
|
|
1537
|
+
dekstopHDWide: 1920
|
|
1538
|
+
};
|
|
1539
|
+
var createTheme = function createTheme(_a) {
|
|
1540
|
+
var _b = _a.paletteType,
|
|
1541
|
+
paletteType = _b === void 0 ? 'light' : _b,
|
|
1542
|
+
_c = _a.geowebColors,
|
|
1543
|
+
defaultGeowebColors = _c === void 0 ? colors$1 : _c,
|
|
1544
|
+
_d = _a.elevations,
|
|
1545
|
+
defaultShadows = _d === void 0 ? elevations$1 : _d;
|
|
1546
|
+
var geowebColors = parseColors(defaultGeowebColors);
|
|
1547
|
+
var shadows = createShadows(defaultShadows);
|
|
1548
|
+
return material.createTheme({
|
|
1549
|
+
breakpoints: {
|
|
1550
|
+
values: {
|
|
1551
|
+
xs: breakpoints.mobile,
|
|
1552
|
+
sm: breakpoints.tablet,
|
|
1553
|
+
md: breakpoints.desktop,
|
|
1554
|
+
lg: breakpoints.dekstopHD,
|
|
1555
|
+
xl: breakpoints.dekstopHDWide
|
|
1556
|
+
}
|
|
2093
1557
|
},
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
1558
|
+
palette: {
|
|
1559
|
+
mode: paletteType,
|
|
1560
|
+
secondary: {
|
|
1561
|
+
main: geowebColors.typographyAndIcons.iconLinkActive
|
|
1562
|
+
},
|
|
1563
|
+
background: {
|
|
1564
|
+
paper: geowebColors.background.surfaceApp,
|
|
1565
|
+
"default": geowebColors.background.surfaceBrowser
|
|
1566
|
+
},
|
|
1567
|
+
text: {
|
|
1568
|
+
primary: geowebColors.typographyAndIcons.text
|
|
1569
|
+
},
|
|
1570
|
+
// geoweb color palette
|
|
1571
|
+
geowebColors: geowebColors
|
|
2099
1572
|
},
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
fontSize: '12px',
|
|
2103
|
-
lineHeight: 1.43,
|
|
2104
|
-
letterSpacing: '0.25px',
|
|
2105
|
-
color: '#051039',
|
|
2106
|
-
opacity: 0.7
|
|
1573
|
+
shape: {
|
|
1574
|
+
borderRadius: BORDER_RADIUS
|
|
2107
1575
|
},
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
lineHeight: 1.33,
|
|
2111
|
-
letterSpacing: '0.4px',
|
|
2112
|
-
color: '#051039',
|
|
2113
|
-
opacity: 0.7
|
|
1576
|
+
typography: {
|
|
1577
|
+
fontFamily: ['Roboto', 'Helvetica', 'Arial', 'sans-serif'].join(',')
|
|
2114
1578
|
},
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
components: {
|
|
2122
|
-
MuiTooltip: {
|
|
2123
|
-
styleOverrides: {
|
|
2124
|
-
tooltip: {
|
|
2125
|
-
borderRadius: '2px',
|
|
2126
|
-
fontSize: '16px',
|
|
2127
|
-
fontWeight: 'normal',
|
|
2128
|
-
padding: '10px',
|
|
2129
|
-
backgroundColor: '#232323'
|
|
1579
|
+
shadows: shadows,
|
|
1580
|
+
components: {
|
|
1581
|
+
MuiButton: {
|
|
1582
|
+
variants: buttonVariants(geowebColors.buttons),
|
|
1583
|
+
defaultProps: {
|
|
1584
|
+
focusRipple: false
|
|
2130
1585
|
}
|
|
2131
|
-
}
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
1586
|
+
},
|
|
1587
|
+
MuiToggleButton: {
|
|
1588
|
+
defaultProps: {
|
|
1589
|
+
focusRipple: false
|
|
1590
|
+
},
|
|
1591
|
+
styleOverrides: {
|
|
1592
|
+
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
2137
1593
|
}
|
|
2138
|
-
}
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
'&.Mui-checked': {
|
|
2147
|
-
color: '#0075a9'
|
|
2148
|
-
}
|
|
1594
|
+
},
|
|
1595
|
+
MuiIconButton: {
|
|
1596
|
+
// TODO: https://gitlab.com/opengeoweb/opengeoweb/-/issues/1926 remove default styling and create CustomIconButton
|
|
1597
|
+
defaultProps: {
|
|
1598
|
+
focusRipple: false
|
|
1599
|
+
},
|
|
1600
|
+
styleOverrides: {
|
|
1601
|
+
root: defaultButtonStyle(geowebColors.buttons.flat)
|
|
2149
1602
|
}
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
1603
|
+
},
|
|
1604
|
+
MuiCssBaseline: {
|
|
1605
|
+
styleOverrides: "\n html {\n -webkit-font-smoothing: auto;\n }\n "
|
|
1606
|
+
},
|
|
1607
|
+
MuiMenuItem: {
|
|
1608
|
+
styleOverrides: {
|
|
1609
|
+
root: {
|
|
1610
|
+
minHeight: '48px!important',
|
|
1611
|
+
fontSize: '0.875rem',
|
|
1612
|
+
letterSpacing: '0.25px',
|
|
1613
|
+
divider: {
|
|
1614
|
+
borderBottomColor: geowebColors.greys.accessibleLight
|
|
1615
|
+
},
|
|
1616
|
+
li: {
|
|
1617
|
+
'&:hover': {
|
|
1618
|
+
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
'&.Mui-selected': {
|
|
1622
|
+
background: 'none',
|
|
1623
|
+
boxShadow: "inset 4px 0px 0px 0px " + geowebColors.typographyAndIcons.iconLinkActive
|
|
1624
|
+
}
|
|
2160
1625
|
}
|
|
2161
1626
|
}
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
1627
|
+
},
|
|
1628
|
+
MuiRadio: {
|
|
1629
|
+
styleOverrides: {
|
|
1630
|
+
root: {
|
|
1631
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1632
|
+
'&.MuiRadio-root.Mui-disabled': {
|
|
1633
|
+
color: "" + geowebColors.typographyAndIcons.iconLinkDisabled
|
|
1634
|
+
},
|
|
1635
|
+
'&.Mui-checked': {
|
|
1636
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
},
|
|
1641
|
+
MuiCheckbox: {
|
|
1642
|
+
styleOverrides: {
|
|
1643
|
+
root: {
|
|
1644
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1645
|
+
'&.MuiCheckbox-root.Mui-disabled': {
|
|
1646
|
+
color: geowebColors.typographyAndIcons.iconLinkDisabled
|
|
1647
|
+
},
|
|
1648
|
+
'&.Mui-checked': {
|
|
1649
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
MuiPaper: {
|
|
1655
|
+
styleOverrides: {
|
|
1656
|
+
root: {
|
|
1657
|
+
backgroundImage: 'unset'
|
|
1658
|
+
},
|
|
1659
|
+
outlined: {
|
|
1660
|
+
borderColor: geowebColors.cards.cardContainerBorder
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
MuiCard: {
|
|
1665
|
+
styleOverrides: {
|
|
1666
|
+
root: {
|
|
1667
|
+
backgroundColor: geowebColors.cards.cardContainer
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
},
|
|
1671
|
+
MuiSlider: {
|
|
1672
|
+
styleOverrides: {
|
|
1673
|
+
root: {
|
|
1674
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
},
|
|
1678
|
+
MuiTable: {
|
|
1679
|
+
styleOverrides: {
|
|
1680
|
+
root: {
|
|
1681
|
+
borderSpacing: '0 0.25rem',
|
|
1682
|
+
borderCollapse: 'separate'
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
},
|
|
1686
|
+
MuiTableRow: {
|
|
1687
|
+
styleOverrides: {
|
|
1688
|
+
head: {
|
|
1689
|
+
'&:hover': {
|
|
1690
|
+
boxShadow: shadows[0]
|
|
1691
|
+
}
|
|
1692
|
+
},
|
|
1693
|
+
root: {
|
|
1694
|
+
transition: 'box-shadow 100ms ease-out',
|
|
1695
|
+
boxShadow: shadows[0],
|
|
1696
|
+
borderRadius: BORDER_RADIUS,
|
|
1697
|
+
'&:hover': {
|
|
1698
|
+
boxShadow: shadows[1]
|
|
1699
|
+
},
|
|
1700
|
+
position: 'relative'
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
MuiTableCell: {
|
|
1705
|
+
styleOverrides: {
|
|
1706
|
+
head: {
|
|
1707
|
+
borderBottom: 'none',
|
|
1708
|
+
fontSize: '0.875rem',
|
|
1709
|
+
fontWeight: 400
|
|
1710
|
+
},
|
|
1711
|
+
body: {
|
|
1712
|
+
padding: 12,
|
|
1713
|
+
fontWeight: 500,
|
|
1714
|
+
backgroundColor: geowebColors.background.surface,
|
|
1715
|
+
borderStyle: 'solid',
|
|
1716
|
+
borderColor: 'transparent',
|
|
1717
|
+
borderWidth: 1,
|
|
1718
|
+
borderTopColor: geowebColors.cards.cardContainerBorder,
|
|
1719
|
+
borderBottomColor: geowebColors.cards.cardContainerBorder,
|
|
1720
|
+
'&:first-child': {
|
|
1721
|
+
borderLeftColor: geowebColors.cards.cardContainerBorder,
|
|
1722
|
+
borderRadius: BORDER_RADIUS + "px 0px 0px " + BORDER_RADIUS + "px"
|
|
1723
|
+
},
|
|
1724
|
+
'&:last-child': {
|
|
1725
|
+
borderRightColor: geowebColors.cards.cardContainerBorder,
|
|
1726
|
+
borderRadius: "0px " + BORDER_RADIUS + "px " + BORDER_RADIUS + "px 0px"
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
MuiTabs: {
|
|
1732
|
+
styleOverrides: {
|
|
1733
|
+
root: {
|
|
1734
|
+
position: 'relative',
|
|
1735
|
+
'&:after': {
|
|
1736
|
+
content: '""',
|
|
1737
|
+
position: 'absolute',
|
|
1738
|
+
bottom: 0,
|
|
1739
|
+
height: 1,
|
|
1740
|
+
width: '100%',
|
|
1741
|
+
zIndex: 0,
|
|
1742
|
+
backgroundColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
indicator: {
|
|
1746
|
+
zIndex: 1,
|
|
1747
|
+
backgroundColor: geowebColors.typographyAndIcons.iconLinkActive
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
MuiTab: {
|
|
1752
|
+
styleOverrides: {
|
|
1753
|
+
root: {
|
|
1754
|
+
textTransform: 'initial',
|
|
1755
|
+
'&.Mui-selected': {
|
|
1756
|
+
color: geowebColors.typographyAndIcons.iconLinkActive
|
|
1757
|
+
},
|
|
1758
|
+
'&:hover': {
|
|
1759
|
+
opacity: 1,
|
|
1760
|
+
color: geowebColors.typographyAndIcons.iconLinkActive,
|
|
1761
|
+
backgroundColor: geowebColors.tab.mouseOver.rgba
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
MuiListItem: {
|
|
1767
|
+
styleOverrides: {
|
|
1768
|
+
root: {
|
|
1769
|
+
color: geowebColors.typographyAndIcons.text,
|
|
1770
|
+
fontSize: '14px',
|
|
1771
|
+
minHeight: '36px'
|
|
1772
|
+
},
|
|
1773
|
+
divider: {
|
|
1774
|
+
borderBottomColor: hex2rgba(geowebColors.greys.accessible, 0.2)
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
MuiListItemIcon: {
|
|
1779
|
+
styleOverrides: {
|
|
1780
|
+
root: {
|
|
1781
|
+
color: geowebColors.typographyAndIcons.icon,
|
|
1782
|
+
width: '24px',
|
|
1783
|
+
height: '24px'
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
},
|
|
1787
|
+
MuiListItemButton: {
|
|
1788
|
+
styleOverrides: {
|
|
1789
|
+
root: {
|
|
1790
|
+
'&:hover': {
|
|
1791
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1792
|
+
},
|
|
1793
|
+
'&.Mui-selected': {
|
|
1794
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1795
|
+
boxShadow: "inset 4px 0px 0px 0px " + geowebColors.typographyAndIcons.iconLinkActive,
|
|
1796
|
+
'&:hover': {
|
|
1797
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
'&.Mui-focusVisible': {
|
|
1801
|
+
backgroundColor: geowebColors.cards.cardContainerMouseOver,
|
|
1802
|
+
outline: geowebColors.buttons.focusDefault.outline
|
|
1803
|
+
},
|
|
1804
|
+
' .MuiListItemIcon-root': {
|
|
1805
|
+
minWidth: 40
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
},
|
|
1810
|
+
MuiBackdrop: {
|
|
1811
|
+
styleOverrides: {
|
|
1812
|
+
root: {
|
|
1813
|
+
backgroundColor: geowebColors.backdrops.black.rgba
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
MuiTooltip: {
|
|
1818
|
+
styleOverrides: {
|
|
1819
|
+
tooltip: {
|
|
1820
|
+
backgroundColor: geowebColors.tooltips.tooltipContainer.rgba,
|
|
1821
|
+
color: geowebColors.tooltips.tooltipText.color,
|
|
1822
|
+
padding: '8px 12px',
|
|
1823
|
+
fontSize: 16,
|
|
1824
|
+
fontWeight: 400,
|
|
1825
|
+
fontStretch: 'normal',
|
|
1826
|
+
fontStyle: 'normal',
|
|
1827
|
+
letterSpacing: 0.44,
|
|
1828
|
+
lineHeight: 1.56
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
MuiLink: {
|
|
1833
|
+
styleOverrides: {
|
|
1834
|
+
root: {
|
|
1835
|
+
color: geowebColors.typographyAndIcons.textLinkActive,
|
|
1836
|
+
textDecoration: 'none',
|
|
1837
|
+
'&:hover': {
|
|
1838
|
+
textDecoration: 'underline',
|
|
1839
|
+
textDecorationColor: geowebColors.typographyAndIcons.textLinkActive
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
},
|
|
1844
|
+
MuiAlert: {
|
|
1845
|
+
styleOverrides: {
|
|
1846
|
+
standardError: {
|
|
1847
|
+
border: geowebColors.functional.errorOutline.border,
|
|
1848
|
+
borderRadius: '0px',
|
|
1849
|
+
backgroundColor: geowebColors.functional.errorOutline.fill,
|
|
1850
|
+
'& .MuiAlert-icon': {
|
|
1851
|
+
color: geowebColors.functional.error,
|
|
1852
|
+
opacity: 1
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
standardWarning: {
|
|
1856
|
+
border: geowebColors.functional.warningOutline.border,
|
|
1857
|
+
borderRadius: '0px',
|
|
1858
|
+
backgroundColor: geowebColors.functional.warningOutline.fill,
|
|
1859
|
+
'& .MuiAlert-icon': {
|
|
1860
|
+
color: geowebColors.functional.warning,
|
|
1861
|
+
opacity: 1
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
standardInfo: {
|
|
1865
|
+
border: geowebColors.functional.notificationOutline.border,
|
|
1866
|
+
borderRadius: '0px',
|
|
1867
|
+
backgroundColor: geowebColors.functional.notificationOutline.fill,
|
|
1868
|
+
'& .MuiAlert-icon': {
|
|
1869
|
+
color: geowebColors.functional.notification,
|
|
1870
|
+
opacity: 1
|
|
1871
|
+
}
|
|
1872
|
+
},
|
|
1873
|
+
standardSuccess: {
|
|
1874
|
+
border: geowebColors.functional.successOutline.border,
|
|
1875
|
+
borderRadius: '0px',
|
|
1876
|
+
backgroundColor: geowebColors.functional.successOutline.fill,
|
|
1877
|
+
'& .MuiAlert-icon': {
|
|
1878
|
+
color: geowebColors.functional.success,
|
|
1879
|
+
opacity: 1
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1882
|
+
action: {
|
|
1883
|
+
color: geowebColors.buttons.tertiary["default"].color
|
|
1884
|
+
},
|
|
1885
|
+
message: {
|
|
1886
|
+
fontSize: '14px',
|
|
1887
|
+
lineHeight: 1.43,
|
|
1888
|
+
letterSpacing: '0.25px',
|
|
1889
|
+
color: geowebColors.typographyAndIcons.text
|
|
1890
|
+
}
|
|
2194
1891
|
}
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
root: {
|
|
2200
|
-
backgroundColor: '#ffffff',
|
|
2201
|
-
minHeight: '30px'
|
|
2202
|
-
},
|
|
2203
|
-
scrollButtons: {
|
|
2204
|
-
width: '20px'
|
|
1892
|
+
},
|
|
1893
|
+
MuiTextField: {
|
|
1894
|
+
defaultProps: {
|
|
1895
|
+
variant: 'filled'
|
|
2205
1896
|
}
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
1897
|
+
},
|
|
1898
|
+
MuiFilledInput: {
|
|
1899
|
+
styleOverrides: {
|
|
1900
|
+
root: {
|
|
1901
|
+
backgroundColor: geowebColors.textInputField["default"].rgba,
|
|
1902
|
+
'&.Mui-focused': {
|
|
1903
|
+
backgroundColor: geowebColors.textInputField.active.rgba,
|
|
1904
|
+
'&:after': {
|
|
1905
|
+
borderColor: 'transparent'
|
|
1906
|
+
}
|
|
1907
|
+
},
|
|
1908
|
+
'&.Mui-disabled': {
|
|
1909
|
+
backgroundColor: geowebColors.textInputField.disabled.rgba
|
|
1910
|
+
},
|
|
1911
|
+
'&.Mui-error': {
|
|
1912
|
+
'&:after': {
|
|
1913
|
+
borderColor: geowebColors.captions.captionError.color
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
// can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
|
|
1917
|
+
'&.MuiInputBase-readOnly': {
|
|
1918
|
+
background: 'transparent',
|
|
1919
|
+
color: geowebColors.typographyAndIcons.text,
|
|
1920
|
+
' .MuiInputBase-readOnly': {
|
|
1921
|
+
WebkitTextFillColor: 'inherit'
|
|
1922
|
+
},
|
|
1923
|
+
'&:before': {
|
|
1924
|
+
border: 'transparent'
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
underline: {
|
|
1929
|
+
'&:after': {
|
|
1930
|
+
borderWidth: '1px'
|
|
1931
|
+
},
|
|
1932
|
+
'&.Mui-disabled:before': {
|
|
1933
|
+
borderBottomStyle: 'solid'
|
|
1934
|
+
}
|
|
2216
1935
|
}
|
|
2217
|
-
},
|
|
2218
|
-
labelIcon: {
|
|
2219
|
-
minHeight: '30px'
|
|
2220
1936
|
}
|
|
2221
|
-
}
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
1937
|
+
},
|
|
1938
|
+
MuiFormLabel: {
|
|
1939
|
+
styleOverrides: {
|
|
1940
|
+
root: {
|
|
1941
|
+
color: geowebColors.captions.captionStatus.color,
|
|
1942
|
+
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1943
|
+
'&.Mui-focused': {
|
|
1944
|
+
color: geowebColors.captions.captionInformation.color,
|
|
1945
|
+
opacity: geowebColors.captions.captionInformation.opacity
|
|
1946
|
+
},
|
|
1947
|
+
'&.Mui-error': {
|
|
1948
|
+
color: geowebColors.captions.captionError.color,
|
|
1949
|
+
opacity: geowebColors.captions.captionError.opacity
|
|
1950
|
+
},
|
|
1951
|
+
'&.Mui-disabled': {
|
|
1952
|
+
color: geowebColors.captions.captionDisabled.color,
|
|
1953
|
+
opacity: geowebColors.captions.captionDisabled.opacity
|
|
2231
1954
|
}
|
|
2232
1955
|
}
|
|
2233
|
-
},
|
|
2234
|
-
button: {
|
|
2235
|
-
'&:hover': {
|
|
2236
|
-
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2237
|
-
}
|
|
2238
1956
|
}
|
|
2239
|
-
}
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
1957
|
+
},
|
|
1958
|
+
MuiFormHelperText: {
|
|
1959
|
+
styleOverrides: {
|
|
1960
|
+
root: {
|
|
1961
|
+
color: geowebColors.captions.captionStatus.color,
|
|
1962
|
+
opacity: geowebColors.captions.captionStatus.opacity,
|
|
1963
|
+
'&.Mui-error': {
|
|
1964
|
+
color: geowebColors.captions.captionError.color,
|
|
1965
|
+
opacity: geowebColors.captions.captionError.opacity
|
|
1966
|
+
},
|
|
1967
|
+
'&.Mui-disabled': {
|
|
1968
|
+
color: geowebColors.captions.captionDisabled.color,
|
|
1969
|
+
opacity: geowebColors.captions.captionDisabled.opacity
|
|
2249
1970
|
}
|
|
2250
|
-
},
|
|
2251
|
-
'&:hover': {
|
|
2252
|
-
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2253
1971
|
}
|
|
2254
1972
|
}
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
1973
|
+
},
|
|
1974
|
+
MuiSwitch: {
|
|
1975
|
+
styleOverrides: {
|
|
1976
|
+
switchBase: {
|
|
1977
|
+
color: geowebColors.customSwitch.thumb,
|
|
1978
|
+
'&.Mui-checked': {
|
|
1979
|
+
color: geowebColors.customSwitch.thumb
|
|
1980
|
+
},
|
|
1981
|
+
'&.Mui-disabled': {
|
|
1982
|
+
color: geowebColors.customSwitch.thumbDisabled
|
|
1983
|
+
},
|
|
1984
|
+
'&.Mui-checked.Mui-disabled': {
|
|
1985
|
+
color: geowebColors.customSwitch.thumbDisabled
|
|
1986
|
+
},
|
|
1987
|
+
'&.Mui-checked+.MuiSwitch-track': {
|
|
1988
|
+
backgroundColor: geowebColors.customSwitch.trackActive
|
|
1989
|
+
},
|
|
1990
|
+
'&.Mui-disabled+.MuiSwitch-track': {
|
|
1991
|
+
backgroundColor: geowebColors.customSwitch.track
|
|
1992
|
+
},
|
|
1993
|
+
'&.Mui-checked.Mui-disabled+.MuiSwitch-track': {
|
|
1994
|
+
backgroundColor: geowebColors.customSwitch.trackActive
|
|
1995
|
+
}
|
|
2263
1996
|
},
|
|
2264
|
-
|
|
2265
|
-
|
|
1997
|
+
track: {
|
|
1998
|
+
backgroundColor: geowebColors.customSwitch.track,
|
|
1999
|
+
opacity: '1 !important'
|
|
2266
2000
|
}
|
|
2267
2001
|
}
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2002
|
+
},
|
|
2003
|
+
MuiSnackbarContent: {
|
|
2004
|
+
styleOverrides: {
|
|
2005
|
+
root: {
|
|
2006
|
+
backgroundColor: geowebColors.snackbar.background,
|
|
2007
|
+
color: geowebColors.snackbar.text,
|
|
2008
|
+
fontSize: '16px',
|
|
2009
|
+
letterSpacing: '0.44px',
|
|
2010
|
+
borderRadius: '2px',
|
|
2011
|
+
boxShadow: shadows[8]
|
|
2275
2012
|
}
|
|
2276
2013
|
}
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
}
|
|
2290
|
-
},
|
|
2291
|
-
underline: {
|
|
2292
|
-
'&.Mui-disabled:before': {
|
|
2293
|
-
borderBottomStyle: 'none'
|
|
2294
|
-
}
|
|
2014
|
+
},
|
|
2015
|
+
MuiAvatar: {
|
|
2016
|
+
styleOverrides: {
|
|
2017
|
+
root: __assign(__assign({}, defaultButtonStyle(geowebColors.buttons.primary)), {
|
|
2018
|
+
fontWeight: 500,
|
|
2019
|
+
'&:hover': {
|
|
2020
|
+
backgroundColor: 'geowebColors.buttons.primary.default.fill'
|
|
2021
|
+
},
|
|
2022
|
+
height: 32,
|
|
2023
|
+
width: 32,
|
|
2024
|
+
fontSize: 16,
|
|
2025
|
+
borderRadius: '50%'
|
|
2026
|
+
})
|
|
2295
2027
|
}
|
|
2296
|
-
}
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2028
|
+
},
|
|
2029
|
+
MuiAccordion: {
|
|
2030
|
+
styleOverrides: {
|
|
2031
|
+
root: {
|
|
2032
|
+
backgroundColor: geowebColors.cards.cardContainer,
|
|
2033
|
+
borderRadius: '3px',
|
|
2034
|
+
border: 'solid 1px',
|
|
2035
|
+
borderColor: geowebColors.cards.cardContainerBorder,
|
|
2036
|
+
color: geowebColors.buttons.flat["default"].color,
|
|
2037
|
+
padding: '0px',
|
|
2038
|
+
margin: '0px 12px 4px 12px',
|
|
2039
|
+
fontSize: '12px',
|
|
2040
|
+
'&:before': {
|
|
2041
|
+
display: 'none'
|
|
2042
|
+
},
|
|
2043
|
+
'& .MuiAccordionSummary-root.Mui-expanded': {
|
|
2044
|
+
borderBottom: 'solid 1px',
|
|
2045
|
+
borderColor: geowebColors.cards.cardContainerBorder
|
|
2046
|
+
},
|
|
2047
|
+
'& .MuiAccordionSummary-content': {
|
|
2048
|
+
margin: '2px',
|
|
2049
|
+
padding: '4px 4px 4px 10px'
|
|
2050
|
+
}
|
|
2306
2051
|
}
|
|
2307
2052
|
}
|
|
2308
|
-
}
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2053
|
+
},
|
|
2054
|
+
MuiAccordionSummary: {
|
|
2055
|
+
styleOverrides: {
|
|
2056
|
+
root: {
|
|
2057
|
+
minHeight: '32px',
|
|
2058
|
+
padding: '0px',
|
|
2059
|
+
paddingRight: '5px'
|
|
2315
2060
|
}
|
|
2316
2061
|
}
|
|
2317
2062
|
}
|
|
2318
|
-
},
|
|
2319
|
-
MuiDialog: {
|
|
2320
|
-
styleOverrides: {
|
|
2321
|
-
paperWidthLg: {
|
|
2322
|
-
maxWidth: '1280px'
|
|
2323
|
-
}
|
|
2324
|
-
}
|
|
2325
|
-
},
|
|
2326
|
-
MuiButton: {
|
|
2327
|
-
variants: buttonVariants(geowebColors.buttons)
|
|
2328
|
-
},
|
|
2329
|
-
MuiToggleButton: {
|
|
2330
|
-
styleOverrides: {
|
|
2331
|
-
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
2332
|
-
}
|
|
2333
2063
|
}
|
|
2334
|
-
}
|
|
2335
|
-
}
|
|
2064
|
+
});
|
|
2065
|
+
};
|
|
2336
2066
|
|
|
2337
2067
|
/* *
|
|
2338
2068
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2610,7 +2340,7 @@
|
|
|
2610
2340
|
screenManager: {
|
|
2611
2341
|
activeWindow: '#242424',
|
|
2612
2342
|
inactiveWindow: '#303030',
|
|
2613
|
-
tabButtonHover: '#414751
|
|
2343
|
+
tabButtonHover: '#414751'
|
|
2614
2344
|
},
|
|
2615
2345
|
timeSlider: {
|
|
2616
2346
|
// player
|
|
@@ -2695,7 +2425,7 @@
|
|
|
2695
2425
|
},
|
|
2696
2426
|
legendNoDataBackground: {
|
|
2697
2427
|
fill: '#575F7A',
|
|
2698
|
-
opacity:
|
|
2428
|
+
opacity: 0.95
|
|
2699
2429
|
}
|
|
2700
2430
|
},
|
|
2701
2431
|
customSlider: {
|
|
@@ -2735,109 +2465,431 @@
|
|
|
2735
2465
|
opacity: 0.87,
|
|
2736
2466
|
fontSize: 12
|
|
2737
2467
|
},
|
|
2738
|
-
tableRowDisabledCardContainer: {
|
|
2739
|
-
fill: '#2B2B2B',
|
|
2740
|
-
border: '1px solid #404040',
|
|
2741
|
-
borderColor: '#404040'
|
|
2742
|
-
}
|
|
2743
|
-
},
|
|
2744
|
-
tooltips: {
|
|
2745
|
-
tooltipContainer: {
|
|
2746
|
-
fill: '#232323',
|
|
2747
|
-
opacity: 1
|
|
2468
|
+
tableRowDisabledCardContainer: {
|
|
2469
|
+
fill: '#2B2B2B',
|
|
2470
|
+
border: '1px solid #404040',
|
|
2471
|
+
borderColor: '#404040'
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
tooltips: {
|
|
2475
|
+
tooltipContainer: {
|
|
2476
|
+
fill: '#232323',
|
|
2477
|
+
opacity: 1
|
|
2478
|
+
},
|
|
2479
|
+
tooltipText: {
|
|
2480
|
+
color: '#FFFFFF'
|
|
2481
|
+
}
|
|
2482
|
+
},
|
|
2483
|
+
captions: {
|
|
2484
|
+
captionStatus: {
|
|
2485
|
+
color: '#FFFFFF',
|
|
2486
|
+
opacity: 0.7
|
|
2487
|
+
},
|
|
2488
|
+
captionInformation: {
|
|
2489
|
+
color: '#9EC2FF',
|
|
2490
|
+
opacity: 1
|
|
2491
|
+
},
|
|
2492
|
+
captionError: {
|
|
2493
|
+
color: '#FF8F8F',
|
|
2494
|
+
opacity: 1
|
|
2495
|
+
},
|
|
2496
|
+
captionErrorBackground: {
|
|
2497
|
+
color: '#C00000',
|
|
2498
|
+
opacity: 0.25
|
|
2499
|
+
},
|
|
2500
|
+
captionDisabled: {
|
|
2501
|
+
color: '#B0B0B0',
|
|
2502
|
+
opacity: 1
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2505
|
+
functional: {
|
|
2506
|
+
success: '#72BB23',
|
|
2507
|
+
successOutline: {
|
|
2508
|
+
fill: 'rgba(114, 187, 35, 0.25)',
|
|
2509
|
+
border: '1px solid #72BB23',
|
|
2510
|
+
borderColor: '#72BB23'
|
|
2511
|
+
},
|
|
2512
|
+
error: '#C00000',
|
|
2513
|
+
errorOutline: {
|
|
2514
|
+
fill: 'rgba(192, 0, 0, 0.25)',
|
|
2515
|
+
border: '1px solid #C00000',
|
|
2516
|
+
borderColor: '#C00000'
|
|
2517
|
+
},
|
|
2518
|
+
warning: '#FFA800',
|
|
2519
|
+
warningOutline: {
|
|
2520
|
+
fill: 'rgba(255, 168, 0, 0.25)',
|
|
2521
|
+
border: '1px solid #FFA800',
|
|
2522
|
+
borderColor: '#FFA800'
|
|
2523
|
+
},
|
|
2524
|
+
warningHighlight: {
|
|
2525
|
+
fill: '#FFA800',
|
|
2526
|
+
opacity: 0.2
|
|
2527
|
+
},
|
|
2528
|
+
notification: '#186DFF',
|
|
2529
|
+
notificationOutline: {
|
|
2530
|
+
fill: 'rgba(24, 109, 255, 0.25)',
|
|
2531
|
+
border: '1px solid #186DFF',
|
|
2532
|
+
borderColor: '#186DFF'
|
|
2533
|
+
},
|
|
2534
|
+
summary: '#9595FF',
|
|
2535
|
+
summaryOutline: {
|
|
2536
|
+
fill: 'rgba(131, 131, 242, 0.25)',
|
|
2537
|
+
border: '1px solid #8383F2',
|
|
2538
|
+
borderColor: '#8383F2'
|
|
2539
|
+
},
|
|
2540
|
+
disabled: '#9B9FB0',
|
|
2541
|
+
disabledOutline: {
|
|
2542
|
+
fill: 'rgba(155, 159, 176, 0.25)',
|
|
2543
|
+
border: '1px solid #9B9FB0',
|
|
2544
|
+
borderColor: '#9B9FB0'
|
|
2545
|
+
}
|
|
2546
|
+
},
|
|
2547
|
+
snackbar: {
|
|
2548
|
+
background: '#051039',
|
|
2549
|
+
text: '#FFFFFF',
|
|
2550
|
+
action: '#98e1f1',
|
|
2551
|
+
actionHover: {
|
|
2552
|
+
fill: '#7BACFF',
|
|
2553
|
+
opacity: 0.2
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e694124ecf3886de76d4
|
|
2557
|
+
|
|
2558
|
+
var elevations = {
|
|
2559
|
+
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)',
|
|
2560
|
+
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)',
|
|
2561
|
+
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)',
|
|
2562
|
+
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)',
|
|
2563
|
+
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)',
|
|
2564
|
+
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)',
|
|
2565
|
+
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)',
|
|
2566
|
+
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)',
|
|
2567
|
+
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)',
|
|
2568
|
+
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)'
|
|
2569
|
+
};
|
|
2570
|
+
|
|
2571
|
+
var geowebColors = __assign({}, colors$1);
|
|
2572
|
+
|
|
2573
|
+
var GWTheme = material.createTheme({
|
|
2574
|
+
breakpoints: {
|
|
2575
|
+
values: {
|
|
2576
|
+
xs: breakpoints.mobile,
|
|
2577
|
+
sm: breakpoints.tablet,
|
|
2578
|
+
md: breakpoints.desktop,
|
|
2579
|
+
lg: breakpoints.dekstopHD,
|
|
2580
|
+
xl: breakpoints.dekstopHDWide
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
palette: {
|
|
2584
|
+
secondary: {
|
|
2585
|
+
main: '#0075a9'
|
|
2586
|
+
},
|
|
2587
|
+
action: {
|
|
2588
|
+
active: '#ffa800'
|
|
2589
|
+
},
|
|
2590
|
+
text: {
|
|
2591
|
+
disabled: '#051039'
|
|
2592
|
+
},
|
|
2593
|
+
geowebColors: parseColors(geowebColors)
|
|
2594
|
+
},
|
|
2595
|
+
shape: {
|
|
2596
|
+
borderRadius: 3
|
|
2597
|
+
},
|
|
2598
|
+
typography: {
|
|
2599
|
+
h6: {
|
|
2600
|
+
fontSize: '16px'
|
|
2601
|
+
},
|
|
2602
|
+
subtitle1: {
|
|
2603
|
+
fontSize: '16px',
|
|
2604
|
+
fontWeight: 500,
|
|
2605
|
+
lineHeight: 1.5,
|
|
2606
|
+
letterSpacing: '0.15px',
|
|
2607
|
+
opacity: 0.87,
|
|
2608
|
+
color: '#051039'
|
|
2609
|
+
},
|
|
2610
|
+
subtitle2: {
|
|
2611
|
+
fontSize: '14px',
|
|
2612
|
+
fontWeight: 500,
|
|
2613
|
+
lineHeight: 1.71,
|
|
2614
|
+
letterSpacing: '0.1px',
|
|
2615
|
+
opacity: 0.87,
|
|
2616
|
+
color: '#051039'
|
|
2617
|
+
},
|
|
2618
|
+
body1: {
|
|
2619
|
+
fontSize: '16px',
|
|
2620
|
+
lineHeight: 1.56,
|
|
2621
|
+
letterSpacing: '0.44px',
|
|
2622
|
+
color: '#051039'
|
|
2623
|
+
},
|
|
2624
|
+
body2: {
|
|
2625
|
+
fontSize: '14px',
|
|
2626
|
+
lineHeight: 1.43,
|
|
2627
|
+
letterSpacing: '0.25px',
|
|
2628
|
+
color: '#051039'
|
|
2629
|
+
},
|
|
2630
|
+
overline: {
|
|
2631
|
+
textTransform: 'none',
|
|
2632
|
+
fontSize: '12px',
|
|
2633
|
+
lineHeight: 1.43,
|
|
2634
|
+
letterSpacing: '0.25px',
|
|
2635
|
+
color: '#051039',
|
|
2636
|
+
opacity: 0.7
|
|
2637
|
+
},
|
|
2638
|
+
caption: {
|
|
2639
|
+
fontSize: '12px',
|
|
2640
|
+
lineHeight: 1.33,
|
|
2641
|
+
letterSpacing: '0.4px',
|
|
2642
|
+
color: '#051039',
|
|
2643
|
+
opacity: 0.7
|
|
2644
|
+
},
|
|
2645
|
+
button: {
|
|
2646
|
+
fontWeight: 500,
|
|
2647
|
+
fontSize: '14px',
|
|
2648
|
+
color: '0075a9'
|
|
2649
|
+
}
|
|
2650
|
+
},
|
|
2651
|
+
components: {
|
|
2652
|
+
MuiTooltip: {
|
|
2653
|
+
styleOverrides: {
|
|
2654
|
+
tooltip: {
|
|
2655
|
+
borderRadius: '2px',
|
|
2656
|
+
fontSize: '16px',
|
|
2657
|
+
fontWeight: 'normal',
|
|
2658
|
+
padding: '10px',
|
|
2659
|
+
backgroundColor: '#232323'
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
},
|
|
2663
|
+
MuiIconButton: {
|
|
2664
|
+
styleOverrides: {
|
|
2665
|
+
root: {
|
|
2666
|
+
color: '#0075a9'
|
|
2667
|
+
}
|
|
2668
|
+
}
|
|
2669
|
+
},
|
|
2670
|
+
MuiCheckbox: {
|
|
2671
|
+
styleOverrides: {
|
|
2672
|
+
root: {
|
|
2673
|
+
'&.Mui-disabled': {
|
|
2674
|
+
color: '#CCCCCC!important'
|
|
2675
|
+
},
|
|
2676
|
+
'&.Mui-checked': {
|
|
2677
|
+
color: '#0075a9'
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
},
|
|
2682
|
+
MuiSelect: {
|
|
2683
|
+
styleOverrides: {
|
|
2684
|
+
icon: {
|
|
2685
|
+
color: '#0075a9'
|
|
2686
|
+
},
|
|
2687
|
+
select: {
|
|
2688
|
+
'&:focus': {
|
|
2689
|
+
backgroundColor: 'rgba(0, 117, 169, 0.05)'
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2692
|
+
}
|
|
2693
|
+
},
|
|
2694
|
+
MuiAlert: {
|
|
2695
|
+
styleOverrides: {
|
|
2696
|
+
standardError: {
|
|
2697
|
+
border: '1px solid #c00000',
|
|
2698
|
+
borderRadius: '0px',
|
|
2699
|
+
backgroundColor: '#fff0ea'
|
|
2700
|
+
},
|
|
2701
|
+
standardWarning: {
|
|
2702
|
+
border: '1px solid #ffa800',
|
|
2703
|
+
borderRadius: '0px',
|
|
2704
|
+
backgroundColor: '#fff8eb'
|
|
2705
|
+
},
|
|
2706
|
+
standardInfo: {
|
|
2707
|
+
border: '1px solid #0062e6',
|
|
2708
|
+
borderRadius: '0px',
|
|
2709
|
+
backgroundColor: '#eaf3ff'
|
|
2710
|
+
},
|
|
2711
|
+
standardSuccess: {
|
|
2712
|
+
border: '1px solid #72bb23',
|
|
2713
|
+
borderRadius: '0px',
|
|
2714
|
+
backgroundColor: '#fcffeb'
|
|
2715
|
+
},
|
|
2716
|
+
action: {
|
|
2717
|
+
color: '#0075a9'
|
|
2718
|
+
},
|
|
2719
|
+
message: {
|
|
2720
|
+
fontSize: '14px',
|
|
2721
|
+
lineHeight: 1.43,
|
|
2722
|
+
letterSpacing: '0.25px',
|
|
2723
|
+
color: '#051039'
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
MuiTabs: {
|
|
2728
|
+
styleOverrides: {
|
|
2729
|
+
root: {
|
|
2730
|
+
backgroundColor: '#ffffff',
|
|
2731
|
+
minHeight: '30px'
|
|
2732
|
+
},
|
|
2733
|
+
scrollButtons: {
|
|
2734
|
+
width: '20px'
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2748
2737
|
},
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2738
|
+
MuiTab: {
|
|
2739
|
+
styleOverrides: {
|
|
2740
|
+
root: {
|
|
2741
|
+
minHeight: '30px',
|
|
2742
|
+
textTransform: 'none',
|
|
2743
|
+
minWidth: '76px',
|
|
2744
|
+
'@media (min-width: 600px)': {
|
|
2745
|
+
minWidth: '76px'
|
|
2746
|
+
}
|
|
2747
|
+
},
|
|
2748
|
+
labelIcon: {
|
|
2749
|
+
minHeight: '30px'
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2757
2752
|
},
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2753
|
+
MuiListItem: {
|
|
2754
|
+
styleOverrides: {
|
|
2755
|
+
root: {
|
|
2756
|
+
'&$selected': {
|
|
2757
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)',
|
|
2758
|
+
borderLeft: '4px solid #0075a9',
|
|
2759
|
+
'&:hover': {
|
|
2760
|
+
backgroundColor: 'rgba(0, 117, 169, 0.10)'
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
},
|
|
2764
|
+
button: {
|
|
2765
|
+
'&:hover': {
|
|
2766
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2761
2770
|
},
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2771
|
+
MuiMenuItem: {
|
|
2772
|
+
styleOverrides: {
|
|
2773
|
+
root: {
|
|
2774
|
+
'&.Mui-selected': {
|
|
2775
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)',
|
|
2776
|
+
borderLeft: '4px solid #0075a9',
|
|
2777
|
+
'&:hover': {
|
|
2778
|
+
backgroundColor: 'rgba(0, 117, 169, 0.10)'
|
|
2779
|
+
}
|
|
2780
|
+
},
|
|
2781
|
+
'&:hover': {
|
|
2782
|
+
backgroundColor: 'rgba(0, 117, 169, 0.15)'
|
|
2783
|
+
}
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2765
2786
|
},
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2787
|
+
MuiFormLabel: {
|
|
2788
|
+
styleOverrides: {
|
|
2789
|
+
root: {
|
|
2790
|
+
color: 'rgba(5, 16, 57, 0.7)',
|
|
2791
|
+
'&.Mui-focused': {
|
|
2792
|
+
color: '#0075a9'
|
|
2793
|
+
},
|
|
2794
|
+
'&.Mui-error': {
|
|
2795
|
+
color: '#d32f2f!important'
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
}
|
|
2769
2799
|
},
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
fill: 'rgba(114, 187, 35, 0.25)',
|
|
2779
|
-
border: '1px solid #72BB23',
|
|
2780
|
-
borderColor: '#72BB23'
|
|
2800
|
+
MuiOutlinedInput: {
|
|
2801
|
+
styleOverrides: {
|
|
2802
|
+
root: {
|
|
2803
|
+
'&$focused $notchedOutline': {
|
|
2804
|
+
borderColor: '#0075a9'
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2781
2808
|
},
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2809
|
+
MuiFilledInput: {
|
|
2810
|
+
styleOverrides: {
|
|
2811
|
+
root: {
|
|
2812
|
+
backgroundColor: 'rgba(0, 117, 169, 0.05)',
|
|
2813
|
+
color: '#051039',
|
|
2814
|
+
'&.Mui-disabled': {
|
|
2815
|
+
backgroundColor: 'white'
|
|
2816
|
+
},
|
|
2817
|
+
'&.Mui-focused': {
|
|
2818
|
+
backgroundColor: 'rgba(0,0,0,0.09)'
|
|
2819
|
+
}
|
|
2820
|
+
},
|
|
2821
|
+
underline: {
|
|
2822
|
+
'&.Mui-disabled:before': {
|
|
2823
|
+
borderBottomStyle: 'none'
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
}
|
|
2787
2827
|
},
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2828
|
+
MuiRadio: {
|
|
2829
|
+
styleOverrides: {
|
|
2830
|
+
root: {
|
|
2831
|
+
'&.Mui-disabled': {
|
|
2832
|
+
color: '#CCCCCC!important'
|
|
2833
|
+
},
|
|
2834
|
+
'&.Mui-checked': {
|
|
2835
|
+
color: '#0075a9'
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2793
2839
|
},
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2840
|
+
MuiCardContent: {
|
|
2841
|
+
styleOverrides: {
|
|
2842
|
+
root: {
|
|
2843
|
+
'&:last-child': {
|
|
2844
|
+
paddingBottom: 0
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2797
2848
|
},
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2849
|
+
MuiDialog: {
|
|
2850
|
+
styleOverrides: {
|
|
2851
|
+
paperWidthLg: {
|
|
2852
|
+
maxWidth: '1280px'
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2803
2855
|
},
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
fill: 'rgba(131, 131, 242, 0.25)',
|
|
2807
|
-
border: '1px solid #8383F2',
|
|
2808
|
-
borderColor: '#8383F2'
|
|
2856
|
+
MuiButton: {
|
|
2857
|
+
variants: buttonVariants(geowebColors.buttons)
|
|
2809
2858
|
},
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
borderColor: '#9B9FB0'
|
|
2815
|
-
}
|
|
2816
|
-
},
|
|
2817
|
-
snackbar: {
|
|
2818
|
-
background: '#051039',
|
|
2819
|
-
text: '#FFFFFF',
|
|
2820
|
-
action: '#98e1f1',
|
|
2821
|
-
actionHover: {
|
|
2822
|
-
fill: '#7BACFF',
|
|
2823
|
-
opacity: 0.2
|
|
2859
|
+
MuiToggleButton: {
|
|
2860
|
+
styleOverrides: {
|
|
2861
|
+
root: variantsToClassName(buttonVariants(geowebColors.buttons))
|
|
2862
|
+
}
|
|
2824
2863
|
}
|
|
2825
2864
|
}
|
|
2826
|
-
};
|
|
2865
|
+
});
|
|
2827
2866
|
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2867
|
+
/* *
|
|
2868
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2869
|
+
* you may not use this file except in compliance with the License.
|
|
2870
|
+
* You may obtain a copy of the License at
|
|
2871
|
+
*
|
|
2872
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2873
|
+
*
|
|
2874
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2875
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2876
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2877
|
+
* See the License for the specific language governing permissions and
|
|
2878
|
+
* limitations under the License.
|
|
2879
|
+
*
|
|
2880
|
+
* Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2881
|
+
* Copyright 2023 - Finnish Meteorological Institute (FMI)
|
|
2882
|
+
* */
|
|
2883
|
+
var lightTheme = createTheme({
|
|
2884
|
+
paletteType: 'light',
|
|
2885
|
+
geowebColors: colors$1,
|
|
2886
|
+
elevations: elevations$1
|
|
2887
|
+
});
|
|
2888
|
+
var darkTheme = createTheme({
|
|
2889
|
+
paletteType: 'dark',
|
|
2890
|
+
geowebColors: colors,
|
|
2891
|
+
elevations: elevations
|
|
2892
|
+
});
|
|
2841
2893
|
|
|
2842
2894
|
var ThemeContext = /*#__PURE__*/React__namespace.createContext({
|
|
2843
2895
|
toggleTheme: undefined,
|
|
@@ -2992,10 +3044,15 @@
|
|
|
2992
3044
|
exports.Visibility = Visibility;
|
|
2993
3045
|
exports.VisibilityOff = VisibilityOff;
|
|
2994
3046
|
exports.WebAssetOff = WebAssetOff;
|
|
3047
|
+
exports.colorsLight = colors$1;
|
|
3048
|
+
exports.createShadows = createShadows;
|
|
3049
|
+
exports.createTheme = createTheme;
|
|
2995
3050
|
exports.darkTheme = darkTheme;
|
|
2996
3051
|
exports.dragHandlePath = dragHandlePath;
|
|
3052
|
+
exports.elevationsLight = elevations$1;
|
|
2997
3053
|
exports.gwButtonVariants = gwButtonVariants;
|
|
2998
3054
|
exports.lightTheme = lightTheme;
|
|
3055
|
+
exports.parseColors = parseColors;
|
|
2999
3056
|
exports.useThemeContext = useThemeContext;
|
|
3000
3057
|
|
|
3001
3058
|
Object.defineProperty(exports, '__esModule', { value: true });
|