@rio-cloud/rio-uikit 0.16.2-beta.14 → 0.16.2-beta.16

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.
Files changed (164) hide show
  1. package/.DS_Store +0 -0
  2. package/Map.d.ts +1 -0
  3. package/components/activity/Activity.js +6 -4
  4. package/components/animatedNumber/AnimatedNumber.js +6 -4
  5. package/components/applicationHeader/ApplicationHeader.js +6 -3
  6. package/components/applicationLayout/ApplicationLayout.js +8 -8
  7. package/components/applicationLayout/ApplicationLayoutBody.js +6 -3
  8. package/components/applicationLayout/ApplicationLayoutBodyBanner.js +4 -3
  9. package/components/applicationLayout/ApplicationLayoutBodyNavigation.js +6 -4
  10. package/components/applicationLayout/ApplicationLayoutHeader.js +9 -7
  11. package/components/assetTree/AssetTree.js +6 -3
  12. package/components/assetTree/TypeCounter.js +6 -4
  13. package/components/map/assets/icon_map_settings_bounding_box_active.svg +1 -1
  14. package/components/map/assets/icon_map_settings_bounding_box_inactive.svg +1 -1
  15. package/components/map/assets/icon_map_settings_construction_active.svg +1 -1
  16. package/components/map/assets/icon_map_settings_construction_inactive.svg +1 -1
  17. package/components/map/assets/icon_map_settings_layer_active.svg +1 -1
  18. package/components/map/assets/icon_map_settings_layer_inactive.svg +1 -1
  19. package/components/map/assets/icon_map_settings_maptype_flat_active.svg +1 -1
  20. package/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +1 -1
  21. package/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +1 -1
  22. package/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +1 -1
  23. package/components/map/assets/icon_map_settings_maptype_night_active.svg +1 -12
  24. package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +1 -12
  25. package/components/map/assets/icon_map_settings_maptype_satelite_active.svg +1 -1
  26. package/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +1 -1
  27. package/components/map/assets/icon_map_settings_maptype_terrain_active.svg +1 -1
  28. package/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +1 -1
  29. package/components/map/assets/icon_map_settings_road_restrictions_active.svg +1 -1
  30. package/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +1 -1
  31. package/components/map/assets/icon_map_settings_system_pois_active.svg +1 -1
  32. package/components/map/assets/icon_map_settings_system_pois_inactive.svg +1 -1
  33. package/components/map/assets/icon_map_settings_workshop_pois_active.svg +1 -1
  34. package/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +1 -1
  35. package/components/map/components/Map.js +3 -1
  36. package/components/map/components/features/Route.js +1 -9
  37. package/components/map/components/features/basics/Circle.js +9 -5
  38. package/components/map/components/features/basics/MapLayerGroup.js +6 -5
  39. package/components/map/components/features/basics/Polygon.js +4 -4
  40. package/components/map/components/features/basics/Polyline.js +5 -30
  41. package/components/map/components/features/basics/marker/DomMarker.js +9 -3
  42. package/components/map/components/features/basics/marker/Marker.js +6 -31
  43. package/components/map/components/features/layers/Layer.js +1 -1
  44. package/components/map/components/features/layers/MarkerLayer.js +0 -1
  45. package/components/map/components/features/layers/RoadRestrictionLayer.js +1 -2
  46. package/components/map/components/features/layers/TrafficLayer.js +2 -2
  47. package/components/map/components/features/layers/clustering/ClusterLayer.js +1 -1
  48. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +16 -2
  49. package/components/map/icons/MapIcon.js +46 -66
  50. package/components/mapMarker/ClusterMapMarker.js +16 -20
  51. package/components/mapMarker/SingleMapMarker.js +17 -28
  52. package/lib/es/Map.d.ts +1 -0
  53. package/lib/es/components/activity/Activity.js +9 -4
  54. package/lib/es/components/animatedNumber/AnimatedNumber.js +5 -3
  55. package/lib/es/components/applicationHeader/ApplicationHeader.js +5 -2
  56. package/lib/es/components/applicationLayout/ApplicationLayout.js +11 -8
  57. package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +5 -2
  58. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.js +7 -3
  59. package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.js +9 -4
  60. package/lib/es/components/applicationLayout/ApplicationLayoutHeader.js +12 -7
  61. package/lib/es/components/assetTree/AssetTree.js +5 -2
  62. package/lib/es/components/assetTree/TypeCounter.js +9 -4
  63. package/lib/es/components/map/assets/icon_map_settings_bounding_box_active.svg +1 -1
  64. package/lib/es/components/map/assets/icon_map_settings_bounding_box_inactive.svg +1 -1
  65. package/lib/es/components/map/assets/icon_map_settings_construction_active.svg +1 -1
  66. package/lib/es/components/map/assets/icon_map_settings_construction_inactive.svg +1 -1
  67. package/lib/es/components/map/assets/icon_map_settings_layer_active.svg +1 -1
  68. package/lib/es/components/map/assets/icon_map_settings_layer_inactive.svg +1 -1
  69. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_active.svg +1 -1
  70. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +1 -1
  71. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +1 -1
  72. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +1 -1
  73. package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +1 -12
  74. package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +1 -12
  75. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_active.svg +1 -1
  76. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +1 -1
  77. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_active.svg +1 -1
  78. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +1 -1
  79. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_active.svg +1 -1
  80. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +1 -1
  81. package/lib/es/components/map/assets/icon_map_settings_system_pois_active.svg +1 -1
  82. package/lib/es/components/map/assets/icon_map_settings_system_pois_inactive.svg +1 -1
  83. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_active.svg +1 -1
  84. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +1 -1
  85. package/lib/es/components/map/components/Map.js +3 -1
  86. package/lib/es/components/map/components/features/Route.js +1 -9
  87. package/lib/es/components/map/components/features/basics/Circle.js +8 -4
  88. package/lib/es/components/map/components/features/basics/MapLayerGroup.js +6 -5
  89. package/lib/es/components/map/components/features/basics/Polygon.js +4 -4
  90. package/lib/es/components/map/components/features/basics/Polyline.js +5 -30
  91. package/lib/es/components/map/components/features/basics/marker/DomMarker.js +8 -3
  92. package/lib/es/components/map/components/features/basics/marker/Marker.js +6 -31
  93. package/lib/es/components/map/components/features/layers/Layer.js +1 -1
  94. package/lib/es/components/map/components/features/layers/MarkerLayer.js +0 -1
  95. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +1 -2
  96. package/lib/es/components/map/components/features/layers/TrafficLayer.js +2 -2
  97. package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +1 -1
  98. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +16 -2
  99. package/lib/es/components/map/icons/MapIcon.js +46 -66
  100. package/lib/es/components/mapMarker/ClusterMapMarker.js +16 -20
  101. package/lib/es/components/mapMarker/SingleMapMarker.js +17 -28
  102. package/lib/es/styles/components/MapMarker.less +224 -14
  103. package/lib/es/styles/components/MapSettings.less +45 -29
  104. package/lib/es/styles/design/border.less +14 -14
  105. package/lib/es/styles/design/colors.less +7 -6
  106. package/lib/es/styles/design/divide.less +165 -0
  107. package/lib/es/styles/design/responsive/_imports.less +1 -0
  108. package/lib/es/styles/design/responsive/gap.less +0 -8
  109. package/lib/es/styles/design/responsive/spacing.less +12 -0
  110. package/lib/es/styles/rio-uikit-core.less +1 -0
  111. package/lib/es/styles/variables/light_colors.less +6 -6
  112. package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +14 -5
  113. package/lib/es/types.ts +6 -4
  114. package/lib/es/version.json +1 -1
  115. package/package.json +1 -1
  116. package/styles/components/MapMarker.less +224 -14
  117. package/styles/components/MapSettings.less +45 -29
  118. package/styles/design/border.less +14 -14
  119. package/styles/design/colors.less +7 -6
  120. package/styles/design/divide.less +165 -0
  121. package/styles/design/responsive/_imports.less +1 -0
  122. package/styles/design/responsive/gap.less +0 -8
  123. package/styles/design/responsive/spacing.less +12 -0
  124. package/styles/rio-uikit-core.less +1 -0
  125. package/styles/variables/light_colors.less +6 -6
  126. package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +15 -6
  127. package/types.ts +6 -4
  128. package/version.json +1 -1
  129. package/components/.DS_Store +0 -0
  130. package/components/map/.DS_Store +0 -0
  131. package/components/map/components/.DS_Store +0 -0
  132. package/components/map/components/features/layers/TruckLayer.js +0 -20
  133. package/components/map/components/features/layers/baselayers/BaseLayer.js +0 -33
  134. package/components/map/components/features/layers/baselayers/DefaultLayer.js +0 -23
  135. package/hooks/useHereMap.ts +0 -23
  136. package/hooks/useScripts.ts +0 -52
  137. package/lib/.DS_Store +0 -0
  138. package/lib/es/.DS_Store +0 -0
  139. package/lib/es/components/.DS_Store +0 -0
  140. package/lib/es/components/map/components/features/layers/TruckLayer.js +0 -28
  141. package/lib/es/components/map/components/features/layers/baselayers/BaseLayer.js +0 -41
  142. package/lib/es/components/map/components/features/layers/baselayers/DefaultLayer.js +0 -30
  143. package/lib/es/hooks/useHereMap.ts +0 -23
  144. package/lib/es/hooks/useScripts.ts +0 -52
  145. package/lib/es/styles/.DS_Store +0 -0
  146. package/lib/es/styles/mixins/_mixins.less +0 -13
  147. package/lib/es/styles/mixins/alerts.less +0 -13
  148. package/lib/es/styles/shared/colors.json +0 -56
  149. package/lib/es/styles/shared/colors.less +0 -73
  150. package/lib/es/styles/shared/screens.less +0 -7
  151. package/lib/es/styles/shared/text.less +0 -23
  152. package/lib/es/styles/variables.less +0 -186
  153. package/lib/es/themes/.DS_Store +0 -0
  154. package/styles/.DS_Store +0 -0
  155. package/styles/mixins/_mixins.less +0 -13
  156. package/styles/mixins/alerts.less +0 -13
  157. package/styles/shared/colors.json +0 -56
  158. package/styles/shared/colors.less +0 -73
  159. package/styles/shared/screens.less +0 -7
  160. package/styles/shared/text.less +0 -23
  161. package/styles/variables.less +0 -186
  162. package/themes/.DS_Store +0 -0
  163. package/themes/Volkswagen/.DS_Store +0 -0
  164. package/themes/Website/.DS_Store +0 -0
