@rio-cloud/rio-uikit 0.16.1-beta.24 → 0.16.2-beta.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 (292) hide show
  1. package/AutoSuggest.d.ts +6 -5
  2. package/Bar.d.ts +4 -1
  3. package/Carousel.d.ts +2 -0
  4. package/ColorScheme.d.ts +4 -0
  5. package/ColorScheme.js +2 -0
  6. package/Colors.js +1 -1
  7. package/ConfirmationDialog.d.ts +8 -1
  8. package/ContentLoader.d.ts +4 -1
  9. package/ExpanderList.d.ts +5 -5
  10. package/Fade.d.ts +10 -1
  11. package/FilePicker.d.ts +5 -1
  12. package/ListMenu.d.ts +6 -5
  13. package/Map.d.ts +10 -7
  14. package/MediaDialog.d.ts +8 -4
  15. package/MenuItem.d.ts +1 -1
  16. package/Multiselect.d.ts +11 -4
  17. package/NumberControl.d.ts +4 -1
  18. package/NumberInput.d.ts +4 -1
  19. package/OnboardingTip.d.ts +26 -1
  20. package/OverlayTrigger.d.ts +25 -1
  21. package/Popover.d.ts +7 -1
  22. package/Resizer.d.ts +9 -1
  23. package/ResponsiveVideo.d.ts +4 -1
  24. package/RuleConnector.d.ts +5 -1
  25. package/SaveDialog.d.ts +8 -1
  26. package/Select.d.ts +5 -5
  27. package/Sidebar.d.ts +7 -1
  28. package/SimpleDialog.d.ts +8 -1
  29. package/SimpleTooltip.d.ts +25 -1
  30. package/SplitDialog.d.ts +8 -1
  31. package/SteppedProgressBar.d.ts +5 -1
  32. package/Switch.d.ts +4 -1
  33. package/TagManager.d.ts +5 -5
  34. package/Tooltip.d.ts +28 -1
  35. package/components/charts/chartHelper.js +1 -1
  36. package/components/dropdown/ButtonDropdown.js +9 -3
  37. package/components/mapMarker/ClusterMapMarker.js +2 -2
  38. package/components/mapMarker/SingleMapMarker.js +2 -2
  39. package/components/rules/RuleConnector.js +4 -1
  40. package/components/selects/BaseDropdownMenu.js +40 -26
  41. package/components/selects/Multiselect.js +5 -3
  42. package/components/selects/Select.js +7 -5
  43. package/components/sidebars/Sidebar.js +1 -1
  44. package/framer-motion.d.ts +1 -0
  45. package/hooks/useScrollPosition.js +72 -0
  46. package/index.js +4 -1
  47. package/lib/es/AutoSuggest.d.ts +6 -5
  48. package/lib/es/Bar.d.ts +4 -1
  49. package/lib/es/Carousel.d.ts +2 -0
  50. package/lib/es/ColorScheme.d.ts +4 -0
  51. package/lib/es/ColorScheme.js +18 -0
  52. package/lib/es/Colors.js +1 -1
  53. package/lib/es/ConfirmationDialog.d.ts +8 -1
  54. package/lib/es/ContentLoader.d.ts +4 -1
  55. package/lib/es/ExpanderList.d.ts +5 -5
  56. package/lib/es/Fade.d.ts +10 -1
  57. package/lib/es/FilePicker.d.ts +5 -1
  58. package/lib/es/ListMenu.d.ts +6 -5
  59. package/lib/es/Map.d.ts +10 -7
  60. package/lib/es/MediaDialog.d.ts +8 -4
  61. package/lib/es/MenuItem.d.ts +1 -1
  62. package/lib/es/Multiselect.d.ts +11 -4
  63. package/lib/es/NumberControl.d.ts +4 -1
  64. package/lib/es/NumberInput.d.ts +4 -1
  65. package/lib/es/OnboardingTip.d.ts +26 -1
  66. package/lib/es/OverlayTrigger.d.ts +25 -1
  67. package/lib/es/Popover.d.ts +7 -1
  68. package/lib/es/Resizer.d.ts +9 -1
  69. package/lib/es/ResponsiveVideo.d.ts +4 -1
  70. package/lib/es/RuleConnector.d.ts +5 -1
  71. package/lib/es/SaveDialog.d.ts +8 -1
  72. package/lib/es/Select.d.ts +5 -5
  73. package/lib/es/Sidebar.d.ts +7 -1
  74. package/lib/es/SimpleDialog.d.ts +8 -1
  75. package/lib/es/SimpleTooltip.d.ts +25 -1
  76. package/lib/es/SplitDialog.d.ts +8 -1
  77. package/lib/es/SteppedProgressBar.d.ts +5 -1
  78. package/lib/es/Switch.d.ts +4 -1
  79. package/lib/es/TagManager.d.ts +5 -5
  80. package/lib/es/Tooltip.d.ts +28 -1
  81. package/lib/es/components/charts/chartHelper.js +1 -1
  82. package/lib/es/components/dropdown/ButtonDropdown.js +9 -3
  83. package/lib/es/components/mapMarker/ClusterMapMarker.js +2 -2
  84. package/lib/es/components/mapMarker/SingleMapMarker.js +2 -2
  85. package/lib/es/components/rules/RuleConnector.js +4 -1
  86. package/lib/es/components/selects/BaseDropdownMenu.js +40 -26
  87. package/lib/es/components/selects/Multiselect.js +5 -3
  88. package/lib/es/components/selects/Select.js +7 -5
  89. package/lib/es/components/sidebars/Sidebar.js +1 -1
  90. package/lib/es/framer-motion.d.ts +1 -0
  91. package/lib/es/hooks/useScrollPosition.js +80 -0
  92. package/lib/es/index.js +24 -1
  93. package/lib/es/styles/components/Activity.less +9 -10
  94. package/lib/es/styles/components/ApplicationHeader.less +24 -29
  95. package/lib/es/styles/components/ApplicationLayout.less +7 -7
  96. package/lib/es/styles/components/AssetTree.less +30 -28
  97. package/lib/es/styles/components/AutoSuggest.less +2 -2
  98. package/lib/es/styles/components/BottomSheet.less +1 -2
  99. package/lib/es/styles/components/Carousel.less +13 -9
  100. package/lib/es/styles/components/Checkbox.less +15 -16
  101. package/lib/es/styles/components/ClearableInput.less +3 -3
  102. package/lib/es/styles/components/Counter.less +12 -12
  103. package/lib/es/styles/components/DataTabs.less +2 -2
  104. package/lib/es/styles/components/DatePicker.less +27 -27
  105. package/lib/es/styles/components/Dialog.less +15 -11
  106. package/lib/es/styles/components/Dropdown.less +22 -13
  107. package/lib/es/styles/components/Expander.less +7 -7
  108. package/lib/es/styles/components/ListMenu.less +8 -8
  109. package/lib/es/styles/components/MapHere.less +3 -2
  110. package/lib/es/styles/components/MapMarker.less +16 -17
  111. package/lib/es/styles/components/MapSettings.less +5 -5
  112. package/lib/es/styles/components/NoData.less +1 -1
  113. package/lib/es/styles/components/Notification.less +12 -12
  114. package/lib/es/styles/components/RadioButton.less +11 -12
  115. package/lib/es/styles/components/Resizer.less +1 -1
  116. package/lib/es/styles/components/Select.less +21 -32
  117. package/lib/es/styles/components/Sidebar.less +29 -21
  118. package/lib/es/styles/components/Slider.less +18 -18
  119. package/lib/es/styles/components/Spinner.less +6 -6
  120. package/lib/es/styles/components/StatsWidget.less +5 -5
  121. package/lib/es/styles/components/SteppedProgressBar.less +32 -29
  122. package/lib/es/styles/components/SupportMarker.less +1 -1
  123. package/lib/es/styles/components/Switch.less +8 -8
  124. package/lib/es/styles/components/TableSettingsDialog.less +7 -7
  125. package/lib/es/styles/components/TableToolbar.less +1 -1
  126. package/lib/es/styles/components/Tag.less +10 -10
  127. package/lib/es/styles/components/Timeline.less +3 -3
  128. package/lib/es/styles/components/Tooltip.less +10 -10
  129. package/lib/es/styles/design/badges.less +10 -10
  130. package/lib/es/styles/design/border.less +1 -1
  131. package/lib/es/styles/design/breadcrumbs.less +2 -2
  132. package/lib/es/styles/design/button-groups.less +25 -1
  133. package/lib/es/styles/design/buttons.less +53 -109
  134. package/lib/es/styles/design/callouts.less +3 -3
  135. package/lib/es/styles/design/code.less +4 -6
  136. package/lib/es/styles/design/colors.less +20 -20
  137. package/lib/es/styles/design/fonts.less +23 -23
  138. package/lib/es/styles/design/form-input-groups.less +4 -4
  139. package/lib/es/styles/design/form-inputs.less +33 -31
  140. package/lib/es/styles/design/images.less +2 -2
  141. package/lib/es/styles/design/labels.less +11 -11
  142. package/lib/es/styles/design/list-group.less +14 -12
  143. package/lib/es/styles/design/navs.less +27 -27
  144. package/lib/es/styles/design/normalize.less +0 -11
  145. package/lib/es/styles/design/pagination.less +10 -10
  146. package/lib/es/styles/design/panels.less +10 -10
  147. package/lib/es/styles/design/popovers.less +8 -8
  148. package/lib/es/styles/design/progress-bars.less +8 -8
  149. package/lib/es/styles/design/responsive/flexgrid.less +4 -6
  150. package/lib/es/styles/design/responsive/sizing.less +3 -0
  151. package/lib/es/styles/design/shadows.less +14 -7
  152. package/lib/es/styles/design/tables.less +68 -106
  153. package/lib/es/styles/design/text.less +5 -19
  154. package/lib/es/styles/design/theme.less +10 -10
  155. package/lib/es/styles/design/thumbnails.less +2 -2
  156. package/lib/es/styles/design/type.less +4 -4
  157. package/lib/es/styles/design/wells.less +1 -1
  158. package/lib/es/styles/mapping/color-map.less +65 -64
  159. package/lib/es/styles/mixins/_imports.less +14 -0
  160. package/lib/es/styles/mixins/buttons.less +24 -56
  161. package/lib/es/styles/mixins/forms.less +19 -55
  162. package/lib/es/styles/mixins/hsl.less +19 -0
  163. package/lib/es/styles/mixins/panels.less +2 -2
  164. package/lib/es/styles/print/print.less +7 -7
  165. package/lib/es/styles/rio-uikit-core.less +2 -2
  166. package/lib/es/styles/rio-uikit-print-utilities.less +2 -2
  167. package/lib/es/styles/rio-uikit-responsive-utilities.less +2 -2
  168. package/lib/es/styles/variables/_index.less +196 -0
  169. package/lib/es/styles/variables/colors.json +67 -0
  170. package/lib/es/styles/variables/concated_css_variables.less +66 -0
  171. package/lib/es/styles/variables/dark_colors.less +88 -0
  172. package/lib/es/styles/variables/dark_css_variables.less +28 -0
  173. package/lib/es/styles/variables/dark_css_variables_map.less +96 -0
  174. package/lib/es/styles/variables/light_colors.less +92 -0
  175. package/lib/es/styles/variables/light_css_variables.less +17 -0
  176. package/lib/es/styles/variables/light_css_variables_map.less +100 -0
  177. package/lib/es/styles/variables/screens.less +7 -0
  178. package/lib/es/styles/variables/text.less +23 -0
  179. package/lib/es/themes/BuyButton/styles/rio-buyButton.less +13 -8
  180. package/lib/es/themes/MAN/styles/man-uikit.less +3 -0
  181. package/lib/es/themes/SCANIA/styles/scania-uikit.less +3 -0
  182. package/lib/es/themes/Volkswagen/styles/vw-uikit.less +21 -30
  183. package/lib/es/themes/Website/styles/rio-website.less +145 -120
  184. package/lib/es/themes/Xmas/styles/rio-xmas.less +59 -29
  185. package/lib/es/types.ts +20 -16
  186. package/lib/es/useScrollPosition.d.ts +4 -0
  187. package/lib/es/{BoxConnector.js → useScrollPosition.js} +2 -2
  188. package/lib/es/utils/colorScheme.js +57 -0
  189. package/lib/es/utils/init.js +2 -0
  190. package/lib/es/version.json +1 -1
  191. package/package.json +6 -4
  192. package/styles/components/Activity.less +9 -10
  193. package/styles/components/ApplicationHeader.less +24 -29
  194. package/styles/components/ApplicationLayout.less +7 -7
  195. package/styles/components/AssetTree.less +30 -28
  196. package/styles/components/AutoSuggest.less +2 -2
  197. package/styles/components/BottomSheet.less +1 -2
  198. package/styles/components/Carousel.less +13 -9
  199. package/styles/components/Checkbox.less +15 -16
  200. package/styles/components/ClearableInput.less +3 -3
  201. package/styles/components/Counter.less +12 -12
  202. package/styles/components/DataTabs.less +2 -2
  203. package/styles/components/DatePicker.less +27 -27
  204. package/styles/components/Dialog.less +15 -11
  205. package/styles/components/Dropdown.less +22 -13
  206. package/styles/components/Expander.less +7 -7
  207. package/styles/components/ListMenu.less +8 -8
  208. package/styles/components/MapHere.less +3 -2
  209. package/styles/components/MapMarker.less +16 -17
  210. package/styles/components/MapSettings.less +5 -5
  211. package/styles/components/NoData.less +1 -1
  212. package/styles/components/Notification.less +12 -12
  213. package/styles/components/RadioButton.less +11 -12
  214. package/styles/components/Resizer.less +1 -1
  215. package/styles/components/Select.less +21 -32
  216. package/styles/components/Sidebar.less +29 -21
  217. package/styles/components/Slider.less +18 -18
  218. package/styles/components/Spinner.less +6 -6
  219. package/styles/components/StatsWidget.less +5 -5
  220. package/styles/components/SteppedProgressBar.less +32 -29
  221. package/styles/components/SupportMarker.less +1 -1
  222. package/styles/components/Switch.less +8 -8
  223. package/styles/components/TableSettingsDialog.less +7 -7
  224. package/styles/components/TableToolbar.less +1 -1
  225. package/styles/components/Tag.less +10 -10
  226. package/styles/components/Timeline.less +3 -3
  227. package/styles/components/Tooltip.less +10 -10
  228. package/styles/design/badges.less +10 -10
  229. package/styles/design/border.less +1 -1
  230. package/styles/design/breadcrumbs.less +2 -2
  231. package/styles/design/button-groups.less +25 -1
  232. package/styles/design/buttons.less +53 -109
  233. package/styles/design/callouts.less +3 -3
  234. package/styles/design/code.less +4 -6
  235. package/styles/design/colors.less +20 -20
  236. package/styles/design/fonts.less +23 -23
  237. package/styles/design/form-input-groups.less +4 -4
  238. package/styles/design/form-inputs.less +33 -31
  239. package/styles/design/images.less +2 -2
  240. package/styles/design/labels.less +11 -11
  241. package/styles/design/list-group.less +14 -12
  242. package/styles/design/navs.less +27 -27
  243. package/styles/design/normalize.less +0 -11
  244. package/styles/design/pagination.less +10 -10
  245. package/styles/design/panels.less +10 -10
  246. package/styles/design/popovers.less +8 -8
  247. package/styles/design/progress-bars.less +8 -8
  248. package/styles/design/responsive/flexgrid.less +4 -6
  249. package/styles/design/responsive/sizing.less +3 -0
  250. package/styles/design/shadows.less +14 -7
  251. package/styles/design/tables.less +68 -106
  252. package/styles/design/text.less +5 -19
  253. package/styles/design/theme.less +10 -10
  254. package/styles/design/thumbnails.less +2 -2
  255. package/styles/design/type.less +4 -4
  256. package/styles/design/wells.less +1 -1
  257. package/styles/mapping/color-map.less +65 -64
  258. package/styles/mixins/_imports.less +14 -0
  259. package/styles/mixins/buttons.less +24 -56
  260. package/styles/mixins/forms.less +19 -55
  261. package/styles/mixins/hsl.less +19 -0
  262. package/styles/mixins/panels.less +2 -2
  263. package/styles/print/print.less +7 -7
  264. package/styles/rio-uikit-core.less +2 -2
  265. package/styles/rio-uikit-print-utilities.less +2 -2
  266. package/styles/rio-uikit-responsive-utilities.less +2 -2
  267. package/styles/variables/_index.less +196 -0
  268. package/styles/variables/colors.json +67 -0
  269. package/styles/variables/concated_css_variables.less +66 -0
  270. package/styles/variables/dark_colors.less +88 -0
  271. package/styles/variables/dark_css_variables.less +28 -0
  272. package/styles/variables/dark_css_variables_map.less +96 -0
  273. package/styles/variables/light_colors.less +92 -0
  274. package/styles/variables/light_css_variables.less +17 -0
  275. package/styles/variables/light_css_variables_map.less +100 -0
  276. package/styles/variables/screens.less +7 -0
  277. package/styles/variables/text.less +23 -0
  278. package/themes/BuyButton/styles/rio-buyButton.less +13 -8
  279. package/themes/MAN/styles/man-uikit.less +3 -0
  280. package/themes/SCANIA/styles/scania-uikit.less +3 -0
  281. package/themes/Volkswagen/styles/vw-uikit.less +21 -30
  282. package/themes/Website/styles/rio-website.less +145 -120
  283. package/themes/Xmas/styles/rio-xmas.less +59 -29
  284. package/types.ts +20 -16
  285. package/useScrollPosition.d.ts +4 -0
  286. package/useScrollPosition.js +2 -0
  287. package/utils/colorScheme.js +48 -0
  288. package/utils/init.js +2 -0
  289. package/version.json +1 -1
  290. package/BoxConnector.js +0 -2
  291. package/components/boxConnector/BoxConnector.js +0 -40
  292. package/lib/es/components/boxConnector/BoxConnector.js +0 -48
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  .placeholder {
9
- color: @gray;
9
+ color: var(--gray);
10
10
  }
