@rio-cloud/rio-uikit 0.15.0-beta-46 → 0.15.0
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/README.md +197 -192
- package/lib/components/actionBarItem/ActionBarItem.js +9 -0
- package/lib/components/actionBarItem/ActionBarItemList.js +38 -0
- package/lib/components/actionBarItem/ActionBarItemListItem.js +51 -0
- package/lib/components/actionBarItem/ActionBarItemListSeparator.js +37 -0
- package/lib/components/actionBarItem/ActionBarOverlay.js +2 -2
- package/lib/components/animatedNumber/AnimatedNumber.js +81 -0
- package/lib/components/applicationHeader/ApplicationHeader.js +4 -1
- package/lib/components/applicationLayout/ApplicationLayoutBody.js +3 -1
- package/lib/components/assetTree/AssetTree.less +3 -2
- package/lib/components/assetTree/Tree.js +3 -3
- package/lib/components/autosuggest/AutoSuggest.js +5 -3
- package/lib/components/bottomSheet/BottomSheet.js +157 -0
- package/lib/components/browserWarning/BrowserWarningMessageDE.js +1 -1
- package/lib/components/browserWarning/BrowserWarningMessageEN.js +1 -1
- package/lib/components/button/Button.js +127 -7
- package/lib/components/button/ToggleButton.js +11 -108
- package/lib/components/charts/BarChart.js +4 -3
- package/lib/components/charts/ChartNeedle.js +2 -2
- package/lib/components/charts/PieChart.js +11 -6
- package/lib/components/charts/RadialBarChart.js +4 -1
- package/lib/components/charts/chartHelper.js +3 -3
- package/lib/components/checkbox/Checkbox.js +127 -171
- package/lib/components/checkbox/Checkbox.less +4 -2
- package/lib/components/clearableInput/ClearableInput.js +2 -2
- package/lib/components/clearableInput/ClearableInput.less +2 -1
- package/lib/components/dataTabs/DataTabs.js +78 -120
- package/lib/components/datepicker/DatePicker.js +41 -72
- package/lib/components/datepicker/DatePicker.less +35 -5
- package/lib/components/datepicker/DateRangePicker.js +3 -3
- package/lib/components/dialog/Dialog.js +2 -2
- package/lib/components/dialog/InfoDialog.js +2 -2
- package/lib/components/dialog/MediaDialog.js +2 -2
- package/lib/components/dialog/SaveDialog.js +2 -2
- package/lib/components/dialog/SimpleDialog.js +2 -2
- package/lib/components/dialog/SplitDialog.js +2 -2
- package/lib/components/driverName/DriverName.js +1 -1
- package/lib/components/dropdown/ButtonDropdown.js +2 -2
- package/lib/components/dropdown/DropdownSubmenu.less +2 -2
- package/lib/components/fade/Fade.js +2 -2
- package/lib/components/filepicker/FilePicker.js +2 -2
- package/lib/components/listMenu/ListMenu.js +2 -2
- package/lib/components/loadMore/LoadMoreButton.js +1 -1
- package/lib/components/map/components/Map.js +2 -2
- package/lib/components/map/components/constants.js +1 -1
- package/lib/components/map/components/features/Route.js +2 -2
- package/lib/components/map/components/features/basics/MapLayerGroup.js +2 -2
- package/lib/components/map/components/features/basics/marker/Marker.js +2 -1
- package/lib/components/map/components/features/basics/marker/TextMarker.js +1 -1
- package/lib/components/map/components/features/layers/MarkerLayer.js +2 -2
- package/lib/components/map/components/features/layers/clustering/SimpleClusterLayer.js +2 -2
- package/lib/components/map/utils/eventHandling.js +5 -4
- package/lib/components/map/utils/hooks.js +1 -1
- package/lib/components/map/utils/validation.js +1 -1
- package/lib/components/numberControl/NumberControl.js +165 -145
- package/lib/components/numberInput/NumberInput.js +152 -233
- package/lib/components/onboarding/OnboardingTip.js +1 -1
- package/lib/components/overlay/OverlayTrigger.js +2 -1
- package/lib/components/radiobutton/RadioButton.js +116 -148
- package/lib/components/radiobutton/RadioButton.less +10 -6
- package/lib/components/resizer/Resizer.less +2 -2
- package/lib/components/selects/BaseDropdownMenu.js +2 -2
- package/lib/components/selects/DropdownHeader.js +2 -6
- package/lib/components/spinner/Spinner.js +1 -1
- package/lib/components/spinner/Spinner.less +2 -2
- package/lib/components/states/MaintenanceState.js +25 -0
- package/lib/components/states/baseStatePropTypes.js +1 -1
- package/lib/components/supportMarker/toggleSupportMarker.js +1 -1
- package/lib/components/table/SortArrows.js +1 -1
- package/lib/components/table/TableCardsSorting.js +7 -7
- package/lib/components/table/TableSettingsDialog.js +2 -2
- package/lib/components/table/TableSettingsListItem.js +1 -1
- package/lib/components/teaser/Teaser.js +1 -1
- package/lib/components/timepicker/TimePicker.js +10 -2
- package/lib/components/tooltip/Tooltip.js +4 -4
- package/lib/components/tooltip/Tooltip.less +0 -10
- package/lib/es/ActionBarItem.d.ts +6 -0
- package/lib/es/ActionBarItemList.d.ts +5 -0
- package/lib/es/ActionBarItemList.js +15 -0
- package/lib/es/ActionBarItemListItem.d.ts +5 -0
- package/lib/es/ActionBarItemListItem.js +15 -0
- package/lib/es/ActionBarItemListSeparator.d.ts +5 -0
- package/lib/es/ActionBarItemListSeparator.js +15 -0
- package/lib/es/AnimatedNumber.d.ts +5 -0
- package/lib/es/AnimatedNumber.js +15 -0
- package/lib/es/BottomSheet.d.ts +5 -0
- package/lib/es/BottomSheet.js +15 -0
- package/lib/es/DeviceUtils.d.ts +5 -0
- package/lib/es/MaintenanceState.d.ts +5 -0
- package/lib/es/MaintenanceState.js +15 -0
- package/lib/es/SortDirection.d.ts +6 -0
- package/lib/es/SortDirection.js +13 -0
- package/lib/es/SortUtils.d.ts +6 -0
- package/lib/es/SortUtils.js +19 -0
- package/lib/es/SupportMarker.js +15 -0
- package/lib/es/deviceUtils.js +14 -2
- package/lib/es/routeUtils.js +6 -6
- package/lib/es/useAfterMount.d.ts +4 -0
- package/lib/es/useAfterMount.js +15 -0
- package/lib/es/useClickOutside.d.ts +4 -0
- package/lib/es/useClickOutside.js +15 -0
- package/lib/es/useClipboard.d.ts +4 -0
- package/lib/es/useClipboard.js +15 -0
- package/lib/es/useDebugInfo.d.ts +4 -0
- package/lib/es/useDebugInfo.js +15 -0
- package/lib/es/useEffectOnce.d.ts +4 -0
- package/lib/es/useEffectOnce.js +15 -0
- package/lib/es/useElementSize.d.ts +4 -0
- package/lib/es/useElementSize.js +15 -0
- package/lib/es/useEsc.d.ts +4 -0
- package/lib/es/useEsc.js +15 -0
- package/lib/es/useEvent.d.ts +4 -0
- package/lib/es/useEvent.js +15 -0
- package/lib/es/useInterval.d.ts +4 -0
- package/lib/es/useInterval.js +15 -0
- package/lib/es/useKey.d.ts +4 -0
- package/lib/es/useKey.js +15 -0
- package/lib/es/useLocalStorage.d.ts +4 -0
- package/lib/es/useLocalStorage.js +13 -0
- package/lib/es/useOnMount.js +15 -0
- package/lib/es/useOnScreen.d.ts +4 -0
- package/lib/es/useOnScreen.js +15 -0
- package/lib/es/useOnlineStatus.d.ts +4 -0
- package/lib/es/useOnlineStatus.js +15 -0
- package/lib/es/useRenderCount.d.ts +4 -0
- package/lib/es/useRenderCount.js +15 -0
- package/lib/es/useSessionStorage.d.ts +4 -0
- package/lib/es/useSessionStorage.js +13 -0
- package/lib/es/useStateWithValidation.d.ts +4 -0
- package/lib/es/useStateWithValidation.js +15 -0
- package/lib/es/useTimeout.d.ts +4 -0
- package/lib/es/useTimeout.js +15 -0
- package/lib/es/useWindowResize.d.ts +4 -0
- package/lib/es/useWindowResize.js +15 -0
- package/lib/hooks/useDebugInfo.js +55 -0
- package/lib/hooks/useInterval.js +30 -0
- package/lib/hooks/useOnScreen.js +46 -0
- package/lib/hooks/useOnlineStatus.js +30 -0
- package/lib/hooks/useRenderCount.js +17 -0
- package/lib/hooks/useStateWithValidation.js +33 -0
- package/lib/hooks/useStorage.js +53 -0
- package/lib/hooks/useTimeout.js +9 -6
- package/lib/index.js +274 -266
- package/lib/mapIndex.js +72 -72
- package/lib/style/css/_exports/man-uikit.less +1 -0
- package/lib/style/css/_exports/rio-buyButton.less +5 -0
- package/lib/style/css/_exports/rio-uikit-core.less +2 -2
- package/lib/style/css/_exports/rio-uikit-print-utilities.less +21 -0
- package/lib/style/css/_exports/rio-uikit-responsive-utilities.less +2 -1
- package/lib/style/css/_exports/rio-uikit.less +1 -0
- package/lib/style/css/_exports/rio-website.less +131 -0
- package/lib/style/css/_exports/vw-uikit.less +2 -1
- package/lib/style/css/bootstrap/badges.less +0 -12
- package/lib/style/css/bootstrap/dropdowns.less +13 -13
- package/lib/style/css/bootstrap/type.less +11 -4
- package/lib/style/css/rio-theme/badges.less +48 -1
- package/lib/style/css/rio-theme/button-groups.less +1 -1
- package/lib/style/css/rio-theme/buttons.less +58 -16
- package/lib/style/css/rio-theme/carousel.less +1 -1
- package/lib/style/css/rio-theme/dropdowns.less +6 -26
- package/lib/style/css/rio-theme/navbar.less +46 -3
- package/lib/style/css/rio-theme/navs.less +19 -0
- package/lib/style/css/rio-theme/pagination.less +1 -1
- package/lib/style/css/utils/_imports.less +82 -0
- package/lib/style/css/utils/animations/translate.less +4 -1
- package/lib/style/css/utils/responsive/border.less +27 -19
- package/lib/style/css/utils/responsive/display.less +2 -0
- package/lib/style/css/utils/responsive/grid.less +6 -0
- package/lib/style/css/utils/responsive/sizing.less +1 -1
- package/lib/style/css/utils/text.less +3 -0
- package/lib/style/fonts/rioglyph/rioglyph.less +74 -14
- package/lib/style/fonts/rioglyph/rioglyph.svg +106 -34
- package/lib/style/fonts/rioglyph/rioglyph.ttf +0 -0
- package/lib/style/fonts/rioglyph/rioglyph.woff +0 -0
- package/lib/types.ts +139 -22
- package/lib/utils/SortUtils.js +54 -0
- package/lib/utils/buttonEffect.js +68 -0
- package/lib/utils/deviceUtils.js +1 -5
- package/lib/utils/logDeprecatedWarnings.js +1 -1
- package/lib/utils/logPropError.js +1 -1
- package/lib/utils/routeUtils.js +7 -6
- package/lib/utils/scrollItemIntoView.js +1 -1
- package/lib/version.json +1 -1
- package/package.json +73 -75
|
@@ -6,15 +6,21 @@
|
|
|
6
6
|
@badge-active-color: @link-color;
|
|
7
7
|
@badge-active-bg: @color-white;
|
|
8
8
|
@badge-font-weight: normal;
|
|
9
|
+
@badge-font-weight-bold: 600;
|
|
9
10
|
@badge-line-height: 1;
|
|
10
11
|
@badge-border-radius: 1000px;
|
|
11
12
|
|
|
12
13
|
.badge {
|
|
13
14
|
font-size: 12px;
|
|
14
|
-
min-width: 10px;
|
|
15
15
|
padding: 4px 7px;
|
|
16
16
|
vertical-align: baseline;
|
|
17
17
|
|
|
18
|
+
// Empty badges are just a dot
|
|
19
|
+
&:empty {
|
|
20
|
+
width: 16px;
|
|
21
|
+
height: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
18
24
|
&.badge-lg {
|
|
19
25
|
font-size: 16px;
|
|
20
26
|
min-width: 24px;
|
|
@@ -25,6 +31,43 @@
|
|
|
25
31
|
min-width: 30px;
|
|
26
32
|
padding: 4px 9px;
|
|
27
33
|
}
|
|
34
|
+
|
|
35
|
+
&.badge-default {
|
|
36
|
+
color: @color-white;
|
|
37
|
+
background-color: @gray-dark;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.badge-primary {
|
|
41
|
+
color: @color-white;
|
|
42
|
+
background-color: @brand-primary;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.badge-success {
|
|
46
|
+
color: @color-white;
|
|
47
|
+
background-color: @brand-success;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.badge-danger {
|
|
51
|
+
color: @color-white;
|
|
52
|
+
background-color: @brand-danger;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.badge-warning {
|
|
56
|
+
color: @color-white;
|
|
57
|
+
background-color: @brand-warning;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.badge-info {
|
|
61
|
+
color: @color-white;
|
|
62
|
+
background-color: @brand-info;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.badge-muted {
|
|
66
|
+
color: @gray-dark;
|
|
67
|
+
box-shadow: inset 0px 0px 0px 1px @gray-light;
|
|
68
|
+
background-color: @gray-lightest;
|
|
69
|
+
font-weight: @badge-font-weight-bold;
|
|
70
|
+
}
|
|
28
71
|
}
|
|
29
72
|
|
|
30
73
|
.indicated-icon {
|
|
@@ -43,5 +86,9 @@
|
|
|
43
86
|
position: absolute !important;
|
|
44
87
|
right: 0 !important;
|
|
45
88
|
top: 2px !important;
|
|
89
|
+
|
|
90
|
+
&:empty {
|
|
91
|
+
top: 6px !important;
|
|
92
|
+
}
|
|
46
93
|
}
|
|
47
94
|
}
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
.btn {
|
|
53
53
|
position: relative;
|
|
54
|
+
overflow: hidden;
|
|
54
55
|
display: inline-flex;
|
|
55
56
|
align-items: center;
|
|
56
57
|
justify-content: center;
|
|
@@ -79,6 +80,14 @@
|
|
|
79
80
|
padding: 0;
|
|
80
81
|
}
|
|
81
82
|
|
|
83
|
+
&.btn-toggle.active {
|
|
84
|
+
box-shadow: inset 0 1px 5px 1px rgb(90 101 102 / 50%);
|
|
85
|
+
|
|
86
|
+
&.btn-primary {
|
|
87
|
+
box-shadow: inset 0 1px 5px 1px rgb(90 101 102 / 70%);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
82
91
|
&-toolbar {
|
|
83
92
|
display: flex;
|
|
84
93
|
flex-wrap: wrap;
|
|
@@ -91,21 +100,6 @@
|
|
|
91
100
|
}
|
|
92
101
|
}
|
|
93
102
|
|
|
94
|
-
// > *:not(.modal) {
|
|
95
|
-
// float: left !important;
|
|
96
|
-
|
|
97
|
-
// &:not(:last-child) {
|
|
98
|
-
// margin-right: 10px;
|
|
99
|
-
// }
|
|
100
|
-
// }
|
|
101
|
-
|
|
102
|
-
// .btn,
|
|
103
|
-
// .btn-group,
|
|
104
|
-
// .input-group {
|
|
105
|
-
// margin-left: 0 !important;
|
|
106
|
-
// float: none !important;
|
|
107
|
-
// }
|
|
108
|
-
|
|
109
103
|
.btn + .dropdown-toggle,
|
|
110
104
|
.btn-group > .btn:not(:first-child) {
|
|
111
105
|
margin-left: -1px !important;
|
|
@@ -397,7 +391,7 @@
|
|
|
397
391
|
&:before {
|
|
398
392
|
.rioglyph;
|
|
399
393
|
content: "\e9c7";
|
|
400
|
-
color: @
|
|
394
|
+
color: @brand-primary;
|
|
401
395
|
animation: spinning 1s linear infinite;
|
|
402
396
|
font-size: 20px;
|
|
403
397
|
}
|
|
@@ -563,3 +557,51 @@
|
|
|
563
557
|
);
|
|
564
558
|
}
|
|
565
559
|
}
|
|
560
|
+
|
|
561
|
+
.btn-ripple {
|
|
562
|
+
position: absolute;
|
|
563
|
+
z-index: 1;
|
|
564
|
+
border-radius: 50%;
|
|
565
|
+
transform: scale(0);
|
|
566
|
+
animation: ripple 600ms linear;
|
|
567
|
+
background-color: rgba(255, 255, 255, 0.7);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
@keyframes ripple {
|
|
571
|
+
to {
|
|
572
|
+
transform: scale(4);
|
|
573
|
+
opacity: 0;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
// Currently deactivated, because some services are already using the beta and we should introduce it globally and inform about it before.
|
|
579
|
+
// .btn-default,
|
|
580
|
+
// .btn-primary,
|
|
581
|
+
// .btn-secondary,
|
|
582
|
+
// .btn-success,
|
|
583
|
+
// .btn-info,
|
|
584
|
+
// .btn-warning,
|
|
585
|
+
// .btn-danger {
|
|
586
|
+
// &:not(.btn-link):not(.btn-action) {
|
|
587
|
+
// transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
|
|
588
|
+
|
|
589
|
+
// &:hover {
|
|
590
|
+
// transform: translateY(-2px);
|
|
591
|
+
// box-shadow: 0px 2px 4px 0px rgb(143 143 143 / 60%);
|
|
592
|
+
// }
|
|
593
|
+
// }
|
|
594
|
+
// }
|
|
595
|
+
|
|
596
|
+
// .btn-no-hover-effect:hover {
|
|
597
|
+
// transform: none !important;
|
|
598
|
+
// box-shadow: none !important;
|
|
599
|
+
// }
|
|
600
|
+
|
|
601
|
+
// .input-group-btn,
|
|
602
|
+
// .btn-group-vertical {
|
|
603
|
+
// .btn:hover {
|
|
604
|
+
// transform: none !important;
|
|
605
|
+
// box-shadow: none !important;
|
|
606
|
+
// }
|
|
607
|
+
// }
|
|
@@ -26,15 +26,16 @@
|
|
|
26
26
|
.shadow-hard-to-bottom();
|
|
27
27
|
margin: -1px 0 0 0;
|
|
28
28
|
padding: 0;
|
|
29
|
-
min-width: 100%;
|
|
30
29
|
|
|
31
30
|
> li {
|
|
32
31
|
> a {
|
|
33
32
|
cursor: pointer;
|
|
34
33
|
line-height: 1.25;
|
|
35
34
|
padding: 7px 13px;
|
|
35
|
+
margin: 2px 6px;
|
|
36
36
|
position: relative;
|
|
37
37
|
user-select: none;
|
|
38
|
+
border-radius: 4px;
|
|
38
39
|
|
|
39
40
|
&:active:focus {
|
|
40
41
|
outline: 0;
|
|
@@ -48,17 +49,11 @@
|
|
|
48
49
|
&:last-child:not(:first-child) {
|
|
49
50
|
margin-bottom: 5px;
|
|
50
51
|
}
|
|
51
|
-
|
|
52
|
-
.TagManager & {
|
|
53
|
-
&:first-child:not(:last-child) {
|
|
54
|
-
margin-top: 0;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
52
|
}
|
|
58
53
|
|
|
59
54
|
> .active > a {
|
|
60
55
|
color: inherit;
|
|
61
|
-
background-color: inherit;
|
|
56
|
+
background-color: inherit;
|
|
62
57
|
}
|
|
63
58
|
|
|
64
59
|
.menuitem:focus {
|
|
@@ -67,47 +62,32 @@
|
|
|
67
62
|
|
|
68
63
|
> .dropdown-header {
|
|
69
64
|
display: flex;
|
|
70
|
-
padding:
|
|
65
|
+
padding: 5px 10px;
|
|
71
66
|
pointer-events: none;
|
|
72
67
|
align-items: center;
|
|
73
68
|
|
|
74
|
-
.dropdown-header-line {
|
|
75
|
-
flex: 1 1 auto;
|
|
76
|
-
|
|
77
|
-
hr {
|
|
78
|
-
border-width: 2px;
|
|
79
|
-
margin: 0;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
69
|
&:not(.center) {
|
|
84
70
|
margin-top: 15px;
|
|
85
71
|
|
|
86
72
|
~ li:not(.dropdown-header) a {
|
|
87
73
|
padding-left: 20px;
|
|
88
74
|
}
|
|
89
|
-
|
|
90
|
-
.dropdown-header-line:first-child {
|
|
91
|
-
flex: 0 0 auto;
|
|
92
|
-
width: 8px;
|
|
93
|
-
}
|
|
94
75
|
}
|
|
95
76
|
|
|
96
77
|
.dropdown-header-text {
|
|
97
78
|
background: @color-white;
|
|
98
|
-
color: @gray
|
|
79
|
+
color: lighten(@gray, 5%);
|
|
99
80
|
font-size: 12px;
|
|
100
81
|
font-weight: @text-medium;
|
|
101
82
|
line-height: 1.25;
|
|
102
83
|
max-width: calc(~"100% - 30px");
|
|
103
|
-
padding: 1px 5px 2px 5px;
|
|
104
84
|
text-align: center;
|
|
105
85
|
text-transform: uppercase;
|
|
106
86
|
}
|
|
107
87
|
}
|
|
108
88
|
|
|
109
89
|
> .divider {
|
|
110
|
-
margin:
|
|
90
|
+
margin: 3px 6px;
|
|
111
91
|
}
|
|
112
92
|
}
|
|
113
93
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@import '../bootstrap/navbar.less';
|
|
2
2
|
|
|
3
3
|
@navbar-height: 50px;
|
|
4
|
-
@navbar-application-dropdown-width: 300px;
|
|
5
4
|
@navbar-height-without-border: @navbar-height - 1;
|
|
5
|
+
@navbar-application-dropdown-width: 300px;
|
|
6
6
|
@navbar-padding-horizontal: @grid-gutter-width;
|
|
7
7
|
@navbar-padding-vertical: 15px;
|
|
8
8
|
@navbar-margin-bottom: @navbar-padding-vertical;
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
// Custom variables
|
|
46
46
|
@navbar-brand-home-icon: url('https://cdn.rio.cloud/svg/common/ico_home.svg');
|
|
47
|
+
@navbar-brand-icon: url('https://cdn.rio.cloud/svg/common/ico_rio_colored.svg');
|
|
47
48
|
@navbar-collapse-max-height: 340px;
|
|
48
49
|
@box-shadow: inset 0 -3px 0 @color-black, 0 1px 0 @color-black;
|
|
49
50
|
|
|
@@ -109,13 +110,18 @@
|
|
|
109
110
|
|
|
110
111
|
.navbar-brand {
|
|
111
112
|
background-color: transparent !important;
|
|
112
|
-
background-image: @navbar-brand-
|
|
113
|
+
background-image: @navbar-brand-icon !important;
|
|
114
|
+
background-size: cover;
|
|
113
115
|
height: @navbar-height-without-border;
|
|
114
116
|
margin: 0;
|
|
115
117
|
padding: 0;
|
|
116
118
|
position: relative;
|
|
117
119
|
width: @navbar-height;
|
|
118
120
|
|
|
121
|
+
&.home-icon {
|
|
122
|
+
background-image: @navbar-brand-home-icon !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
119
125
|
&:after {
|
|
120
126
|
background: @color-black;
|
|
121
127
|
content: '';
|
|
@@ -346,7 +352,7 @@
|
|
|
346
352
|
right: 0;
|
|
347
353
|
}
|
|
348
354
|
|
|
349
|
-
.dropdown-toggle {
|
|
355
|
+
> .dropdown-toggle {
|
|
350
356
|
margin: 0 !important;
|
|
351
357
|
padding: 15px 15px !important;
|
|
352
358
|
|
|
@@ -440,3 +446,40 @@
|
|
|
440
446
|
}
|
|
441
447
|
}
|
|
442
448
|
}
|
|
449
|
+
|
|
450
|
+
.ActionBarItemList {
|
|
451
|
+
margin: 0;
|
|
452
|
+
padding: 0;
|
|
453
|
+
|
|
454
|
+
&Item {
|
|
455
|
+
display: flex;
|
|
456
|
+
align-items: flex-start;
|
|
457
|
+
gap: 8px;
|
|
458
|
+
padding-top: 5px;
|
|
459
|
+
padding-bottom: 5px;
|
|
460
|
+
|
|
461
|
+
&Icon {
|
|
462
|
+
margin-top: 2px;
|
|
463
|
+
color: @gray-dark;
|
|
464
|
+
font-size: 16px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
&Button {
|
|
468
|
+
.btn;
|
|
469
|
+
.btn-link;
|
|
470
|
+
.btn-multiline;
|
|
471
|
+
text-align: left;
|
|
472
|
+
padding: 0;
|
|
473
|
+
height: auto;
|
|
474
|
+
|
|
475
|
+
&:hover {
|
|
476
|
+
text-decoration: underline;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
&Separator {
|
|
482
|
+
margin-top: 5px;
|
|
483
|
+
margin-bottom: 5px;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
@@ -164,6 +164,25 @@
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
&-filled {
|
|
168
|
+
background: @gray-lightest;
|
|
169
|
+
border-radius: 5px;
|
|
170
|
+
box-shadow: none !important;
|
|
171
|
+
padding: 5px;
|
|
172
|
+
|
|
173
|
+
> li.active,
|
|
174
|
+
> li:hover {
|
|
175
|
+
.shadow-default;
|
|
176
|
+
background: @color-white;
|
|
177
|
+
border-radius: 5px;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
|
|
180
|
+
> a, > span, > div {
|
|
181
|
+
box-shadow: none !important;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
167
186
|
&.nav-justified {
|
|
168
187
|
@media (min-width: 0) {
|
|
169
188
|
display: flex;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// RIO Theme // Responsive Utility Classes
|
|
2
|
+
.resonsive-imports(@breakpoint) {
|
|
3
|
+
@suffix: @breakpoint;
|
|
4
|
+
@import (multiple) "responsive/alignment.less";
|
|
5
|
+
@import (multiple) "responsive/backgrounds.less";
|
|
6
|
+
@import (multiple) "responsive/border.less";
|
|
7
|
+
@import (multiple) "responsive/display.less";
|
|
8
|
+
@import (multiple) "responsive/flexbox.less";
|
|
9
|
+
@import (multiple) "responsive/floating.less";
|
|
10
|
+
@import (multiple) "responsive/grid.less";
|
|
11
|
+
@import (multiple) "responsive/hyphens.less";
|
|
12
|
+
@import (multiple) "responsive/overflow.less";
|
|
13
|
+
@import (multiple) "responsive/position.less";
|
|
14
|
+
@import (multiple) "responsive/spacings.less";
|
|
15
|
+
@import (multiple) "responsive/sizing.less";
|
|
16
|
+
@import (multiple) "responsive/text.less";
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// RIO Theme // Utility Classes
|
|
20
|
+
.import-utilities(@default, @xs, @ls, @sm, @md, @lg, @xl, @print) {
|
|
21
|
+
|
|
22
|
+
// Basic Utility Classes
|
|
23
|
+
& when (@default = true) {
|
|
24
|
+
@import (less) 'colors.less';
|
|
25
|
+
@import (less) 'custom.less';
|
|
26
|
+
@import (less) 'cursors.less';
|
|
27
|
+
@import (less) 'ellipsis.less';
|
|
28
|
+
@import (less) 'grid.less';
|
|
29
|
+
@import (less) 'misc.less';
|
|
30
|
+
@import (less) 'opacity.less';
|
|
31
|
+
@import (less) 'overflow.less';
|
|
32
|
+
@import (less) 'position.less';
|
|
33
|
+
@import (less) 'rounded.less';
|
|
34
|
+
@import (less) 'shadows.less';
|
|
35
|
+
@import (less) 'text.less';
|
|
36
|
+
@import (less) 'z-index.less';
|
|
37
|
+
.resonsive-imports(~'');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Breakpoints
|
|
41
|
+
& when (@xs = true) {
|
|
42
|
+
@media (max-width: @screen-xs-max) {
|
|
43
|
+
.resonsive-imports(-xs);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
& when (@ls = true) {
|
|
48
|
+
@media (min-width: @screen-ls) {
|
|
49
|
+
.resonsive-imports(-ls);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
& when (@sm = true) {
|
|
54
|
+
@media (min-width: @screen-sm) {
|
|
55
|
+
.resonsive-imports(-sm);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& when (@md = true) {
|
|
60
|
+
@media (min-width: @screen-md) {
|
|
61
|
+
.resonsive-imports(-md);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
& when (@lg = true) {
|
|
66
|
+
@media (min-width: @screen-lg) {
|
|
67
|
+
.resonsive-imports(-lg);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
& when (@xl = true) {
|
|
72
|
+
@media (min-width: @screen-xl) {
|
|
73
|
+
.resonsive-imports(-xl);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
& when (@print = true) {
|
|
78
|
+
@media print {
|
|
79
|
+
.resonsive-imports(-print);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
/* Border */
|
|
2
|
+
|
|
3
|
+
// default values used as shorthand ".border" class
|
|
4
|
+
.border@{suffix} {
|
|
5
|
+
border-style: solid !important;
|
|
6
|
+
border-width: 1px !important;
|
|
7
|
+
border-color: @gray-light !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
2
10
|
.border {
|
|
3
11
|
&-style-solid@{suffix} { border-style: solid !important}
|
|
4
12
|
&-style-dotted@{suffix} { border-style: dotted !important}
|
|
@@ -28,29 +36,29 @@
|
|
|
28
36
|
&-highlight-light@{suffix} { border-color: @color-highlight-light !important}
|
|
29
37
|
&-highlight-lighter@{suffix} { border-color: @color-highlight-lighter !important}
|
|
30
38
|
&-highlight-lightest@{suffix} { border-color: @color-highlight-lightest !important}
|
|
31
|
-
&-highlight-decent
|
|
32
|
-
&-success
|
|
33
|
-
&-warning
|
|
34
|
-
&-danger
|
|
39
|
+
&-highlight-decent@{suffix} { border-color: @color-highlight-decent !important}
|
|
40
|
+
&-success@{suffix} { border-color: @brand-success !important}
|
|
41
|
+
&-warning@{suffix} { border-color: @brand-warning !important}
|
|
42
|
+
&-danger@{suffix} { border-color: @brand-danger !important}
|
|
35
43
|
|
|
36
|
-
&-status-available { border-color: @color-status-available!important }
|
|
37
|
-
&-status-driving { border-color: @color-status-driving !important }
|
|
38
|
-
&-status-resting { border-color: @color-status-resting !important }
|
|
39
|
-
&-status-working { border-color: @color-status-working!important }
|
|
44
|
+
&-status-available@{suffix} { border-color: @color-status-available!important }
|
|
45
|
+
&-status-driving@{suffix} { border-color: @color-status-driving !important }
|
|
46
|
+
&-status-resting@{suffix} { border-color: @color-status-resting !important }
|
|
47
|
+
&-status-working@{suffix} { border-color: @color-status-working!important }
|
|
40
48
|
|
|
41
|
-
&-map-marker-asset { border-color: @color-map-marker-asset !important }
|
|
42
|
-
&-map-marker-poi { border-color: @color-map-marker-poi !important }
|
|
43
|
-
&-map-marker-geofence { border-color: @color-map-marker-geofence !important }
|
|
44
|
-
&-map-marker-route { border-color: @color-map-marker-route !important }
|
|
49
|
+
&-map-marker-asset@{suffix} { border-color: @color-map-marker-asset !important }
|
|
50
|
+
&-map-marker-poi@{suffix} { border-color: @color-map-marker-poi !important }
|
|
51
|
+
&-map-marker-geofence@{suffix} { border-color: @color-map-marker-geofence !important }
|
|
52
|
+
&-map-marker-route@{suffix} { border-color: @color-map-marker-route !important }
|
|
45
53
|
|
|
46
|
-
&-rating-1 { border-color: @color-rating-1 !important }
|
|
47
|
-
&-rating-2 { border-color: @color-rating-2 !important }
|
|
48
|
-
&-rating-3 { border-color: @color-rating-3 !important }
|
|
49
|
-
&-rating-4 { border-color: @color-rating-4 !important }
|
|
50
|
-
&-rating-5 { border-color: @color-rating-5 !important }
|
|
54
|
+
&-rating-1@{suffix} { border-color: @color-rating-1 !important }
|
|
55
|
+
&-rating-2@{suffix} { border-color: @color-rating-2 !important }
|
|
56
|
+
&-rating-3@{suffix} { border-color: @color-rating-3 !important }
|
|
57
|
+
&-rating-4@{suffix} { border-color: @color-rating-4 !important }
|
|
58
|
+
&-rating-5@{suffix} { border-color: @color-rating-5 !important }
|
|
51
59
|
}
|
|
52
60
|
|
|
53
|
-
&-none@{suffix}
|
|
61
|
+
&-none@{suffix} { border: none !important }
|
|
54
62
|
|
|
55
63
|
&-top-none@{suffix}, &-top-0@{suffix} { border-top-style: none !important }
|
|
56
64
|
&-top-only@{suffix} {
|
|
@@ -73,7 +81,7 @@
|
|
|
73
81
|
border-left-style: none !important;
|
|
74
82
|
}
|
|
75
83
|
|
|
76
|
-
&-left-none@{suffix}, &-left-0@{suffix}
|
|
84
|
+
&-left-none@{suffix}, &-left-0@{suffix} { border-left-style: none !important}
|
|
77
85
|
&-left-only@{suffix} {
|
|
78
86
|
border-top-style: none !important;
|
|
79
87
|
border-right-style: none !important;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
.display-inline-block@{suffix} { display: inline-block !important }
|
|
3
3
|
.display-flex@{suffix} { display: flex !important }
|
|
4
4
|
.display-inline-flex@{suffix} { display: inline-flex !important }
|
|
5
|
+
.display-grid@{suffix} { display: grid !important }
|
|
6
|
+
.display-inline-grid@{suffix} { display: inline-grid !important }
|
|
5
7
|
.display-inline@{suffix} { display: inline !important }
|
|
6
8
|
.display-contents@{suffix} { display: contents !important}
|
|
7
9
|
.display-none@{suffix} { display: none !important }
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* Grid - Basics */
|
|
2
|
+
.grid-template-columns-2@{suffix} { grid-template-columns: repeat(2, auto) !important }
|
|
3
|
+
.grid-template-columns-3@{suffix} { grid-template-columns: repeat(3, auto) !important }
|
|
4
|
+
.grid-template-columns-4@{suffix} { grid-template-columns: repeat(4, auto) !important }
|
|
5
|
+
.grid-template-columns-5@{suffix} { grid-template-columns: repeat(5, auto) !important }
|
|
6
|
+
.grid-template-columns-6@{suffix} { grid-template-columns: repeat(6, auto) !important }
|
|
@@ -92,6 +92,9 @@ h2, h3, h4, h5, h6, [class*='text-size-h'] {
|
|
|
92
92
|
.text-decoration-underline { text-decoration: underline !important }
|
|
93
93
|
.text-decoration-line-through { text-decoration: line-through !important }
|
|
94
94
|
|
|
95
|
+
.hover-text-decoration-underline:hover { text-decoration: underline !important }
|
|
96
|
+
.hover-text-decoration-none:hover { text-decoration: none !important }
|
|
97
|
+
|
|
95
98
|
/* Text - Decoration Hover */
|
|
96
99
|
.hover-text-decoration-none:hover { text-decoration: none !important }
|
|
97
100
|
|