@rio-cloud/rio-uikit 0.16.2-beta.9 → 0.16.2

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 (266) hide show
  1. package/.DS_Store +0 -0
  2. package/AspectRatioPlaceholder.js +2 -0
  3. package/AspectRatioPlaceholder.ts +5 -0
  4. package/Map.d.ts +2 -1
  5. package/ResponsiveColumnStripe.d.ts +5 -0
  6. package/ResponsiveColumnStripe.js +2 -0
  7. package/RuleConnector.d.ts +2 -1
  8. package/RuleContainer.d.ts +3 -2
  9. package/RulesWrapper.d.ts +2 -1
  10. package/components/activity/Activity.js +6 -4
  11. package/components/animatedNumber/AnimatedNumber.js +6 -4
  12. package/components/applicationHeader/AppMenu.js +6 -3
  13. package/components/applicationHeader/AppMenuDropdown.js +6 -2
  14. package/components/applicationHeader/ApplicationHeader.js +16 -8
  15. package/components/applicationHeader/MobileAppMenu.js +8 -4
  16. package/components/applicationLayout/ApplicationLayout.js +8 -8
  17. package/components/applicationLayout/ApplicationLayoutBody.js +6 -3
  18. package/components/applicationLayout/ApplicationLayoutBodyBanner.js +4 -3
  19. package/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +6 -4
  20. package/components/applicationLayout/ApplicationLayoutBodyNavigation.js +6 -4
  21. package/components/applicationLayout/ApplicationLayoutHeader.js +9 -7
  22. package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +25 -0
  23. package/components/assetTree/AssetTree.js +6 -3
  24. package/components/assetTree/TypeCounter.js +6 -4
  25. package/components/dialog/MediaDialog.js +5 -1
  26. package/components/dialog/SaveDialog.js +5 -2
  27. package/components/fade/Fade.js +5 -0
  28. package/components/filepicker/FilePicker.js +1 -1
  29. package/components/map/assets/icon_map_settings_bounding_box_active.svg +1 -1
  30. package/components/map/assets/icon_map_settings_bounding_box_inactive.svg +1 -1
  31. package/components/map/assets/icon_map_settings_construction_active.svg +1 -1
  32. package/components/map/assets/icon_map_settings_construction_inactive.svg +1 -1
  33. package/components/map/assets/icon_map_settings_layer_active.svg +1 -1
  34. package/components/map/assets/icon_map_settings_layer_inactive.svg +1 -1
  35. package/components/map/assets/icon_map_settings_maptype_flat_active.svg +1 -1
  36. package/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +1 -1
  37. package/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +1 -1
  38. package/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +1 -1
  39. package/components/map/assets/icon_map_settings_maptype_night_active.svg +1 -12
  40. package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +1 -12
  41. package/components/map/assets/icon_map_settings_maptype_satelite_active.svg +1 -1
  42. package/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +1 -1
  43. package/components/map/assets/icon_map_settings_maptype_terrain_active.svg +1 -1
  44. package/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +1 -1
  45. package/components/map/assets/icon_map_settings_road_restrictions_active.svg +1 -1
  46. package/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +1 -1
  47. package/components/map/assets/icon_map_settings_system_pois_active.svg +1 -1
  48. package/components/map/assets/icon_map_settings_system_pois_inactive.svg +1 -1
  49. package/components/map/assets/icon_map_settings_workshop_pois_active.svg +1 -1
  50. package/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +1 -1
  51. package/components/map/components/Map.js +47 -36
  52. package/components/map/components/features/ContextMenu.js +1 -1
  53. package/components/map/components/features/Route.js +1 -9
  54. package/components/map/components/features/basics/Circle.js +11 -6
  55. package/components/map/components/features/basics/MapLayerGroup.js +8 -5
  56. package/components/map/components/features/basics/Polygon.js +6 -5
  57. package/components/map/components/features/basics/Polyline.js +39 -42
  58. package/components/map/components/features/basics/marker/DomMarker.js +9 -3
  59. package/components/map/components/features/basics/marker/Marker.js +101 -121
  60. package/components/map/components/features/basics/marker/TextMarker.js +15 -43
  61. package/components/map/components/features/layers/Layer.js +1 -1
  62. package/components/map/components/features/layers/MarkerLayer.js +7 -4
  63. package/components/map/components/features/layers/RoadRestrictionLayer.js +1 -2
  64. package/components/map/components/features/layers/TrafficLayer.js +2 -2
  65. package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +2 -1
  66. package/components/map/components/features/layers/baselayers/useBaseLayer.js +4 -1
  67. package/components/map/components/features/layers/clustering/ClusterLayer.js +25 -9
  68. package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +18 -3
  69. package/components/map/icons/MapIcon.js +46 -66
  70. package/components/map/utils/hooks.js +3 -3
  71. package/components/mapMarker/ClusterMapMarker.js +16 -20
  72. package/components/mapMarker/SingleMapMarker.js +16 -30
  73. package/components/numberControl/NumberControl.js +13 -7
  74. package/components/numberInput/NumberInput.js +30 -12
  75. package/components/responsiveColumnStripe/ResponsiveColumnStripe.js +255 -0
  76. package/components/rules/RuleContainer.js +4 -0
  77. package/components/rules/RulesWrapper.js +3 -3
  78. package/hooks/useDarkMode.js +3 -2
  79. package/hooks/useMutationObserver.js +13 -4
  80. package/hooks/useScrollPosition.js +6 -7
  81. package/index.d.ts +29 -29
  82. package/index.js +4 -0
  83. package/lib/es/AspectRatioPlaceholder.js +13 -0
  84. package/lib/es/AspectRatioPlaceholder.ts +5 -0
  85. package/lib/es/Map.d.ts +2 -1
  86. package/lib/es/ResponsiveColumnStripe.d.ts +5 -0
  87. package/lib/es/ResponsiveColumnStripe.js +13 -0
  88. package/lib/es/RuleConnector.d.ts +2 -1
  89. package/lib/es/RuleContainer.d.ts +3 -2
  90. package/lib/es/RulesWrapper.d.ts +2 -1
  91. package/lib/es/components/activity/Activity.js +9 -4
  92. package/lib/es/components/animatedNumber/AnimatedNumber.js +5 -3
  93. package/lib/es/components/applicationHeader/AppMenu.js +6 -3
  94. package/lib/es/components/applicationHeader/AppMenuDropdown.js +6 -2
  95. package/lib/es/components/applicationHeader/ApplicationHeader.js +15 -7
  96. package/lib/es/components/applicationHeader/MobileAppMenu.js +8 -4
  97. package/lib/es/components/applicationLayout/ApplicationLayout.js +11 -8
  98. package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +5 -2
  99. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.js +7 -3
  100. package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +9 -4
  101. package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.js +9 -4
  102. package/lib/es/components/applicationLayout/ApplicationLayoutHeader.js +12 -7
  103. package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +33 -0
  104. package/lib/es/components/assetTree/AssetTree.js +5 -2
  105. package/lib/es/components/assetTree/TypeCounter.js +9 -4
  106. package/lib/es/components/dialog/MediaDialog.js +5 -1
  107. package/lib/es/components/dialog/SaveDialog.js +5 -2
  108. package/lib/es/components/fade/Fade.js +5 -0
  109. package/lib/es/components/filepicker/FilePicker.js +1 -1
  110. package/lib/es/components/map/assets/icon_map_settings_bounding_box_active.svg +1 -1
  111. package/lib/es/components/map/assets/icon_map_settings_bounding_box_inactive.svg +1 -1
  112. package/lib/es/components/map/assets/icon_map_settings_construction_active.svg +1 -1
  113. package/lib/es/components/map/assets/icon_map_settings_construction_inactive.svg +1 -1
  114. package/lib/es/components/map/assets/icon_map_settings_layer_active.svg +1 -1
  115. package/lib/es/components/map/assets/icon_map_settings_layer_inactive.svg +1 -1
  116. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_active.svg +1 -1
  117. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +1 -1
  118. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +1 -1
  119. package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +1 -1
  120. package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +1 -12
  121. package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +1 -12
  122. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_active.svg +1 -1
  123. package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +1 -1
  124. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_active.svg +1 -1
  125. package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +1 -1
  126. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_active.svg +1 -1
  127. package/lib/es/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +1 -1
  128. package/lib/es/components/map/assets/icon_map_settings_system_pois_active.svg +1 -1
  129. package/lib/es/components/map/assets/icon_map_settings_system_pois_inactive.svg +1 -1
  130. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_active.svg +1 -1
  131. package/lib/es/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +1 -1
  132. package/lib/es/components/map/components/Map.js +47 -36
  133. package/lib/es/components/map/components/features/ContextMenu.js +1 -1
  134. package/lib/es/components/map/components/features/Route.js +1 -9
  135. package/lib/es/components/map/components/features/basics/Circle.js +10 -5
  136. package/lib/es/components/map/components/features/basics/MapLayerGroup.js +8 -5
  137. package/lib/es/components/map/components/features/basics/Polygon.js +6 -5
  138. package/lib/es/components/map/components/features/basics/Polyline.js +39 -42
  139. package/lib/es/components/map/components/features/basics/marker/DomMarker.js +8 -3
  140. package/lib/es/components/map/components/features/basics/marker/Marker.js +105 -120
  141. package/lib/es/components/map/components/features/basics/marker/TextMarker.js +15 -42
  142. package/lib/es/components/map/components/features/layers/Layer.js +1 -1
  143. package/lib/es/components/map/components/features/layers/MarkerLayer.js +7 -4
  144. package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +1 -2
  145. package/lib/es/components/map/components/features/layers/TrafficLayer.js +2 -2
  146. package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +2 -1
  147. package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +4 -1
  148. package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +25 -9
  149. package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +18 -3
  150. package/lib/es/components/map/icons/MapIcon.js +46 -66
  151. package/lib/es/components/map/utils/hooks.js +3 -3
  152. package/lib/es/components/mapMarker/ClusterMapMarker.js +16 -20
  153. package/lib/es/components/mapMarker/SingleMapMarker.js +16 -30
  154. package/lib/es/components/numberControl/NumberControl.js +13 -7
  155. package/lib/es/components/numberInput/NumberInput.js +31 -12
  156. package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.js +266 -0
  157. package/lib/es/components/rules/RuleContainer.js +4 -0
  158. package/lib/es/components/rules/RulesWrapper.js +3 -3
  159. package/lib/es/hooks/useDarkMode.js +4 -3
  160. package/lib/es/hooks/useMutationObserver.js +15 -4
  161. package/lib/es/hooks/useScrollPosition.js +6 -7
  162. package/lib/es/index.d.ts +29 -29
  163. package/lib/es/index.js +24 -0
  164. package/lib/es/styles/components/Dialog.less +13 -10
  165. package/lib/es/styles/components/MapMarker.less +224 -14
  166. package/lib/es/styles/components/MapSettings.less +45 -29
  167. package/lib/es/styles/components/Notification.less +1 -1
  168. package/lib/es/styles/design/alerts.less +7 -9
  169. package/lib/es/styles/design/aspect-ratio.less +1 -0
  170. package/lib/es/styles/design/blur.less +7 -0
  171. package/lib/es/styles/design/border.less +51 -14
  172. package/lib/es/styles/design/callouts.less +12 -11
  173. package/lib/es/styles/design/colors.less +15 -6
  174. package/lib/es/styles/design/cols.less +19 -18
  175. package/lib/es/styles/design/divide.less +165 -0
  176. package/lib/es/styles/design/divider.less +90 -0
  177. package/lib/es/styles/design/responsive/_imports.less +1 -0
  178. package/lib/es/styles/design/responsive/gap.less +0 -8
  179. package/lib/es/styles/design/responsive/spacing.less +25 -0
  180. package/lib/es/styles/design/text.less +16 -2
  181. package/lib/es/styles/mapping/color-map.less +10 -0
  182. package/lib/es/styles/mapping/spacings-map.less +5 -0
  183. package/lib/es/styles/rio-uikit-core.less +2 -0
  184. package/lib/es/styles/variables/colors.json +6 -0
  185. package/lib/es/styles/variables/concated_css_variables.less +6 -0
  186. package/lib/es/styles/variables/dark_colors.less +7 -0
  187. package/lib/es/styles/variables/dark_css_variables_map.less +7 -0
  188. package/lib/es/styles/variables/light_colors.less +7 -0
  189. package/lib/es/styles/variables/light_css_variables_map.less +7 -0
  190. package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +14 -5
  191. package/lib/es/types.ts +69 -23
  192. package/lib/es/useDarkMode.d.ts +4 -0
  193. package/lib/es/useDarkMode.js +13 -0
  194. package/lib/es/useMutationObserver.d.ts +4 -0
  195. package/lib/es/useMutationObserver.js +13 -0
  196. package/lib/es/version.json +1 -1
  197. package/package.json +1 -1
  198. package/styles/components/Dialog.less +13 -10
  199. package/styles/components/MapMarker.less +224 -14
  200. package/styles/components/MapSettings.less +45 -29
  201. package/styles/components/Notification.less +1 -1
  202. package/styles/design/alerts.less +7 -9
  203. package/styles/design/aspect-ratio.less +1 -0
  204. package/styles/design/blur.less +7 -0
  205. package/styles/design/border.less +51 -14
  206. package/styles/design/callouts.less +12 -11
  207. package/styles/design/colors.less +15 -6
  208. package/styles/design/cols.less +19 -18
  209. package/styles/design/divide.less +165 -0
  210. package/styles/design/divider.less +90 -0
  211. package/styles/design/responsive/_imports.less +1 -0
  212. package/styles/design/responsive/gap.less +0 -8
  213. package/styles/design/responsive/spacing.less +25 -0
  214. package/styles/design/text.less +16 -2
  215. package/styles/mapping/color-map.less +10 -0
  216. package/styles/mapping/spacings-map.less +5 -0
  217. package/styles/rio-uikit-core.less +2 -0
  218. package/styles/variables/colors.json +6 -0
  219. package/styles/variables/concated_css_variables.less +6 -0
  220. package/styles/variables/dark_colors.less +7 -0
  221. package/styles/variables/dark_css_variables_map.less +7 -0
  222. package/styles/variables/light_colors.less +7 -0
  223. package/styles/variables/light_css_variables_map.less +7 -0
  224. package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +15 -6
  225. package/types.ts +69 -23
  226. package/useDarkMode.d.ts +4 -0
  227. package/useDarkMode.js +2 -0
  228. package/useMutationObserver.d.ts +4 -0
  229. package/useMutationObserver.js +2 -0
  230. package/version.json +1 -1
  231. package/components/.DS_Store +0 -0
  232. package/components/map/.DS_Store +0 -0
  233. package/components/map/components/.DS_Store +0 -0
  234. package/components/map/components/features/layers/TruckLayer.js +0 -20
  235. package/components/map/components/features/layers/baselayers/BaseLayer.js +0 -33
  236. package/components/map/components/features/layers/baselayers/DefaultLayer.js +0 -23
  237. package/hooks/useHereMap.ts +0 -23
  238. package/hooks/useScripts.ts +0 -52
  239. package/lib/.DS_Store +0 -0
  240. package/lib/es/.DS_Store +0 -0
  241. package/lib/es/components/.DS_Store +0 -0
  242. package/lib/es/components/map/components/features/layers/TruckLayer.js +0 -28
  243. package/lib/es/components/map/components/features/layers/baselayers/BaseLayer.js +0 -41
  244. package/lib/es/components/map/components/features/layers/baselayers/DefaultLayer.js +0 -30
  245. package/lib/es/hooks/useHereMap.ts +0 -23
  246. package/lib/es/hooks/useScripts.ts +0 -52
  247. package/lib/es/styles/.DS_Store +0 -0
  248. package/lib/es/styles/mixins/_mixins.less +0 -13
  249. package/lib/es/styles/mixins/alerts.less +0 -13
  250. package/lib/es/styles/shared/colors.json +0 -56
  251. package/lib/es/styles/shared/colors.less +0 -73
  252. package/lib/es/styles/shared/screens.less +0 -7
  253. package/lib/es/styles/shared/text.less +0 -23
  254. package/lib/es/styles/variables.less +0 -186
  255. package/lib/es/themes/.DS_Store +0 -0
  256. package/styles/.DS_Store +0 -0
  257. package/styles/mixins/_mixins.less +0 -13
  258. package/styles/mixins/alerts.less +0 -13
  259. package/styles/shared/colors.json +0 -56
  260. package/styles/shared/colors.less +0 -73
  261. package/styles/shared/screens.less +0 -7
  262. package/styles/shared/text.less +0 -23
  263. package/styles/variables.less +0 -186
  264. package/themes/.DS_Store +0 -0
  265. package/themes/Volkswagen/.DS_Store +0 -0
  266. package/themes/Website/.DS_Store +0 -0