11
11
 
12
12
  .dropdown-toggle {
@@ -21,7 +21,7 @@
21
21
  background: @input-bg-disabled;
22
22
 
23
23
  .caret {
24
- color: @gray;
24
+ color: var(--gray);
25
25
  }
26
26
 
27
27
  > .selected-option-list {
@@ -33,18 +33,18 @@
33
33
 
34
34
  .selected-option {
35
35
  .selected-label {
36
- background-color: @gray-light;
37
- border-color: @gray-light;
38
- color: @gray-lightest !important;
36
+ background-color: var(--gray-light);
37
+ border-color: var(--gray-light);
38
+ color: var(--gray-lightest) !important;
39
39
  }
40
40
 
41
41
  .rioglyph {
42
- color: @gray-lightest !important;
42
+ color: var(--gray-lightest) !important;
43
43
  }
44
44
 
45
45
  .removeIcon {
46
- background-color: darken(@gray-light, 3%);
47
- color: @gray-lighter;
46
+ background-color: .hslb(@gray-light-hsl, '-', '3%')[@result];
47
+ color: var(--gray-lighter);
48
48
  }
49
49
  }
50
50
  }
@@ -68,23 +68,13 @@
68
68
  white-space: nowrap;
69
69
  width: 100%;
70
70
 
71
- // &:after {
72
- // content: "";
73
- // position: absolute;
74
- // top: 0;
75
- // right: 0;
76
- // width: 8px;
77
- // height: 100%;
78
- // background-image: linear-gradient(90deg, rgba(255,255,255,0), @input-bg);
79
- // }
80
-
81
71
  > .selected-option {
82
72
  border-radius: @border-radius-sm;
83
- color: @color-white !important;
73
+ color: var(--color-white) !important;
84
74
  display: flex;
85
75
 
86
76
  .rioglyph {
87
- color: @color-white !important;
77
+ color: var(--color-white) !important;
88
78
  }
89
79
 
90
80
  > .selected-label {
@@ -97,7 +87,7 @@
97
87
 
98
88
  > .removeIcon {
99
89
  align-items: center;
100
- background-color: lighten(@brand-primary, 3%);
90
+ background-color: .hslb(@brand-primary-hsl, '+', '3%')[@result];
101
91
  border-bottom-right-radius: @border-radius-sm;
102
92
  border-top-right-radius: @border-radius-sm;
103
93
  display: flex;
@@ -130,13 +120,13 @@
130
120
  width: calc(~"100% - 30px");
131
121
 
132
122
  &-active {
133
- background-color: @color-white;
123
+ background-color: var(--color-white);
134
124
  }
135
125
  }
136
126
 
137
127
  > .clearButton {
138
128
  align-items: center;
139
- color: @gray;
129
+ color: var(--gray);
140
130
  cursor: pointer;
141
131
  display: flex;
142
132
  height: 100%;
@@ -162,17 +152,21 @@
162
152
  .dropdown-menu {
163
153
  max-height: @dropdown-max-height;
164
154
  overflow-x: hidden;
165
- width: 100%; // not on dropdowns, only on selects
166
155
 
167
156
  svg {
168
157
  margin-right: 0.5em;
169
158
  vertical-align: middle;
170
159
  }
171
160
 
161
+ &.pull-right {
162
+ left: auto !important;
163
+ right: 0 !important;
164
+ }
165
+
172
166
  > li {
173
167
  > a.focus {
174
168
  text-decoration: none;
175
- color: @color-white;
169
+ color: var(--color-white);
176
170
  background-color: @brand-primary;
177
171
  }
178
172
 
@@ -189,11 +183,6 @@
189
183
  }
190
184
  }
191
185
 
192
- &.pull-right {
193
- left: auto !important;
194
- right: 0 !important;
195
- }
196
-
197
186
  &.dropup.open .dropdown-menu {
198
187
  bottom: 0;
199
188
  left: 0;
@@ -210,7 +199,7 @@
210
199
 
211
200
  .inactiveIcon {
212
201
  .rioglyph, span {
213
- color: @gray-light!important;
202
+ color: var(--gray-light)!important;
214
203
  }
215
204
  }
216
205
  }
@@ -281,7 +270,7 @@ select {
281
270
  background: transparent;
282
271
 
283
272
  &-active {
284
- background-color: @color-white;
273
+ background-color: var(--color-white);
285
274
  }
286
275
  }
287
276
  .multiselect-filter-input-placeholder {
@@ -1,9 +1,7 @@
1
- @sidebar-shadow-color: rgba(0, 0, 0, 0.10);
2
-
3
1
  .Sidebar {
4
2
  position: relative;
5
3
  height: 100%;
6
- background-color: @color-white;
4
+ background-color: var(--color-white);
7
5
  max-width: 100vw;
8
6
 
9
7
  &Content {
@@ -23,10 +21,11 @@
23
21
  position: relative;
24
22
 
25
23
  &.show-border {
26
- border-bottom: 1px solid @gray-light;
24
+ border-bottom: 1px solid var(--gray-light);
27
25
  }
28
26
 
29
27
  .SidebarTitle {
28
+ color: var(--color-black);
30
29
  flex: 1 1 auto;
31
30
  }
32
31
 
@@ -47,7 +46,7 @@
47
46
  }
48
47
 
49
48
  &-spacer {
50
- background-color: @gray-lighter;
49
+ background-color: var(--gray-lighter);
51
50
  height: 14px;
52
51
  width: 1.5px;
53
52
  margin: 0 5px;
@@ -72,21 +71,25 @@
72
71
  }
73
72
 
74
73
  &Footer {
75
- background: @color-white;
76
- border-top: 1px solid @gray-lighter;
74
+ background: var(--color-white);
75
+ border-top: 1px solid var(--gray-lighter);
77
76
  padding: 10px;
78
77
  position: relative;
79
78
  text-align: right;
80
79
 
81
80
  &:before {
82
- background: linear-gradient(0deg, rgba(255,255,255,1), rgba(255,255,255,0));
83
- content: "";
84
- height: 20px;
85
- left: 0;
86
- pointer-events: none;
87
- position: absolute;
88
- top: -21px;
89
- width: 100%;
81
+ content: "";
82
+ height: 20px;
83
+ left: 0;
84
+ pointer-events: none;
85
+ position: absolute;
86
+ top: -21px;
87
+ width: 100%;
88
+ background: linear-gradient(
89
+ 0deg,
90
+ .hsla(@color-white-hsl, 1.0)[@result],
91
+ .hsla(@color-white-hsl, 0)[@result],
92
+ );
90
93
  }
91
94
  }
92
95
 
@@ -104,13 +107,12 @@
104
107
  position: absolute;
105
108
  height: 100%;
106
109
  width: 0px;
107
- border: 1px dashed @gray-darkest;
110
+ border: 1px dashed var(--gray-darkest);
108
111
  opacity: 0.2;
109
112
  pointer-events: none;
110
113
  }
111
114
 
112
115
  &.fluid {
113
-
114
116
  // shadow layering order
115
117
  &:not(.closed) {
116
118
  position: relative;
@@ -126,12 +128,12 @@
126
128
  .ApplicationLayoutSidebar:not(.right) & {
127
129
  float: left;
128
130
  left: 0;
129
- box-shadow: 1px 0 0 0 @gray-light;
131
+ box-shadow: 1px 0 0 0 var(--gray-light);
130
132
  }
131
133
 
132
134
  .ApplicationLayoutSidebar.right & {
133
135
  float: right;
134
- box-shadow: -1px 0 0 0 @gray-light;
136
+ box-shadow: -1px 0 0 0 var(--gray-light);
135
137
  }
136
138
 
137
139
  }
@@ -141,12 +143,12 @@
141
143
  top: 0;
142
144
 
143
145
  .ApplicationLayoutSidebar:not(.right) & {
144
- box-shadow: 5px 5px 5px 0 @sidebar-shadow-color;
146
+ box-shadow: 5px 5px 5px 0 .hsla(@always-color-black-hsl, 0.1)[@result];
145
147
  left: 0;
146
148
  }
147
149
 
148
150
  .ApplicationLayoutSidebar.right & {
149
- box-shadow: -5px 5px 5px 0 @sidebar-shadow-color;
151
+ box-shadow: -5px 5px 5px 0 .hsla(@always-color-black-hsl, 0.1)[@result];
150
152
  right: 0;
151
153
  }
152
154
  }
@@ -155,3 +157,9 @@
155
157
  display: none;
156
158
  }
157
159
  }
160
+
161
+ .SidebarBackdrop {
162
+ &.sidebar-backdrop-bg {
163
+ background: .hsla(@always-color-black-hsl, 0.6)[@result];
164
+ }
165
+ }
@@ -9,7 +9,7 @@
9
9
  pointer-events: auto;
10
10
  position: absolute;
11
11
  -webkit-appearance: none;
12
- -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
12
+ -webkit-tap-highlight-color: .hsla(@color-white-hsl, 0)[@result];
13
13
  border: none;
14
14
  border-radius: 2px;
15
15
  background: transparent;
@@ -97,7 +97,7 @@
97
97
 
98
98
  .range-track {
99
99
  height: 4px;
100
- background: @brand-primary;
100
+ background: var(--brand-primary);
101
101
  border-radius: 2px;
102
102
  top: 7px;
103
103
  position: absolute;
@@ -106,15 +106,15 @@
106
106
  position: absolute;
107
107
  bottom: calc(~"100% + 10px");
108
108
  text-align: center;
109
- background: @brand-primary;
109
+ background: var(--brand-primary);
110
110
  padding: 2px 5px;
111
111
  font-size: 12px;
112
112
  line-height: 12px;
113
113
  border-radius: 2px;
114
- color: @color-white;
114
+ color: var(--color-white);
115
115
 
116
116
  &:before {
117
- border-color: @brand-primary transparent transparent;
117
+ border-color: var(--brand-primary) transparent transparent;
118
118
  border-style: solid;
119
119
  border-width: 4px 4px 0 4px;
120
120
  bottom: 0;
@@ -127,9 +127,9 @@
127
127
  }
128
128
 
129
129
  &:after {
130
- background: @color-white;
130
+ background: var(--color-white);
131
131
  border-radius: 9px;
132
- border: 2px solid @brand-primary;
132
+ border: 2px solid var(--brand-primary);
133
133
  bottom: -16px;
134
134
  content: "";
135
135
  height: 9px;
@@ -189,7 +189,7 @@
189
189
  position: absolute;
190
190
  border: none;
191
191
  border-radius: 2px;
192
- background: @gray-lighter;
192
+ background: var(--gray-lighter);
193
193
  width: 100%;
194
194
  height: 4px;
195
195
  top: 7px;
@@ -201,29 +201,29 @@
201
201
  input[type="range"] {
202
202
  // webkit
203
203
  &::-webkit-slider-thumb {
204
- border-color: @gray;
204
+ border-color: var(--gray);
205
205
  pointer-events: none;
206
206
  }
207
207
 
208
208
  // moz
209
209
  &::-moz-range-track {
210
- border-color: @gray;
210
+ border-color: var(--gray);
211
211
  pointer-events: none;
212
212
  }
213
213
 
214
214
  &::-moz-range-thumb {
215
- border-color: @gray;
215
+ border-color: var(--gray);
216
216
  pointer-events: none;
217
217
  }
218
218
 
219
219
  // ms
220
220
  &::-ms-track {
221
- border-color: @gray;
221
+ border-color: var(--gray);
222
222
  pointer-events: none;
223
223
  }
224
224
 
225
225
  &::-ms-thumb {
226
- border-color: @gray;
226
+ border-color: var(--gray);
227
227
  pointer-events: none;
228
228
  }
229
229
  }
@@ -237,14 +237,14 @@
237
237
  }
238
238
 
239
239
  .range-track {
240
- background-color: @gray;
240
+ background-color: var(--gray);
241
241
  }
242
242
 
243
243
  .range-value {
244
- background: @gray;
244
+ background: var(--gray);
245
245
 
246
246
  &:before {
247
- border-color: @gray transparent transparent;
247
+ border-color: var(--gray) transparent transparent;
248
248
  }
249
249
  }
250
250
  }
@@ -266,9 +266,9 @@
266
266
  position: relative;
267
267
  width: 14px;
268
268
  height: 14px;
269
- border: 2px solid @brand-primary;
269
+ border: 2px solid var(--brand-primary);
270
270
  border-radius: 14px;
271
- background: @color-white;
271
+ background: var(--color-white);
272
272
  outline: 0;
273
273
  cursor: ew-resize;
274
274
 
@@ -1,15 +1,15 @@
1
1
  .spinner {
2
- .spinnerMixin(20, @brand-primary);
2
+ .spinnerMixin(20, var(--brand-primary));
3
3
 
4
4
  &.inverse {
5
- .spinnerMixin(20, @color-white);
5
+ .spinnerMixin(20, var(--color-white));
6
6
  }
7
7
 
8
8
  &.double {
9
- .spinnerMixin(30, @brand-primary);
9
+ .spinnerMixin(30, var(--brand-primary));
10
10
 
11
11
  &.inverse {
12
- .spinnerMixin(30, @color-white);
12
+ .spinnerMixin(30, var(--color-white));
13
13
  }
14
14
  }
15
15
  }
@@ -22,11 +22,11 @@
22
22
  gap: 10px;
23
23
 
24
24
  &.inverse {
25
- color: @color-white;
25
+ color: var(--color-white);
26
26
  }
27
27
 
28
28
  &.fullscreen, &.fullsized {
29
- background: rgba(255,255,255,.85);
29
+ background: .hsla(@color-white-hsl, 0.85)[@result];
30
30
  bottom: 0;
31
31
  left: 0;
32
32
  padding: 0 5%;
@@ -15,9 +15,9 @@
15
15
  }
16
16
 
17
17
  .StatsWidget {
18
- background: @color-white;
18
+ background: var(--color-white);
19
19
  border-radius: @border-radius-default;
20
- border: 1px solid @gray-light;
20
+ border: 1px solid var(--gray-light);
21
21
  flex: 1 1 auto;
22
22
  position: relative;
23
23
  user-select: none;
@@ -28,7 +28,7 @@
28
28
  text-align: center;
29
29
 
30
30
  &:after {
31
- background: @gray-lightest;
31
+ background: var(--gray-lighter);
32
32
  content: '';
33
33
  display: block;
34
34
  height: 2px;
@@ -86,7 +86,7 @@
86
86
  }
87
87
 
88
88
  .StatsWidgetNumber-label {
89
- color: @gray-darkest;
89
+ color: var(--gray-darkest);
90
90
  text-align: center;
91
91
 
92
92
  @media (max-width: @screen-sm) { font-size: 22px * 0.65 }
@@ -100,7 +100,7 @@
100
100
  height: 20px;
101
101
 
102
102
  &:not(.invisible) {
103
- background: @gray-lighter;
103
+ background: var(--gray-lighter);
104
104
  margin: 0 5px;
105
105
  }
106
106
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  @roadsign-size: 50px;
6
6
  @roadsign-arrow-color: escape('@{gray-lighter}');
7
- @roadsign-svg-color: escape('@{color-white}');
7
+ @roadsign-svg-color: escape('transparent');
8
8
  @roadsign-svg-active-color: escape('@{color-highlight-decent}');
9
9
 
10
10
  .stepped-progress-bar {
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  &:before {
21
- background-color: @gray-light;
21
+ background-color: var(--gray-light);
22
22
  content: "";
23
23
  height: 2px;
24
24
  left: @circle-tab-size * 0.5;
@@ -51,9 +51,9 @@
51
51
  }
52
52
 
53
53
  .step-tab {
54
- background: @color-white;
54
+ background: var(--color-white);
55
55
  border-radius: @circle-tab-border-radius;
56
- border: 1px solid @gray;
56
+ border: 1px solid var(--gray);
57
57
  font-weight: @font-normal;
58
58
  height: @circle-tab-size;
59
59
  min-width: @circle-tab-size;
@@ -76,7 +76,7 @@
76
76
  text-align: center;
77
77
 
78
78
  .item-icon {
79
- color: @brand-primary;
79
+ color: var(--brand-primary);
80
80
  height: @circle-tab-size;
81
81
  line-height: @circle-tab-size * 0.9;
82
82
  margin-bottom: @circle-tab-size * 0.4;
@@ -88,7 +88,7 @@
88
88
  }
89
89
 
90
90
  .item-label {
91
- color: @brand-primary;
91
+ color: var(--brand-primary);
92
92
  font-size: 16px;
93
93
  left: 50%;
94
94
  position: relative;
@@ -108,11 +108,11 @@
108
108
  }
109
109
 
110
110
  &:hover:not(.disabled) {
111
- background-color: @brand-primary;
112
- border-color: @brand-primary;
111
+ background-color: var(--brand-primary);
112
+ border-color: var(--brand-primary);
113
113
 
114
114
  .item-icon {
115
- color: @color-white;
115
+ color: var(--color-white);
116
116
  }
117
117
 
118
118
  .item-label {
@@ -121,12 +121,12 @@
121
121
  }
122
122
 
123
123
  &.active {
124
- color: @color-white;
125
- border-color: @brand-primary;
126
- background-color: @brand-primary;
124
+ color: var(--color-white);
125
+ border-color: var(--brand-primary);
126
+ background-color: var(--brand-primary);
127
127
 
128
128
  .item-icon {
129
- color: @color-white;
129
+ color: var(--color-white);
130
130
  }
131
131
 
132
132
  .item-label {
@@ -135,15 +135,15 @@
135
135
  }
136
136
 
137
137
  &.disabled {
138
- border-color: @gray;
139
- background-color: @color-white;
138
+ border-color: var(--gray);
139
+ background-color: var(--color-white);
140
140
 
141
141
  .item-icon {
142
- color: @gray;
142
+ color: var(--gray);
143
143
  }
144
144
 
145
145
  .item-label {
146
- color: @gray;
146
+ color: var(--gray);
147
147
  }
148
148
  }
149
149
  }
@@ -154,8 +154,8 @@
154
154
 
155
155
  .step-tab {
156
156
  align-items: center;
157
- background: @color-white;
158
- border: 1px solid @gray-light;
157
+ background: var(--color-white);
158
+ border: 1px solid var(--gray-light);
159
159
  border-radius: @border-radius-default;
160
160
  display: flex;
161
161
  justify-content: center;
@@ -180,17 +180,18 @@
180
180
  }
181
181
 
182
182
  &.active {
183
- border-color: @brand-primary;
183
+ border-color: var(--brand-primary);
184
184
  }
185
185
 
186
186
  &.disabled {
187
- background-color: @gray-lightest;
188
- color: @gray;
187
+ background-color: var(--gray-lightest);
188
+ color: var(--gray);
189
189
  }
190
190
  }
191
191
  }
192
192
 
193
193
  &.variant-roadsign {
194
+ background: var(--color-white);
194
195
  @media (min-width: @screen-sm) {
195
196
  &:before {
196
197
  display: none;
@@ -199,7 +200,7 @@
199
200
 
200
201
  .step-tab {
201
202
  align-items: center;
202
- background: @color-white;
203
+ background: var(--color-white);
203
204
  display: flex;
204
205
  flex: 1 1 0;
205
206
  justify-content: center;
@@ -226,14 +227,14 @@
226
227
  }
227
228
 
228
229
  &.active {
229
- color: @brand-primary;
230
+ color: var(--brand-primary);
230
231
  font-weight: @font-medium;
231
232
  }
232
233
 
233
234
  &.disabled {
234
- border-color: @gray;
235
- background-color: @color-white;
236
- color: @gray;
235
+ border-color: var(--gray);
236
+ background-color: var(--color-white);
237
+ color: var(--gray);
237
238
  }
238
239
 
239
240
  &:after {
@@ -246,14 +247,16 @@
246
247
  right: 0;
247
248
  background-size: 100% 100%;
248
249
  background-repeat: no-repeat;
249
- background-color: @gray-lighter;
250
+ //background-color: var(--gray-lighter);
250
251
  background-image: url(~"data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2250%22%20height%3D%22100%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20fill%3D%22@{roadsign-svg-color}%22%20d%3D%22M0%200h50v100H0z%22%2F%3E%3Cpath%20d%3D%22M10%200l40.04%2050L10%20100l-9.999-.001L40%2050%200%200h10z%22%20fill%3D%22@{roadsign-arrow-color}%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
251
252
  }
252
253
 
253
254
  &:last-child {
255
+ padding-left: 15px;
256
+ padding-right: 15px;
257
+
254
258
  &:after {
255
259
  display: none;
256
- padding-right: 0;
257
260
  }
258
261
  }
259
262
  }
@@ -5,7 +5,7 @@
5
5
 
6
6
  &:before {
7
7
  background-color: @brand-info;
8
- color: @color-white;
8
+ color: var(--color-white);
9
9
  content: attr(data-support);
10
10
  display: block;
11
11
  hyphens: auto;