@rio-cloud/rio-uikit 0.16.1 → 0.16.2-beta.3
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/TruckLayer.js +1 -1
- package/components/assetTree/Tree.js +1 -1
- package/components/charts/chartHelper.js +1 -1
- package/components/map/components/Map.js +147 -130
- package/components/map/components/constants.js +4 -1
- package/components/map/components/features/layers/RoadRestrictionLayer.js +26 -0
- package/components/map/components/features/layers/TrafficLayer.js +19 -6
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +20 -0
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +14 -0
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +13 -17
- 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 +41 -0
- package/components/map/components/mapUtils.js +4 -1
- package/components/mapMarker/ClusterMapMarker.js +2 -2
- package/components/mapMarker/SingleMapMarker.js +2 -2
- package/components/sidebars/Sidebar.js +2 -2
- package/hooks/useHereMap.ts +23 -0
- package/hooks/useScripts.ts +52 -0
- 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/TruckLayer.js +2 -2
- package/lib/es/components/assetTree/Tree.js +1 -1
- package/lib/es/components/charts/chartHelper.js +1 -1
- package/lib/es/components/map/components/Map.js +145 -125
- package/lib/es/components/map/components/constants.js +3 -0
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +34 -0
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +18 -6
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +26 -0
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +21 -0
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +13 -18
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +13 -18
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +13 -18
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +49 -0
- package/lib/es/components/map/components/mapUtils.js +6 -3
- 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 +2 -2
- package/lib/es/hooks/useHereMap.ts +23 -0
- package/lib/es/hooks/useScripts.ts +52 -0
- package/lib/es/hooks/useScrollPosition.js +80 -0
- package/lib/es/index.js +24 -1
- package/lib/es/mapIndex.js +2 -2
- 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 +6 -1
- package/lib/es/useScrollPosition.d.ts +4 -0
- package/lib/es/useScrollPosition.js +13 -0
- package/lib/es/utils/colorScheme.js +59 -0
- package/lib/es/utils/init.js +2 -0
- package/lib/es/version.json +1 -1
- package/mapIndex.js +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 +6 -1
- package/useScrollPosition.d.ts +4 -0
- package/useScrollPosition.js +2 -0
- package/utils/colorScheme.js +50 -0
- package/utils/init.js +2 -0
- package/version.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Pagination
|
|
2
|
-
@pagination-color:
|
|
3
|
-
@pagination-active-bg:
|
|
4
|
-
@pagination-active-color:
|
|
2
|
+
@pagination-color: var(--gray-dark);
|
|
3
|
+
@pagination-active-bg: var(--gray-lighter);
|
|
4
|
+
@pagination-active-color: var(--gray-dark);
|
|
5
5
|
|
|
6
6
|
.pagination {
|
|
7
7
|
.reset-list();
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&:empty {
|
|
63
|
-
background:
|
|
63
|
+
background: var(--color-highlight-decent);
|
|
64
64
|
border-radius: @border-radius-sm;
|
|
65
|
-
border: 1px solid
|
|
65
|
+
border: 1px solid var(--color-highlight);
|
|
66
66
|
height: 10px;
|
|
67
67
|
margin: 0 5px;
|
|
68
68
|
width: 20px;
|
|
69
69
|
|
|
70
70
|
&.active,
|
|
71
71
|
&:hover {
|
|
72
|
-
background:
|
|
72
|
+
background: var(--color-highlight);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// Pager
|
|
99
|
-
@pager-border:
|
|
100
|
-
@pager-hover-bg:
|
|
101
|
-
@pager-active-bg:
|
|
99
|
+
@pager-border: var(--gray-light);
|
|
100
|
+
@pager-hover-bg: var(--gray-lighter);
|
|
101
|
+
@pager-active-bg: var(--gray);
|
|
102
102
|
@pager-active-color: @pagination-active-color;
|
|
103
103
|
|
|
104
104
|
.pager {
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
&,
|
|
154
154
|
&:hover,
|
|
155
155
|
&:focus {
|
|
156
|
-
color:
|
|
156
|
+
color: var(--gray-light);
|
|
157
157
|
cursor: not-allowed;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@panel-y-padding: 10px;
|
|
3
3
|
|
|
4
4
|
.panel {
|
|
5
|
-
background-color:
|
|
5
|
+
background-color: var(--color-white);
|
|
6
6
|
border-radius: @border-radius-default;
|
|
7
7
|
border: 1px solid transparent;
|
|
8
8
|
margin-bottom: @grid-gutter-height;
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
|
|
14
14
|
&.panel-default {
|
|
15
15
|
&.active {
|
|
16
|
-
background-color:
|
|
17
|
-
border: 1px solid
|
|
18
|
-
box-shadow: inset 0 0 0 1px
|
|
16
|
+
background-color: var(--color-highlight-decent);
|
|
17
|
+
border: 1px solid var(--brand-primary);
|
|
18
|
+
box-shadow: inset 0 0 0 1px var(--brand-primary);
|
|
19
19
|
|
|
20
20
|
.panel-heading,
|
|
21
21
|
.panel-footer {
|
|
22
|
-
background-color:
|
|
23
|
-
border-color:
|
|
24
|
-
box-shadow: inset 0 0 0 1px
|
|
22
|
+
background-color: var(--color-highlight-decent);
|
|
23
|
+
border-color: var(--brand-primary);
|
|
24
|
+
box-shadow: inset 0 0 0 1px var(--brand-primary);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
// default
|
|
69
|
-
.panel-variant(
|
|
69
|
+
.panel-variant(var(--color-white), var(--gray-light), var(--gray-darkest));
|
|
70
70
|
|
|
71
71
|
// primary
|
|
72
72
|
// secondary
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
// danger
|
|
77
77
|
each(@colors-brand-and-status-map, {
|
|
78
78
|
&.panel-@{key} {
|
|
79
|
-
.panel-variant(@value, @value,
|
|
79
|
+
.panel-variant(@value, @value, var(--color-white));
|
|
80
80
|
}
|
|
81
81
|
})
|
|
82
82
|
}
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
padding: @panel-x-padding;
|
|
87
87
|
|
|
88
88
|
~ .table {
|
|
89
|
-
border-top: 1px solid
|
|
89
|
+
border-top: 1px solid var(--gray-light);
|
|
90
90
|
margin-bottom: 0
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@popover-max-width: 550px;
|
|
2
|
-
@popover-color:
|
|
3
|
-
@popover-arrow-color:
|
|
2
|
+
@popover-color: var(--color-white);
|
|
3
|
+
@popover-arrow-color: var(--color-white);
|
|
4
4
|
@popover-arrow-width: 12px;
|
|
5
5
|
@popover-arrow-outer-width: 11px;
|
|
6
6
|
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
background-clip: padding-box;
|
|
10
10
|
background-color: @popover-color;
|
|
11
11
|
border-radius: @border-radius-lg;
|
|
12
|
-
border: 1px solid
|
|
12
|
+
border: 1px solid var(--gray-light);
|
|
13
13
|
max-width: @popover-max-width;
|
|
14
14
|
padding: 0;
|
|
15
15
|
position: absolute;
|
|
16
16
|
z-index: @zindex-popover;
|
|
17
17
|
|
|
18
18
|
.popover-title {
|
|
19
|
-
border-bottom: 1px solid
|
|
19
|
+
border-bottom: 1px solid var(--gray-light);
|
|
20
20
|
padding: 13px 14px;
|
|
21
21
|
font-weight: normal;
|
|
22
22
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
> .arrow {
|
|
54
54
|
left: 50%;
|
|
55
55
|
border-bottom-width: 0;
|
|
56
|
-
border-top-color:
|
|
56
|
+
border-top-color: var(--gray-light);
|
|
57
57
|
bottom: -(@popover-arrow-outer-width);
|
|
58
58
|
|
|
59
59
|
&:after {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
top: 50%;
|
|
72
72
|
left: -(@popover-arrow-outer-width);
|
|
73
73
|
border-left-width: 0;
|
|
74
|
-
border-right-color:
|
|
74
|
+
border-right-color: var(--gray-light);
|
|
75
75
|
|
|
76
76
|
&:after {
|
|
77
77
|
content: "";
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
> .arrow {
|
|
88
88
|
left: 50%;
|
|
89
89
|
border-top-width: 0;
|
|
90
|
-
border-bottom-color:
|
|
90
|
+
border-bottom-color: var(--gray-light);
|
|
91
91
|
top: -(@popover-arrow-outer-width);
|
|
92
92
|
|
|
93
93
|
&:after {
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
top: 50%;
|
|
106
106
|
right: -(@popover-arrow-outer-width);
|
|
107
107
|
border-right-width: 0;
|
|
108
|
-
border-left-color:
|
|
108
|
+
border-left-color: var(--gray-light);
|
|
109
109
|
|
|
110
110
|
&:after {
|
|
111
111
|
content: "";
|
|
@@ -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);
|
|
@@ -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
|
|