@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.
- package/AutoSuggest.d.ts +6 -5
- package/Bar.d.ts +4 -1
- package/Carousel.d.ts +2 -0
- package/ColorScheme.d.ts +4 -0
- package/ColorScheme.js +2 -0
- package/Colors.js +1 -1
- package/ConfirmationDialog.d.ts +8 -1
- package/ContentLoader.d.ts +4 -1
- package/ExpanderList.d.ts +5 -5
- package/Fade.d.ts +10 -1
- package/FilePicker.d.ts +5 -1
- package/ListMenu.d.ts +6 -5
- package/Map.d.ts +10 -7
- package/MediaDialog.d.ts +8 -4
- package/MenuItem.d.ts +1 -1
- package/Multiselect.d.ts +11 -4
- package/NumberControl.d.ts +4 -1
- package/NumberInput.d.ts +4 -1
- package/OnboardingTip.d.ts +26 -1
- package/OverlayTrigger.d.ts +25 -1
- package/Popover.d.ts +7 -1
- package/Resizer.d.ts +9 -1
- package/ResponsiveVideo.d.ts +4 -1
- package/RuleConnector.d.ts +5 -1
- package/SaveDialog.d.ts +8 -1
- package/Select.d.ts +5 -5
- package/Sidebar.d.ts +7 -1
- package/SimpleDialog.d.ts +8 -1
- package/SimpleTooltip.d.ts +25 -1
- package/SplitDialog.d.ts +8 -1
- package/SteppedProgressBar.d.ts +5 -1
- package/Switch.d.ts +4 -1
- package/TagManager.d.ts +5 -5
- package/Tooltip.d.ts +28 -1
- package/components/charts/chartHelper.js +1 -1
- package/components/dropdown/ButtonDropdown.js +9 -3
- package/components/mapMarker/ClusterMapMarker.js +2 -2
- package/components/mapMarker/SingleMapMarker.js +2 -2
- package/components/rules/RuleConnector.js +4 -1
- package/components/selects/BaseDropdownMenu.js +40 -26
- package/components/selects/Multiselect.js +5 -3
- package/components/selects/Select.js +7 -5
- package/components/sidebars/Sidebar.js +1 -1
- package/framer-motion.d.ts +1 -0
- package/hooks/useScrollPosition.js +72 -0
- package/index.js +4 -1
- package/lib/es/AutoSuggest.d.ts +6 -5
- package/lib/es/Bar.d.ts +4 -1
- package/lib/es/Carousel.d.ts +2 -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/ConfirmationDialog.d.ts +8 -1
- package/lib/es/ContentLoader.d.ts +4 -1
- package/lib/es/ExpanderList.d.ts +5 -5
- package/lib/es/Fade.d.ts +10 -1
- package/lib/es/FilePicker.d.ts +5 -1
- package/lib/es/ListMenu.d.ts +6 -5
- package/lib/es/Map.d.ts +10 -7
- package/lib/es/MediaDialog.d.ts +8 -4
- package/lib/es/MenuItem.d.ts +1 -1
- package/lib/es/Multiselect.d.ts +11 -4
- package/lib/es/NumberControl.d.ts +4 -1
- package/lib/es/NumberInput.d.ts +4 -1
- package/lib/es/OnboardingTip.d.ts +26 -1
- package/lib/es/OverlayTrigger.d.ts +25 -1
- package/lib/es/Popover.d.ts +7 -1
- package/lib/es/Resizer.d.ts +9 -1
- package/lib/es/ResponsiveVideo.d.ts +4 -1
- package/lib/es/RuleConnector.d.ts +5 -1
- package/lib/es/SaveDialog.d.ts +8 -1
- package/lib/es/Select.d.ts +5 -5
- package/lib/es/Sidebar.d.ts +7 -1
- package/lib/es/SimpleDialog.d.ts +8 -1
- package/lib/es/SimpleTooltip.d.ts +25 -1
- package/lib/es/SplitDialog.d.ts +8 -1
- package/lib/es/SteppedProgressBar.d.ts +5 -1
- package/lib/es/Switch.d.ts +4 -1
- package/lib/es/TagManager.d.ts +5 -5
- package/lib/es/Tooltip.d.ts +28 -1
- package/lib/es/components/charts/chartHelper.js +1 -1
- package/lib/es/components/dropdown/ButtonDropdown.js +9 -3
- package/lib/es/components/mapMarker/ClusterMapMarker.js +2 -2
- package/lib/es/components/mapMarker/SingleMapMarker.js +2 -2
- package/lib/es/components/rules/RuleConnector.js +4 -1
- package/lib/es/components/selects/BaseDropdownMenu.js +40 -26
- package/lib/es/components/selects/Multiselect.js +5 -3
- package/lib/es/components/selects/Select.js +7 -5
- package/lib/es/components/sidebars/Sidebar.js +1 -1
- package/lib/es/framer-motion.d.ts +1 -0
- 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 +22 -13
- 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 +21 -32
- 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/fonts.less +23 -23
- 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 -11
- 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/responsive/flexgrid.less +4 -6
- package/lib/es/styles/design/responsive/sizing.less +3 -0
- 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 +20 -16
- package/lib/es/useScrollPosition.d.ts +4 -0
- package/lib/es/{BoxConnector.js → useScrollPosition.js} +2 -2
- 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 +6 -4
- 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 +22 -13
- 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 +21 -32
- 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/fonts.less +23 -23
- 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 -11
- 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/responsive/flexgrid.less +4 -6
- package/styles/design/responsive/sizing.less +3 -0
- 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 +20 -16
- 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
- package/BoxConnector.js +0 -2
- package/components/boxConnector/BoxConnector.js +0 -40
- package/lib/es/components/boxConnector/BoxConnector.js +0 -48
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.progress-divider {
|
|
2
2
|
&:not(:last-child) {
|
|
3
|
-
box-shadow: inset -2px 0 0
|
|
3
|
+
box-shadow: inset -2px 0 0 var(--color-white);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
&:only-child {
|
|
7
7
|
&:not([style*="width: 100%"]):not([style*="width: 99%"]):not([style*="width: 98%"]) {
|
|
8
|
-
box-shadow: inset -2px 0 0
|
|
8
|
+
box-shadow: inset -2px 0 0 var(--color-white);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
.progress {
|
|
19
19
|
height: 10px;
|
|
20
20
|
overflow: hidden;
|
|
21
|
-
background-color:
|
|
21
|
+
background-color: var(--gray-lighter);
|
|
22
22
|
border-radius: @border-radius-default;
|
|
23
23
|
// margin-bottom: @grid-gutter-height;
|
|
24
24
|
|
|
25
25
|
.progress-bar {
|
|
26
|
-
background-color:
|
|
27
|
-
color:
|
|
26
|
+
background-color: var(--brand-primary);
|
|
27
|
+
color: var(--color-white);
|
|
28
28
|
float: left;
|
|
29
29
|
font-size: @font-size-sm;
|
|
30
30
|
height: 100%;
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
// muted
|
|
45
45
|
// white
|
|
46
46
|
&.progress-bar-muted {
|
|
47
|
-
background-color:
|
|
47
|
+
background-color: var(--gray-lighter) !important
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
&.progress-bar-white {
|
|
51
|
-
background-color:
|
|
51
|
+
background-color: var(--color-white) !important
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
// info
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
.progress-striped .progress-bar, // backward compatibility
|
|
120
120
|
.progress-bar-striped {
|
|
121
|
-
@color:
|
|
121
|
+
@color: .hsla(@color-white-hsl, 0.15)[@result];
|
|
122
122
|
@angle: 45deg;
|
|
123
123
|
background-size: 40px 40px;
|
|
124
124
|
background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
|
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
.align-self-start@{suffix} { align-self: flex-start !important }
|
|
35
35
|
.align-self-stretch@{suffix} { align-self: stretch !important }
|
|
36
36
|
|
|
37
|
+
.place-items-center@{suffix} { place-items: center !important }
|
|
38
|
+
.place-self-center@{suffix} { place-self: center !important }
|
|
39
|
+
|
|
37
40
|
/* Flexbox - Helper */
|
|
38
41
|
.flex-0-1@{suffix} { flex: 0 1 auto !important }
|
|
39
42
|
.flex-1-0@{suffix} { flex: 1 0 auto !important }
|
|
@@ -70,9 +73,4 @@ each(@gridColumns, {
|
|
|
70
73
|
.grid-colspan-auto@{suffix} { grid-column: auto !important }
|
|
71
74
|
|
|
72
75
|
// AutoRows
|
|
73
|
-
.grid-auto-rows@{suffix} { grid-auto-rows: minmax(min-content, max-content)}
|
|
74
|
-
|
|
75
|
-
// Placement
|
|
76
|
-
.place-items-center@{suffix} {
|
|
77
|
-
place-items: center !important;
|
|
78
|
-
}
|
|
76
|
+
.grid-auto-rows@{suffix} { grid-auto-rows: minmax(min-content, max-content)}
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
.max-height-0@{suffix} { max-height: 0 !important }
|
|
11
11
|
.max-width-0@{suffix} { max-width: 0 !important }
|
|
12
12
|
|
|
13
|
+
.max-width-none@{suffix} { max-width: none !important }
|
|
14
|
+
.max-height-none@{suffix} { max-height: none !important }
|
|
15
|
+
|
|
13
16
|
// width/height px
|
|
14
17
|
each(@sizes-px, {
|
|
15
18
|
// width
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
@smooth-shadow:
|
|
2
|
-
@hard-shadow:
|
|
1
|
+
@smooth-shadow: .hsla(@always-color-black-hsl, 0.01)[@result];
|
|
2
|
+
@hard-shadow: .hsla(@always-color-black-hsl, 0.03)[@result];
|
|
3
|
+
|
|
4
|
+
@default-shadow-layer-1: 0 2px 1px -1px .hsla(@always-color-black-hsl, 0.1)[@result];
|
|
5
|
+
@default-shadow-layer-2: 0 1px 5px 0 .hsla(@always-color-black-hsl, 0.05)[@result];
|
|
6
|
+
@default-shadow-layer-3: 0 1px 10px 0 .hsla(@always-color-black-hsl, 0.05)[@result];
|
|
7
|
+
|
|
8
|
+
@default-accent-layer-1: 0 0 1px 0 .hsla(@always-color-black-hsl, 0.2)[@result];
|
|
9
|
+
@default-accent-layer-2: 0 2px 4px -1px .hsla(@always-color-black-hsl, 0.2)[@result];
|
|
3
10
|
|
|
4
11
|
.shadow-none { box-shadow: none !important }
|
|
5
12
|
|
|
6
13
|
.shadow-default {
|
|
7
14
|
box-shadow:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
@default-shadow-layer-1,
|
|
16
|
+
@default-shadow-layer-2,
|
|
17
|
+
@default-shadow-layer-3 !important;
|
|
11
18
|
}
|
|
12
19
|
|
|
13
20
|
.shadow-accent {
|
|
14
21
|
box-shadow:
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
@default-accent-layer-1,
|
|
23
|
+
@default-accent-layer-2 !important;
|
|
17
24
|
}
|
|
18
25
|
|
|
19
26
|
.shadow-smooth {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
@table-cell-padding: 12px;
|
|
2
2
|
@table-condensed-cell-padding: 7px;
|
|
3
|
-
@table-bg: @color-white;
|
|
4
|
-
@table-bg-hover: @gray-light;
|
|
5
|
-
@table-bg-active: @gray-light;
|
|
6
|
-
@table-bg-highlight: @color-highlight-lightest;
|
|
7
|
-
@table-border-color: @gray-lighter;
|
|
8
3
|
|
|
9
4
|
.table {
|
|
10
5
|
background-color: transparent;
|
|
@@ -33,7 +28,7 @@
|
|
|
33
28
|
|
|
34
29
|
@media screen and (max-width: @screen-ls) {
|
|
35
30
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
36
|
-
border: 1px solid
|
|
31
|
+
border: 1px solid var(--gray-lighter);
|
|
37
32
|
overflow-y: hidden;
|
|
38
33
|
width: 100%;
|
|
39
34
|
|
|
@@ -96,7 +91,7 @@
|
|
|
96
91
|
// .table.table-head-filled
|
|
97
92
|
&.table-head-filled {
|
|
98
93
|
thead > tr th {
|
|
99
|
-
background-color:
|
|
94
|
+
background-color: var(--gray-lightest);
|
|
100
95
|
|
|
101
96
|
&.table-checkbox {
|
|
102
97
|
z-index: 2;
|
|
@@ -143,24 +138,24 @@
|
|
|
143
138
|
&:first-child {
|
|
144
139
|
left: 0;
|
|
145
140
|
z-index: 2;
|
|
146
|
-
border-right: 4px solid
|
|
141
|
+
border-right: 4px solid var(--gray-lighter);
|
|
147
142
|
}
|
|
148
143
|
|
|
149
144
|
&:last-child {
|
|
150
145
|
right: 0;
|
|
151
146
|
z-index: 2;
|
|
152
|
-
border-left: 4px solid
|
|
147
|
+
border-left: 4px solid var(--gray-lighter);
|
|
153
148
|
}
|
|
154
149
|
}
|
|
155
150
|
|
|
156
151
|
tbody > tr {
|
|
157
152
|
td {
|
|
158
153
|
&:first-child {
|
|
159
|
-
background-color:
|
|
154
|
+
background-color: var(--color-white);
|
|
160
155
|
left: 0;
|
|
161
156
|
position: sticky;
|
|
162
157
|
//z-index: 2;
|
|
163
|
-
border-right: 4px solid
|
|
158
|
+
border-right: 4px solid var(--gray-lighter);
|
|
164
159
|
}
|
|
165
160
|
}
|
|
166
161
|
}
|
|
@@ -177,11 +172,11 @@
|
|
|
177
172
|
tbody > tr {
|
|
178
173
|
td {
|
|
179
174
|
&:last-child {
|
|
180
|
-
background-color:
|
|
175
|
+
background-color: var(--color-white);
|
|
181
176
|
right: 0;
|
|
182
177
|
position: sticky;
|
|
183
178
|
//z-index: 2;
|
|
184
|
-
border-left: 4px solid
|
|
179
|
+
border-left: 4px solid var(--gray-lighter);
|
|
185
180
|
}
|
|
186
181
|
}
|
|
187
182
|
}
|
|
@@ -262,8 +257,8 @@
|
|
|
262
257
|
background-color: transparent;
|
|
263
258
|
|
|
264
259
|
> th {
|
|
265
|
-
border-bottom: 2px solid
|
|
266
|
-
border-top: 1px solid
|
|
260
|
+
border-bottom: 2px solid var(--gray-lighter);
|
|
261
|
+
border-top: 1px solid var(--gray-lighter);
|
|
267
262
|
font-weight: @font-light;
|
|
268
263
|
text-align: left;
|
|
269
264
|
white-space: nowrap;
|
|
@@ -297,7 +292,7 @@
|
|
|
297
292
|
}
|
|
298
293
|
|
|
299
294
|
> tbody > tr {
|
|
300
|
-
background-color:
|
|
295
|
+
background-color: var(--color-white);
|
|
301
296
|
.table-state(info, @brand-info, false);
|
|
302
297
|
.table-state(warning, @brand-warning, false);
|
|
303
298
|
.table-state(success, @brand-success, false);
|
|
@@ -311,11 +306,11 @@
|
|
|
311
306
|
}
|
|
312
307
|
|
|
313
308
|
&:last-child {
|
|
314
|
-
border-bottom: 1px solid
|
|
309
|
+
border-bottom: 1px solid var(--gray-lighter);
|
|
315
310
|
}
|
|
316
311
|
|
|
317
312
|
td {
|
|
318
|
-
border-top: 1px solid
|
|
313
|
+
border-top: 1px solid var(--gray-lighter);
|
|
319
314
|
vertical-align: middle;
|
|
320
315
|
|
|
321
316
|
&:focus,
|
|
@@ -357,7 +352,7 @@
|
|
|
357
352
|
|
|
358
353
|
&.active {
|
|
359
354
|
td {
|
|
360
|
-
.table-state(active,
|
|
355
|
+
.table-state(active, var(--brand-primary), false)
|
|
361
356
|
}
|
|
362
357
|
}
|
|
363
358
|
|
|
@@ -380,11 +375,11 @@
|
|
|
380
375
|
> thead > tr > th,
|
|
381
376
|
> tbody > tr > td {
|
|
382
377
|
border: none;
|
|
383
|
-
border-top: 4px solid
|
|
378
|
+
border-top: 4px solid var(--gray-lighter);
|
|
384
379
|
}
|
|
385
380
|
|
|
386
381
|
> tbody > tr:last-child {
|
|
387
|
-
border-bottom: 4px solid
|
|
382
|
+
border-bottom: 4px solid var(--gray-lighter);
|
|
388
383
|
}
|
|
389
384
|
|
|
390
385
|
> tbody > tr > td {
|
|
@@ -395,7 +390,7 @@
|
|
|
395
390
|
// Zebra-striping
|
|
396
391
|
&.table-striped {
|
|
397
392
|
> tbody > tr:nth-of-type(odd) {
|
|
398
|
-
background-color:
|
|
393
|
+
background-color: .hslb(@color-white-hsl, '-', '2%')[@result];
|
|
399
394
|
}
|
|
400
395
|
}
|
|
401
396
|
|
|
@@ -408,15 +403,15 @@
|
|
|
408
403
|
.table-state(danger, @brand-danger, true);
|
|
409
404
|
|
|
410
405
|
&:hover {
|
|
411
|
-
background-color:
|
|
406
|
+
background-color: var(--color-white);
|
|
412
407
|
|
|
413
408
|
td:not([class*='bg-']) {
|
|
414
|
-
box-shadow: inset 0 500px 0 0
|
|
409
|
+
box-shadow: inset 0 500px 0 0 var(--color-highlight-lightest);
|
|
415
410
|
}
|
|
416
411
|
}
|
|
417
412
|
&.active:hover {
|
|
418
413
|
td {
|
|
419
|
-
.table-state(active,
|
|
414
|
+
.table-state(active, var(--brand-primary), false)
|
|
420
415
|
}
|
|
421
416
|
}
|
|
422
417
|
}
|
|
@@ -432,7 +427,7 @@
|
|
|
432
427
|
&.table-multi-cards {
|
|
433
428
|
tbody {
|
|
434
429
|
tr {
|
|
435
|
-
border: 3px solid
|
|
430
|
+
border: 3px solid var(--gray-lighter);
|
|
436
431
|
}
|
|
437
432
|
}
|
|
438
433
|
}
|
|
@@ -466,73 +461,40 @@
|
|
|
466
461
|
text-align: left;
|
|
467
462
|
|
|
468
463
|
.dropdown {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
&:active {
|
|
493
|
-
background-color: @color-white !important;
|
|
494
|
-
border-color: @color-highlight !important;
|
|
495
|
-
|
|
496
|
-
&:hover {
|
|
497
|
-
.rioglyph {
|
|
498
|
-
color: @color-highlight !important;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
464
|
+
.dropdown-toggle {
|
|
465
|
+
padding: 0 6px;
|
|
466
|
+
|
|
467
|
+
.button-style(
|
|
468
|
+
~'!important';
|
|
469
|
+
var(--brand-primary);
|
|
470
|
+
@color-white-hsl;
|
|
471
|
+
@brand-primary-hsl;
|
|
472
|
+
|
|
473
|
+
var(--brand-primary);
|
|
474
|
+
.hslb(@brand-primary-hsl, '-', @btn-active-brightness)[@result];
|
|
475
|
+
|
|
476
|
+
var(--brand-primary);
|
|
477
|
+
.hslb(@brand-primary-hsl, '-', @btn-active-border-brightness)[@result];
|
|
478
|
+
|
|
479
|
+
var(--color-white);
|
|
480
|
+
var(--color-white);
|
|
481
|
+
);
|
|
482
|
+
|
|
483
|
+
&:focus,
|
|
484
|
+
&:active {
|
|
485
|
+
background-color: var(--color-white) !important;
|
|
486
|
+
border-color: var(--color-highlight) !important;
|
|
502
487
|
|
|
503
488
|
&:hover {
|
|
504
489
|
.rioglyph {
|
|
505
|
-
color:
|
|
490
|
+
color: var(--color-highlight) !important;
|
|
506
491
|
}
|
|
507
492
|
}
|
|
508
493
|
}
|
|
509
|
-
}
|
|
510
494
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
~'!important';
|
|
515
|
-
@btn-default-bg;
|
|
516
|
-
@btn-default-border;
|
|
517
|
-
@btn-default-color;
|
|
518
|
-
@btn-default-color;
|
|
519
|
-
@btn-default-color;
|
|
520
|
-
@btn-default-color;
|
|
521
|
-
darken(@btn-default-color, 17%);
|
|
522
|
-
darken(@btn-default-border, 12%);
|
|
523
|
-
darken(@btn-default-border, 12%);
|
|
524
|
-
darken(@btn-default-border, 25%);
|
|
525
|
-
darken(@btn-default-border, 25%);
|
|
526
|
-
@btn-default-bg;
|
|
527
|
-
@btn-default-bg;
|
|
528
|
-
@btn-default-bg;
|
|
529
|
-
@btn-default-bg;
|
|
530
|
-
);
|
|
531
|
-
|
|
532
|
-
&:hover, &:active, &:focus {
|
|
533
|
-
.rioglyph:before {
|
|
534
|
-
color: @color-white !important;
|
|
535
|
-
}
|
|
495
|
+
&:hover {
|
|
496
|
+
.rioglyph {
|
|
497
|
+
color: var(--color-white) !important;
|
|
536
498
|
}
|
|
537
499
|
}
|
|
538
500
|
}
|
|
@@ -549,7 +511,7 @@
|
|
|
549
511
|
margin: -(@cardsSpace * 0.5) - (@cardsSpace * 0.5) 0 - (@cardsSpace * 0.5);
|
|
550
512
|
|
|
551
513
|
tr {
|
|
552
|
-
border: 3px solid
|
|
514
|
+
border: 3px solid var(--color-white);
|
|
553
515
|
display: flex;
|
|
554
516
|
flex-wrap: wrap;
|
|
555
517
|
margin: @cardsSpace * 0.5;
|
|
@@ -574,7 +536,7 @@
|
|
|
574
536
|
width: 100%;
|
|
575
537
|
|
|
576
538
|
&:not([class*='table-']) {
|
|
577
|
-
border-top: 1px solid
|
|
539
|
+
border-top: 1px solid var(--gray-lighter);
|
|
578
540
|
width: 100%;
|
|
579
541
|
}
|
|
580
542
|
|
|
@@ -614,7 +576,7 @@
|
|
|
614
576
|
|
|
615
577
|
&[data-field]:not([data-field='']) {
|
|
616
578
|
&:before {
|
|
617
|
-
color:
|
|
579
|
+
color: var(--gray);
|
|
618
580
|
content: attr(data-field) ':';
|
|
619
581
|
float: left;
|
|
620
582
|
margin-right: 10px;
|
|
@@ -651,12 +613,12 @@
|
|
|
651
613
|
}
|
|
652
614
|
|
|
653
615
|
&:not(.active):not(.table-card-placeholder) {
|
|
654
|
-
background-color:
|
|
616
|
+
background-color: var(--color-white) !important;
|
|
655
617
|
}
|
|
656
618
|
|
|
657
619
|
&.active {
|
|
658
|
-
background:
|
|
659
|
-
border-color:
|
|
620
|
+
background: var(--color-highlight-lightest) !important;
|
|
621
|
+
border-color: var(--brand-primary);
|
|
660
622
|
|
|
661
623
|
td {
|
|
662
624
|
box-shadow: none !important;
|
|
@@ -669,15 +631,15 @@
|
|
|
669
631
|
tbody {
|
|
670
632
|
tr {
|
|
671
633
|
&:hover {
|
|
672
|
-
border-color:
|
|
634
|
+
border-color: var(--color-highlight-lightest);
|
|
673
635
|
|
|
674
636
|
&.active {
|
|
675
|
-
border-color:
|
|
637
|
+
border-color: var(--brand-primary);
|
|
676
638
|
}
|
|
677
639
|
|
|
678
640
|
td {
|
|
679
|
-
background:
|
|
680
|
-
border-color:
|
|
641
|
+
background: var(--color-highlight-lightest);
|
|
642
|
+
border-color: .hslb(@gray-lighter-hsl, '-', '8%')[@result];
|
|
681
643
|
}
|
|
682
644
|
}
|
|
683
645
|
}
|
|
@@ -767,19 +729,19 @@
|
|
|
767
729
|
// grouped tr`s
|
|
768
730
|
tr {
|
|
769
731
|
&.compactRow {
|
|
770
|
-
background-color:
|
|
732
|
+
background-color: var(--color-white) !important;
|
|
771
733
|
}
|
|
772
734
|
|
|
773
735
|
&.extendedRow {
|
|
774
|
-
background-color:
|
|
736
|
+
background-color: .hslb(@color-white-hsl, '-', '2%')[@result] !important;
|
|
775
737
|
|
|
776
738
|
td {
|
|
777
|
-
border-top: 2px solid
|
|
739
|
+
border-top: 2px solid var(--gray-lighter) !important;
|
|
778
740
|
}
|
|
779
741
|
|
|
780
742
|
+ .compactRow {
|
|
781
743
|
td {
|
|
782
|
-
border-top: 20px solid
|
|
744
|
+
border-top: 20px solid var(--gray-lighter) !important;
|
|
783
745
|
}
|
|
784
746
|
}
|
|
785
747
|
}
|
|
@@ -812,16 +774,16 @@
|
|
|
812
774
|
.table-state(@state, @color, @hoverable) {
|
|
813
775
|
& when (@state = active) {
|
|
814
776
|
background-color: transparent;
|
|
815
|
-
box-shadow: inset 0 2px 0 0 @color, inset 0 -2px 0 0 @color, inset 0 500px 0 0
|
|
777
|
+
box-shadow: inset 0 2px 0 0 @color, inset 0 -2px 0 0 @color, inset 0 500px 0 0 var(--color-highlight-lightest);
|
|
816
778
|
|
|
817
779
|
&:first-child {
|
|
818
780
|
box-shadow: inset 0 2px 0 0 @color, inset 0 -2px 0 0 @color, inset 2px 0 0 0 @color,
|
|
819
|
-
inset 0 500px 0 0
|
|
781
|
+
inset 0 500px 0 0 var(--color-highlight-lightest);
|
|
820
782
|
}
|
|
821
783
|
|
|
822
784
|
&:last-child {
|
|
823
785
|
box-shadow: inset 0 2px 0 0 @color, inset -2px 0 0 0 @color, inset 0 -2px 0 0 @color,
|
|
824
|
-
inset 0 500px 0 0
|
|
786
|
+
inset 0 500px 0 0 var(--color-highlight-lightest);
|
|
825
787
|
}
|
|
826
788
|
}
|
|
827
789
|
|
|
@@ -829,14 +791,14 @@
|
|
|
829
791
|
&.@{state} {
|
|
830
792
|
& when (@hoverable = true) {
|
|
831
793
|
&:hover > td:first-child {
|
|
832
|
-
box-shadow: inset 5px 0 0 0 @color, inset 0 500px 0 0
|
|
794
|
+
box-shadow: inset 5px 0 0 0 @color, inset 0 500px 0 0 var(--color-highlight-lightest);
|
|
833
795
|
}
|
|
834
796
|
}
|
|
835
797
|
|
|
836
798
|
&.active, &.active:hover {
|
|
837
799
|
> td:first-child {
|
|
838
|
-
box-shadow: inset 5px 0 0 0 @color, inset 0 2px 0 0
|
|
839
|
-
inset 0 500px 0 0
|
|
800
|
+
box-shadow: inset 5px 0 0 0 @color, inset 0 2px 0 0 var(--brand-primary), inset 0 -2px 0 0 var(--brand-primary),
|
|
801
|
+
inset 0 500px 0 0 var(--color-highlight-lightest);
|
|
840
802
|
}
|
|
841
803
|
}
|
|
842
804
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.text-muted,
|
|
2
|
-
.hover-text-muted:hover { color:
|
|
2
|
+
.hover-text-muted:hover { color: var(--gray) !important }
|
|
3
3
|
|
|
4
4
|
.text-color-transparent,
|
|
5
5
|
.hover-text-color-transparent:hover { color: transparent !important }
|
|
6
6
|
|
|
7
7
|
.text-color-white,
|
|
8
|
-
.hover-text-color-white:hover { color:
|
|
8
|
+
.hover-text-color-white:hover { color: var(--color-white) !important }
|
|
9
9
|
|
|
10
10
|
.text-color-black,
|
|
11
|
-
.hover-text-color-black:hover { color:
|
|
11
|
+
.hover-text-color-black:hover { color: var(--color-black) !important }
|
|
12
12
|
|
|
13
13
|
// text alignment
|
|
14
14
|
.align-top { vertical-align: top !important }
|
|
@@ -55,6 +55,7 @@ each(@colors-gray-map, {
|
|
|
55
55
|
// map-marker-poi
|
|
56
56
|
// map-marker-geofence
|
|
57
57
|
// map-marker-route
|
|
58
|
+
.color-map-marker-text { color: var(--color-map-marker-text) !important }
|
|
58
59
|
each(@colors-map-marker-map, {
|
|
59
60
|
.text-color-@{key},
|
|
60
61
|
.hover-text-color-@{key}:hover {
|
|
@@ -183,19 +184,4 @@ h2, h3, h4, h5, h6, [class*='text-size-h'] {
|
|
|
183
184
|
|
|
184
185
|
/* Text - Selection */
|
|
185
186
|
.user-select-none { user-select: none !important }
|
|
186
|
-
.user-select-all { user-select: all !important }
|
|
187
|
-
|
|
188
|
-
// primary
|
|
189
|
-
// secondary
|
|
190
|
-
// info
|
|
191
|
-
// success
|
|
192
|
-
// warning
|
|
193
|
-
// danger
|
|
194
|
-
// each(@colors-brand-and-status-map, {
|
|
195
|
-
// .text-@{key} {
|
|
196
|
-
// a&:hover,
|
|
197
|
-
// a&:focus {
|
|
198
|
-
// color: darken(@value, 10%);
|
|
199
|
-
// }
|
|
200
|
-
// }
|
|
201
|
-
// })
|
|
187
|
+
.user-select-all { user-select: all !important }
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
html {
|
|
2
2
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
3
|
-
background:
|
|
3
|
+
background: var(--color-white);
|
|
4
4
|
font-size: 62.5%; // 14px = 1.4rem
|
|
5
5
|
|
|
6
6
|
&:not(.window-iframe) {
|
|
7
7
|
// background coloring
|
|
8
|
-
background-color:
|
|
8
|
+
background-color: var(--gray-lighter);
|
|
9
9
|
|
|
10
10
|
// larger font-sizes on mobile (including no uikit.js fallback)
|
|
11
11
|
&.ua-mobile:not(.ua-mobile-ipad),
|
|
@@ -105,7 +105,7 @@ hr {
|
|
|
105
105
|
margin-top: @grid-gutter-height;
|
|
106
106
|
margin-bottom: @grid-gutter-height;
|
|
107
107
|
border: 0;
|
|
108
|
-
border-top: 1px solid
|
|
108
|
+
border-top: 1px solid var(--gray-lighter);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
ul {
|
|
@@ -132,7 +132,7 @@ ul {
|
|
|
132
132
|
> span.rioglyph {
|
|
133
133
|
padding: 3px;
|
|
134
134
|
font-size: 18px;
|
|
135
|
-
color:
|
|
135
|
+
color: var(--gray-darker);
|
|
136
136
|
|
|
137
137
|
+ span {
|
|
138
138
|
margin-left: 10px;
|
|
@@ -159,8 +159,8 @@ ul {
|
|
|
159
159
|
position: absolute;
|
|
160
160
|
top: -4px; // with respect to 1px border
|
|
161
161
|
left: @treeListIconLeft;
|
|
162
|
-
border-left: 1px solid
|
|
163
|
-
border-bottom: 1px solid
|
|
162
|
+
border-left: 1px solid var(--gray-light);
|
|
163
|
+
border-bottom: 1px solid var(--gray-light);
|
|
164
164
|
width: @treeListIconWidth;
|
|
165
165
|
height: 15px;
|
|
166
166
|
}
|
|
@@ -170,8 +170,8 @@ ul {
|
|
|
170
170
|
content: '';
|
|
171
171
|
top: 10px;
|
|
172
172
|
left: @treeListIconLeft;
|
|
173
|
-
border-left: 1px solid
|
|
174
|
-
border-top: 1px solid
|
|
173
|
+
border-left: 1px solid var(--gray-light);
|
|
174
|
+
border-top: 1px solid var(--gray-light);
|
|
175
175
|
width: @treeListIconWidth;
|
|
176
176
|
height: 100%;
|
|
177
177
|
}
|
|
@@ -193,8 +193,8 @@ ul {
|
|
|
193
193
|
|
|
194
194
|
li {
|
|
195
195
|
padding: 10px 12px;
|
|
196
|
-
border: 1px solid
|
|
197
|
-
background:
|
|
196
|
+
border: 1px solid var(--gray-light);
|
|
197
|
+
background: var(--color-white);
|
|
198
198
|
border-radius: 3px;
|
|
199
199
|
margin-bottom: 10px;
|
|
200
200
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.thumbnail {
|
|
2
|
-
background-color:
|
|
2
|
+
background-color: var(--color-white);
|
|
3
3
|
border-radius: @border-radius-default;
|
|
4
|
-
border: 1px solid
|
|
4
|
+
border: 1px solid var(--gray-light);
|
|
5
5
|
display: block;
|
|
6
6
|
line-height: @line-height-default;
|
|
7
7
|
transition:border .2s ease-in-out;
|
|
@@ -9,7 +9,7 @@ h1, h2, h3, h4, h5, h6,
|
|
|
9
9
|
.small {
|
|
10
10
|
font-weight: normal;
|
|
11
11
|
line-height: 1;
|
|
12
|
-
color:
|
|
12
|
+
color: var(--gray-light);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -74,7 +74,7 @@ small,
|
|
|
74
74
|
|
|
75
75
|
mark,
|
|
76
76
|
.mark {
|
|
77
|
-
background-color:
|
|
77
|
+
background-color: var(--brand-warning-decent);
|
|
78
78
|
padding: .2em;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -84,7 +84,7 @@ mark,
|
|
|
84
84
|
.page-header {
|
|
85
85
|
padding-bottom: ((@grid-gutter-height / 2) - 1);
|
|
86
86
|
margin: (@grid-gutter-height * 2) 0 @grid-gutter-height;
|
|
87
|
-
border-bottom: 1px solid
|
|
87
|
+
border-bottom: 1px solid var(--gray-lighter);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
|
|
@@ -148,7 +148,7 @@ dd {
|
|
|
148
148
|
abbr[title],
|
|
149
149
|
abbr[data-original-title] {
|
|
150
150
|
cursor: help;
|
|
151
|
-
border-bottom: 1px dotted
|
|
151
|
+
border-bottom: 1px dotted var(--gray-light);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
// Addresses
|