@@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports["default"] = exports.VolkswagenApplicationHeader = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
12
  var _react = _interopRequireWildcard(require("react"));
11
13
  var _propTypes = _interopRequireDefault(require("prop-types"));
12
14
  var _isEmpty = _interopRequireDefault(require("lodash/fp/isEmpty"));
@@ -14,21 +16,26 @@ var _classnames = _interopRequireDefault(require("classnames"));
14
16
  var _ApplicationActionBar = require("../../../../components/applicationHeader/ApplicationActionBar");
15
17
  var _useResizeObserver3 = _interopRequireDefault(require("../../../../hooks/useResizeObserver"));
16
18
  var _modulePropTypes = _interopRequireDefault(require("./modulePropTypes"));
19
+ var _excluded = ["homeRoute", "className", "appNavigator", "appNavigatorClassName", "appMenuItems", "navItems", "actionBarItems"];
17
20
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
21
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
- var VolkswagenApplicationHeader = function VolkswagenApplicationHeader(props) {
22
+ var VolkswagenApplicationHeader = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
20
23
  var homeRoute = props.homeRoute,
21
24
  className = props.className,
22
25
  appNavigator = props.appNavigator,
23
26
  appNavigatorClassName = props.appNavigatorClassName,
24
27
  appMenuItems = props.appMenuItems,
25
28
  navItems = props.navItems,
26
- actionBarItems = props.actionBarItems;
29
+ actionBarItems = props.actionBarItems,
30
+ remainingProps = (0, _objectWithoutProperties2["default"])(props, _excluded);
27
31
  var actionBarRef = (0, _react.useRef)();
28
32
  var _useResizeObserver = (0, _useResizeObserver3["default"])(),
29
33
  _useResizeObserver2 = (0, _slicedToArray2["default"])(_useResizeObserver, 2),
30
34
  navRef = _useResizeObserver2[0],
31
35
  contentRect = _useResizeObserver2[1].contentRect;
36
+ (0, _react.useImperativeHandle)(ref, function () {
37
+ return navRef;
38
+ }, []);
32
39
 
33
40
  // const getContentRect = useCallback(key => contentRect && Math.round(contentRect[key]), [contentRect]);
34
41
  // const containerWidth = getContentRect('width') || 0;
@@ -37,9 +44,11 @@ var VolkswagenApplicationHeader = function VolkswagenApplicationHeader(props) {
37
44
  // const hasActionBarItems = !isEmpty(actionBarItems);
38
45
 
39
46
  var classNames = (0, _classnames["default"])('ApplicationHeader VolkswagenApplicationHeader', 'user-select-none', className && className);
40
- return /*#__PURE__*/_react["default"].createElement("nav", {
47
+ return /*#__PURE__*/_react["default"].createElement("nav", (0, _extends2["default"])({}, remainingProps, {
41
48
  className: classNames,
42
49
  ref: navRef
50
+ }), /*#__PURE__*/_react["default"].createElement("div", {
51
+ className: "width-100pct"
43
52
  }, /*#__PURE__*/_react["default"].createElement("div", {
44
53
  className: "brand"
45
54
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -57,8 +66,8 @@ var VolkswagenApplicationHeader = function VolkswagenApplicationHeader(props) {
57
66
  })), /*#__PURE__*/_react["default"].createElement(_ApplicationActionBar.ApplicationActionBar, {
58
67
  nodeRef: actionBarRef,
59
68
  items: actionBarItems
60
- }));
61
- };
69
+ })));
70
+ });
62
71
  exports.VolkswagenApplicationHeader = VolkswagenApplicationHeader;
