@rio-cloud/rio-uikit 0.16.1 → 0.16.2-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.DS_Store +0 -0
- package/ColorScheme.d.ts +4 -0
- package/ColorScheme.js +2 -0
- package/Colors.js +1 -1
- package/TruckLayer.js +1 -1
- package/components/.DS_Store +0 -0
- package/components/applicationHeader/AppMenu.js +6 -3
- package/components/applicationHeader/AppMenuDropdown.js +6 -2
- package/components/applicationHeader/ApplicationHeader.js +10 -5
- package/components/applicationHeader/MobileAppMenu.js +8 -4
- package/components/assetTree/Tree.js +1 -1
- package/components/autosuggest/AutoSuggest.js +2 -2
- package/components/charts/chartHelper.js +1 -1
- package/components/clearableInput/ClearableInput.js +2 -1
- package/components/datepicker/DatePicker.js +8 -4
- package/components/filepicker/FilePicker.js +5 -4
- package/components/map/.DS_Store +0 -0
- package/components/map/assets/icon_map_settings_maptype_night_active.svg +12 -0
- package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +12 -0
- package/components/map/components/.DS_Store +0 -0
- package/components/map/components/Map.js +167 -140
- package/components/map/components/constants.js +1 -0
- package/components/map/components/features/Route.js +6 -7
- package/components/map/components/features/basics/Polyline.js +10 -5
- package/components/map/components/features/layers/RoadRestrictionLayer.js +27 -0
- package/components/map/components/features/layers/TrafficLayer.js +19 -5
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +19 -0
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +15 -0
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +13 -17
- package/components/map/components/features/layers/baselayers/NightLayer.js +17 -0
- package/components/map/components/features/layers/baselayers/SatelliteLayer.js +13 -17
- package/components/map/components/features/layers/baselayers/TerrainLayer.js +13 -17
- package/components/map/components/features/layers/baselayers/useBaseLayer.js +53 -0
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +1 -1
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +9 -3
- package/components/map/components/mapUtils.js +44 -8
- package/components/map/icons/MapIcon.js +64 -0
- package/components/mapMarker/ClusterMapMarker.js +2 -2
- package/components/mapMarker/SingleMapMarker.js +8 -2
- package/components/numberControl/NumberControl.js +43 -14
- package/components/numberInput/NumberInput.js +75 -55
- package/components/sidebars/Sidebar.js +2 -2
- package/hooks/useDarkMode.js +30 -0
- package/hooks/useElementSize.js +1 -1
- package/hooks/useFullscreen.js +37 -41
- package/hooks/useHereMap.ts +23 -0
- package/hooks/useMutationObserver.js +38 -0
- package/hooks/useScripts.ts +52 -0
- package/hooks/useScrollPosition.js +72 -0
- package/index.js +6 -1
- package/lib/.DS_Store +0 -0
- package/lib/es/.DS_Store +0 -0
- 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/TruckLayer.js +2 -2
- package/lib/es/components/.DS_Store +0 -0
- package/lib/es/components/applicationHeader/AppMenu.js +6 -3
- package/lib/es/components/applicationHeader/AppMenuDropdown.js +6 -2
- package/lib/es/components/applicationHeader/ApplicationHeader.js +10 -5
- package/lib/es/components/applicationHeader/MobileAppMenu.js +8 -4
- package/lib/es/components/assetTree/Tree.js +1 -1
- package/lib/es/components/autosuggest/AutoSuggest.js +2 -2
- package/lib/es/components/charts/chartHelper.js +1 -1
- package/lib/es/components/clearableInput/ClearableInput.js +2 -1
- package/lib/es/components/datepicker/DatePicker.js +7 -3
- package/lib/es/components/filepicker/FilePicker.js +5 -4
- package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +12 -0
- package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +12 -0
- package/lib/es/components/map/components/Map.js +165 -135
- package/lib/es/components/map/components/constants.js +3 -1
- package/lib/es/components/map/components/features/Route.js +6 -7
- package/lib/es/components/map/components/features/basics/Polyline.js +10 -7
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +35 -0
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +18 -5
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +25 -0
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +22 -0
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +12 -17
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +23 -0
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +12 -17
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +12 -17
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +61 -0
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +1 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +7 -1
- package/lib/es/components/map/components/mapUtils.js +44 -10
- package/lib/es/components/map/icons/MapIcon.js +67 -1
- package/lib/es/components/mapMarker/ClusterMapMarker.js +2 -2
- package/lib/es/components/mapMarker/SingleMapMarker.js +8 -2
- package/lib/es/components/numberControl/NumberControl.js +42 -13
- package/lib/es/components/numberInput/NumberInput.js +75 -55
- package/lib/es/components/sidebars/Sidebar.js +2 -2
- package/lib/es/hooks/useDarkMode.js +38 -0
- package/lib/es/hooks/useElementSize.js +1 -1
- package/lib/es/hooks/useFullscreen.js +37 -41
- package/lib/es/hooks/useHereMap.ts +23 -0
- package/lib/es/hooks/useMutationObserver.js +46 -0
- package/lib/es/hooks/useScripts.ts +52 -0
- package/lib/es/hooks/useScrollPosition.js +80 -0
- package/lib/es/index.js +40 -1
- package/lib/es/mapIndex.js +2 -2
- package/lib/es/styles/.DS_Store +0 -0
- 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 +76 -75
- 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/.DS_Store +0 -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 +154 -124
- package/lib/es/themes/Xmas/styles/rio-xmas.less +59 -29
- package/lib/es/types.ts +30 -5
- package/lib/es/useDarkMode.d.ts +4 -0
- package/lib/es/useDarkMode.js +13 -0
- package/lib/es/useMutationObserver.d.ts +4 -0
- package/lib/es/useMutationObserver.js +13 -0
- package/lib/es/useScrollPosition.d.ts +4 -0
- package/lib/es/useScrollPosition.js +13 -0
- package/lib/es/utils/colorScheme.js +69 -0
- package/lib/es/utils/init.js +34 -34
- package/lib/es/version.json +1 -1
- package/mapIndex.js +1 -1
- package/package.json +34 -33
- package/styles/.DS_Store +0 -0
- 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 +76 -75
- 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/.DS_Store +0 -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/.DS_Store +0 -0
- package/themes/Volkswagen/styles/vw-uikit.less +21 -30
- package/themes/Website/.DS_Store +0 -0
- package/themes/Website/styles/rio-website.less +154 -124
- package/themes/Xmas/styles/rio-xmas.less +59 -29
- package/types.ts +30 -5
- package/useDarkMode.d.ts +4 -0
- package/useDarkMode.js +2 -0
- package/useMutationObserver.d.ts +4 -0
- package/useMutationObserver.js +2 -0
- package/useScrollPosition.d.ts +4 -0
- package/useScrollPosition.js +2 -0
- package/utils/colorScheme.js +55 -0
- package/utils/init.js +34 -34
- package/version.json +1 -1
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
.carousel-control-prev {
|
|
78
78
|
align-items: center;
|
|
79
79
|
bottom: 0;
|
|
80
|
-
color:
|
|
80
|
+
color: var(--color-white);
|
|
81
81
|
display: flex;
|
|
82
82
|
justify-content: center;
|
|
83
83
|
opacity: .5;
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
.carousel-control-prev {
|
|
99
99
|
&:focus,
|
|
100
100
|
&:hover {
|
|
101
|
-
color:
|
|
101
|
+
color: var(--color-white);
|
|
102
102
|
opacity: .9;
|
|
103
103
|
outline: 0;
|
|
104
104
|
text-decoration: none !important;
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
.carousel-control-next-icon {
|
|
122
122
|
align-items: center;
|
|
123
123
|
border-radius: @border-radius-round;
|
|
124
|
-
color:
|
|
124
|
+
color: var(--gray-dark);
|
|
125
125
|
display: flex;
|
|
126
126
|
height: 60px;
|
|
127
127
|
justify-content: center;
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
&:hover {
|
|
137
|
-
background:
|
|
137
|
+
background: .hsla(@gray-darkest-hsl, 0.1)[@result];
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -161,9 +161,9 @@
|
|
|
161
161
|
z-index: 15;
|
|
162
162
|
|
|
163
163
|
li {
|
|
164
|
-
background:
|
|
164
|
+
background: var(--color-white);
|
|
165
165
|
border-radius: @border-radius-sm;
|
|
166
|
-
border: 1px solid
|
|
166
|
+
border: 1px solid var(--brand-primary);
|
|
167
167
|
display: inline-block;
|
|
168
168
|
height: 10px;
|
|
169
169
|
margin: 0 2px;
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
&.active {
|
|
178
|
-
background:
|
|
178
|
+
background: var(--brand-primary);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
@media (prefers-reduced-motion:reduce) {
|
|
@@ -185,14 +185,18 @@
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
.carousel-caption {
|
|
188
|
-
background: linear-gradient(0deg, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 0) 100%);
|
|
189
188
|
bottom: 0;
|
|
190
|
-
color:
|
|
189
|
+
color: var(--gray-darkest);
|
|
191
190
|
left: 0;
|
|
192
191
|
padding: 20px 20px 10px 20px;
|
|
193
192
|
position: absolute;
|
|
194
193
|
right: 0;
|
|
195
194
|
text-align: center;
|
|
195
|
+
background: linear-gradient(
|
|
196
|
+
0deg,
|
|
197
|
+
.hsla(@color-white-hsl, 0.8)[@result],
|
|
198
|
+
.hsla(@color-white-hsl, 0)[@result],
|
|
199
|
+
);
|
|
196
200
|
}
|
|
197
201
|
|
|
198
202
|
.carousel {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
@dim-checkbox-size-default: 16px;
|
|
2
2
|
@dim-checkbox-size-lg: 20px;
|
|
3
|
-
@color-disabled-inverted: darken(@gray-darker, 20%);
|
|
4
3
|
|
|
5
4
|
.checkbox {
|
|
6
|
-
color:
|
|
5
|
+
color: var(--gray-darkest);
|
|
7
6
|
cursor: pointer;
|
|
8
7
|
font-size: @font-size-default;
|
|
9
8
|
margin-bottom: 0;
|
|
@@ -33,7 +32,7 @@
|
|
|
33
32
|
|
|
34
33
|
// use tag name for being stronger than the checked style and to avoid using important
|
|
35
34
|
input[type='checkbox'] + .checkbox-text:before {
|
|
36
|
-
border-color:
|
|
35
|
+
border-color: var(--gray-darker);
|
|
37
36
|
}
|
|
38
37
|
}
|
|
39
38
|
|
|
@@ -73,7 +72,7 @@
|
|
|
73
72
|
-webkit-font-smoothing: antialiased;
|
|
74
73
|
background-color: transparent;
|
|
75
74
|
border-radius: @border-radius-sm;
|
|
76
|
-
border: 1px solid
|
|
75
|
+
border: 1px solid var(--gray);
|
|
77
76
|
display: block;
|
|
78
77
|
font-family: @icon-font-name;
|
|
79
78
|
font-style: normal;
|
|
@@ -120,12 +119,12 @@
|
|
|
120
119
|
}
|
|
121
120
|
|
|
122
121
|
.rioglyph {
|
|
123
|
-
color:
|
|
122
|
+
color: var(--gray);
|
|
124
123
|
display: block;
|
|
125
124
|
}
|
|
126
125
|
|
|
127
126
|
.checkbox-label {
|
|
128
|
-
color:
|
|
127
|
+
color: var(--gray-darkest);
|
|
129
128
|
}
|
|
130
129
|
}
|
|
131
130
|
|
|
@@ -140,9 +139,9 @@
|
|
|
140
139
|
align-items: center;
|
|
141
140
|
justify-content: center;
|
|
142
141
|
font-size: 88%;
|
|
143
|
-
color:
|
|
144
|
-
border-color:
|
|
145
|
-
background-color:
|
|
142
|
+
color: var(--color-white);
|
|
143
|
+
border-color: var(--brand-primary);
|
|
144
|
+
background-color: var(--brand-primary);
|
|
146
145
|
animation: checkbox-tick 100ms ease-in;
|
|
147
146
|
}
|
|
148
147
|
}
|
|
@@ -150,7 +149,7 @@
|
|
|
150
149
|
+ .checkbox-icon {
|
|
151
150
|
.rioglyph {
|
|
152
151
|
animation: checkbox-tick 100ms ease-in;
|
|
153
|
-
color:
|
|
152
|
+
color: var(--brand-primary);
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
}
|
|
@@ -161,13 +160,13 @@
|
|
|
161
160
|
|
|
162
161
|
// Define style for 'diabled' state
|
|
163
162
|
&:disabled + .checkbox-text {
|
|
164
|
-
//color:
|
|
163
|
+
//color: var(--gray-light);
|
|
165
164
|
opacity: 0.5;
|
|
166
165
|
cursor: not-allowed;
|
|
167
166
|
|
|
168
167
|
&:before {
|
|
169
|
-
border-color:
|
|
170
|
-
background-color:
|
|
168
|
+
border-color: var(--gray-light);
|
|
169
|
+
background-color: var(--gray-light);
|
|
171
170
|
}
|
|
172
171
|
}
|
|
173
172
|
|
|
@@ -176,9 +175,9 @@
|
|
|
176
175
|
&:indeterminate + .checkbox-text:before {
|
|
177
176
|
.rioglyph();
|
|
178
177
|
content: @rioglyph-minus-light;
|
|
179
|
-
color:
|
|
180
|
-
border-color:
|
|
181
|
-
background-color:
|
|
178
|
+
color: var(--brand-primary);
|
|
179
|
+
border-color: var(--brand-primary);
|
|
180
|
+
background-color: var(--color-white);
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
// Define colors for error case
|
|
@@ -89,10 +89,10 @@
|
|
|
89
89
|
// The inputClearButton class is used for multiple inputs such as clearableInput, DateRangePicker...
|
|
90
90
|
.inputClearButton {
|
|
91
91
|
align-items: center;
|
|
92
|
-
background:
|
|
92
|
+
background: var(--color-white);
|
|
93
93
|
border-radius: @border-radius-default;
|
|
94
94
|
bottom: 2px;
|
|
95
|
-
color:
|
|
95
|
+
color: var(--gray);
|
|
96
96
|
cursor: pointer;
|
|
97
97
|
display: flex;
|
|
98
98
|
justify-content: flex-start;
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
&:hover {
|
|
115
|
-
color:
|
|
115
|
+
color: .hslb(@gray-hsl, '-', '20%')[@result];
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
> .clearButtonIcon {
|
|
@@ -87,16 +87,16 @@
|
|
|
87
87
|
&.color-gray {
|
|
88
88
|
> * {
|
|
89
89
|
&:before {
|
|
90
|
-
color:
|
|
91
|
-
border-color:
|
|
90
|
+
color: var(--gray);
|
|
91
|
+
border-color: var(--gray);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
&.filled {
|
|
95
95
|
> * {
|
|
96
96
|
&:before {
|
|
97
|
-
background-color:
|
|
97
|
+
background-color: var(--gray);
|
|
98
98
|
border: none;
|
|
99
|
-
color:
|
|
99
|
+
color: var(--color-white);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -106,16 +106,16 @@
|
|
|
106
106
|
&.color-primary {
|
|
107
107
|
> * {
|
|
108
108
|
&:before {
|
|
109
|
-
color:
|
|
110
|
-
border-color:
|
|
109
|
+
color: var(--brand-primary);
|
|
110
|
+
border-color: var(--brand-primary);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
&.filled {
|
|
114
114
|
> * {
|
|
115
115
|
&:before {
|
|
116
|
-
background-color:
|
|
116
|
+
background-color: var(--brand-primary);
|
|
117
117
|
border: none;
|
|
118
|
-
color:
|
|
118
|
+
color: var(--color-white);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
}
|
|
@@ -125,16 +125,16 @@
|
|
|
125
125
|
&.color-secondary {
|
|
126
126
|
> * {
|
|
127
127
|
&:before {
|
|
128
|
-
color:
|
|
129
|
-
border-color:
|
|
128
|
+
color: var(--brand-secondary);
|
|
129
|
+
border-color: var(--brand-secondary);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
&.filled {
|
|
133
133
|
> * {
|
|
134
134
|
&:before {
|
|
135
|
-
background-color:
|
|
135
|
+
background-color: var(--brand-secondary);
|
|
136
136
|
border: none;
|
|
137
|
-
color:
|
|
137
|
+
color: var(--color-white);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.DataTabsWrapper {
|
|
32
|
-
background:
|
|
32
|
+
background: var(--color-white);
|
|
33
33
|
overflow-x: auto;
|
|
34
34
|
overflow-y: hidden;
|
|
35
35
|
padding-bottom: 8px;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.arrow {
|
|
72
|
-
background-color:
|
|
72
|
+
background-color: var(--color-highlight-dark);
|
|
73
73
|
bottom: 0;
|
|
74
74
|
display: block;
|
|
75
75
|
height: @dim-dataTabs-arrow;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
.rdtPicker {
|
|
10
10
|
&:extend(.shadow-smooth-to-bottom);
|
|
11
|
-
background:
|
|
11
|
+
background: var(--color-white);
|
|
12
12
|
border-radius: @border-radius-default;
|
|
13
|
-
border: 1px solid
|
|
13
|
+
border: 1px solid var(--gray-light);
|
|
14
14
|
display: none;
|
|
15
15
|
margin-top: 1px;
|
|
16
16
|
padding: 8px;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
&.rdtNew,
|
|
53
53
|
&.rdtOld {
|
|
54
|
-
color:
|
|
54
|
+
color: var(--gray-light);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
//.rdtTimeToggle:hover,
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
&.rdtHour:hover,
|
|
60
60
|
&.rdtMinute:hover,
|
|
61
61
|
&.rdtSecond:hover {
|
|
62
|
-
background:
|
|
62
|
+
background: var(--color-highlight-lightest);
|
|
63
63
|
cursor: pointer;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
&:hover,
|
|
73
73
|
&:hover {
|
|
74
|
-
background:
|
|
74
|
+
background: var(--color-highlight-lightest);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
position: relative;
|
|
80
80
|
|
|
81
81
|
&:before {
|
|
82
|
-
border-bottom: 7px solid
|
|
82
|
+
border-bottom: 7px solid var(--color-highlight);
|
|
83
83
|
border-left: 7px solid transparent;
|
|
84
|
-
border-top-color:
|
|
84
|
+
border-top-color: .hsla(@always-color-black-hsl, 0.2)[@result];
|
|
85
85
|
bottom: 4px;
|
|
86
86
|
content: '';
|
|
87
87
|
display: inline-block;
|
|
@@ -92,38 +92,38 @@
|
|
|
92
92
|
|
|
93
93
|
&.rdtActive,
|
|
94
94
|
&.rdtActive:hover {
|
|
95
|
-
background-color:
|
|
96
|
-
color:
|
|
97
|
-
text-shadow: 0 -1px 0
|
|
95
|
+
background-color: var(--color-highlight);
|
|
96
|
+
color: var(--color-white);
|
|
97
|
+
text-shadow: 0 -1px 0 .hsla(@always-color-black-hsl, 0.25)[@result];
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
&.rdtActive.rdtToday:before {
|
|
101
|
-
border-bottom-color:
|
|
101
|
+
border-bottom-color: var(--color-white);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
&.rdtDisabled,
|
|
105
105
|
&.rdtDisabled:hover {
|
|
106
106
|
background: none !important;
|
|
107
|
-
color:
|
|
107
|
+
color: var(--gray-light);
|
|
108
108
|
cursor: not-allowed;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
span {
|
|
112
112
|
&.rdtOld {
|
|
113
|
-
color:
|
|
113
|
+
color: var(--color-highlight)-light;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
&.rdtDisabled,
|
|
117
117
|
&.rdtDisabled:hover {
|
|
118
118
|
background: none !important;
|
|
119
|
-
color:
|
|
119
|
+
color: var(--gray-light);
|
|
120
120
|
cursor: not-allowed;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
th {
|
|
126
|
-
// border-bottom: 1px solid
|
|
126
|
+
// border-bottom: 1px solid var(--gray-light);
|
|
127
127
|
border-radius: @border-radius-default;
|
|
128
128
|
|
|
129
129
|
.rdtSwitch {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
&.rdtDisabled,
|
|
140
140
|
&.rdtDisabled:hover {
|
|
141
141
|
background: none !important;
|
|
142
|
-
color:
|
|
142
|
+
color: var(--gray-lightest);
|
|
143
143
|
cursor: not-allowed;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
@@ -159,14 +159,14 @@
|
|
|
159
159
|
cursor: pointer;
|
|
160
160
|
|
|
161
161
|
&:hover {
|
|
162
|
-
background:
|
|
162
|
+
background: var(--color-highlight-lightest);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
tfoot {
|
|
168
|
-
// border-top: 1px solid
|
|
169
|
-
background-color:
|
|
168
|
+
// border-top: 1px solid var(--gray-light);
|
|
169
|
+
background-color: var(--gray-lightest);
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
button {
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
cursor: pointer;
|
|
176
176
|
|
|
177
177
|
&:hover {
|
|
178
|
-
background-color:
|
|
178
|
+
background-color: var(--color-highlight-lightest);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
}
|
|
@@ -183,10 +183,10 @@
|
|
|
183
183
|
.rdtTime {
|
|
184
184
|
.rdtSwitch {
|
|
185
185
|
position: relative;
|
|
186
|
-
background-color:
|
|
186
|
+
background-color: var(--gray-lightest);
|
|
187
187
|
|
|
188
188
|
&:hover {
|
|
189
|
-
background-color:
|
|
189
|
+
background-color: var(--color-highlight-lightest);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
&::before {
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
position: absolute;
|
|
197
197
|
height: 25px;
|
|
198
198
|
width: 25px;
|
|
199
|
-
color:
|
|
199
|
+
color: var(--gray-darker);
|
|
200
200
|
left: 5px;
|
|
201
201
|
top: 3px;
|
|
202
202
|
}
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
border-radius: @border-radius-default;
|
|
234
234
|
|
|
235
235
|
&:hover {
|
|
236
|
-
background:
|
|
236
|
+
background: var(--color-highlight-lightest);
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
// align-items: center;
|
|
278
278
|
// font-size: 110%;
|
|
279
279
|
// height: 100%;
|
|
280
|
-
// color:
|
|
280
|
+
// color: var(--gray-dark);
|
|
281
281
|
// padding: 0 5px;
|
|
282
282
|
// }
|
|
283
283
|
|
|
@@ -313,13 +313,13 @@
|
|
|
313
313
|
td.rdtMinute,
|
|
314
314
|
td.rdtSecond {
|
|
315
315
|
&:hover {
|
|
316
|
-
background:
|
|
316
|
+
background: var(--color-highlight-lightest);
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
td.rdtActive,
|
|
321
321
|
td.rdtActive:hover {
|
|
322
|
-
background:
|
|
322
|
+
background: var(--brand-primary);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
|
|
@@ -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
|
}
|