@rio-cloud/rio-uikit 0.15.1 → 0.16.0-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/README.md +46 -3
- package/lib/components/actionBarItem/ActionBarItem.js +4 -4
- package/lib/components/actionBarItem/ActionBarItemPopoverContent.js +43 -0
- package/lib/components/actionBarItem/ActionBarOverlay.js +8 -3
- package/lib/components/applicationHeader/AppMenuDropdown.js +9 -13
- package/lib/components/applicationLayout/ApplicationLayout.js +2 -0
- package/lib/components/applicationLayout/ApplicationLayoutBody.js +5 -3
- package/lib/components/assetTree/AssetTree.js +1 -1
- package/lib/components/assetTree/Tree.js +2 -2
- package/lib/components/assetTree/TreeLeaf.js +9 -9
- package/lib/components/bottomSheet/BottomSheet.js +11 -7
- package/lib/components/browserWarning/BrowserIcons.js +76 -0
- package/lib/components/browserWarning/BrowserWarning.js +4 -4
- package/lib/components/browserWarning/BrowserWarningMessageDE.js +20 -22
- package/lib/components/browserWarning/BrowserWarningMessageEN.js +20 -22
- package/lib/components/carousel/Carousel.js +7 -426
- package/lib/components/checkbox/Checkbox.js +4 -4
- package/lib/components/datepicker/DatePicker.js +15 -6
- package/lib/components/dialog/ConfirmationDialog.js +8 -6
- package/lib/components/dialog/SaveDialog.js +3 -1
- package/lib/components/dropdown/ButtonDropdown.js +8 -11
- package/lib/components/filepicker/FilePicker.js +65 -96
- package/lib/components/listMenu/ListMenu.js +40 -23
- package/lib/components/map/components/features/old/MapSettings.js +5 -5
- package/lib/components/map/components/features/old/settings/MapClusterSettings.js +13 -13
- package/lib/components/map/components/features/old/settings/MapLayerSettings.js +15 -15
- package/lib/components/map/components/features/old/settings/MapTypeSettings.js +20 -20
- package/lib/components/map/components/features/settings/ZoomButtons.js +10 -10
- package/lib/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +20 -18
- package/lib/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +8 -8
- package/lib/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +42 -32
- package/lib/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +8 -8
- package/lib/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +8 -8
- package/lib/components/map/components/features/settings/buttons/MapLockMarkerButton.js +8 -8
- package/lib/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +8 -8
- package/lib/components/map/components/features/settings/items/MapLayerIncidentsItem.js +8 -6
- package/lib/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +8 -6
- package/lib/components/map/components/features/settings/items/MapLayerTrafficItem.js +8 -6
- package/lib/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +8 -8
- package/lib/components/map/icons/MapIcon.js +500 -0
- package/lib/components/numberInput/NumberInput.js +6 -6
- package/lib/components/onboarding/OnboardingTip.js +9 -9
- package/lib/components/states/NotBookedState.js +2 -2
- package/lib/components/table/TableSettingsDialogFooter.js +1 -1
- package/lib/components/teaser/Teaser.js +1 -1
- package/lib/components/teaser/TeaserContainer.js +8 -8
- package/lib/components/tooltip/Tooltip.js +5 -5
- package/lib/es/DeviceUtils.d.ts +4 -2
- package/lib/es/deviceUtils.js +12 -0
- package/lib/es/useFullscreen.d.ts +4 -0
- package/lib/es/useFullscreen.js +15 -0
- package/lib/hooks/useClipboard.js +2 -2
- package/lib/hooks/useFullscreen.js +242 -0
- package/lib/style/css/_exports/man-uikit.less +7 -5
- package/lib/style/css/_exports/rio-buyButton.less +30 -41
- package/lib/style/css/_exports/rio-uikit-core.less +106 -127
- package/lib/style/css/_exports/rio-uikit-print-utilities.less +6 -11
- package/lib/style/css/_exports/rio-uikit-responsive-utilities.less +6 -11
- package/lib/style/css/_exports/rio-uikit.less +5 -4
- package/lib/style/css/_exports/rio-website.less +41 -15
- package/lib/style/css/_exports/vw-uikit.less +10 -8
- package/lib/style/css/animations/_imports.less +9 -0
- package/lib/style/css/animations/collapse.less +16 -0
- package/lib/style/css/animations/fade.less +28 -0
- package/lib/style/css/animations/pinging.less +7 -0
- package/lib/style/css/animations/rotate.less +52 -0
- package/lib/style/css/animations/scale.less +35 -0
- package/lib/style/css/animations/slide.less +39 -0
- package/lib/style/css/animations/spinning.less +4 -0
- package/lib/style/css/animations/transition.less +129 -0
- package/lib/style/css/animations/translate.less +28 -0
- package/lib/style/css/components/Activity.less +93 -0
- package/lib/style/css/components/ApplicationHeader.less +438 -0
- package/lib/style/css/components/ApplicationLayout.less +236 -0
- package/lib/style/css/components/AssetTree.less +443 -0
- package/lib/style/css/components/AutoSuggest.less +22 -0
- package/lib/style/css/components/BottomSheet.less +14 -0
- package/lib/style/css/components/Carousel.less +212 -0
- package/lib/style/css/components/Checkbox.less +224 -0
- package/lib/style/css/components/ClearableInput.less +115 -0
- package/lib/style/css/components/Counter.less +142 -0
- package/lib/style/css/components/DataTabs.less +100 -0
- package/lib/style/css/components/DatePicker.less +391 -0
- package/lib/style/css/components/Dialog.less +482 -0
- package/lib/style/css/components/Dropdown.less +186 -0
- package/lib/style/css/components/Expander.less +196 -0
- package/lib/style/css/components/FilePicker.less +8 -0
- package/lib/style/css/components/ListMenu.less +77 -0
- package/lib/style/css/components/MapHere.less +91 -0
- package/lib/style/css/components/MapMarker.less +347 -0
- package/lib/style/css/components/MapSettings.less +140 -0
- package/lib/style/css/components/NoData.less +8 -0
- package/lib/style/css/components/Notification.less +234 -0
- package/lib/style/css/components/RadioButton.less +173 -0
- package/lib/style/css/components/Resizer.less +43 -0
- package/lib/style/css/components/Select.less +286 -0
- package/lib/style/css/components/Sidebar.less +157 -0
- package/lib/style/css/components/Slider.less +278 -0
- package/lib/style/css/components/Spinner.less +49 -0
- package/lib/style/css/components/StatsWidget.less +111 -0
- package/lib/style/css/components/SteppedProgressBar.less +323 -0
- package/lib/style/css/components/SupportMarker.less +34 -0
- package/lib/style/css/components/Switch.less +145 -0
- package/lib/style/css/components/TableSettingsDialog.less +96 -0
- package/lib/style/css/components/TableSortArrows.less +54 -0
- package/lib/style/css/components/TableToolbar.less +121 -0
- package/lib/style/css/components/Tag.less +246 -0
- package/lib/style/css/components/TagManager.less +4 -0
- package/lib/style/css/components/Teaser.less +12 -0
- package/lib/style/css/components/Timeline.less +69 -0
- package/lib/style/css/components/Tooltip.less +261 -0
- package/lib/style/css/design/alerts.less +55 -0
- package/lib/style/css/design/aspect-ratio.less +23 -0
- package/lib/style/css/design/badges.less +120 -0
- package/lib/style/css/design/blockquote.less +49 -0
- package/lib/style/css/design/border.less +192 -0
- package/lib/style/css/design/breadcrumbs.less +20 -0
- package/lib/style/css/design/button-groups.less +194 -0
- package/lib/style/css/design/buttons.less +540 -0
- package/lib/style/css/design/callouts.less +27 -0
- package/lib/style/css/design/caret.less +28 -0
- package/lib/style/css/design/close.less +12 -0
- package/lib/style/css/design/code.less +45 -0
- package/lib/style/css/design/colors.less +202 -0
- package/lib/style/css/design/cols.less +56 -0
- package/lib/style/css/design/container.less +29 -0
- package/lib/style/css/design/cursors.less +19 -0
- package/lib/style/css/design/custom.less +20 -0
- package/lib/style/css/design/ellipsis.less +46 -0
- package/lib/style/css/design/flexgrid.less +7 -0
- package/lib/style/css/design/fonts.less +318 -0
- package/lib/style/css/design/form-input-groups.less +245 -0
- package/lib/style/css/design/form-inputs.less +655 -0
- package/lib/style/css/design/iframe.less +80 -0
- package/lib/style/css/design/images.less +47 -0
- package/lib/style/css/design/labels.less +66 -0
- package/lib/style/css/design/list-group.less +95 -0
- package/lib/style/css/design/navs.less +254 -0
- package/lib/style/css/design/normalize.less +436 -0
- package/lib/style/css/design/opacity.less +26 -0
- package/lib/style/css/design/overflow.less +1 -0
- package/lib/style/css/design/pagination.less +161 -0
- package/lib/style/css/design/panels.less +105 -0
- package/lib/style/css/design/popovers.less +117 -0
- package/lib/style/css/design/position.less +16 -0
- package/lib/style/css/design/progress-bars.less +131 -0
- package/lib/style/css/design/responsive/_imports.less +68 -0
- package/lib/style/css/design/responsive/backgrounds.less +32 -0
- package/lib/style/css/design/responsive/display.less +9 -0
- package/lib/style/css/design/responsive/flexgrid.less +75 -0
- package/lib/style/css/design/responsive/floating.less +4 -0
- package/lib/style/css/design/responsive/gap.less +41 -0
- package/lib/style/css/design/responsive/hyphens.less +14 -0
- package/lib/style/css/design/responsive/margin.less +127 -0
- package/lib/style/css/design/responsive/overflow.less +16 -0
- package/lib/style/css/design/responsive/padding.less +71 -0
- package/lib/style/css/design/responsive/position.less +102 -0
- package/lib/style/css/design/responsive/sizing.less +115 -0
- package/lib/style/css/design/responsive/text.less +71 -0
- package/lib/style/css/design/responsive/visibility.less +115 -0
- package/lib/style/css/design/responsive-embed.less +31 -0
- package/lib/style/css/design/responsive-video.less +22 -0
- package/lib/style/css/design/rioglyph.less +24 -0
- package/lib/style/css/design/rounded.less +44 -0
- package/lib/style/css/design/shadows.less +65 -0
- package/lib/style/css/design/tables.less +854 -0
- package/lib/style/css/design/text.less +201 -0
- package/lib/style/css/design/theme.less +200 -0
- package/lib/style/css/design/thumbnails.less +29 -0
- package/lib/style/css/design/transition.less +33 -0
- package/lib/style/css/design/type.less +159 -0
- package/lib/style/css/design/utilities.less +75 -0
- package/lib/style/css/design/visibilty.less +38 -0
- package/lib/style/css/design/wells.less +17 -0
- package/lib/style/css/design/z-index.less +21 -0
- package/lib/style/css/mapping/breakpoint-map.less +44 -0
- package/lib/style/css/mapping/color-map.less +200 -0
- package/lib/style/css/mapping/cols-map.less +15 -0
- package/lib/style/css/mapping/numbers-map.less +16 -0
- package/lib/style/css/mapping/positions-map.less +21 -0
- package/lib/style/css/mapping/sizes-map.less +129 -0
- package/lib/style/css/mapping/spacings-map.less +28 -0
- package/lib/style/css/mixins/_mixins.less +13 -0
- package/lib/style/css/mixins/alerts.less +13 -0
- package/lib/style/css/mixins/border-radius.less +16 -0
- package/lib/style/css/mixins/buttons.less +117 -0
- package/lib/style/css/mixins/clearfix.less +9 -0
- package/lib/style/css/mixins/cols.less +59 -0
- package/lib/style/css/mixins/forms.less +61 -0
- package/lib/style/css/mixins/panels.less +27 -0
- package/lib/style/css/mixins/placeholder.less +17 -0
- package/lib/style/css/mixins/reset.less +27 -0
- package/lib/style/css/mixins/sizings.less +21 -0
- package/lib/style/css/mixins/spinner.less +30 -0
- package/lib/style/css/mixins/table.less +26 -0
- package/lib/style/css/mixins/tabs.less +4 -0
- package/lib/style/css/mixins/text.less +5 -0
- package/lib/style/css/print/print.less +1 -4
- package/lib/style/css/rio-theme/alerts.less +23 -61
- package/lib/style/css/rio-theme/badges.less +16 -28
- package/lib/style/css/rio-theme/blockquote.less +14 -97
- package/lib/style/css/rio-theme/mixins/alerts.less +13 -1
- package/lib/style/css/shared/colors.json +1 -1
- package/lib/style/css/shared/colors.less +11 -8
- package/lib/style/css/shared/text.less +6 -5
- package/lib/style/css/utils/responsive/grid.less +15 -6
- package/lib/style/css/variables.less +179 -0
- package/lib/style/fonts/rioglyph/rioglyph.less +6 -11
- package/lib/style/fonts/rioglyph/rioglyph.woff +0 -0
- package/lib/types.ts +70 -59
- package/lib/utils/buttonEffect.js +3 -1
- package/lib/utils/deviceUtils.js +40 -3
- package/lib/utils/init.js +22 -7
- package/lib/version.json +1 -1
- package/package.json +47 -31
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
.ApplicationHeader .SubmoduleNavigation .submodule,
|
|
2
|
+
.navbar .SubmoduleNavigation .submodule {
|
|
3
|
+
white-space: nowrap;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.ApplicationHeader {
|
|
7
|
+
background-color: @color-white;
|
|
8
|
+
border-bottom: 1px solid @gray-light;
|
|
9
|
+
border-left: none;
|
|
10
|
+
border-right: none;
|
|
11
|
+
border-top: none;
|
|
12
|
+
display: flex;
|
|
13
|
+
float: none !important;
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
min-height: @navbar-height-without-border;
|
|
16
|
+
position: relative;
|
|
17
|
+
|
|
18
|
+
&.mobile {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
width: 100%;
|
|
24
|
+
|
|
25
|
+
> .ModuleNavigation {
|
|
26
|
+
flex: 1 1 auto;
|
|
27
|
+
|
|
28
|
+
> .dropdown {
|
|
29
|
+
width: calc(~"100vw - 100px");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.SubmoduleNavigation {
|
|
34
|
+
justify-content: flex-end;
|
|
35
|
+
|
|
36
|
+
&:not(.navbar-right) {
|
|
37
|
+
> li {
|
|
38
|
+
&:empty + .submodule,
|
|
39
|
+
&:first-child:not(:empty) {
|
|
40
|
+
margin-left: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.CollapsedDropdown > .dropdown-menu {
|
|
47
|
+
> .ApplicationActionBar {
|
|
48
|
+
background-color: @gray-lightest;
|
|
49
|
+
border-bottom: 1px solid @gray-lighter;
|
|
50
|
+
border-top: 1px solid @gray-lighter;
|
|
51
|
+
justify-content: flex-end;
|
|
52
|
+
position: relative;
|
|
53
|
+
width: 100%;
|
|
54
|
+
|
|
55
|
+
.ActionBarItemIcon .badge {
|
|
56
|
+
border-color: @gray-lightest;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.navbar-brand {
|
|
63
|
+
background-color: transparent !important;
|
|
64
|
+
background-image: @navbar-brand-icon !important;
|
|
65
|
+
background-size: cover;
|
|
66
|
+
display: block;
|
|
67
|
+
height: @navbar-height-without-border;
|
|
68
|
+
margin: 0;
|
|
69
|
+
padding: 0;
|
|
70
|
+
position: relative;
|
|
71
|
+
width: @navbar-height;
|
|
72
|
+
|
|
73
|
+
&.home-icon {
|
|
74
|
+
background-image: @navbar-brand-home-icon !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&:after {
|
|
78
|
+
background: @color-black;
|
|
79
|
+
content: '';
|
|
80
|
+
display: block;
|
|
81
|
+
height: 1px;
|
|
82
|
+
position: absolute;
|
|
83
|
+
width: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
> a,
|
|
87
|
+
> .icon {
|
|
88
|
+
display: block;
|
|
89
|
+
height: @navbar-height-without-border;
|
|
90
|
+
width: @navbar-height;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
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
|
+
min-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
|
+
.ApplicationActionBar {
|
|
330
|
+
background-color: @color-white;
|
|
331
|
+
cursor: auto;
|
|
332
|
+
display: flex;
|
|
333
|
+
position: absolute;
|
|
334
|
+
right: 0;
|
|
335
|
+
top: 0;
|
|
336
|
+
|
|
337
|
+
> .navigationItem {
|
|
338
|
+
align-items: center;
|
|
339
|
+
color: @gray-dark;
|
|
340
|
+
cursor: pointer;
|
|
341
|
+
display: flex;
|
|
342
|
+
fill: @gray-dark;
|
|
343
|
+
height: @navbar-height-without-border;
|
|
344
|
+
justify-content: center;
|
|
345
|
+
position: relative;
|
|
346
|
+
//text-align: center;
|
|
347
|
+
|
|
348
|
+
&:hover .icon {
|
|
349
|
+
color: @gray-darker;
|
|
350
|
+
fill: @gray-darker;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
> .ActionBarItem {
|
|
354
|
+
height: @navbar-height-without-border;
|
|
355
|
+
position: relative;
|
|
356
|
+
width: @navbar-height-without-border;
|
|
357
|
+
background: transparent !important;
|
|
358
|
+
padding: 0;
|
|
359
|
+
|
|
360
|
+
.ActionBarItemIcon {
|
|
361
|
+
align-items: center;
|
|
362
|
+
display: flex;
|
|
363
|
+
height: 100%;
|
|
364
|
+
justify-content: center;
|
|
365
|
+
text-align: center;
|
|
366
|
+
width: 100%;
|
|
367
|
+
|
|
368
|
+
> a {
|
|
369
|
+
color: inherit;
|
|
370
|
+
text-decoration: none;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.icon {
|
|
374
|
+
fill: inherit;
|
|
375
|
+
font-size: 26px;
|
|
376
|
+
width: 26px;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
// Enforce style for position of popover and it's arrow
|
|
381
|
+
// since some value will be set a element style from react-bootstrap
|
|
382
|
+
.popover {
|
|
383
|
+
cursor: initial;
|
|
384
|
+
|
|
385
|
+
&.bottom:not(.position-offscreen) {
|
|
386
|
+
left: 47px !important;
|
|
387
|
+
top: 44px !important;
|
|
388
|
+
transform: translateX(-100%);
|
|
389
|
+
width: 250px;
|
|
390
|
+
|
|
391
|
+
> .arrow {
|
|
392
|
+
left: calc(~'100% - 10px') !important;
|
|
393
|
+
margin-left: 0;
|
|
394
|
+
transform: translateX(-100%);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.ActionBarItemList {
|
|
404
|
+
margin: 0;
|
|
405
|
+
padding: 0;
|
|
406
|
+
|
|
407
|
+
&Item {
|
|
408
|
+
display: flex;
|
|
409
|
+
align-items: flex-start;
|
|
410
|
+
gap: 8px;
|
|
411
|
+
padding-top: 5px;
|
|
412
|
+
padding-bottom: 5px;
|
|
413
|
+
|
|
414
|
+
&Icon {
|
|
415
|
+
margin-top: 2px;
|
|
416
|
+
color: @gray-dark;
|
|
417
|
+
font-size: 16px;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
&Button {
|
|
421
|
+
.btn;
|
|
422
|
+
.btn-link;
|
|
423
|
+
.btn-multiline;
|
|
424
|
+
text-align: left;
|
|
425
|
+
padding: 0;
|
|
426
|
+
height: auto;
|
|
427
|
+
|
|
428
|
+
&:hover {
|
|
429
|
+
text-decoration: underline;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
&Separator {
|
|
435
|
+
margin-top: 5px;
|
|
436
|
+
margin-bottom: 5px;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
.ApplicationLayout {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
.ApplicationLayoutHeader {
|
|
5
|
+
height: @navbar-height;
|
|
6
|
+
width: 100%;
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
.ApplicationHeader {
|
|
10
|
+
z-index: @zindex-navbar;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
~ .ApplicationLayoutSidebar {
|
|
14
|
+
height: @ApplicationLayoutBodyHeightWithoutHeader; // fallback
|
|
15
|
+
height: @ApplicationLayoutBodyHeightWithoutHeaderAndViewportFix;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
~ .ApplicationLayoutBody {
|
|
19
|
+
height: @ApplicationLayoutBodyHeightWithoutHeader; // fallback
|
|
20
|
+
height: @ApplicationLayoutBodyHeightWithoutHeaderAndViewportFix;
|
|
21
|
+
|
|
22
|
+
&.has-footer {
|
|
23
|
+
height: @ApplicationLayoutBodyHeightWithoutHeaderWithoutFooter; // fallback
|
|
24
|
+
height: @ApplicationLayoutBodyHeightWithoutHeaderWithoutFooterAndViewportFix;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ApplicationLayoutSidebar {
|
|
32
|
+
position: relative;
|
|
33
|
+
float: left;
|
|
34
|
+
height: @ApplicationLayoutBodyHeight; // fallback
|
|
35
|
+
height: @ApplicationLayoutBodyHeightAndViewportFix;
|
|
36
|
+
z-index: @zindex-sidebar;
|
|
37
|
+
|
|
38
|
+
&.right {
|
|
39
|
+
float: right;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ApplicationLayoutBody {
|
|
44
|
+
float: none;
|
|
45
|
+
height: @ApplicationLayoutBodyHeight; // fallback
|
|
46
|
+
height: @ApplicationLayoutBodyHeightAndViewportFix;
|
|
47
|
+
overflow: auto;
|
|
48
|
+
position: relative;
|
|
49
|
+
|
|
50
|
+
&.has-footer {
|
|
51
|
+
height: @ApplicationLayoutBodyHeightWithoutFooter; // fallback
|
|
52
|
+
height: @ApplicationLayoutBodyHeightWithoutFooterAndViewportFix;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ApplicationLayoutBodyNavigation {
|
|
56
|
+
&:not(.unstyled) {
|
|
57
|
+
align-items: center;
|
|
58
|
+
background: @color-white;
|
|
59
|
+
border-bottom: 1px solid @gray-light;
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: space-between;
|
|
62
|
+
padding: 0 @ApplicationLayoutBodyPadding*0.25 0 @ApplicationLayoutBodyPadding*0.5;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:not(.header-has-no-application-menu) {
|
|
66
|
+
@media (min-width: @screen-lg) {
|
|
67
|
+
padding-left: 365px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.nav-pills {
|
|
72
|
+
&:not(.nav-stacked) {
|
|
73
|
+
box-shadow: none;
|
|
74
|
+
|
|
75
|
+
> li {
|
|
76
|
+
> a, > span, > div {
|
|
77
|
+
|
|
78
|
+
padding-left: 0;
|
|
79
|
+
padding-right: 0;
|
|
80
|
+
margin-left: 15px;
|
|
81
|
+
margin-right: 15px;
|
|
82
|
+
|
|
83
|
+
&:hover,
|
|
84
|
+
&:focus {
|
|
85
|
+
box-shadow: inset 0px -2px 0px 0px @color-black;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.active,
|
|
90
|
+
&:active {
|
|
91
|
+
> a, > span, > div {
|
|
92
|
+
box-shadow: inset 0px -3px 0px 0px @color-black;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
body:not(.modal-open) & {
|
|
101
|
+
-webkit-overflow-scrolling: touch;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.scroll-to-top {
|
|
105
|
+
height: 0;
|
|
106
|
+
position: absolute;
|
|
107
|
+
transition: height 0.5s ease;
|
|
108
|
+
width: @btn-size-default;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
|
|
111
|
+
&.in {
|
|
112
|
+
height: @btn-size-default;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@media (max-width: @screen-xs-max) {
|
|
116
|
+
bottom: @ApplicationLayoutBodyPadding * 0.3;
|
|
117
|
+
right: @ApplicationLayoutBodyPadding * 0.3;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@media (min-width: @screen-ls) {
|
|
121
|
+
bottom: @ApplicationLayoutBodyPadding * 0.8;
|
|
122
|
+
right: @ApplicationLayoutBodyPadding * 0.8;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Default application content area with default padding and default background */
|
|
127
|
+
.module-content-wrapper {
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
height: 100%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.module-content {
|
|
134
|
+
flex: 1 1 0; // instead "auto" we 0 for safari
|
|
135
|
+
margin: 0;
|
|
136
|
+
min-width: 0;
|
|
137
|
+
overflow: auto;
|
|
138
|
+
position: relative;
|
|
139
|
+
|
|
140
|
+
@media (max-width: @screen-xs-max) {
|
|
141
|
+
padding: @ApplicationLayoutBodyPadding*0.5;
|
|
142
|
+
}
|
|
143
|
+
@media (min-width: @screen-ls) {
|
|
144
|
+
padding: @ApplicationLayoutBodyPadding;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ApplicationLayoutBodyBanner {
|
|
149
|
+
line-height: 1.25;
|
|
150
|
+
padding: 3px 10px 4px 10px;
|
|
151
|
+
text-align: center;
|
|
152
|
+
|
|
153
|
+
+ .module-content {
|
|
154
|
+
height: auto; // double scrollbar bug // Unnecessary?
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.not-responsive {
|
|
159
|
+
.module-content {
|
|
160
|
+
min-width: @ApplicationLayoutNotResponsiveWidth;;
|
|
161
|
+
padding: @ApplicationLayoutBodyPadding;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@media (max-width: @ApplicationLayoutNotResponsiveWidth) {
|
|
165
|
+
.scroll-to-top {
|
|
166
|
+
position: fixed;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.ApplicationLayoutBodyBottomBar {
|
|
173
|
+
align-items: center;
|
|
174
|
+
background-color: @color-white;
|
|
175
|
+
border-top: 1px solid @gray-light;
|
|
176
|
+
display: flex;
|
|
177
|
+
height: @footer-height;
|
|
178
|
+
padding: 10px;
|
|
179
|
+
|
|
180
|
+
&.use-body-padding {
|
|
181
|
+
@media (max-width: @screen-xs-max) {
|
|
182
|
+
padding-left: @ApplicationLayoutBodyPadding*0.5;
|
|
183
|
+
padding-right: @ApplicationLayoutBodyPadding*0.5;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
@media (min-width: @screen-ls) {
|
|
187
|
+
padding-left: @ApplicationLayoutBodyPadding;
|
|
188
|
+
padding-right: @ApplicationLayoutBodyPadding;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// Common Website-behavior
|
|
194
|
+
&.common-website-behavior {
|
|
195
|
+
position: unset;
|
|
196
|
+
|
|
197
|
+
.ApplicationLayoutBody {
|
|
198
|
+
height: unset;
|
|
199
|
+
overflow: unset;
|
|
200
|
+
position: unset;
|
|
201
|
+
float: unset;
|
|
202
|
+
|
|
203
|
+
.module-content {
|
|
204
|
+
background-color: transparent;
|
|
205
|
+
flex: unset;
|
|
206
|
+
height: unset;
|
|
207
|
+
margin: 0;
|
|
208
|
+
min-width: 0;
|
|
209
|
+
overflow: unset;
|
|
210
|
+
padding: 0;
|
|
211
|
+
position: unset;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.ApplicationLayoutHeader {
|
|
216
|
+
left: 0;
|
|
217
|
+
position: fixed;
|
|
218
|
+
right: 0;
|
|
219
|
+
top: 0;
|
|
220
|
+
z-index: 1000;
|
|
221
|
+
|
|
222
|
+
+ .ApplicationLayoutBody {
|
|
223
|
+
margin-top: @navbar-height;
|
|
224
|
+
|
|
225
|
+
.module-content {
|
|
226
|
+
min-height: @ApplicationLayoutBodyHeightWithoutHeader; // fallback
|
|
227
|
+
min-height: @ApplicationLayoutBodyHeightWithoutHeaderAndViewportFix;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&:after {
|
|
234
|
+
clear: both;
|
|
235
|
+
}
|
|
236
|
+
}
|