63
72
  var _default = VolkswagenApplicationHeader;
64
73
  exports["default"] = _default;
package/lib/es/types.ts CHANGED
@@ -421,8 +421,7 @@ export interface ClusterMapMarkerProps {
421
421
  exceptionCount?: number;
422
422
  active?: boolean;
423
423
  clickable?: boolean;
424
- iconNames?: string;
425
- colorClass?: string;
424
+ iconName?: string;
426
425
  markerColor?: markerColor;
427
426
  }
428
427
 
@@ -833,6 +832,7 @@ export enum MapType {
833
832
  TYPE_FLEET_STYLE = 'FLEET_STYLE',
834
833
  TYPE_SATELLITE = 'SATELLITE',
835
834
  TYPE_TERRAIN = 'TERRAIN',
835
+ TYPE_NIGHT = 'NIGHT',
836
836
  }
837
837
 
838
838
  export interface MapProps {
@@ -858,10 +858,12 @@ export interface MapProps {
858
858
  | MapType.TYPE_FLEET_STYLE
859
859
  | MapType.TYPE_SATELLITE
860
860
  | MapType.TYPE_TERRAIN
861
+ | MapType.TYPE_NIGHT
861
862
  | 'DEFAULT'
862
863
  | 'FLEET_STYLE'
863
864
  | 'SATELLITE'
864
- | 'TERRAIN';
865
+ | 'TERRAIN'
866
+ | 'NIGHT';
865
867
  mapLayer?: string[];
866
868
  showCluster?: boolean;
867
869
  showScaleBar?: boolean;
@@ -969,6 +971,7 @@ export interface MapSettingsTileProps {
969
971
 
970
972
  export interface MapTypeSettingsProps {
971
973
  mapType?: string;
974
+ enableNightMap?: boolean;
972
975
  onMapTypeChange?: () => string;
973
976
  }
974
977
 
@@ -1603,7 +1606,6 @@ export interface SingleMapMarkerProps {
1603
1606
  moving?: boolean;
1604
1607
  clickable?: boolean;
1605
1608
  iconNames?: string[];
1606
- colorClass?: string;
1607
1609
  markerColor?: markerColor;
1608
1610
  }
1609
1611
 
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.16.2-beta.14"
2
+ "version": "0.16.2-beta.16"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rio-cloud/rio-uikit",
3
- "version": "0.16.2-beta.14",
3
+ "version": "0.16.2-beta.16",
4
4
  "description": "The RIO UIKIT component library",
5
5
  "repository": "https://collaboration.msi.audi.com/stash/projects/RIOFRONT/repos/uikit-web/browse",
6
6
  "scripts": {
@@ -160,7 +160,7 @@
160
160
  }
161
161
 
162
162
  .rio-map-icon {
163
- margin-right: @bubbleSize * 0.4;
163
+ margin: 0 @bubbleSize * 0.3;
164
164
 
165
165
  &.rioglyph {
166
166
  top: 0; // unnecessary rioglyph hack
@@ -174,6 +174,14 @@
174
174
  width: 100%;
175
175
  }
176
176
  }
177
+
178
+ + .rio-map-icon {
179
+ margin: 0 @bubbleSize * 0.3 0 -(@bubbleSize) * 0.3;
180
+ }
181
+
182
+ + .rio-map-name {
183
+ padding: 0 @bubbleSize * 0.4 0 0;
184
+ }
177
185
  }
178
186
 
179
187
  &.moving {
@@ -192,18 +200,6 @@
192
200
  transition: height @animationDuration ~',' bottom @animationDuration;
193
201
  }
194
202
 
195
- .rio-map-icon {
196
- margin: 0 @bubbleSize * 0.3;
197
-
198
- + .rio-map-icon {
199
- margin: 0 @bubbleSize * 0.3 0 -(@bubbleSize) * 0.3;
200
- }
201
-
202
- + .rio-map-name {
203
- padding: 0 @bubbleSize * 0.4 0 0;
204
- }
205
- }
206
-
207
203
  .rio-map-direction {
208
204
  border-radius: @border-radius-round;
209
205
  background-color: .hslb(@color-map-marker-asset-hsl, '+', '5%')[@result];
@@ -223,10 +219,10 @@
223
219
  margin-right: @bubbleSize * 0.2;
224
220
  }
225
221
  }
222
+
226
223
  }
