@rio-cloud/rio-uikit 0.16.1-beta-9 → 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 -164
- 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/assetTree/TreeLeaf.js +1 -1
- package/lib/components/assetTree/TreeSelectAll.js +2 -1
- package/lib/components/assetTree/TypeCounter.js +3 -3
- 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/Colors.js +1 -1
- package/lib/es/VolkswagenApplicationHeader.d.ts +5 -0
- package/lib/es/VolkswagenApplicationHeader.js +15 -0
- package/lib/index.js +1 -1
- package/lib/style/css/_exports/rio-website.less +29 -22
- package/lib/style/css/_exports/vw-uikit.less +4 -0
- package/lib/style/css/components/ApplicationHeader.less +47 -15
- package/lib/style/css/components/AssetTree.less +2 -2
- package/lib/style/css/variables.less +1 -1
- package/lib/style/fonts/rioglyph/rioglyph.less +7 -7
- package/lib/style/fonts/rioglyph/rioglyph.svg +9 -9
- 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 +1 -1
- package/lib/version.json +1 -1
- package/package.json +95 -94
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
@tooltip-max-width: 200px;
|
|
2
|
+
@tooltip-color: @color-white;
|
|
3
|
+
@tooltip-bg: @gray-darker;
|
|
4
|
+
@tooltip-arrow-width: 5px;
|
|
5
|
+
@tooltip-arrow-color: @tooltip-bg;
|
|
6
|
+
@tooltip-opacity: 1;
|
|
7
|
+
|
|
8
|
+
.tooltip {
|
|
9
|
+
.tooltip-arrow {
|
|
10
|
+
position: absolute;
|
|
11
|
+
width: 0;
|
|
12
|
+
height: 0;
|
|
13
|
+
border-color: transparent;
|
|
14
|
+
border-style: solid;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.tooltip-default,
|
|
18
|
+
&.tooltip-onboarding {
|
|
19
|
+
max-width: calc(~'100vw - 30px');
|
|
20
|
+
|
|
21
|
+
// &:not([class*='margin-']) {
|
|
22
|
+
// margin: 0 !important;
|
|
23
|
+
// }
|
|
24
|
+
|
|
25
|
+
&[class*='max-width'] {
|
|
26
|
+
.tooltip-inner {
|
|
27
|
+
max-width: 100%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&[class*='width-auto'] {
|
|
32
|
+
.tooltip-inner {
|
|
33
|
+
width: auto;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.tooltip-inner {
|
|
38
|
+
color: @tooltip-color;
|
|
39
|
+
cursor: default;
|
|
40
|
+
line-height: 1.25;
|
|
41
|
+
max-width: none;
|
|
42
|
+
text-align: inherit;
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.tooltip-default {
|
|
48
|
+
z-index: @zindex-tooltip;
|
|
49
|
+
|
|
50
|
+
.tooltip-inner {
|
|
51
|
+
background: @gray-darkest;
|
|
52
|
+
border-radius: @border-radius-sm;
|
|
53
|
+
padding: 5px 10px;
|
|
54
|
+
width: 180px;
|
|
55
|
+
|
|
56
|
+
.tooltip-title {
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
|
|
59
|
+
+ .tooltip-content {
|
|
60
|
+
margin-top: 5px;
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@arrow-size: 5px;
|
|
67
|
+
@arrow-size-hypotenuse: sqrt(pow(@arrow-size, 2) + pow(@arrow-size, 2));
|
|
68
|
+
|
|
69
|
+
.tooltip-mixin(
|
|
70
|
+
@offset: 10px; @overlap: 10px; @color: @gray-darkest; @arrow-size: 5px; @arrow-size-hypotenuse:
|
|
71
|
+
@arrow-size-hypotenuse;
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.tooltip-onboarding {
|
|
76
|
+
filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
|
|
77
|
+
z-index: @zindex-tooltip-onboarding;
|
|
78
|
+
|
|
79
|
+
&.onboarding-clickflow {
|
|
80
|
+
z-index: @zindex-tooltip-onboarding + 1;
|
|
81
|
+
|
|
82
|
+
&.onboarding-clickflow-backdrop {
|
|
83
|
+
&:after {
|
|
84
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
85
|
+
bottom: -1500px;
|
|
86
|
+
content: "";
|
|
87
|
+
display: block;
|
|
88
|
+
left: -1500px;
|
|
89
|
+
pointer-events: none;
|
|
90
|
+
position: fixed;
|
|
91
|
+
right: -1500px;
|
|
92
|
+
top: -1500px;
|
|
93
|
+
z-index: -1;
|
|
94
|
+
|
|
95
|
+
@supports ((-webkit-backdrop-filter: blur()) or (backdrop-filter: blur())) {
|
|
96
|
+
opacity: 0.99;
|
|
97
|
+
backdrop-filter: blur(5px);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.onboarding-clickflow ~ .onboarding-clickflow {
|
|
104
|
+
visibility: hidden;
|
|
105
|
+
z-index: @zindex-tooltip-onboarding;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.tooltip-inner {
|
|
109
|
+
background: @brand-secondary;
|
|
110
|
+
border-radius: @border-radius-default;
|
|
111
|
+
padding: 15px;
|
|
112
|
+
width: 330px;
|
|
113
|
+
|
|
114
|
+
.tooltip-title {
|
|
115
|
+
font-size: 18px;
|
|
116
|
+
|
|
117
|
+
+ .tooltip-content {
|
|
118
|
+
margin-top: 10px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.tooltip-content {
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.tooltip-close {
|
|
127
|
+
color: darken(@brand-secondary, 10%);
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
font-size: 16px;
|
|
130
|
+
margin: 2px 0 0 10px;
|
|
131
|
+
|
|
132
|
+
&:hover {
|
|
133
|
+
color: @color-white;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@arrow-size: 10px;
|
|
139
|
+
@arrow-size-hypotenuse: sqrt(pow(@arrow-size, 2) + pow(@arrow-size, 2));
|
|
140
|
+
|
|
141
|
+
.tooltip-mixin(
|
|
142
|
+
@offset: 20px; @overlap: 25px; @color: @color-map-marker-poi; @arrow-size: @arrow-size; @arrow-size-hypotenuse:
|
|
143
|
+
@arrow-size-hypotenuse;
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.tooltip-mixin(@offset; @overlap; @color; @arrow-size; @arrow-size-hypotenuse) {
|
|
149
|
+
&[x-placement^="top"] {
|
|
150
|
+
padding: @arrow-size;
|
|
151
|
+
|
|
152
|
+
.tooltip-arrow {
|
|
153
|
+
border-top-color: @color;
|
|
154
|
+
border-width: @arrow-size @arrow-size 0 @arrow-size;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&[x-placement^="right"] {
|
|
159
|
+
padding: 0 @arrow-size;
|
|
160
|
+
|
|
161
|
+
.tooltip-arrow {
|
|
162
|
+
border-right-color: @color;
|
|
163
|
+
border-width: @arrow-size @arrow-size @arrow-size 0;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&[x-placement^="bottom"] {
|
|
168
|
+
padding: @arrow-size 0;
|
|
169
|
+
|
|
170
|
+
.tooltip-arrow {
|
|
171
|
+
border-bottom-color: @color;
|
|
172
|
+
border-width: 0 @arrow-size @arrow-size @arrow-size;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&[x-placement^="left"] {
|
|
177
|
+
padding: 0 @arrow-size;
|
|
178
|
+
|
|
179
|
+
.tooltip-arrow {
|
|
180
|
+
border-left-color: @color;
|
|
181
|
+
border-width: @arrow-size 0 @arrow-size @arrow-size;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.tooltip {
|
|
187
|
+
&[x-placement^="top"] {
|
|
188
|
+
.tooltip-arrow {
|
|
189
|
+
bottom: 0;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&[x-placement^="right"] {
|
|
194
|
+
.tooltip-arrow {
|
|
195
|
+
left: 0;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&[x-placement^="bottom"] {
|
|
200
|
+
.tooltip-arrow {
|
|
201
|
+
top: 0;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&[x-placement^="left"] {
|
|
206
|
+
.tooltip-arrow {
|
|
207
|
+
right: 0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&[x-placement^="top-start"], &[x-placement^="bottom-start"] {
|
|
212
|
+
.tooltip-inner {
|
|
213
|
+
margin-left: 10px;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&[x-placement^="top-end"], &[x-placement^="bottom-end"] {
|
|
218
|
+
.tooltip-inner {
|
|
219
|
+
margin-right: 10px;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.alert {
|
|
2
|
+
border-color: transparent;
|
|
3
|
+
border-radius: @border-radius-default;
|
|
4
|
+
border-style: solid;
|
|
5
|
+
border-width: 2px;
|
|
6
|
+
padding: 12px;
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
.alert-link {
|
|
10
|
+
font-weight: bold;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.alert-dismissible {
|
|
14
|
+
padding-right: 30px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
> .close {
|
|
18
|
+
position: absolute;
|
|
19
|
+
right: 3px;
|
|
20
|
+
top: 6px;
|
|
21
|
+
transform: scale(0.75);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
> p,
|
|
25
|
+
> ul {
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// primary
|
|
30
|
+
// secondary
|
|
31
|
+
// info
|
|
32
|
+
// success
|
|
33
|
+
// warning
|
|
34
|
+
// danger
|
|
35
|
+
each(@colors-brand-and-status-map, {
|
|
36
|
+
@background: @colors-brand-and-status-decent-map[$@key];
|
|
37
|
+
|
|
38
|
+
&.alert- {
|
|
39
|
+
&@{key} {
|
|
40
|
+
|
|
41
|
+
background-color: @background;
|
|
42
|
+
border-color: @value;
|
|
43
|
+
color: @value;
|
|
44
|
+
|
|
45
|
+
.alert-link {
|
|
46
|
+
color: @value;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
> .close .rioglyph {
|
|
50
|
+
color: @value;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
})
|
|
55
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.aspect-ratio-resizer {
|
|
2
|
+
display: grid;
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
> * {
|
|
6
|
+
grid-area: ~"1 / 1 / 2 / 2";
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.aspect-ratio-placeholder {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 50%;
|
|
12
|
+
left: 50%;
|
|
13
|
+
transform: translate(-50%,-50%);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Aspect ratio related to elements width and height attributes
|
|
18
|
+
.aspect-ratio-1 { aspect-ratio: 1 / 1 }
|
|
19
|
+
.aspect-ratio-1-2 { aspect-ratio: 1 / 2 }
|
|
20
|
+
.aspect-ratio-2-1 { aspect-ratio: 2 / 1 }
|
|
21
|
+
.aspect-ratio-4-3 { aspect-ratio: 4 / 3 }
|
|
22
|
+
.aspect-ratio-16-9 { aspect-ratio: 16 / 9 }
|
|
23
|
+
.aspect-ratio-16-10 { aspect-ratio: 16 / 10 }
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
.badge {
|
|
2
|
+
background-color: @brand-primary;
|
|
3
|
+
border-radius: @border-radius-round;
|
|
4
|
+
color: @color-white;
|
|
5
|
+
display: inline-block;
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
line-height: 1;
|
|
9
|
+
min-height: 16px;
|
|
10
|
+
min-width: 16px;
|
|
11
|
+
position: relative;
|
|
12
|
+
vertical-align: baseline;
|
|
13
|
+
|
|
14
|
+
// Empty badges are just a dot
|
|
15
|
+
&:not(:empty) {
|
|
16
|
+
padding: 4px 7px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&-lg {
|
|
20
|
+
font-size: 16px;
|
|
21
|
+
min-width: 24px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-xl {
|
|
25
|
+
font-size: 20px;
|
|
26
|
+
min-width: 30px;
|
|
27
|
+
padding: 4px 9px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-indicator {
|
|
31
|
+
display: grid;
|
|
32
|
+
place-items: center;
|
|
33
|
+
position: absolute;
|
|
34
|
+
right: 0;
|
|
35
|
+
top: 0;
|
|
36
|
+
z-index: 1;
|
|
37
|
+
transform: translate(50%, -50%);
|
|
38
|
+
|
|
39
|
+
.ActionBarItemIcon & {
|
|
40
|
+
border: 2px solid @color-white;
|
|
41
|
+
left: 50%;
|
|
42
|
+
position: absolute;
|
|
43
|
+
right: auto;
|
|
44
|
+
top: 5px;
|
|
45
|
+
transform: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-border {
|
|
49
|
+
border: 2px solid @color-white;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-pinging {
|
|
53
|
+
&:before {
|
|
54
|
+
animation:pinging 1s cubic-bezier(0,0,.2,1) infinite;
|
|
55
|
+
border-radius: @border-radius-round;
|
|
56
|
+
bottom: 0;
|
|
57
|
+
content: "";
|
|
58
|
+
left: 0;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
position: absolute;
|
|
61
|
+
right: 0;
|
|
62
|
+
top: 0;
|
|
63
|
+
z-index: -1;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// muted
|
|
69
|
+
// default
|
|
70
|
+
// primary
|
|
71
|
+
// secondary
|
|
72
|
+
// info
|
|
73
|
+
// success
|
|
74
|
+
// warning
|
|
75
|
+
// danger
|
|
76
|
+
&-muted {
|
|
77
|
+
color: @gray-dark;
|
|
78
|
+
box-shadow: inset 0px 0px 0px 1px @gray-light;
|
|
79
|
+
background-color: @gray-lightest;
|
|
80
|
+
|
|
81
|
+
&.badge-indicator-pinging {
|
|
82
|
+
&:before {
|
|
83
|
+
background-color: @gray-light;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&-default {
|
|
89
|
+
background-color: @gray-dark;
|
|
90
|
+
|
|
91
|
+
&.badge-indicator-pinging {
|
|
92
|
+
&:before {
|
|
93
|
+
background-color: @gray-dark;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
each(@colors-brand-and-status-map, {
|
|
99
|
+
&.badge-@{key} {
|
|
100
|
+
background-color: @value;
|
|
101
|
+
|
|
102
|
+
&.badge-indicator-pinging {
|
|
103
|
+
&:before {
|
|
104
|
+
background-color: @value;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.indicated-button,
|
|
112
|
+
.indicated-icon {
|
|
113
|
+
position: relative;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.indicated-icon {
|
|
117
|
+
.rioglyph {
|
|
118
|
+
font-size: 26px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
blockquote {
|
|
2
|
+
font-size: (@font-size-default * 1.25);
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 2% 0 2% 10%;
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
&:before {
|
|
8
|
+
content: "“";
|
|
9
|
+
display: flex;
|
|
10
|
+
font-size: 50px;
|
|
11
|
+
height: 50px;
|
|
12
|
+
left: 0;
|
|
13
|
+
line-height: 50px;
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
position: absolute;
|
|
16
|
+
text-align: center;
|
|
17
|
+
top: 0;
|
|
18
|
+
user-select: none;
|
|
19
|
+
width: 6%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
each(@colors-text-map, {
|
|
23
|
+
&.quote-color- {
|
|
24
|
+
&@{key}:before {
|
|
25
|
+
color: @value !important
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
each(@colors-gray-map, {
|
|
31
|
+
&.quote-color- {
|
|
32
|
+
&@{key}:before {
|
|
33
|
+
color: @value !important
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
|
+
|
|
38
|
+
p,
|
|
39
|
+
ul,
|
|
40
|
+
ol {
|
|
41
|
+
&:first-child {
|
|
42
|
+
margin-top: 0 !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:last-child {
|
|
46
|
+
margin-bottom: 0 !important;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
// default values used as shorthand ".border" class
|
|
2
|
+
// no !important here, because other classes will not work then
|
|
3
|
+
.border {
|
|
4
|
+
border-color: @gray-light;
|
|
5
|
+
border-style: solid;
|
|
6
|
+
border-width: 1px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// border
|
|
10
|
+
.border {
|
|
11
|
+
&-style-solid { border-style: solid !important}
|
|
12
|
+
&-style-dotted { border-style: dotted !important}
|
|
13
|
+
&-style-dashed { border-style: dashed !important}
|
|
14
|
+
|
|
15
|
+
&-width,
|
|
16
|
+
&-size { // backward compatibility
|
|
17
|
+
&-1 { border-width: 1px !important}
|
|
18
|
+
&-2 { border-width: 2px !important}
|
|
19
|
+
&-3 { border-width: 3px !important}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-none { border: none !important }
|
|
23
|
+
|
|
24
|
+
&-top-none,
|
|
25
|
+
&-top-0 { // backward compatibility
|
|
26
|
+
border-top-style: none !important
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-top-only {
|
|
30
|
+
border-right-style: none !important;
|
|
31
|
+
border-bottom-style: none !important;
|
|
32
|
+
border-left-style: none !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-right-none,
|
|
36
|
+
&-right-0 { // backward compatibility
|
|
37
|
+
border-right-style: none !important
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-right-only {
|
|
41
|
+
border-top-style: none !important;
|
|
42
|
+
border-bottom-style: none !important;
|
|
43
|
+
border-left-style: none !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&-bottom-none,
|
|
47
|
+
&-bottom-0 { // backward compatibility
|
|
48
|
+
border-bottom-style: none !important
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-bottom-only {
|
|
52
|
+
border-top-style: none !important;
|
|
53
|
+
border-right-style: none !important;
|
|
54
|
+
border-left-style: none !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&-left-none,
|
|
58
|
+
&-left-0 { // backward compatibility
|
|
59
|
+
border-left-style: none !important
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&-left-only {
|
|
63
|
+
border-top-style: none !important;
|
|
64
|
+
border-right-style: none !important;
|
|
65
|
+
border-bottom-style: none !important;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// border coloring
|
|
70
|
+
|
|
71
|
+
// transparent
|
|
72
|
+
.border-color-transparent {
|
|
73
|
+
border-color: transparent !important
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// white
|
|
77
|
+
// black
|
|
78
|
+
each(@colors-text-map, {
|
|
79
|
+
.border-color-@{key} {
|
|
80
|
+
border-color: @value !important;
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
|
|
84
|
+
// primary
|
|
85
|
+
// secondary
|
|
86
|
+
each(@colors-brand-map, {
|
|
87
|
+
.border-color-@{key} {
|
|
88
|
+
border-color: @value !important;
|
|
89
|
+
}
|
|
90
|
+
})
|
|
91
|
+
|
|
92
|
+
// info
|
|
93
|
+
// success
|
|
94
|
+
// warning
|
|
95
|
+
// danger
|
|
96
|
+
each(@colors-status-map, {
|
|
97
|
+
.border-color-@{key} {
|
|
98
|
+
border-color: @value !important;
|
|
99
|
+
}
|
|
100
|
+
})
|
|
101
|
+
|
|
102
|
+
// darkest
|
|
103
|
+
// darker
|
|
104
|
+
// dark
|
|
105
|
+
// gray
|
|
106
|
+
// light
|
|
107
|
+
// lighter
|
|
108
|
+
// lightest
|
|
109
|
+
each(@colors-gray-map, {
|
|
110
|
+
.border-color-@{key} {
|
|
111
|
+
border-color: @value !important;
|
|
112
|
+
}
|
|
113
|
+
})
|
|
114
|
+
|
|
115
|
+
// map-marker-asset
|
|
116
|
+
// map-marker-poi
|
|
117
|
+
// map-marker-geofence
|
|
118
|
+
// map-marker-route
|
|
119
|
+
each(@colors-map-marker-map, {
|
|
120
|
+
.border-color-@{key} {
|
|
121
|
+
border-color: @value !important;
|
|
122
|
+
}
|
|
123
|
+
})
|
|
124
|
+
|
|
125
|
+
// rating-1
|
|
126
|
+
// rating-2
|
|
127
|
+
// rating-3
|
|
128
|
+
// rating-4
|
|
129
|
+
// rating-5
|
|
130
|
+
each(@colors-rating-map, {
|
|
131
|
+
.border-color-@{key} {
|
|
132
|
+
border-color: @value !important;
|
|
133
|
+
}
|
|
134
|
+
})
|
|
135
|
+
|
|
136
|
+
// status-available
|
|
137
|
+
// status-driving
|
|
138
|
+
// status-resting
|
|
139
|
+
// status-working
|
|
140
|
+
each(@colors-driving-status-map, {
|
|
141
|
+
.border-color-@{key} {
|
|
142
|
+
border-color: @value !important;
|
|
143
|
+
}
|
|
144
|
+
})
|
|
145
|
+
|
|
146
|
+
// highlight-darkest
|
|
147
|
+
// highlight-darker
|
|
148
|
+
// highlight-dark
|
|
149
|
+
// highlight
|
|
150
|
+
// highlight-light
|
|
151
|
+
// highlight-lighter
|
|
152
|
+
// highlight-lightest
|
|
153
|
+
// highlight-decent
|
|
154
|
+
each(@colors-highlight-map, {
|
|
155
|
+
.border-color-@{key} {
|
|
156
|
+
border-color: @value !important;
|
|
157
|
+
}
|
|
158
|
+
})
|
|
159
|
+
|
|
160
|
+
// coldplay-wine
|
|
161
|
+
// coldplay-aubergine
|
|
162
|
+
// coldplay-kashmir
|
|
163
|
+
// coldplay-fountain
|
|
164
|
+
// coldplay-turquoise
|
|
165
|
+
// coldplay-bermuda
|
|
166
|
+
// coldplay-moos
|
|
167
|
+
// coldplay-primrose
|
|
168
|
+
// coldplay-khaki
|
|
169
|
+
& when (@buildColdplayColors = true) {
|
|
170
|
+
each(@colors-coldplay-map, {
|
|
171
|
+
.border-color-@{key} {
|
|
172
|
+
border-color: @value !important;
|
|
173
|
+
}
|
|
174
|
+
})
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// warmup-crimson
|
|
178
|
+
// warmup-victoria
|
|
179
|
+
// warmup-cadillac
|
|
180
|
+
// warmup-raspberry
|
|
181
|
+
// warmup-cerise
|
|
182
|
+
// warmup-charm
|
|
183
|
+
// warmup-salmon
|
|
184
|
+
// warmup-cherokee
|
|
185
|
+
// warmup-corn
|
|
186
|
+
& when (@buildWarmupColors = true) {
|
|
187
|
+
each(@colors-warmup-map, {
|
|
188
|
+
.border-color-@{key} {
|
|
189
|
+
border-color: @value !important;
|
|
190
|
+
}
|
|
191
|
+
})
|
|
192
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.breadcrumb {
|
|
2
|
+
.list-unstyled();
|
|
3
|
+
margin-bottom: 0;
|
|
4
|
+
padding: 8px 15px;
|
|
5
|
+
|
|
6
|
+
> li {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
|
|
9
|
+
+ li:before {
|
|
10
|
+
color: @gray-light;
|
|
11
|
+
content: "/";
|
|
12
|
+
padding: 0 5px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
> .active {
|
|
17
|
+
color: @gray-dark;
|
|
18
|
+
cursor: default;
|
|
19
|
+
}
|
|
20
|
+
}
|