package/lib/es/index.js CHANGED
@@ -72,6 +72,7 @@ var _exportNames = {
72
72
  NotBookedState: true,
73
73
  CustomState: true,
74
74
  TimePicker: true,
75
+ ResponsiveColumnStripe: true,
75
76
  SortArrowUp: true,
76
77
  SortArrowDown: true,
77
78
  SortArrows: true,
@@ -95,6 +96,8 @@ var _exportNames = {
95
96
  useClipboard: true,
96
97
  useElementSize: true,
97
98
  useScrollPosition: true,
99
+ useDarkMode: true,
100
+ useMutationObserver: true,
98
101
  hasTouch: true,
99
102
  inIframe: true,
100
103
  isDesktop: true,
@@ -543,6 +546,12 @@ Object.defineProperty(exports, "Resizer", {
543
546
  return _Resizer2["default"];
544
547
  }
545
548
  });
549
+ Object.defineProperty(exports, "ResponsiveColumnStripe", {
550
+ enumerable: true,
551
+ get: function get() {
552
+ return _ResponsiveColumnStripe2["default"];
553
+ }
554
+ });
546
555
  Object.defineProperty(exports, "ResponsiveVideo", {
547
556
  enumerable: true,
548
557
  get: function get() {
@@ -928,6 +937,12 @@ Object.defineProperty(exports, "useClipboard", {
928
937
  return _useClipboard["default"];
929
938
  }
930
939
  });
940
+ Object.defineProperty(exports, "useDarkMode", {
941
+ enumerable: true,
942
+ get: function get() {
943
+ return _useDarkMode["default"];
944
+ }
945
+ });
931
946
  Object.defineProperty(exports, "useEffectOnce", {
932
947
  enumerable: true,
933
948
  get: function get() {
@@ -964,6 +979,12 @@ Object.defineProperty(exports, "useKey", {
964
979
  return _useKey["default"];
965
980
  }
966
981
  });
982
+ Object.defineProperty(exports, "useMutationObserver", {
983
+ enumerable: true,
984
+ get: function get() {
985
+ return _useMutationObserver["default"];
986
+ }
987
+ });
967
988
  Object.defineProperty(exports, "useOnMount", {
968
989
  enumerable: true,
969
990
  get: function get() {
@@ -1067,6 +1088,7 @@ var _ForbiddenState2 = _interopRequireDefault(require("./components/states/Forbi
1067
1088
  var _NotBookedState2 = _interopRequireDefault(require("./components/states/NotBookedState"));
1068
1089
  var _CustomState2 = _interopRequireDefault(require("./components/states/CustomState"));
1069
1090
  var _TimePicker2 = _interopRequireDefault(require("./components/timepicker/TimePicker"));
1091
+ var _ResponsiveColumnStripe2 = _interopRequireDefault(require("./components/responsiveColumnStripe/ResponsiveColumnStripe"));
1070
1092
  var _SortArrows2 = require("./components/table/SortArrows");
1071
1093
  var _SortUtils = require("./utils/SortUtils");
1072
1094
  var _routeUtils = require("./utils/routeUtils");
@@ -1083,6 +1105,8 @@ var _useClickOutside = _interopRequireDefault(require("./hooks/useClickOutside")
1083
1105
  var _useClipboard = _interopRequireDefault(require("./hooks/useClipboard"));
1084
1106
  var _useElementSize = _interopRequireDefault(require("./hooks/useElementSize"));
1085
1107
  var _useScrollPosition = _interopRequireDefault(require("./hooks/useScrollPosition"));
1108
+ var _useDarkMode = _interopRequireDefault(require("./hooks/useDarkMode"));
1109
+ var _useMutationObserver = _interopRequireDefault(require("./hooks/useMutationObserver"));
1086
1110
  var _deviceUtils = require("./utils/deviceUtils");
1087
1111
  var _colorScheme = require("./utils/colorScheme");
1088
1112
  var _GroupSelectionUtil = require("./utils/GroupSelectionUtil");
@@ -40,6 +40,7 @@ body {
40
40
  top: 0;
41
41
  width: 100% !important;
42
42
  z-index: @zindex-modal;
43
+ backdrop-filter: blur(1px);
43
44
 
44
45
  // When fading in the modal, animate it to slide down
45
46
  &.fade .modal-dialog {
@@ -91,11 +92,6 @@ body {
91
92
  }
92
93
  }
93
94
  }
94
-
95
- // because of overflow :after styling
96
- &:after {
97
- display: none !important;
98
- }
99
95
  }
100
96
 
101
97
  .modal-footer:before {
@@ -156,9 +152,10 @@ body {
156
152
 
157
153
  .modal-header-title {
158
154
  display: flex;
159
- order: 1;
155
+ flex-wrap: wrap;
160
156
  font-size: @font-size-xl - 2;
161
157
  line-height: @font-size-xl - 2;
158
+ order: 1;
162
159
  }
163
160
 
164
161
  .modal-header-subtitle {
@@ -306,10 +303,16 @@ body {
306
303
  .modal-body {
307
304
  overflow-y: auto;
308
305
 
309
- &:after {
310
- content: '';
311
- display: block;
312
- height: 30px;
306
+ // &:after {
307
+ // content: '';
308
+ // display: block;
309
+ // height: 30px;
310
+ // }
311
+
312
+ &.no-overflow-gradient {
313
+ + .modal-footer:before {
314
+ display: none;
315
+ }
313
316
  }
314
317
  }
315
318
 
@@ -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
+ // }
@@ -49,7 +49,7 @@
49
49
 
50
50
  &:before {
51
51
  position: absolute;
52
- top: 50%;
52
+ top: 24px;
53
53
  left: 15px;
54
54
  margin-top: -14px;
55
55
  display: block;
@@ -2,8 +2,8 @@
2
2
  border-color: transparent;
3
3
  border-radius: @border-radius-default;
4
4
  border-style: solid;
5
- border-width: 2px;
6
- padding: 12px;
5
+ border-width: 1px;
6
+ padding: 15px;
7
7
  position: relative;
8
8
 
9
9
  .alert-link {
@@ -18,7 +18,11 @@
18
18
  position: absolute;
19
19
  right: 3px;
20
20
  top: 6px;
21
- transform: scale(0.75);
21
+ color: var(--gray-darker) !important;
22
+
23
+ * {
24
+ transform: scale(0.6);
25
+ }
22
26
  }
23
27
 
24
28
  > p,
@@ -37,18 +41,12 @@
37
41
 
38
42
  &.alert- {
39
43
  &@{key} {
40
-
41
44
  background-color: @background;
42
45
  border-color: @value;
43
- color: @value;
44
46
 
45
47
  .alert-link {
46
48
  color: @value;
47
49
  }
48
-
49
- > .close .rioglyph {
50
- color: @value;
51
- }
52
50
  }
53
51
  }
54
52
  })
@@ -1,6 +1,7 @@
1
1
  .aspect-ratio-resizer {
2
2
  display: grid;
3
3
  position: relative;
4
+ width: 100%;
4
5
 
5
6
  > * {
6
7
  grid-area: ~"1 / 1 / 2 / 2";
@@ -0,0 +1,7 @@
1
+ .backdrop {
2
+ &-blur-1 { backdrop-filter: blur(1px) !important; }
3
+ &-blur-2 { backdrop-filter: blur(2px) !important; }
4
+ &-blur-3 { backdrop-filter: blur(3px) !important; }
5
+ &-blur-4 { backdrop-filter: blur(4px) !important; }
6
+ &-blur-5 { backdrop-filter: blur(5px) !important; }
7
+ }
@@ -66,6 +66,10 @@
66
66
  }
67
67
  }
68
68
 
69
+ .hover-border-style-solid:hover { border-style: solid !important }
70
+ .hover-border-style-dotted:hover { border-style: dotted !important }
71
+ .hover-border-style-dashed:hover { border-style: dashed !important }
72
+
69
73
  // border coloring
70
74
 
71
75
  // transparent
@@ -79,6 +83,9 @@ each(@colors-text-map, {
79
83
  .border-color-@{key} {
80
84
  border-color: @value !important;
81
85
  }
86
+ .hover-border-color-@{key}:hover {
87
+ border-color: @value !important;
88
+ }
82
89
  })
83
90
 
84
91
  // primary
@@ -87,6 +94,9 @@ each(@colors-brand-map, {
87
94
  .border-color-@{key} {
88
95
  border-color: @value !important;
89
96
  }
97
+ .hover-border-color-@{key}:hover {
98
+ border-color: @value !important;
99
+ }
90
100
  })
91
101
 
92
102
  // info
@@ -97,6 +107,9 @@ each(@colors-status-map, {
97
107
  .border-color-@{key} {
98
108
  border-color: @value !important;
99
109
  }
110
+ .hover-border-color-@{key}:hover {
111
+ border-color: @value !important;
112
+ }
100
113
  })
101
114
 
102
115
  // darkest
@@ -110,6 +123,9 @@ each(@colors-gray-map, {
110
123
  .border-color-@{key} {
111
124
  border-color: @value !important;
112
125
  }
126
+ .hover-border-color-@{key}:hover {
127
+ border-color: @value !important;
128
+ }
113
129
  })
114
130
 
115
131
  // map-marker-asset
@@ -120,6 +136,18 @@ each(@colors-map-marker-map, {
120
136
  .border-color-@{key} {
121
137
  border-color: @value !important;
122
138
  }
139
+ .hover-border-color-@{key}:hover {
140
+ border-color: @value !important;
141
+ }
142
+ })
143
+
144
+ each(@colors-map-marker-night-map, {
145
+ .border-color-@{key} {
146
+ border-color: @value !important;
147
+ }
148
+ .hover-border-color-@{key}:hover {
149
+ border-color: @value !important;
150
+ }
123
151
  })
124
152
 
125
153
  // rating-1
@@ -131,6 +159,9 @@ each(@colors-rating-map, {
131
159
  .border-color-@{key} {
132
160
  border-color: @value !important;
133
161
  }
162
+ .hover-border-color-@{key}:hover {
163
+ border-color: @value !important;
164
+ }
134
165
  })
135
166
 
136
167
  // status-available
@@ -141,6 +172,9 @@ each(@colors-driving-status-map, {
141
172
  .border-color-@{key} {
142
173
  border-color: @value !important;
143
174
  }
175
+ .hover-border-color-@{key}:hover {
176
+ border-color: @value !important;
177
+ }
144
178
  })
145
179
 
146
180
  // highlight-darkest
@@ -155,6 +189,9 @@ each(@colors-highlight-map, {
155
189
  .border-color-@{key} {
156
190
  border-color: @value !important;
157
191
  }
192
+ .hover-border-color-@{key}:hover {
193
+ border-color: @value !important;
194
+ }
158
195
  })
159
196
 
160
197
  // coldplay-wine
@@ -166,13 +203,13 @@ each(@colors-highlight-map, {
166
203
  // coldplay-moos
167
204
  // coldplay-primrose
168
205
  // coldplay-khaki
169
- & when (@buildColdplayColors = true) {
170
- each(@colors-coldplay-map, {
171
- .border-color-@{key} {
172
- border-color: @value !important;
173
- }
174
- })
175
- }
206
+ // & when (@buildColdplayColors = true) {
207
+ // each(@colors-coldplay-map, {
208
+ // .border-color-@{key} {
209
+ // border-color: @value !important;
210
+ // }
211
+ // })
212
+ // }
176
213
 
177
214
  // warmup-crimson
178
215
  // warmup-victoria
@@ -183,10 +220,10 @@ each(@colors-highlight-map, {
183
220
  // warmup-salmon
184
221
  // warmup-cherokee
185
222
  // warmup-corn
186
- & when (@buildWarmupColors = true) {
187
- each(@colors-warmup-map, {
188
- .border-color-@{key} {
189
- border-color: @value !important;
190
- }
191
- })
192
- }
223
+ // & when (@buildWarmupColors = true) {
224
+ // each(@colors-warmup-map, {
225
+ // .border-color-@{key} {
226
+ // border-color: @value !important;
227
+ // }
228
+ // })
229
+ // }