@rio-cloud/rio-uikit 0.16.1-beta-7 → 0.16.1-beta-10
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/lib/.DS_Store +0 -0
- package/lib/components/.DS_Store +0 -0
- package/lib/components/applicationHeader/AppMenu.js +3 -2
- package/lib/components/applicationHeader/AppMenuDropdown.js +7 -5
- package/lib/components/applicationHeader/ApplicationHeader.js +84 -162
- package/lib/components/applicationHeader/MobileAppMenu.js +77 -0
- package/lib/components/applicationHeader/MobileHeaderModal.js +90 -0
- package/lib/components/applicationHeader/MobileSubmoduleNavigation.js +89 -0
- package/lib/components/applicationHeader/NavItems.js +167 -274
- package/lib/components/applicationLayout/ApplicationLayoutBody.js +1 -3
- package/lib/components/applicationLayout/SubNavigation.js +60 -0
- package/lib/components/assetTree/AssetTree.js +4 -7
- package/lib/components/assetTree/Tree.js +46 -54
- package/lib/components/assetTree/TreeLeaf.js +1 -1
- package/lib/components/assetTree/TreeSelectAll.js +2 -1
- package/lib/components/assetTree/TreeSidebar.js +10 -22
- package/lib/components/assetTree/TypeCounter.js +10 -8
- package/lib/components/charts/AreaChart.js +5 -3
- package/lib/components/charts/BarChart.js +5 -3
- package/lib/components/charts/ChartTooltip.js +14 -0
- package/lib/components/charts/LineChart.js +4 -2
- package/lib/components/charts/PieChart.js +5 -3
- package/lib/components/charts/RadialBarChart.js +4 -4
- package/lib/components/charts/chartHelper.js +1 -1
- package/lib/components/dialog/Dialog.js +4 -4
- package/lib/components/dialog/baseDialogPropTypes.js +1 -1
- package/lib/components/map/.DS_Store +0 -0
- package/lib/components/map/components/.DS_Store +0 -0
- package/lib/components/map/components/features/.DS_Store +0 -0
- package/lib/components/map/components/features/settings/.DS_Store +0 -0
- package/lib/components/steppedProgressBar/SteppedProgressBar.js +59 -107
- package/lib/es/ChartTooltip.d.ts +5 -0
- package/lib/es/ChartTooltip.js +15 -0
- package/lib/es/Colors.js +1 -1
- package/lib/es/DeviceUtils.d.ts +5 -1
- package/lib/es/SubNavigation.d.ts +5 -0
- package/lib/es/SubNavigation.js +15 -0
- package/lib/es/VolkswagenApplicationHeader.d.ts +5 -0
- package/lib/es/VolkswagenApplicationHeader.js +15 -0
- package/lib/es/deviceUtils.js +24 -0
- package/lib/hooks/useClickOutside.js +2 -1
- package/lib/index.js +1 -1
- package/lib/style/css/_exports/rio-website.less +36 -22
- package/lib/style/css/_exports/vw-uikit.less +5 -1
- package/lib/style/css/components/ApplicationHeader.less +288 -257
- package/lib/style/css/components/ApplicationLayout.less +7 -5
- package/lib/style/css/components/AssetTree.less +3 -3
- package/lib/style/css/variables.less +1 -1
- package/lib/style/fonts/rioglyph/rioglyph.less +56 -1
- package/lib/style/fonts/rioglyph/rioglyph.svg +68 -2
- package/lib/style/fonts/rioglyph/rioglyph.ttf +0 -0
- package/lib/style/fonts/rioglyph/rioglyph.woff +0 -0
- package/lib/styles/animations/_imports.less +10 -0
- package/lib/styles/animations/collapse.less +16 -0
- package/lib/styles/animations/fade.less +28 -0
- package/lib/styles/animations/pinging.less +7 -0
- package/lib/styles/animations/pulsing.less +5 -0
- package/lib/styles/animations/rotate.less +52 -0
- package/lib/styles/animations/scale.less +35 -0
- package/lib/styles/animations/slide.less +39 -0
- package/lib/styles/animations/spinning.less +4 -0
- package/lib/styles/animations/transition.less +129 -0
- package/lib/styles/animations/translate.less +28 -0
- package/lib/styles/components/Activity.less +93 -0
- package/lib/styles/components/ApplicationHeader.less +469 -0
- package/lib/styles/components/ApplicationLayout.less +240 -0
- package/lib/styles/components/AssetTree.less +439 -0
- package/lib/styles/components/AutoSuggest.less +22 -0
- package/lib/styles/components/BottomSheet.less +14 -0
- package/lib/styles/components/Carousel.less +212 -0
- package/lib/styles/components/Checkbox.less +224 -0
- package/lib/styles/components/ClearableInput.less +115 -0
- package/lib/styles/components/Counter.less +142 -0
- package/lib/styles/components/DataTabs.less +100 -0
- package/lib/styles/components/DatePicker.less +391 -0
- package/lib/styles/components/Dialog.less +484 -0
- package/lib/styles/components/Dropdown.less +185 -0
- package/lib/styles/components/Expander.less +196 -0
- package/lib/styles/components/FilePicker.less +8 -0
- package/lib/styles/components/ListMenu.less +77 -0
- package/lib/styles/components/MapHere.less +91 -0
- package/lib/styles/components/MapMarker.less +347 -0
- package/lib/styles/components/MapSettings.less +140 -0
- package/lib/styles/components/NoData.less +8 -0
- package/lib/styles/components/Notification.less +234 -0
- package/lib/styles/components/RadioButton.less +173 -0
- package/lib/styles/components/Resizer.less +43 -0
- package/lib/styles/components/Select.less +287 -0
- package/lib/styles/components/Sidebar.less +157 -0
- package/lib/styles/components/Slider.less +278 -0
- package/lib/styles/components/Spinner.less +49 -0
- package/lib/styles/components/StatsWidget.less +111 -0
- package/lib/styles/components/SteppedProgressBar.less +310 -0
- package/lib/styles/components/SupportMarker.less +34 -0
- package/lib/styles/components/Switch.less +145 -0
- package/lib/styles/components/TableSettingsDialog.less +96 -0
- package/lib/styles/components/TableSortArrows.less +54 -0
- package/lib/styles/components/TableToolbar.less +121 -0
- package/lib/styles/components/Tag.less +246 -0
- package/lib/styles/components/TagManager.less +4 -0
- package/lib/styles/components/Teaser.less +12 -0
- package/lib/styles/components/Timeline.less +69 -0
- package/lib/styles/components/Tooltip.less +222 -0
- package/lib/styles/design/alerts.less +55 -0
- package/lib/styles/design/aspect-ratio.less +23 -0
- package/lib/styles/design/badges.less +120 -0
- package/lib/styles/design/blockquote.less +49 -0
- package/lib/styles/design/border.less +192 -0
- package/lib/styles/design/breadcrumbs.less +20 -0
- package/lib/styles/design/button-groups.less +194 -0
- package/lib/styles/design/buttons.less +543 -0
- package/lib/styles/design/callouts.less +27 -0
- package/lib/styles/design/caret.less +28 -0
- package/lib/styles/design/close.less +12 -0
- package/lib/styles/design/code.less +45 -0
- package/lib/styles/design/colors.less +202 -0
- package/lib/styles/design/cols.less +56 -0
- package/lib/styles/design/container.less +29 -0
- package/lib/styles/design/cursors.less +19 -0
- package/lib/styles/design/custom.less +20 -0
- package/lib/styles/design/ellipsis.less +46 -0
- package/lib/styles/design/flexgrid.less +7 -0
- package/lib/styles/design/fonts.less +458 -0
- package/lib/styles/design/form-input-groups.less +245 -0
- package/lib/styles/design/form-inputs.less +655 -0
- package/lib/styles/design/iframe.less +80 -0
- package/lib/styles/design/images.less +47 -0
- package/lib/styles/design/labels.less +66 -0
- package/lib/styles/design/list-group.less +100 -0
- package/lib/styles/design/navs.less +262 -0
- package/lib/styles/design/normalize.less +436 -0
- package/lib/styles/design/opacity.less +26 -0
- package/lib/styles/design/overflow.less +1 -0
- package/lib/styles/design/pagination.less +161 -0
- package/lib/styles/design/panels.less +105 -0
- package/lib/styles/design/popovers.less +119 -0
- package/lib/styles/design/position.less +16 -0
- package/lib/styles/design/progress-bars.less +131 -0
- package/lib/styles/design/responsive/_imports.less +67 -0
- package/lib/styles/design/responsive/backgrounds.less +32 -0
- package/lib/styles/design/responsive/display.less +9 -0
- package/lib/styles/design/responsive/flexgrid.less +75 -0
- package/lib/styles/design/responsive/floating.less +4 -0
- package/lib/styles/design/responsive/gap.less +41 -0
- package/lib/styles/design/responsive/margin.less +127 -0
- package/lib/styles/design/responsive/overflow.less +16 -0
- package/lib/styles/design/responsive/padding.less +71 -0
- package/lib/styles/design/responsive/position.less +103 -0
- package/lib/styles/design/responsive/sizing.less +96 -0
- package/lib/styles/design/responsive/text.less +71 -0
- package/lib/styles/design/responsive-embed.less +31 -0
- package/lib/styles/design/responsive-video.less +22 -0
- package/lib/styles/design/rioglyph.less +13 -0
- package/lib/styles/design/rounded.less +44 -0
- package/lib/styles/design/shadows.less +65 -0
- package/lib/styles/design/sizing.less +18 -0
- package/lib/styles/design/tables.less +855 -0
- package/lib/styles/design/text.less +201 -0
- package/lib/styles/design/theme.less +206 -0
- package/lib/styles/design/thumbnails.less +29 -0
- package/lib/styles/design/transition.less +33 -0
- package/lib/styles/design/type.less +159 -0
- package/lib/styles/design/utilities.less +75 -0
- package/lib/styles/design/visibility.less +186 -0
- package/lib/styles/design/wells.less +17 -0
- package/lib/styles/design/z-index.less +21 -0
- package/lib/styles/filter/_imports.less +1 -0
- package/lib/styles/filter/blur.less +17 -0
- package/lib/styles/mapping/breakpoint-map.less +44 -0
- package/lib/styles/mapping/color-map.less +200 -0
- package/lib/styles/mapping/cols-map.less +15 -0
- package/lib/styles/mapping/numbers-map.less +16 -0
- package/lib/styles/mapping/positions-map.less +21 -0
- package/lib/styles/mapping/sizes-map.less +129 -0
- package/lib/styles/mapping/spacings-map.less +28 -0
- package/lib/styles/mixins/_mixins.less +13 -0
- package/lib/styles/mixins/alerts.less +13 -0
- package/lib/styles/mixins/border-radius.less +16 -0
- package/lib/styles/mixins/buttons.less +117 -0
- package/lib/styles/mixins/clearfix.less +9 -0
- package/lib/styles/mixins/cols.less +59 -0
- package/lib/styles/mixins/forms.less +61 -0
- package/lib/styles/mixins/panels.less +27 -0
- package/lib/styles/mixins/placeholder.less +17 -0
- package/lib/styles/mixins/reset.less +27 -0
- package/lib/styles/mixins/sizings.less +21 -0
- package/lib/styles/mixins/spinner.less +30 -0
- package/lib/styles/mixins/table.less +26 -0
- package/lib/styles/mixins/tabs.less +4 -0
- package/lib/styles/mixins/text.less +5 -0
- package/lib/styles/print/print.less +163 -0
- package/lib/styles/rio-uikit-core.less +114 -0
- package/lib/styles/rio-uikit-print-utilities.less +16 -0
- package/lib/styles/rio-uikit-responsive-utilities.less +16 -0
- package/lib/styles/shared/colors.json +56 -0
- package/lib/styles/shared/colors.less +73 -0
- package/lib/styles/shared/screens.less +7 -0
- package/lib/styles/shared/text.less +23 -0
- package/lib/styles/variables.less +180 -0
- package/lib/themes/BuyButton/styles/rio-buyButton.less +183 -0
- package/lib/themes/MAN/styles/man-uikit.less +48 -0
- package/lib/themes/RIO/styles/rio-uikit.less +20 -0
- package/lib/themes/SCANIA/styles/scania-uikit.less +36 -0
- package/lib/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +94 -0
- package/lib/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +17 -0
- package/lib/themes/Volkswagen/styles/vw-uikit.less +205 -0
- package/lib/themes/Website/styles/rio-website.less +2236 -0
- package/lib/themes/Xmas/styles/rio-xmas.less +36 -0
- package/lib/types.ts +19 -11
- package/lib/utils/deviceUtils.js +9 -1
- package/lib/version.json +1 -1
- package/package.json +96 -95
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
.ApplicationHeader .SubmoduleNavigation .submodule,
|
|
2
|
-
.navbar .SubmoduleNavigation .submodule {
|
|
3
|
-
white-space: nowrap;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
1
|
.ApplicationHeader {
|
|
7
2
|
background-color: @color-white;
|
|
8
|
-
border
|
|
9
|
-
border-left: none;
|
|
10
|
-
border-right: none;
|
|
11
|
-
border-top: none;
|
|
3
|
+
border: none;
|
|
12
4
|
display: flex;
|
|
13
5
|
float: none !important;
|
|
14
6
|
margin-bottom: 0;
|
|
15
|
-
min-height: @navbar-height
|
|
7
|
+
min-height: @navbar-height;
|
|
16
8
|
position: relative;
|
|
17
9
|
|
|
10
|
+
&:before {
|
|
11
|
+
content: '';
|
|
12
|
+
position: absolute;
|
|
13
|
+
left: 0;
|
|
14
|
+
right: 0;
|
|
15
|
+
bottom: 0;
|
|
16
|
+
height: 1px;
|
|
17
|
+
background-color:@gray-light;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
18
21
|
&.mobile {
|
|
19
22
|
display: inline-flex;
|
|
20
23
|
justify-content: space-between;
|
|
@@ -46,7 +49,7 @@
|
|
|
46
49
|
.CollapsedDropdown > .dropdown-menu {
|
|
47
50
|
> .ApplicationActionBar {
|
|
48
51
|
background-color: @gray-lightest;
|
|
49
|
-
border-bottom: 1px solid @gray-lighter;
|
|
52
|
+
//border-bottom: 1px solid @gray-lighter;
|
|
50
53
|
border-top: 1px solid @gray-lighter;
|
|
51
54
|
justify-content: flex-end;
|
|
52
55
|
position: relative;
|
|
@@ -57,6 +60,24 @@
|
|
|
57
60
|
}
|
|
58
61
|
}
|
|
59
62
|
}
|
|
63
|
+
|
|
64
|
+
.ApplicationActionBar {
|
|
65
|
+
> .navigationItem {
|
|
66
|
+
> .ActionBarItem {
|
|
67
|
+
width: 40px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.navbar-brand:after {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// For mobile, hide all submodule navItems that are not active
|
|
78
|
+
// so only the current active item is shown in the header
|
|
79
|
+
.MobileSubmoduleNavigation a:not(.active) {
|
|
80
|
+
display: none;
|
|
60
81
|
}
|
|
61
82
|
|
|
62
83
|
.navbar-brand {
|
|
@@ -64,275 +85,44 @@
|
|
|
64
85
|
background-image: @navbar-brand-icon !important;
|
|
65
86
|
background-size: cover;
|
|
66
87
|
display: block;
|
|
67
|
-
height: @navbar-height
|
|
88
|
+
height: @navbar-height;
|
|
68
89
|
margin: 0;
|
|
69
90
|
padding: 0;
|
|
70
91
|
position: relative;
|
|
71
92
|
width: @navbar-height;
|
|
72
93
|
|
|
73
|
-
&.home-icon {
|
|
74
|
-
background-image: @navbar-brand-home-icon !important;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
94
|
&:after {
|
|
78
95
|
background: @color-black;
|
|
96
|
+
bottom: 0;
|
|
79
97
|
content: '';
|
|
80
98
|
display: block;
|
|
81
99
|
height: 1px;
|
|
100
|
+
left: 0;
|
|
82
101
|
position: absolute;
|
|
83
|
-
|
|
102
|
+
right: 0;
|
|
103
|
+
z-index: @zindex-navbar + 2;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.home-icon {
|
|
107
|
+
background-image: @navbar-brand-home-icon !important;
|
|
84
108
|
}
|
|
85
109
|
|
|
86
110
|
> a,
|
|
87
111
|
> .icon {
|
|
88
112
|
display: block;
|
|
89
|
-
height: @navbar-height
|
|
113
|
+
height: @navbar-height;
|
|
90
114
|
width: @navbar-height;
|
|
91
115
|
}
|
|
92
116
|
}
|
|
93
117
|
|
|
94
|
-
.navbar-nav {
|
|
95
|
-
float: none;
|
|
96
|
-
margin: 0;
|
|
97
|
-
|
|
98
|
-
> li {
|
|
99
|
-
float: none !important;
|
|
100
|
-
|
|
101
|
-
> a {
|
|
102
|
-
line-height: @navbar-height-without-border - (@navbar-padding-vertical * 2);
|
|
103
|
-
padding-bottom: @navbar-padding-vertical;
|
|
104
|
-
padding-top: @navbar-padding-vertical;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&:not(.navbar-right) {
|
|
109
|
-
> li {
|
|
110
|
-
&:empty {
|
|
111
|
-
display: none;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&:empty + .submodule,
|
|
115
|
-
&:first-child:not(:empty) {
|
|
116
|
-
margin-left: 15px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
> a {
|
|
120
|
-
background-color: transparent;
|
|
121
|
-
color: @gray;
|
|
122
|
-
cursor: pointer;
|
|
123
|
-
font-size: 14px;
|
|
124
|
-
font-weight: @font-medium;
|
|
125
|
-
margin: 0 15px;
|
|
126
|
-
padding: 15px 0;
|
|
127
|
-
text-transform: uppercase;
|
|
128
|
-
transition: all 100ms ease-in-out;
|
|
129
|
-
user-select: none;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&.disabled,
|
|
133
|
-
&:disabled {
|
|
134
|
-
> a {
|
|
135
|
-
color: @gray-light
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&:not(.disabled):not(:disabled) {
|
|
140
|
-
> a.active,
|
|
141
|
-
&.active > a,
|
|
142
|
-
&:focus > a,
|
|
143
|
-
&:hover > a {
|
|
144
|
-
&:not(.disabled):not(:disabled) {
|
|
145
|
-
background-color: transparent;
|
|
146
|
-
box-shadow: inset 0 -3px 0 @color-black, 0 1px 0 @color-black;
|
|
147
|
-
color: @color-black;
|
|
148
|
-
|
|
149
|
-
&:after {
|
|
150
|
-
background-color: @color-black;
|
|
151
|
-
height: 3px;
|
|
152
|
-
width: 100%;
|
|
153
|
-
z-index: 1;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&.dropdown {
|
|
160
|
-
&.active > a,
|
|
161
|
-
&:hover > a {
|
|
162
|
-
box-shadow: none;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
> .dropdown-menu {
|
|
166
|
-
border: none;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.ModuleNavigation {
|
|
174
|
-
border: none;
|
|
175
|
-
height: @navbar-height-without-border;
|
|
176
|
-
line-height: @navbar-height-without-border;
|
|
177
|
-
list-style: none;
|
|
178
|
-
margin-bottom: 0;
|
|
179
|
-
padding-left: 0;
|
|
180
|
-
position: relative;
|
|
181
|
-
|
|
182
|
-
// avoid floating content on mobile
|
|
183
|
-
max-width: calc(~'100% - @{navbar-height}');
|
|
184
|
-
|
|
185
|
-
// NOTE: enforce it with important so all services look similar
|
|
186
|
-
background-color: @color-white !important;
|
|
187
|
-
color: @color-black !important;
|
|
188
|
-
|
|
189
|
-
.dropdown {
|
|
190
|
-
width: 300px;
|
|
191
|
-
|
|
192
|
-
&.open {
|
|
193
|
-
background-color: inherit;
|
|
194
|
-
|
|
195
|
-
.ModuleNavigation-dropdown,
|
|
196
|
-
.dropdown-toggle {
|
|
197
|
-
&:after {
|
|
198
|
-
bottom: 0;
|
|
199
|
-
top: 0;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.ModuleNavigation-dropdown,
|
|
206
|
-
.dropdown-toggle {
|
|
207
|
-
align-items: center;
|
|
208
|
-
display: flex;
|
|
209
|
-
padding: 0;
|
|
210
|
-
|
|
211
|
-
&.inactive {
|
|
212
|
-
pointer-events: none;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
// Style the separator between main dropdown and submodules
|
|
216
|
-
&:after {
|
|
217
|
-
background-color: @gray-lighter;
|
|
218
|
-
bottom: 15px;
|
|
219
|
-
content: '';
|
|
220
|
-
display: block;
|
|
221
|
-
position: absolute;
|
|
222
|
-
right: 0;
|
|
223
|
-
top: 15px;
|
|
224
|
-
transition: all 0.1s ease-in-out;
|
|
225
|
-
width: 3px;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
&:first-child:not(:last-child) {
|
|
229
|
-
&:hover:after {
|
|
230
|
-
bottom: 0;
|
|
231
|
-
top: 0;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
> span {
|
|
236
|
-
&:not(.caret) {
|
|
237
|
-
.ellipsis-1;
|
|
238
|
-
flex: 1 0 auto;
|
|
239
|
-
//max-width: @navbar-application-dropdown-width - @navbar-height;
|
|
240
|
-
padding-left: @navbar-padding-horizontal;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
&.caret {
|
|
244
|
-
margin: 0;
|
|
245
|
-
text-align: center;
|
|
246
|
-
width: @navbar-height;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
// Style for the main dropdown
|
|
252
|
-
> li > a,
|
|
253
|
-
> a {
|
|
254
|
-
background-color: transparent;
|
|
255
|
-
color: inherit;
|
|
256
|
-
font-size: 18px;
|
|
257
|
-
font-weight: @font-medium;
|
|
258
|
-
text-decoration: none;
|
|
259
|
-
text-transform: uppercase;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.dropdown-menu {
|
|
263
|
-
-webkit-overflow-scrolling: touch;
|
|
264
|
-
border: none;
|
|
265
|
-
border-radius: 0 0 @border-radius-default @border-radius-default;
|
|
266
|
-
max-height: ~'calc(100vh - @{navbar-height} - 20px)'; // --vh fallback
|
|
267
|
-
max-height: ~'calc(var(--vh, 1vh) * 100 - @{navbar-height} - 20px)';
|
|
268
|
-
max-width: calc(~'100% - 3px');
|
|
269
|
-
width: 100%;
|
|
270
|
-
overflow-x: hidden;
|
|
271
|
-
overflow-y: auto;
|
|
272
|
-
|
|
273
|
-
> li > a {
|
|
274
|
-
color: @color-black;
|
|
275
|
-
font-size: 14px;
|
|
276
|
-
font-weight: @font-medium;
|
|
277
|
-
padding: 5px @navbar-padding-horizontal;
|
|
278
|
-
text-transform: uppercase;
|
|
279
|
-
|
|
280
|
-
&.inactive {
|
|
281
|
-
pointer-events: none;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
&.hasModules,
|
|
287
|
-
&.hasModules > li > a {
|
|
288
|
-
cursor: pointer;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
> li > a {
|
|
292
|
-
.ellipsis-1;
|
|
293
|
-
cursor: default;
|
|
294
|
-
height: 100%;
|
|
295
|
-
padding-left: @navbar-padding-horizontal;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.SubmoduleNavigation {
|
|
300
|
-
display: flex;
|
|
301
|
-
flex: 1 1 0;
|
|
302
|
-
|
|
303
|
-
.submodule {
|
|
304
|
-
white-space: nowrap;
|
|
305
|
-
|
|
306
|
-
&.offscreen {
|
|
307
|
-
opacity: 0;
|
|
308
|
-
position: absolute;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.CollapsedDropdown {
|
|
313
|
-
> .dropdown-menu {
|
|
314
|
-
left: auto;
|
|
315
|
-
right: 0;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
> .dropdown-toggle {
|
|
319
|
-
margin: 0 !important;
|
|
320
|
-
padding: 15px 15px !important;
|
|
321
|
-
|
|
322
|
-
.rioglyph-option-horizontal {
|
|
323
|
-
font-size: 18px;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
118
|
.ApplicationActionBar {
|
|
330
119
|
background-color: @color-white;
|
|
331
120
|
cursor: auto;
|
|
332
121
|
display: flex;
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
122
|
+
|
|
123
|
+
// position: absolute;
|
|
124
|
+
// right: 0;
|
|
125
|
+
// top: 0;
|
|
336
126
|
|
|
337
127
|
> .navigationItem {
|
|
338
128
|
align-items: center;
|
|
@@ -353,7 +143,7 @@
|
|
|
353
143
|
> .ActionBarItem {
|
|
354
144
|
height: @navbar-height-without-border;
|
|
355
145
|
position: relative;
|
|
356
|
-
width: @navbar-height
|
|
146
|
+
width: @navbar-height;
|
|
357
147
|
background: transparent !important;
|
|
358
148
|
padding: 0;
|
|
359
149
|
|
|
@@ -436,3 +226,244 @@
|
|
|
436
226
|
margin-bottom: 5px;
|
|
437
227
|
}
|
|
438
228
|
}
|
|
229
|
+
|
|
230
|
+
.ModuleNavigation {
|
|
231
|
+
height: @navbar-height;
|
|
232
|
+
line-height: @navbar-height;
|
|
233
|
+
list-style: none;
|
|
234
|
+
margin-bottom: 0;
|
|
235
|
+
padding-left: 0;
|
|
236
|
+
position: relative;
|
|
237
|
+
|
|
238
|
+
// avoid floating content on mobile
|
|
239
|
+
max-width: calc(~'100% - @{navbar-height}');
|
|
240
|
+
|
|
241
|
+
// NOTE: enforce it with important so all services look similar
|
|
242
|
+
background-color: @color-white !important;
|
|
243
|
+
color: @color-black !important;
|
|
244
|
+
|
|
245
|
+
.dropdown {
|
|
246
|
+
width: 300px;
|
|
247
|
+
|
|
248
|
+
&.open {
|
|
249
|
+
background-color: inherit;
|
|
250
|
+
z-index: 1;
|
|
251
|
+
|
|
252
|
+
.ModuleNavigation-dropdown,
|
|
253
|
+
.dropdown-toggle {
|
|
254
|
+
&:after {
|
|
255
|
+
bottom: 0;
|
|
256
|
+
top: 0;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.ModuleNavigation-dropdown,
|
|
263
|
+
.dropdown-toggle {
|
|
264
|
+
align-items: center;
|
|
265
|
+
display: flex;
|
|
266
|
+
padding: 0;
|
|
267
|
+
|
|
268
|
+
&.inactive {
|
|
269
|
+
pointer-events: none;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// Style the separator between main dropdown and submodules
|
|
273
|
+
&:after {
|
|
274
|
+
background-color: @gray-lighter;
|
|
275
|
+
bottom: 15px;
|
|
276
|
+
content: '';
|
|
277
|
+
display: block;
|
|
278
|
+
position: absolute;
|
|
279
|
+
right: 0;
|
|
280
|
+
top: 15px;
|
|
281
|
+
transition: all 0.1s ease-in-out;
|
|
282
|
+
width: 3px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&:first-child:not(:last-child) {
|
|
286
|
+
&:hover:after {
|
|
287
|
+
bottom: 0;
|
|
288
|
+
top: 0;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
> span {
|
|
293
|
+
&:not(.caret) {
|
|
294
|
+
.ellipsis-1;
|
|
295
|
+
flex: 1 0 auto;
|
|
296
|
+
//max-width: @navbar-application-dropdown-width - @navbar-height;
|
|
297
|
+
padding-left: @navbar-padding-horizontal;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&.caret {
|
|
301
|
+
margin: 0;
|
|
302
|
+
text-align: center;
|
|
303
|
+
width: @navbar-height;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
// Style for the main dropdown
|
|
309
|
+
> li > a,
|
|
310
|
+
> a {
|
|
311
|
+
background-color: transparent;
|
|
312
|
+
color: inherit;
|
|
313
|
+
font-size: 18px;
|
|
314
|
+
font-weight: @font-medium;
|
|
315
|
+
text-decoration: none;
|
|
316
|
+
text-transform: uppercase;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.dropdown-menu {
|
|
320
|
+
-webkit-overflow-scrolling: touch;
|
|
321
|
+
border: none;
|
|
322
|
+
border-radius: 0 0 @border-radius-default @border-radius-default;
|
|
323
|
+
max-height: ~'calc(100vh - @{navbar-height} - 20px)'; // --vh fallback
|
|
324
|
+
max-height: ~'calc(var(--vh, 1vh) * 100 - @{navbar-height} - 20px)';
|
|
325
|
+
max-width: calc(~'100% - 3px');
|
|
326
|
+
width: 100%;
|
|
327
|
+
overflow-x: hidden;
|
|
328
|
+
overflow-y: auto;
|
|
329
|
+
|
|
330
|
+
> li > a {
|
|
331
|
+
color: @color-black;
|
|
332
|
+
font-size: 14px;
|
|
333
|
+
font-weight: @font-medium;
|
|
334
|
+
padding: 5px @navbar-padding-horizontal;
|
|
335
|
+
text-transform: uppercase;
|
|
336
|
+
|
|
337
|
+
&.inactive {
|
|
338
|
+
pointer-events: none;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
&.hasModules,
|
|
344
|
+
&.hasModules > li > a {
|
|
345
|
+
cursor: pointer;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
> li > a {
|
|
349
|
+
.ellipsis-1;
|
|
350
|
+
cursor: default;
|
|
351
|
+
height: 100%;
|
|
352
|
+
padding-left: @navbar-padding-horizontal;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.SubmoduleNavigation {
|
|
357
|
+
height: @navbar-height;
|
|
358
|
+
display: flex;
|
|
359
|
+
flex: 1 1 0;
|
|
360
|
+
|
|
361
|
+
.ApplicationLayoutBodyNavigation & {
|
|
362
|
+
border-bottom: none;
|
|
363
|
+
|
|
364
|
+
.submodule:first-of-type > a {
|
|
365
|
+
margin-left: 0;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
@media (max-width: @screen-xs-max) {
|
|
369
|
+
padding-left: @ApplicationLayoutBodyPadding*0.5;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@media (min-width: @screen-ls) {
|
|
373
|
+
padding-left: @ApplicationLayoutBodyPadding;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.ApplicationLayoutBodyNavigation.has-offset & {
|
|
378
|
+
@media (min-width: @screen-ls) {
|
|
379
|
+
padding-left: 380px;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.ApplicationHeader:not(.mobile) & {
|
|
384
|
+
padding-left: 15px;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
> .submodule {
|
|
388
|
+
white-space: nowrap;
|
|
389
|
+
|
|
390
|
+
&:empty {
|
|
391
|
+
display: none;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
> a {
|
|
395
|
+
background-color: transparent;
|
|
396
|
+
color: @gray;
|
|
397
|
+
cursor: pointer;
|
|
398
|
+
font-size: 14px;
|
|
399
|
+
margin: 0 15px;
|
|
400
|
+
padding: 15px 0;
|
|
401
|
+
transition: all 100ms ease-in-out;
|
|
402
|
+
user-select: none;
|
|
403
|
+
|
|
404
|
+
.ApplicationHeader & {
|
|
405
|
+
font-weight: @font-medium;
|
|
406
|
+
text-transform: uppercase;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
&.disabled,
|
|
411
|
+
&:disabled {
|
|
412
|
+
> a {
|
|
413
|
+
color: @gray-light
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
&:not(.disabled):not(:disabled) {
|
|
418
|
+
> a.active,
|
|
419
|
+
&.active > a,
|
|
420
|
+
&:focus > a,
|
|
421
|
+
&:hover > a {
|
|
422
|
+
&:not(.disabled):not(:disabled) {
|
|
423
|
+
background-color: transparent;
|
|
424
|
+
box-shadow: inset 0 -4px 0 @color-black, 0 0px 0 @color-black;
|
|
425
|
+
color: @color-black;
|
|
426
|
+
|
|
427
|
+
&:after {
|
|
428
|
+
background-color: @color-black;
|
|
429
|
+
height: 3px;
|
|
430
|
+
width: 100%;
|
|
431
|
+
z-index: 1;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
&.dropdown {
|
|
438
|
+
&.active > a,
|
|
439
|
+
&:hover > a {
|
|
440
|
+
box-shadow: none;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
> .dropdown-menu {
|
|
444
|
+
border: none;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
&.offscreen {
|
|
449
|
+
opacity: 0.4;
|
|
450
|
+
position: absolute;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.CollapsedDropdown {
|
|
455
|
+
> .dropdown-menu {
|
|
456
|
+
left: auto;
|
|
457
|
+
right: 0;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
> .dropdown-toggle {
|
|
461
|
+
margin: 0 !important;
|
|
462
|
+
padding: 15px 15px !important;
|
|
463
|
+
|
|
464
|
+
.rioglyph-option-horizontal {
|
|
465
|
+
font-size: 18px;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
}
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
height: @ApplicationLayoutBodyHeightWithoutFooterAndViewportFix;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
// TODO remove with v1.0 (downward compatibility) - remove when cleanup
|
|
55
56
|
.ApplicationLayoutBodyNavigation {
|
|
56
57
|
&:not(.unstyled) {
|
|
57
58
|
align-items: center;
|
|
@@ -62,11 +63,11 @@
|
|
|
62
63
|
// padding: 0 @ApplicationLayoutBodyPadding*0.25 0 @ApplicationLayoutBodyPadding*0.5;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
&:not(.header-has-no-application-menu) {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
66
|
+
// &:not(.header-has-no-application-menu) {
|
|
67
|
+
// @media (min-width: @screen-lg) {
|
|
68
|
+
// padding-left: 365px;
|
|
69
|
+
// }
|
|
70
|
+
// }
|
|
70
71
|
|
|
71
72
|
.nav-pills {
|
|
72
73
|
padding-left: @ApplicationLayoutBodyPadding*0.5;
|
|
@@ -98,6 +99,7 @@
|
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
}
|
|
102
|
+
// END TODO
|
|
101
103
|
|
|
102
104
|
body:not(.modal-open) & {
|
|
103
105
|
-webkit-overflow-scrolling: touch;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
&.closed {
|
|
44
44
|
box-shadow: none !important;
|
|
45
|
-
width: 50px;
|
|
45
|
+
width: 50px !important;
|
|
46
46
|
|
|
47
47
|
.TreeSidebarToggle {
|
|
48
48
|
transform: rotate(180deg);
|
|
@@ -422,12 +422,12 @@
|
|
|
422
422
|
align-items: flex-start;
|
|
423
423
|
|
|
424
424
|
.TreeCheckbox {
|
|
425
|
-
margin:
|
|
425
|
+
margin: 10px 7px 0 0;
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
.TreeRadioButton {
|
|
429
429
|
pointer-events: none;
|
|
430
|
-
margin:
|
|
430
|
+
margin: 10px 7px 0 0;
|
|
431
431
|
|
|
432
432
|
+ .TreeLabel {
|
|
433
433
|
margin-left: -25px;
|
|
@@ -157,9 +157,9 @@
|
|
|
157
157
|
|
|
158
158
|
// ApplicationHeader
|
|
159
159
|
@navbar-height: 50px;
|
|
160
|
+
@navbar-height-without-border: @navbar-height - 1;
|
|
160
161
|
@navbar-brand-home-icon: url('https://cdn.rio.cloud/svg/common/ico_home.svg');
|
|
161
162
|
@navbar-brand-icon: url('https://cdn.rio.cloud/svg/common/ico_rio_colored.svg');
|
|
162
|
-
@navbar-height-without-border: @navbar-height - 1;
|
|
163
163
|
@navbar-padding-horizontal: @grid-gutter-width;
|
|
164
164
|
@navbar-padding-vertical: 15px;
|
|
165
165
|
|