@rio-cloud/rio-uikit 0.16.1 → 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.
- package/ColorScheme.d.ts +4 -0
- package/ColorScheme.js +2 -0
- package/Colors.js +1 -1
- package/components/charts/chartHelper.js +1 -1
- package/components/mapMarker/ClusterMapMarker.js +2 -2
- package/components/mapMarker/SingleMapMarker.js +2 -2
- package/components/sidebars/Sidebar.js +1 -1
- package/hooks/useScrollPosition.js +72 -0
- package/index.js +4 -1
- package/lib/es/ColorScheme.d.ts +4 -0
- package/lib/es/ColorScheme.js +18 -0
- package/lib/es/Colors.js +1 -1
- package/lib/es/components/charts/chartHelper.js +1 -1
- package/lib/es/components/mapMarker/ClusterMapMarker.js +2 -2
- package/lib/es/components/mapMarker/SingleMapMarker.js +2 -2
- package/lib/es/components/sidebars/Sidebar.js +1 -1
- package/lib/es/hooks/useScrollPosition.js +80 -0
- package/lib/es/index.js +24 -1
- package/lib/es/styles/components/Activity.less +9 -10
- package/lib/es/styles/components/ApplicationHeader.less +24 -29
- package/lib/es/styles/components/ApplicationLayout.less +7 -7
- package/lib/es/styles/components/AssetTree.less +30 -28
- package/lib/es/styles/components/AutoSuggest.less +2 -2
- package/lib/es/styles/components/BottomSheet.less +1 -2
- package/lib/es/styles/components/Carousel.less +13 -9
- package/lib/es/styles/components/Checkbox.less +15 -16
- package/lib/es/styles/components/ClearableInput.less +3 -3
- package/lib/es/styles/components/Counter.less +12 -12
- package/lib/es/styles/components/DataTabs.less +2 -2
- package/lib/es/styles/components/DatePicker.less +27 -27
- package/lib/es/styles/components/Dialog.less +15 -11
- package/lib/es/styles/components/Dropdown.less +11 -11
- package/lib/es/styles/components/Expander.less +7 -7
- package/lib/es/styles/components/ListMenu.less +8 -8
- package/lib/es/styles/components/MapHere.less +3 -2
- package/lib/es/styles/components/MapMarker.less +16 -17
- package/lib/es/styles/components/MapSettings.less +5 -5
- package/lib/es/styles/components/NoData.less +1 -1
- package/lib/es/styles/components/Notification.less +12 -12
- package/lib/es/styles/components/RadioButton.less +11 -12
- package/lib/es/styles/components/Resizer.less +1 -1
- package/lib/es/styles/components/Select.less +16 -26
- package/lib/es/styles/components/Sidebar.less +29 -21
- package/lib/es/styles/components/Slider.less +18 -18
- package/lib/es/styles/components/Spinner.less +6 -6
- package/lib/es/styles/components/StatsWidget.less +5 -5
- package/lib/es/styles/components/SteppedProgressBar.less +32 -29
- package/lib/es/styles/components/SupportMarker.less +1 -1
- package/lib/es/styles/components/Switch.less +8 -8
- package/lib/es/styles/components/TableSettingsDialog.less +7 -7
- package/lib/es/styles/components/TableToolbar.less +1 -1
- package/lib/es/styles/components/Tag.less +10 -10
- package/lib/es/styles/components/Timeline.less +3 -3
- package/lib/es/styles/components/Tooltip.less +10 -10
- package/lib/es/styles/design/badges.less +10 -10
- package/lib/es/styles/design/border.less +1 -1
- package/lib/es/styles/design/breadcrumbs.less +2 -2
- package/lib/es/styles/design/button-groups.less +25 -1
- package/lib/es/styles/design/buttons.less +53 -109
- package/lib/es/styles/design/callouts.less +3 -3
- package/lib/es/styles/design/code.less +4 -6
- package/lib/es/styles/design/colors.less +20 -20
- package/lib/es/styles/design/form-input-groups.less +4 -4
- package/lib/es/styles/design/form-inputs.less +33 -31
- package/lib/es/styles/design/images.less +2 -2
- package/lib/es/styles/design/labels.less +11 -11
- package/lib/es/styles/design/list-group.less +14 -12
- package/lib/es/styles/design/navs.less +27 -27
- package/lib/es/styles/design/normalize.less +0 -9
- package/lib/es/styles/design/pagination.less +10 -10
- package/lib/es/styles/design/panels.less +10 -10
- package/lib/es/styles/design/popovers.less +8 -8
- package/lib/es/styles/design/progress-bars.less +8 -8
- package/lib/es/styles/design/shadows.less +14 -7
- package/lib/es/styles/design/tables.less +68 -106
- package/lib/es/styles/design/text.less +5 -19
- package/lib/es/styles/design/theme.less +10 -10
- package/lib/es/styles/design/thumbnails.less +2 -2
- package/lib/es/styles/design/type.less +4 -4
- package/lib/es/styles/design/wells.less +1 -1
- package/lib/es/styles/mapping/color-map.less +65 -64
- package/lib/es/styles/mixins/_imports.less +14 -0
- package/lib/es/styles/mixins/buttons.less +24 -56
- package/lib/es/styles/mixins/forms.less +19 -55
- package/lib/es/styles/mixins/hsl.less +19 -0
- package/lib/es/styles/mixins/panels.less +2 -2
- package/lib/es/styles/print/print.less +7 -7
- package/lib/es/styles/rio-uikit-core.less +2 -2
- package/lib/es/styles/rio-uikit-print-utilities.less +2 -2
- package/lib/es/styles/rio-uikit-responsive-utilities.less +2 -2
- package/lib/es/styles/variables/_index.less +196 -0
- package/lib/es/styles/variables/colors.json +67 -0
- package/lib/es/styles/variables/concated_css_variables.less +66 -0
- package/lib/es/styles/variables/dark_colors.less +88 -0
- package/lib/es/styles/variables/dark_css_variables.less +28 -0
- package/lib/es/styles/variables/dark_css_variables_map.less +96 -0
- package/lib/es/styles/variables/light_colors.less +92 -0
- package/lib/es/styles/variables/light_css_variables.less +17 -0
- package/lib/es/styles/variables/light_css_variables_map.less +100 -0
- package/lib/es/styles/variables/screens.less +7 -0
- package/lib/es/styles/variables/text.less +23 -0
- package/lib/es/themes/BuyButton/styles/rio-buyButton.less +13 -8
- package/lib/es/themes/MAN/styles/man-uikit.less +3 -0
- package/lib/es/themes/SCANIA/styles/scania-uikit.less +3 -0
- package/lib/es/themes/Volkswagen/styles/vw-uikit.less +21 -30
- package/lib/es/themes/Website/styles/rio-website.less +145 -120
- package/lib/es/themes/Xmas/styles/rio-xmas.less +59 -29
- package/lib/es/types.ts +4 -0
- package/lib/es/useScrollPosition.d.ts +4 -0
- package/lib/es/useScrollPosition.js +13 -0
- package/lib/es/utils/colorScheme.js +57 -0
- package/lib/es/utils/init.js +2 -0
- package/lib/es/version.json +1 -1
- package/package.json +4 -3
- package/styles/components/Activity.less +9 -10
- package/styles/components/ApplicationHeader.less +24 -29
- package/styles/components/ApplicationLayout.less +7 -7
- package/styles/components/AssetTree.less +30 -28
- package/styles/components/AutoSuggest.less +2 -2
- package/styles/components/BottomSheet.less +1 -2
- package/styles/components/Carousel.less +13 -9
- package/styles/components/Checkbox.less +15 -16
- package/styles/components/ClearableInput.less +3 -3
- package/styles/components/Counter.less +12 -12
- package/styles/components/DataTabs.less +2 -2
- package/styles/components/DatePicker.less +27 -27
- package/styles/components/Dialog.less +15 -11
- package/styles/components/Dropdown.less +11 -11
- package/styles/components/Expander.less +7 -7
- package/styles/components/ListMenu.less +8 -8
- package/styles/components/MapHere.less +3 -2
- package/styles/components/MapMarker.less +16 -17
- package/styles/components/MapSettings.less +5 -5
- package/styles/components/NoData.less +1 -1
- package/styles/components/Notification.less +12 -12
- package/styles/components/RadioButton.less +11 -12
- package/styles/components/Resizer.less +1 -1
- package/styles/components/Select.less +16 -26
- package/styles/components/Sidebar.less +29 -21
- package/styles/components/Slider.less +18 -18
- package/styles/components/Spinner.less +6 -6
- package/styles/components/StatsWidget.less +5 -5
- package/styles/components/SteppedProgressBar.less +32 -29
- package/styles/components/SupportMarker.less +1 -1
- package/styles/components/Switch.less +8 -8
- package/styles/components/TableSettingsDialog.less +7 -7
- package/styles/components/TableToolbar.less +1 -1
- package/styles/components/Tag.less +10 -10
- package/styles/components/Timeline.less +3 -3
- package/styles/components/Tooltip.less +10 -10
- package/styles/design/badges.less +10 -10
- package/styles/design/border.less +1 -1
- package/styles/design/breadcrumbs.less +2 -2
- package/styles/design/button-groups.less +25 -1
- package/styles/design/buttons.less +53 -109
- package/styles/design/callouts.less +3 -3
- package/styles/design/code.less +4 -6
- package/styles/design/colors.less +20 -20
- package/styles/design/form-input-groups.less +4 -4
- package/styles/design/form-inputs.less +33 -31
- package/styles/design/images.less +2 -2
- package/styles/design/labels.less +11 -11
- package/styles/design/list-group.less +14 -12
- package/styles/design/navs.less +27 -27
- package/styles/design/normalize.less +0 -9
- package/styles/design/pagination.less +10 -10
- package/styles/design/panels.less +10 -10
- package/styles/design/popovers.less +8 -8
- package/styles/design/progress-bars.less +8 -8
- package/styles/design/shadows.less +14 -7
- package/styles/design/tables.less +68 -106
- package/styles/design/text.less +5 -19
- package/styles/design/theme.less +10 -10
- package/styles/design/thumbnails.less +2 -2
- package/styles/design/type.less +4 -4
- package/styles/design/wells.less +1 -1
- package/styles/mapping/color-map.less +65 -64
- package/styles/mixins/_imports.less +14 -0
- package/styles/mixins/buttons.less +24 -56
- package/styles/mixins/forms.less +19 -55
- package/styles/mixins/hsl.less +19 -0
- package/styles/mixins/panels.less +2 -2
- package/styles/print/print.less +7 -7
- package/styles/rio-uikit-core.less +2 -2
- package/styles/rio-uikit-print-utilities.less +2 -2
- package/styles/rio-uikit-responsive-utilities.less +2 -2
- package/styles/variables/_index.less +196 -0
- package/styles/variables/colors.json +67 -0
- package/styles/variables/concated_css_variables.less +66 -0
- package/styles/variables/dark_colors.less +88 -0
- package/styles/variables/dark_css_variables.less +28 -0
- package/styles/variables/dark_css_variables_map.less +96 -0
- package/styles/variables/light_colors.less +92 -0
- package/styles/variables/light_css_variables.less +17 -0
- package/styles/variables/light_css_variables_map.less +100 -0
- package/styles/variables/screens.less +7 -0
- package/styles/variables/text.less +23 -0
- package/themes/BuyButton/styles/rio-buyButton.less +13 -8
- package/themes/MAN/styles/man-uikit.less +3 -0
- package/themes/SCANIA/styles/scania-uikit.less +3 -0
- package/themes/Volkswagen/styles/vw-uikit.less +21 -30
- package/themes/Website/styles/rio-website.less +145 -120
- package/themes/Xmas/styles/rio-xmas.less +59 -29
- package/types.ts +4 -0
- package/useScrollPosition.d.ts +4 -0
- package/useScrollPosition.js +2 -0
- package/utils/colorScheme.js +48 -0
- package/utils/init.js +2 -0
- package/version.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@modal-outer-margin: 30px;
|
|
2
2
|
@modal-inner-padding: 20px;
|
|
3
3
|
@modal-title-padding: 15px;
|
|
4
|
-
@modal-content-bg:
|
|
5
|
-
@modal-content-border-color:
|
|
6
|
-
@modal-backdrop-bg:
|
|
7
|
-
@modal-header-border-color:
|
|
8
|
-
@modal-footer-border-color:
|
|
4
|
+
@modal-content-bg: var(--color-white);
|
|
5
|
+
@modal-content-border-color: var(--gray-light);
|
|
6
|
+
@modal-backdrop-bg: var(always-color-black);
|
|
7
|
+
@modal-header-border-color: var(--gray-lighter);
|
|
8
|
+
@modal-footer-border-color: var(--gray-lighter);
|
|
9
9
|
|
|
10
10
|
// Custom variables
|
|
11
11
|
@modal-sm: @screen-xs;
|
|
@@ -144,7 +144,7 @@ body {
|
|
|
144
144
|
z-index: 1;
|
|
145
145
|
|
|
146
146
|
&-text {
|
|
147
|
-
color:
|
|
147
|
+
color: var(--gray-darkest);
|
|
148
148
|
display: flex;
|
|
149
149
|
flex-direction: column;
|
|
150
150
|
float: left;
|
|
@@ -184,7 +184,7 @@ body {
|
|
|
184
184
|
display: none;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
background-color:
|
|
187
|
+
background-color: var(--gray-lighter);
|
|
188
188
|
height: 20px;
|
|
189
189
|
margin-right: 10px;
|
|
190
190
|
width: 2px;
|
|
@@ -315,7 +315,6 @@ body {
|
|
|
315
315
|
|
|
316
316
|
.modal-footer {
|
|
317
317
|
&:before {
|
|
318
|
-
background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
|
|
319
318
|
content: '';
|
|
320
319
|
height: 20px;
|
|
321
320
|
left: 0;
|
|
@@ -323,6 +322,11 @@ body {
|
|
|
323
322
|
position: absolute;
|
|
324
323
|
top: -21px;
|
|
325
324
|
width: 100%;
|
|
325
|
+
background: linear-gradient(
|
|
326
|
+
0deg,
|
|
327
|
+
.hsla(@color-white-hsl, 1.0)[@result],
|
|
328
|
+
.hsla(@color-white-hsl, 0)[@result],
|
|
329
|
+
);
|
|
326
330
|
}
|
|
327
331
|
}
|
|
328
332
|
}
|
|
@@ -348,7 +352,7 @@ body {
|
|
|
348
352
|
&.backdrop-blured .modal-backdrop {
|
|
349
353
|
@supports ((-webkit-backdrop-filter: blur()) or (backdrop-filter: blur())) {
|
|
350
354
|
opacity: 0.99;
|
|
351
|
-
background-color:
|
|
355
|
+
background-color: .hsla(@always-color-black-hsl, 0.3)[@result];
|
|
352
356
|
backdrop-filter: blur(5px);
|
|
353
357
|
}
|
|
354
358
|
}
|
|
@@ -357,7 +361,7 @@ body {
|
|
|
357
361
|
.modal-dialog {
|
|
358
362
|
.modal-content {
|
|
359
363
|
.modal-body {
|
|
360
|
-
background:
|
|
364
|
+
background: var(--gray-lightest);
|
|
361
365
|
padding-left: 0;
|
|
362
366
|
padding-right: 0;
|
|
363
367
|
|
|
@@ -396,7 +400,7 @@ body {
|
|
|
396
400
|
}
|
|
397
401
|
|
|
398
402
|
@media (max-width: @splitWrapperBreakpoint) {
|
|
399
|
-
background-color:
|
|
403
|
+
background-color: var(--color-white);
|
|
400
404
|
height: 60px;
|
|
401
405
|
left: -(@modal-inner-padding);
|
|
402
406
|
padding-top: @modal-inner-padding;
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
&-menu {
|
|
13
13
|
&:extend(.shadow-hard-to-bottom);
|
|
14
14
|
.reset-list();
|
|
15
|
-
background-color:
|
|
15
|
+
background-color: var(--color-white);
|
|
16
16
|
border-radius: @border-radius-default;
|
|
17
|
-
border: 1px solid
|
|
17
|
+
border: 1px solid var(--gray-light);
|
|
18
18
|
font-size: @font-size-default;
|
|
19
19
|
min-width: 160px;
|
|
20
20
|
padding: 0;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
> li {
|
|
47
47
|
> a {
|
|
48
48
|
border-radius: 4px;
|
|
49
|
-
color:
|
|
49
|
+
color: var(--gray-darkest);
|
|
50
50
|
cursor: pointer;
|
|
51
51
|
display: block;
|
|
52
52
|
line-height: 1.25;
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
|
|
62
62
|
&:hover,
|
|
63
63
|
&:focus {
|
|
64
|
-
background-color:
|
|
65
|
-
color:
|
|
64
|
+
background-color: var(--brand-primary);
|
|
65
|
+
color: var(--color-white);
|
|
66
66
|
text-decoration: none;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
&,
|
|
84
84
|
&:hover,
|
|
85
85
|
&:focus {
|
|
86
|
-
background-color:
|
|
87
|
-
color:
|
|
86
|
+
background-color: var(--brand-primary);
|
|
87
|
+
color: var(--color-white);
|
|
88
88
|
outline: 0;
|
|
89
89
|
text-decoration: none;
|
|
90
90
|
}
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
&,
|
|
95
95
|
&:hover,
|
|
96
96
|
&:focus {
|
|
97
|
-
color:
|
|
97
|
+
color: var(--gray-light);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
// OLD BS STUFF
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.dropdown-header-text {
|
|
132
|
-
background:
|
|
133
|
-
color:
|
|
132
|
+
background: var(--color-white);
|
|
133
|
+
color: .hslb(@gray-hsl, '+', '5%')[@result];
|
|
134
134
|
font-size: 12px;
|
|
135
135
|
font-weight: @font-medium;
|
|
136
136
|
line-height: 1.25;
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
> .divider {
|
|
144
|
-
background-color:
|
|
144
|
+
background-color: var(--gray-light);
|
|
145
145
|
height: 1px;
|
|
146
146
|
margin: 3px 6px;
|
|
147
147
|
}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
|
|
56
56
|
> .panel-heading {
|
|
57
57
|
.expander-icon {
|
|
58
|
-
color:
|
|
58
|
+
color: var(--gray);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
background-color: transparent;
|
|
66
66
|
|
|
67
67
|
.expander-icon {
|
|
68
|
-
color:
|
|
68
|
+
color: var(--gray);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.panel-body {
|
|
73
|
-
box-shadow: inset 0px 1px 0px 0px
|
|
73
|
+
box-shadow: inset 0px 1px 0px 0px var(--gray-light);
|
|
74
74
|
|
|
75
75
|
.panel-body {
|
|
76
76
|
box-shadow: none
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
padding-right: 0;
|
|
88
88
|
|
|
89
89
|
.expander-icon {
|
|
90
|
-
color:
|
|
90
|
+
color: var(--gray-dark);
|
|
91
91
|
order: 1;
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
&.panel-danger,
|
|
129
129
|
&.panel-success {
|
|
130
130
|
.expander-icon {
|
|
131
|
-
color:
|
|
131
|
+
color: var(--color-white);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
width: 100%;
|
|
163
163
|
|
|
164
164
|
.expander-icon {
|
|
165
|
-
color:
|
|
165
|
+
color: var(--gray);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
&-content {
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
transition: background-color 100ms ease-in-out;
|
|
178
178
|
|
|
179
179
|
&:hover {
|
|
180
|
-
background-color:
|
|
180
|
+
background-color: var(--gray-lightest);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
li {
|
|
10
10
|
width: 100%;
|
|
11
|
-
color:
|
|
11
|
+
color: var(--color-black);
|
|
12
12
|
|
|
13
13
|
&.ListMenuHeader {
|
|
14
14
|
display: block;
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
a {
|
|
26
|
-
color:
|
|
26
|
+
color: var(--color-black);
|
|
27
27
|
|
|
28
28
|
&:hover,
|
|
29
29
|
&.active {
|
|
30
30
|
text-decoration: none;
|
|
31
|
-
color:
|
|
31
|
+
color: var(--brand-primary);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
> span,
|
|
43
43
|
a {
|
|
44
|
-
border-left: 2px solid
|
|
44
|
+
border-left: 2px solid var(--gray-light);
|
|
45
45
|
display: block;
|
|
46
46
|
font-weight: normal;
|
|
47
47
|
margin: 0 0 0 10px;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
&.disabled {
|
|
53
53
|
> span,
|
|
54
54
|
a {
|
|
55
|
-
color:
|
|
55
|
+
color: var(--gray-light);
|
|
56
56
|
cursor: not-allowed;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
&:not(.disabled) {
|
|
61
61
|
> span,
|
|
62
62
|
a {
|
|
63
|
-
color:
|
|
63
|
+
color: var(--gray-darker);
|
|
64
64
|
cursor: pointer;
|
|
65
65
|
|
|
66
66
|
&:hover,
|
|
67
67
|
&.active {
|
|
68
|
-
border-left-color:
|
|
68
|
+
border-left-color: var(--brand-primary);
|
|
69
69
|
border-width: 3px;
|
|
70
|
-
color:
|
|
70
|
+
color: var(--brand-primary);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
margin-bottom: 0;
|
|
41
41
|
min-height: 24px; // in case there is a spinner as label
|
|
42
42
|
padding: 7px 10px;
|
|
43
|
-
color:
|
|
43
|
+
color: var(--gray-darkest);
|
|
44
44
|
|
|
45
45
|
&.disabled {
|
|
46
46
|
opacity: 0.5;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.H_context_menu_item_separator {
|
|
70
|
-
background:
|
|
70
|
+
background: var(--gray-lighter);
|
|
71
71
|
border: none;
|
|
72
72
|
height: 1px;
|
|
73
73
|
padding-bottom: 0;
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
>div:first-child {
|
|
81
81
|
>div {
|
|
82
82
|
z-index: auto !important;
|
|
83
|
+
pointer-events: none;
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
>canvas {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
@
|
|
2
|
-
@singleSize: 60px;
|
|
1
|
+
@animationDuration: 0.25s ease;
|
|
3
2
|
@bubbleSize: @singleSize * 0.4;
|
|
3
|
+
@clusterSize: 40px;
|
|
4
4
|
@iconSize: @bubbleSize * 1.25;
|
|
5
|
+
@nameMaxWidth: 200px;
|
|
5
6
|
@positionSize: ceil(@bubbleSize * 0.3);
|
|
6
7
|
@positionTriangleSize: @iconSize * 0.2;
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
|
|
10
|
-
@nameMaxWidth: 200px;
|
|
8
|
+
@shadowStyle: 0 0 5px .hsla(@always-color-black-hsl, 0.5)[@result];
|
|
9
|
+
@singleSize: 60px;
|
|
11
10
|
|
|
12
11
|
.rio-map-name {
|
|
13
12
|
font-size: @bubbleSize * 0.6;
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
|
|
24
23
|
.rio-map-bubble {
|
|
25
24
|
border-radius: @border-radius-round;
|
|
26
|
-
color:
|
|
25
|
+
color: var(--color-map-marker-text);
|
|
27
26
|
text-align: center;
|
|
28
27
|
|
|
29
28
|
&.exception {
|
|
@@ -87,7 +86,7 @@
|
|
|
87
86
|
border-width: 1px;
|
|
88
87
|
cursor: pointer;
|
|
89
88
|
display: block;
|
|
90
|
-
filter: drop-shadow(0 0 1px
|
|
89
|
+
filter: drop-shadow(0 0 1px .hsla(@always-color-black-hsl, 0.2)[@result]);
|
|
91
90
|
font-size: @clusterSize * 0.36;
|
|
92
91
|
font-weight: 500;
|
|
93
92
|
height: @clusterSize;
|
|
@@ -139,7 +138,7 @@
|
|
|
139
138
|
border-width: 1px;
|
|
140
139
|
cursor: pointer;
|
|
141
140
|
display: flex;
|
|
142
|
-
filter: drop-shadow(0 0 1px
|
|
141
|
+
filter: drop-shadow(0 0 1px .hsla(@always-color-black-hsl, 0.2)[@result]);
|
|
143
142
|
pointer-events: initial;
|
|
144
143
|
position: relative;
|
|
145
144
|
transition: background-color @animationDuration, filter @animationDuration, margin-bottom @animationDuration;
|
|
@@ -207,7 +206,7 @@
|
|
|
207
206
|
|
|
208
207
|
.rio-map-direction {
|
|
209
208
|
border-radius: @border-radius-round;
|
|
210
|
-
background-color:
|
|
209
|
+
background-color: .hslb(@color-map-marker-asset-hsl, '+', '5%')[@result];
|
|
211
210
|
background-image: url(~'data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2250%22%20height%3D%2250%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill-rule%3D%22nonzero%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22transparent%22%20d%3D%22M0%200h50v50H0z%22%2F%3E%3Cpath%20d%3D%22M25%2012L12%2036s6.5-5%2013-5%2013%205%2013%205L25%2012z%22%20fill%3D%22%23FFF%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
|
|
212
211
|
background-repeat: no-repeat;
|
|
213
212
|
background-size: @iconSize;
|
|
@@ -227,7 +226,7 @@
|
|
|
227
226
|
}
|
|
228
227
|
|
|
229
228
|
.rio-map-position-arrow {
|
|
230
|
-
background-color:
|
|
229
|
+
background-color: var(--color-map-marker-text);
|
|
231
230
|
bottom: (@iconSize * 0.5) - (@positionTriangleSize * 0.45);
|
|
232
231
|
color: transparent;
|
|
233
232
|
height: @positionTriangleSize;
|
|
@@ -240,7 +239,7 @@
|
|
|
240
239
|
}
|
|
241
240
|
|
|
242
241
|
.rio-map-position {
|
|
243
|
-
background-color:
|
|
242
|
+
background-color: var(--color-map-marker-text);
|
|
244
243
|
border-radius: @border-radius-round;
|
|
245
244
|
border-style: solid;
|
|
246
245
|
border-width: ceil(@positionSize * 0.3);
|
|
@@ -300,8 +299,8 @@
|
|
|
300
299
|
}
|
|
301
300
|
|
|
302
301
|
#rio-map-context-menu {
|
|
303
|
-
background-color:
|
|
304
|
-
border: 1px solid
|
|
302
|
+
background-color: var(--color-map-marker-asset);
|
|
303
|
+
border: 1px solid var(--color-map-marker-asset);
|
|
305
304
|
box-shadow: @shadowStyle;
|
|
306
305
|
display: none;
|
|
307
306
|
position: absolute;
|
|
@@ -317,7 +316,7 @@
|
|
|
317
316
|
padding: 0;
|
|
318
317
|
|
|
319
318
|
> li {
|
|
320
|
-
color:
|
|
319
|
+
color: var(--color-white);
|
|
321
320
|
display: flex;
|
|
322
321
|
padding: 0 @bubbleSize * 0.4;
|
|
323
322
|
|
|
@@ -326,12 +325,12 @@
|
|
|
326
325
|
|
|
327
326
|
&:hover,
|
|
328
327
|
&.hover {
|
|
329
|
-
background-color:
|
|
328
|
+
background-color: .hslb(@color-map-marker-asset-hsl, '-', '5%')[@result];
|
|
330
329
|
}
|
|
331
330
|
}
|
|
332
331
|
|
|
333
332
|
&:not(:last-child) {
|
|
334
|
-
border-bottom: 1px solid
|
|
333
|
+
border-bottom: 1px solid .hslb(@color-map-marker-asset-hsl, '-', '5%')[@result];
|
|
335
334
|
margin-bottom: 0;
|
|
336
335
|
}
|
|
337
336
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
.MapSettingsTile {
|
|
9
9
|
&:extend(.shadow-smooth);
|
|
10
|
-
background:
|
|
10
|
+
background: var(--color-white);
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
padding: 3px;
|
|
13
13
|
}
|
|
@@ -57,21 +57,21 @@
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.MapSettingsButton {
|
|
60
|
-
background:
|
|
60
|
+
background: var(--color-white);
|
|
61
61
|
cursor: pointer;
|
|
62
62
|
padding: 5px;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.MapSettingsPanel {
|
|
66
66
|
&:extend(.shadow-smooth);
|
|
67
|
-
background:
|
|
67
|
+
background: var(--color-white);
|
|
68
68
|
display: flex;
|
|
69
69
|
flex-direction: column;
|
|
70
70
|
margin-bottom: 10px;
|
|
71
71
|
padding: 5px;
|
|
72
72
|
|
|
73
73
|
.MapSettingsItem {
|
|
74
|
-
background:
|
|
74
|
+
background: var(--color-white);
|
|
75
75
|
cursor: pointer;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
|
|
128
128
|
.MapSettingsPanel {
|
|
129
129
|
&:extend(.shadow-smooth);
|
|
130
|
-
background:
|
|
130
|
+
background: var(--color-white);
|
|
131
131
|
display: flex;
|
|
132
132
|
margin-bottom: 10px;
|
|
133
133
|
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
.notification {
|
|
8
8
|
&:extend(.shadow-smooth);
|
|
9
|
-
background-color:
|
|
10
|
-
color:
|
|
9
|
+
background-color: var(--color-white);
|
|
10
|
+
color: var(--always-color-white);
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
font-size: 14px;
|
|
13
13
|
line-height: 16px;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
.title {
|
|
41
41
|
font-size: 16px;
|
|
42
|
-
color:
|
|
42
|
+
color: var(--always-color-white);
|
|
43
43
|
font-weight: @font-medium;
|
|
44
44
|
margin: 0 0 5px 0;
|
|
45
45
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.notification-close {
|
|
63
|
-
color:
|
|
63
|
+
color: var(--color-white);
|
|
64
64
|
padding: 4px;
|
|
65
65
|
position: absolute;
|
|
66
66
|
text-decoration: none;
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&.notification-info {
|
|
71
|
-
border-bottom-color:
|
|
71
|
+
border-bottom-color: .hslb(@brand-info-hsl, '-', '5%')[@result];
|
|
72
72
|
|
|
73
73
|
.notification-message {
|
|
74
|
-
background-color:
|
|
74
|
+
background-color: .hsla(@brand-info-hsl, 0.8)[@result];
|
|
75
75
|
|
|
76
76
|
&:before {
|
|
77
77
|
content: @rioglyph-info-sign;
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
&.notification-success {
|
|
84
|
-
border-bottom-color:
|
|
84
|
+
border-bottom-color: .hslb(@brand-success-hsl, '-', '5%')[@result];
|
|
85
85
|
|
|
86
86
|
.notification-message {
|
|
87
|
-
background-color:
|
|
87
|
+
background-color: .hsla(@brand-success-hsl, 0.8)[@result];
|
|
88
88
|
|
|
89
89
|
&:before {
|
|
90
90
|
content: @rioglyph-ok;
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
&.notification-warning {
|
|
97
|
-
border-bottom-color:
|
|
97
|
+
border-bottom-color: .hslb(@brand-warning-hsl, '-', '5%')[@result];
|
|
98
98
|
|
|
99
99
|
.notification-message {
|
|
100
|
-
background-color:
|
|
100
|
+
background-color: .hsla(@brand-warning-hsl, 0.8)[@result];
|
|
101
101
|
|
|
102
102
|
&:before {
|
|
103
103
|
content: @rioglyph-exclamation-sign;
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
&.notification-error {
|
|
110
|
-
border-bottom-color:
|
|
110
|
+
border-bottom-color: .hslb(@brand-danger-hsl, '-', '5%')[@result];
|
|
111
111
|
|
|
112
112
|
.notification-message {
|
|
113
|
-
background-color:
|
|
113
|
+
background-color: .hsla(@brand-danger-hsl, 0.8)[@result];
|
|
114
114
|
|
|
115
115
|
&:before {
|
|
116
116
|
content: @rioglyph-error-sign;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
@dim-radio-size-default: 14px;
|
|
2
|
-
@color-disabled-inverted: darken(@gray-darker, 20%);
|
|
3
2
|
@input-margin: 7px;
|
|
4
3
|
|
|
5
4
|
.radio {
|
|
6
|
-
color:
|
|
5
|
+
color: var(--gray-darkest);
|
|
7
6
|
font-size: @font-size-default;
|
|
8
7
|
margin-bottom: 0;
|
|
9
8
|
margin-top: 0;
|
|
@@ -38,7 +37,7 @@
|
|
|
38
37
|
+ .radio-text-wrapper > .radio-text {
|
|
39
38
|
&:before,
|
|
40
39
|
&:after {
|
|
41
|
-
border-color:
|
|
40
|
+
border-color: var(--gray-darker);
|
|
42
41
|
}
|
|
43
42
|
}
|
|
44
43
|
|
|
@@ -46,7 +45,7 @@
|
|
|
46
45
|
+ .radio-text {
|
|
47
46
|
&:before,
|
|
48
47
|
&:after {
|
|
49
|
-
box-shadow: inset 0px 0px 0px 1px
|
|
48
|
+
box-shadow: inset 0px 0px 0px 1px var(--gray-darker);
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
51
|
}
|
|
@@ -63,9 +62,9 @@
|
|
|
63
62
|
&:before,
|
|
64
63
|
&:after {
|
|
65
64
|
-webkit-font-smoothing: antialiased;
|
|
66
|
-
background-color:
|
|
65
|
+
background-color: var(--color-white);
|
|
67
66
|
border-radius: 50%;
|
|
68
|
-
border: 1px solid
|
|
67
|
+
border: 1px solid var(--gray);
|
|
69
68
|
display: inline-block;
|
|
70
69
|
font-style: normal;
|
|
71
70
|
font-weight: @font-normal;
|
|
@@ -104,12 +103,12 @@
|
|
|
104
103
|
}
|
|
105
104
|
|
|
106
105
|
.rioglyph {
|
|
107
|
-
color:
|
|
106
|
+
color: var(--gray);
|
|
108
107
|
display: block;
|
|
109
108
|
}
|
|
110
109
|
|
|
111
110
|
.radio-label {
|
|
112
|
-
color:
|
|
111
|
+
color: var(--gray-darker);
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
114
|
|
|
@@ -133,7 +132,7 @@
|
|
|
133
132
|
&:before,
|
|
134
133
|
&:after {
|
|
135
134
|
animation: radio-tick 100ms ease-in;
|
|
136
|
-
border-color:
|
|
135
|
+
border-color: var(--brand-primary);
|
|
137
136
|
border-width: 4px;
|
|
138
137
|
}
|
|
139
138
|
}
|
|
@@ -141,20 +140,20 @@
|
|
|
141
140
|
+ .radio-icon {
|
|
142
141
|
.rioglyph {
|
|
143
142
|
animation: radio-tick 100ms ease-in;
|
|
144
|
-
color:
|
|
143
|
+
color: var(--brand-primary);
|
|
145
144
|
}
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
|
|
149
148
|
// Define style for 'diabled' state
|
|
150
149
|
&:disabled + .radio-text {
|
|
151
|
-
//color:
|
|
150
|
+
//color: var(--gray-light);
|
|
152
151
|
opacity: 0.5;
|
|
153
152
|
cursor: not-allowed;
|
|
154
153
|
|
|
155
154
|
&:before,
|
|
156
155
|
&:after {
|
|
157
|
-
border-color:
|
|
156
|
+
border-color: var(--gray-light);
|
|
158
157
|
}
|
|
159
158
|
}
|
|
160
159
|
}
|