227
224
 
228
225
  .rio-map-position-arrow {
229
- background-color: var(--color-map-marker-text);
230
226
  bottom: (@iconSize * 0.5) - (@positionTriangleSize * 0.45);
231
227
  color: transparent;
232
228
  height: @positionTriangleSize;
@@ -296,6 +292,220 @@
296
292
  display: none !important;
297
293
  }
298
294
  }
295
+
296
+ // coloring
297
+ [class*="map-marker-type"] {
298
+ color: var(--color-map-marker-text);
299
+
300
+ .rio-map-icon {
301
+ &:before {
302
+ color: var(--color-map-marker-text);
303
+ }
304
+ }
305
+
306
+ &[class*="asset"] {
307
+ background-color: var(--color-map-marker-asset);
308
+ border: 1px solid var(--color-map-marker-asset);
309
+
310
+ &.active {
311
+ color: var(--color-map-marker-asset);
312
+ background-color: var(--color-map-marker-active);
313
+
314
+ .rio-map-icon {
315
+ &:before {
316
+ color: var(--color-map-marker-asset);
317
+ }
318
+ }
319
+ }
320
+
321
+ ~ .rio-map-position-arrow {
322
+ background-color: var(--color-map-marker-asset);
323
+ }
324
+
325
+ ~ .rio-map-position {
326
+ color: var(--color-map-marker-asset);
327
+ }
328
+ }
329
+
330
+ &[class*="poi"] {
331
+ background-color: var(--color-map-marker-poi);
332
+ border: 1px solid var(--color-map-marker-poi);
333
+
334
+ &.active {
335
+ color: var(--color-map-marker-poi);
336
+ background-color: var(--color-map-marker-active);
337
+
338
+ .rio-map-icon {
339
+ &:before {
340
+ color: var(--color-map-marker-poi);
341
+ }
342
+ }
343
+ }
344
+
345
+ ~ .rio-map-position-arrow {
346
+ background-color: var(--color-map-marker-poi);
347
+ }
348
+
349
+ ~ .rio-map-position {
350
+ color: var(--color-map-marker-poi);
351
+ }
352
+ }
353
+
354
+ &[class*="geofence"] {
355
+ background-color: var(--color-map-marker-geofence);
356
+ border: 1px solid var(--color-map-marker-geofence);
357
+
358
+ &.active {
359
+ color: var(--color-map-marker-geofence);
360
+ background-color: var(--color-map-marker-active);
361
+
362
+ .rio-map-icon {
363
+ &:before {
364
+ color: var(--color-map-marker-geofence);
365
+ }
366
+ }
367
+ }
368
+
369
+ ~ .rio-map-position-arrow {
370
+ background-color: var(--color-map-marker-geofence);
371
+ }
372
+
373
+ ~ .rio-map-position {
374
+ color: var(--color-map-marker-geofence);
375
+ }
376
+ }
377
+
378
+ &[class*="route"] {
379
+ background-color: var(--color-map-marker-route);
380
+ border: 1px solid var(--color-map-marker-route);
381
+
382
+ &.active {
383
+ color: var(--color-map-marker-route);
384
+ background-color: var(--color-map-marker-active);
385
+
386
+ .rio-map-icon {
387
+ &:before {
388
+ color: var(--color-map-marker-route);
389
+ }
390
+ }
391
+ }
392
+
393
+ ~ .rio-map-position-arrow {
394
+ background-color: var(--color-map-marker-route);
395
+ }
396
+
397
+ ~ .rio-map-position {
398
+ color: var(--color-map-marker-route);
399
+ }
400
+ }
401
+
402
+ // night colors
403
+ .map-type-night & {
404
+ color: var(--color-map-marker-text-night);
405
+
406
+ .rio-map-icon {
407
+ &:before {
408
+ color: var(--color-map-marker-text-night);
409
+ }
410
+ }
411
+
412
+ &[class*="asset"] {
413
+ background-color: var(--color-map-marker-asset-night);
414
+ border: 1px solid var(--color-map-marker-asset-night);
415
+
416
+ &.active {
417
+ color: var(--color-map-marker-asset-night);
418
+ background-color: var(--color-map-marker-active-night);
419
+
420
+ .rio-map-icon {
421
+ &:before {
422
+ color: var(--color-map-marker-asset-night);
423
+ }
424
+ }
425
+ }
426
+
427
+ ~ .rio-map-position-arrow {
428
+ background-color: var(--color-map-marker-asset-night);
429
+ }
430
+
431
+ ~ .rio-map-position {
432
+ color: var(--color-map-marker-asset-night);
433
+ }
434
+ }
435
+
436
+ &[class*="poi"] {
437
+ background-color: var(--color-map-marker-poi-night);
438
+ border: 1px solid var(--color-map-marker-poi-night);
439
+
440
+ &.active {
441
+ color: var(--color-map-marker-poi-night);
442
+ background-color: var(--color-map-marker-active-night);
443
+
444
+ .rio-map-icon {
445
+ &:before {
446
+ color: var(--color-map-marker-poi-night);
447
+ }
448
+ }
449
+ }
450
+
451
+ ~ .rio-map-position-arrow {
452
+ background-color: var(--color-map-marker-poi-night);
453
+ }
454
+
455
+ ~ .rio-map-position {
456
+ color: var(--color-map-marker-poi-night);
457
+ }
458
+ }
459
+
460
+ &[class*="geofence"] {
461
+ background-color: var(--color-map-marker-geofence-night);
462
+ border: 1px solid var(--color-map-marker-geofence-night);
463
+
464
+ &.active {
465
+ color: var(--color-map-marker-geofence-night);
466
+ background-color: var(--color-map-marker-active-night);
467
+
468
+ .rio-map-icon {
469
+ &:before {
470
+ color: var(--color-map-marker-geofence-night);
471
+ }
472
+ }
473
+ }
474
+
475
+ ~ .rio-map-position-arrow {
476
+ background-color: var(--color-map-marker-geofence-night);
477
+ }
478
+
479
+ ~ .rio-map-position {
480
+ color: var(--color-map-marker-geofence-night);
481
+ }
482
+ }
483
+
484
+ &[class*="route"] {
485
+ background-color: var(--color-map-marker-route-night);
486
+ border: 1px solid var(--color-map-marker-route-night);
487
+
488
+ &.active {
489
+ color: var(--color-map-marker-route-night);
490
+ background-color: var(--color-map-marker-active-night);
491
+
492
+ .rio-map-icon {
493
+ &:before {
494
+ color: var(--color-map-marker-route-night);
495
+ }
496
+ }
497
+ }
498
+
499
+ ~ .rio-map-position-arrow {
500
+ background-color: var(--color-map-marker-route-night);
501
+ }
502
+
503
+ ~ .rio-map-position {
504
+ color: var(--color-map-marker-route-night);
505
+ }
506
+ }
507
+ }
508
+ }
299
509
  }
