@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.
- package/.DS_Store +0 -0
- package/Map.d.ts +1 -0
- package/components/activity/Activity.js +6 -4
- package/components/animatedNumber/AnimatedNumber.js +6 -4
- package/components/applicationHeader/ApplicationHeader.js +6 -3
- package/components/applicationLayout/ApplicationLayout.js +8 -8
- package/components/applicationLayout/ApplicationLayoutBody.js +6 -3
- package/components/applicationLayout/ApplicationLayoutBodyBanner.js +4 -3
- package/components/applicationLayout/ApplicationLayoutBodyNavigation.js +6 -4
- package/components/applicationLayout/ApplicationLayoutHeader.js +9 -7
- package/components/assetTree/AssetTree.js +6 -3
- package/components/assetTree/TypeCounter.js +6 -4
- package/components/map/assets/icon_map_settings_bounding_box_active.svg +1 -1
- package/components/map/assets/icon_map_settings_bounding_box_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_construction_active.svg +1 -1
- package/components/map/assets/icon_map_settings_construction_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_layer_active.svg +1 -1
- package/components/map/assets/icon_map_settings_layer_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_maptype_flat_active.svg +1 -1
- package/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +1 -1
- package/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_maptype_night_active.svg +1 -12
- package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +1 -12
- package/components/map/assets/icon_map_settings_maptype_satelite_active.svg +1 -1
- package/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_maptype_terrain_active.svg +1 -1
- package/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_road_restrictions_active.svg +1 -1
- package/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_system_pois_active.svg +1 -1
- package/components/map/assets/icon_map_settings_system_pois_inactive.svg +1 -1
- package/components/map/assets/icon_map_settings_workshop_pois_active.svg +1 -1
- package/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +1 -1
- package/components/map/components/Map.js +3 -1
- package/components/map/components/features/Route.js +1 -9
- package/components/map/components/features/basics/Circle.js +9 -5
- package/components/map/components/features/basics/MapLayerGroup.js +6 -5
- package/components/map/components/features/basics/Polygon.js +4 -4
- package/components/map/components/features/basics/Polyline.js +5 -30
- package/components/map/components/features/basics/marker/DomMarker.js +9 -3
- package/components/map/components/features/basics/marker/Marker.js +6 -31
- package/components/map/components/features/layers/Layer.js +1 -1
- package/components/map/components/features/layers/MarkerLayer.js +0 -1
- package/components/map/components/features/layers/RoadRestrictionLayer.js +1 -2
- package/components/map/components/features/layers/TrafficLayer.js +2 -2
- package/components/map/components/features/layers/clustering/ClusterLayer.js +1 -1
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +16 -2
- package/components/map/icons/MapIcon.js +46 -66
- package/components/mapMarker/ClusterMapMarker.js +16 -20
- package/components/mapMarker/SingleMapMarker.js +17 -28
- package/lib/es/Map.d.ts +1 -0
- package/lib/es/components/activity/Activity.js +9 -4
- package/lib/es/components/animatedNumber/AnimatedNumber.js +5 -3
- package/lib/es/components/applicationHeader/ApplicationHeader.js +5 -2
- package/lib/es/components/applicationLayout/ApplicationLayout.js +11 -8
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +5 -2
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.js +7 -3
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.js +9 -4
- package/lib/es/components/applicationLayout/ApplicationLayoutHeader.js +12 -7
- package/lib/es/components/assetTree/AssetTree.js +5 -2
- package/lib/es/components/assetTree/TypeCounter.js +9 -4
- package/lib/es/components/map/assets/icon_map_settings_bounding_box_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_bounding_box_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_construction_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_construction_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_layer_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_layer_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_flat_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +1 -12
- package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +1 -12
- package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_road_restrictions_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_system_pois_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_system_pois_inactive.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_workshop_pois_active.svg +1 -1
- package/lib/es/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +1 -1
- package/lib/es/components/map/components/Map.js +3 -1
- package/lib/es/components/map/components/features/Route.js +1 -9
- package/lib/es/components/map/components/features/basics/Circle.js +8 -4
- package/lib/es/components/map/components/features/basics/MapLayerGroup.js +6 -5
- package/lib/es/components/map/components/features/basics/Polygon.js +4 -4
- package/lib/es/components/map/components/features/basics/Polyline.js +5 -30
- package/lib/es/components/map/components/features/basics/marker/DomMarker.js +8 -3
- package/lib/es/components/map/components/features/basics/marker/Marker.js +6 -31
- package/lib/es/components/map/components/features/layers/Layer.js +1 -1
- package/lib/es/components/map/components/features/layers/MarkerLayer.js +0 -1
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +1 -2
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +2 -2
- package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +1 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +16 -2
- package/lib/es/components/map/icons/MapIcon.js +46 -66
- package/lib/es/components/mapMarker/ClusterMapMarker.js +16 -20
- package/lib/es/components/mapMarker/SingleMapMarker.js +17 -28
- package/lib/es/styles/components/MapMarker.less +224 -14
- package/lib/es/styles/components/MapSettings.less +45 -29
- package/lib/es/styles/design/border.less +14 -14
- package/lib/es/styles/design/colors.less +7 -6
- package/lib/es/styles/design/divide.less +165 -0
- package/lib/es/styles/design/responsive/_imports.less +1 -0
- package/lib/es/styles/design/responsive/gap.less +0 -8
- package/lib/es/styles/design/responsive/spacing.less +12 -0
- package/lib/es/styles/rio-uikit-core.less +1 -0
- package/lib/es/styles/variables/light_colors.less +6 -6
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +14 -5
- package/lib/es/types.ts +6 -4
- package/lib/es/version.json +1 -1
- package/package.json +1 -1
- package/styles/components/MapMarker.less +224 -14
- package/styles/components/MapSettings.less +45 -29
- package/styles/design/border.less +14 -14
- package/styles/design/colors.less +7 -6
- package/styles/design/divide.less +165 -0
- package/styles/design/responsive/_imports.less +1 -0
- package/styles/design/responsive/gap.less +0 -8
- package/styles/design/responsive/spacing.less +12 -0
- package/styles/rio-uikit-core.less +1 -0
- package/styles/variables/light_colors.less +6 -6
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +15 -6
- package/types.ts +6 -4
- package/version.json +1 -1
- package/components/.DS_Store +0 -0
- package/components/map/.DS_Store +0 -0
- package/components/map/components/.DS_Store +0 -0
- package/components/map/components/features/layers/TruckLayer.js +0 -20
- package/components/map/components/features/layers/baselayers/BaseLayer.js +0 -33
- package/components/map/components/features/layers/baselayers/DefaultLayer.js +0 -23
- package/hooks/useHereMap.ts +0 -23
- package/hooks/useScripts.ts +0 -52
- package/lib/.DS_Store +0 -0
- package/lib/es/.DS_Store +0 -0
- package/lib/es/components/.DS_Store +0 -0
- package/lib/es/components/map/components/features/layers/TruckLayer.js +0 -28
- package/lib/es/components/map/components/features/layers/baselayers/BaseLayer.js +0 -41
- package/lib/es/components/map/components/features/layers/baselayers/DefaultLayer.js +0 -30
- package/lib/es/hooks/useHereMap.ts +0 -23
- package/lib/es/hooks/useScripts.ts +0 -52
- package/lib/es/styles/.DS_Store +0 -0
- package/lib/es/styles/mixins/_mixins.less +0 -13
- package/lib/es/styles/mixins/alerts.less +0 -13
- package/lib/es/styles/shared/colors.json +0 -56
- package/lib/es/styles/shared/colors.less +0 -73
- package/lib/es/styles/shared/screens.less +0 -7
- package/lib/es/styles/shared/text.less +0 -23
- package/lib/es/styles/variables.less +0 -186
- package/lib/es/themes/.DS_Store +0 -0
- package/styles/.DS_Store +0 -0
- package/styles/mixins/_mixins.less +0 -13
- package/styles/mixins/alerts.less +0 -13
- package/styles/shared/colors.json +0 -56
- package/styles/shared/colors.less +0 -73
- package/styles/shared/screens.less +0 -7
- package/styles/shared/text.less +0 -23
- package/styles/variables.less +0 -186
- package/themes/.DS_Store +0 -0
- package/themes/Volkswagen/.DS_Store +0 -0
- package/themes/Website/.DS_Store +0 -0
package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
|
package/lib/es/version.json
CHANGED
package/package.json
CHANGED
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.rio-map-icon {
|
|
163
|
-
margin
|
|
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
|
-
|
|
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
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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
|
-
|
|
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
|
-
|
|
202
|
-
}
|
|
201
|
+
// .fill-@{key} {
|
|
202
|
+
// fill: @value !important;
|
|
203
|
+
// }
|
|
203
204
|
})
|
|
204
205
|
.bg-warmup-crimson,
|
|
205
206
|
.bg-warmup-victoria,
|