300
510
 
301
511
  #rio-map-context-menu {
@@ -10,6 +10,10 @@
10
10
  background: var(--color-white);
11
11
  cursor: pointer;
12
12
  padding: 3px;
13
+
14
+ .map-type-night & {
15
+ background: #444a4c;
16
+ }
13
17
  }
14
18
 
15
19
  .MapSettingsTileSpacer {
@@ -28,7 +32,7 @@
28
32
 
29
33
  // moved MapSettingsWrapper left on large noTouch devices
30
34
  @media (min-width: @screen-ls) {
31
- +.MapSettingsWrapper {
35
+ + .MapSettingsWrapper {
32
36
  right: 47px;
33
37
  }
34
38
  }
@@ -60,6 +64,10 @@
60
64
  background: var(--color-white);
61
65
  cursor: pointer;
62
66
  padding: 5px;
67
+
68
+ .map-type-night & {
69
+ background: #444a4c;
70
+ }
63
71
  }
64
72
 
65
73
  .MapSettingsPanel {
@@ -70,9 +78,17 @@
70
78
  margin-bottom: 10px;
71
79
  padding: 5px;
72
80
 
81
+ .map-type-night & {
82
+ background: #444a4c;
83
+ }
84
+
73
85
  .MapSettingsItem {
74
86
  background: var(--color-white);
75
87
  cursor: pointer;
88
+
89
+ .map-type-night & {
90
+ background: #444a4c;
91
+ }
76
92
  }
77
93
  }
78
94
  }
@@ -110,31 +126,31 @@
110
126
  }
111
127
  }
112
128
 
113
- // OLD
114
- .MapSettings {
115
- align-items: flex-end;
116
- bottom: 15px;
117
- display: flex;
118
- flex-flow: column-reverse;
119
- padding: 0;
120
- position: absolute;
121
- right: 47px;
122
- z-index: 1;
123
-
124
- @media (max-width: @screen-ls) {
125
- right: 15px;
126
- }
127
-
128
- .MapSettingsPanel {
129
- &:extend(.shadow-smooth);
130
- background: var(--color-white);
131
- display: flex;
132
- margin-bottom: 10px;
133
-
134
- .MapSettingsTile,
135
- .MapSettingsButton {
136
- cursor: pointer;
137
- padding: 5px;
138
- }
139
- }
140
- }
129
+ // // OLD
130
+ // .MapSettings {
131
+ // align-items: flex-end;
132
+ // bottom: 15px;
133
+ // display: flex;
134
+ // flex-flow: column-reverse;
135
+ // padding: 0;
136
+ // position: absolute;
137
+ // right: 47px;
138
+ // z-index: 1;
139
+
140
+ // @media (max-width: @screen-ls) {
141
+ // right: 15px;
142
+ // }
143
+
144
+ // .MapSettingsPanel {
145
+ // &:extend(.shadow-smooth);
146
+ // background: var(--color-white);
147
+ // display: flex;
148
+ // margin-bottom: 10px;
149
+
150
+ // .MapSettingsTile,
151
+ // .MapSettingsButton {
152
+ // cursor: pointer;
153
+ // padding: 5px;
154
+ // }
155
+ // }
156
+ // }
@@ -172,13 +172,13 @@ each(@colors-highlight-map, {
172
172
  // coldplay-moos
173
173
  // coldplay-primrose
174
174
  // coldplay-khaki
175
- & when (@buildColdplayColors = true) {
176
- each(@colors-coldplay-map, {
177
- .border-color-@{key} {
178
- border-color: @value !important;
179
- }
180
- })
181
- }
175
+ // & when (@buildColdplayColors = true) {
176
+ // each(@colors-coldplay-map, {
177
+ // .border-color-@{key} {
178
+ // border-color: @value !important;
179
+ // }
180
+ // })
181
+ // }
182
182
 
183
183
  // warmup-crimson
184
184
  // warmup-victoria
@@ -189,10 +189,10 @@ each(@colors-highlight-map, {
189
189
  // warmup-salmon
190
190
  // warmup-cherokee
191
191
  // warmup-corn
192
- & when (@buildWarmupColors = true) {
193
- each(@colors-warmup-map, {
194
- .border-color-@{key} {
195
- border-color: @value !important;
196
- }
197
- })
198
- }
192
+ // & when (@buildWarmupColors = true) {
193
+ // each(@colors-warmup-map, {
194
+ // .border-color-@{key} {
195
+ // border-color: @value !important;
196
+ // }
197
+ // })
198
+ // }
@@ -72,6 +72,7 @@ each(@colors-gray-map, {
72
72
  // map-marker-route
73
73
  each(@colors-map-marker-map, {
74
74
  .bg-@{key} {
75
+ color: var(--color-white) !important;
75
76
  background-color: @value !important;
76
77
  }
77
78
  .hover-bg-@{key}:hover {
@@ -169,9 +170,9 @@ each(@colors-highlight-map, {
169
170
  .hover-bg-@{key}:hover {
170
171
  background-color: @value !important;
171
172
  }
172
- .fill-@{key} {
173
- fill: @value !important;
174
- }
173
+ // .fill-@{key} {
174
+ // fill: @value !important;
175
+ // }
175
176
  })
176
177
  .bg-coldplay-wine,
177
178
  .bg-coldplay-aubergine,
@@ -197,9 +198,9 @@ each(@colors-highlight-map, {
197
198
  .hover-bg-@{key}:hover {
198
199
  background-color: @value !important;
199
200
  }
200
- .fill-@{key} {
201
- fill: @value !important;
202
- }
201
+ // .fill-@{key} {
202
+ // fill: @value !important;
203
+ // }
203
204
  })
204
205
  .bg-warmup-crimson,
205
206
  .bg-warmup-victoria,