@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,27 @@
|
|
|
1
|
+
.callout {
|
|
2
|
+
background-color: @color-white;
|
|
3
|
+
border-radius: @border-radius-default;
|
|
4
|
+
border: 1px solid @gray-light;
|
|
5
|
+
padding: 20px 20px 20px 25px;
|
|
6
|
+
|
|
7
|
+
p:last-child {
|
|
8
|
+
margin-bottom: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// default
|
|
12
|
+
// primary
|
|
13
|
+
// secondary
|
|
14
|
+
// info
|
|
15
|
+
// success
|
|
16
|
+
// warning
|
|
17
|
+
// danger
|
|
18
|
+
&-default {
|
|
19
|
+
box-shadow: inset 5px 0 0 0 @gray;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
each(@colors-brand-and-status-map, {
|
|
23
|
+
&-@{key} {
|
|
24
|
+
box-shadow: inset 5px 0 0 0 @value;
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.caret {
|
|
2
|
+
border: none;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
height: auto;
|
|
5
|
+
width: auto;
|
|
6
|
+
transition: transform 150ms ease-in-out;
|
|
7
|
+
transform-origin: center;
|
|
8
|
+
|
|
9
|
+
&:before {
|
|
10
|
+
.rioglyph();
|
|
11
|
+
content: @rioglyph-chevron-down;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// open dropdown
|
|
15
|
+
.dropdown.open & {
|
|
16
|
+
transform: rotate(180deg);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// spacing of the caret inside a button
|
|
20
|
+
.input-group-btn .dropdown-toggle &,
|
|
21
|
+
.dropdown .dropdown-toggle & {
|
|
22
|
+
margin-left: 6px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.dropdown.btn-group > .btn + .dropdown-toggle & {
|
|
26
|
+
margin-left: 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@code-bg: #f3f3f4;
|
|
2
|
+
|
|
3
|
+
code,
|
|
4
|
+
pre {
|
|
5
|
+
font-family: @font-family-monospace;
|
|
6
|
+
border-radius: @border-radius-default;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
code {
|
|
10
|
+
background-color: @code-bg;
|
|
11
|
+
color: @color-warmup-raspberry;
|
|
12
|
+
font-size: 80%;
|
|
13
|
+
margin-left: 1px;
|
|
14
|
+
margin-right: 1px;
|
|
15
|
+
padding: 2px 5px;
|
|
16
|
+
|
|
17
|
+
&.code-inline {
|
|
18
|
+
margin-left: 5px;
|
|
19
|
+
margin-right: 5px;
|
|
20
|
+
|
|
21
|
+
&-first {
|
|
22
|
+
margin-right: 5px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-last {
|
|
26
|
+
margin-left: 5px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
pre {
|
|
32
|
+
background-color: @code-bg;
|
|
33
|
+
color: @gray-dark;
|
|
34
|
+
display: block;
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 5px 10px;
|
|
37
|
+
|
|
38
|
+
code {
|
|
39
|
+
background-color: transparent;
|
|
40
|
+
border-radius: 0;
|
|
41
|
+
color: inherit;
|
|
42
|
+
padding: 0;
|
|
43
|
+
line-height: 1.5;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
.bg-muted, .hover-bg-muted:hover { background-color: @gray-lighter !important }
|
|
2
|
+
.bg-default, .hover-bg-default:hover { background-color: @gray-dark !important }
|
|
3
|
+
|
|
4
|
+
// white
|
|
5
|
+
// black
|
|
6
|
+
.bg-white, .hover-bg-white:hover { background-color: @color-white !important }
|
|
7
|
+
.fill-white { fill: @color-white !important }
|
|
8
|
+
|
|
9
|
+
.bg-black, .hover-bg-black:hover { background-color: @color-black !important }
|
|
10
|
+
.fill-black { fill: @color-black !important }
|
|
11
|
+
.bg-black { color: @color-white !important }
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
// primary
|
|
15
|
+
// secondary
|
|
16
|
+
each(@colors-brand-map, {
|
|
17
|
+
.bg-@{key} {
|
|
18
|
+
color: @color-white !important;
|
|
19
|
+
background-color: @value !important;
|
|
20
|
+
}
|
|
21
|
+
.hover-bg-@{key}:hover {
|
|
22
|
+
background-color: @value !important;
|
|
23
|
+
}
|
|
24
|
+
.fill-@{key} {
|
|
25
|
+
fill: @value !important;
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
// info
|
|
30
|
+
// success
|
|
31
|
+
// warning
|
|
32
|
+
// danger
|
|
33
|
+
each(@colors-status-map, {
|
|
34
|
+
.bg-@{key} {
|
|
35
|
+
color: @color-white !important;
|
|
36
|
+
background-color: @value !important;
|
|
37
|
+
}
|
|
38
|
+
.hover-bg-@{key}:hover {
|
|
39
|
+
background-color: @value !important;
|
|
40
|
+
}
|
|
41
|
+
.fill-@{key} {
|
|
42
|
+
fill: @value !important;
|
|
43
|
+
}
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
// darkest
|
|
47
|
+
// darker
|
|
48
|
+
// dark
|
|
49
|
+
// gray
|
|
50
|
+
// light
|
|
51
|
+
// lighter
|
|
52
|
+
// lightest
|
|
53
|
+
each(@colors-gray-map, {
|
|
54
|
+
.bg-@{key} {
|
|
55
|
+
color: @gray-darkest !important;
|
|
56
|
+
background-color: @value !important;
|
|
57
|
+
}
|
|
58
|
+
.hover-bg-@{key}:hover {
|
|
59
|
+
background-color: @value !important;
|
|
60
|
+
}
|
|
61
|
+
.fill-@{key} {
|
|
62
|
+
fill: @value !important;
|
|
63
|
+
}
|
|
64
|
+
})
|
|
65
|
+
.bg-dark,
|
|
66
|
+
.bg-darker,
|
|
67
|
+
.bg-darkest { color: @color-white !important }
|
|
68
|
+
|
|
69
|
+
// map-marker-asset
|
|
70
|
+
// map-marker-poi
|
|
71
|
+
// map-marker-geofence
|
|
72
|
+
// map-marker-route
|
|
73
|
+
each(@colors-map-marker-map, {
|
|
74
|
+
.bg-@{key} {
|
|
75
|
+
color: @color-white !important;
|
|
76
|
+
background-color: @value !important;
|
|
77
|
+
}
|
|
78
|
+
.hover-bg-@{key}:hover {
|
|
79
|
+
background-color: @value !important;
|
|
80
|
+
}
|
|
81
|
+
.fill-@{key} {
|
|
82
|
+
fill: @value !important;
|
|
83
|
+
}
|
|
84
|
+
})
|
|
85
|
+
|
|
86
|
+
// rating-1
|
|
87
|
+
// rating-2
|
|
88
|
+
// rating-3
|
|
89
|
+
// rating-4
|
|
90
|
+
// rating-5
|
|
91
|
+
each(@colors-rating-map, {
|
|
92
|
+
.bg-@{key} {
|
|
93
|
+
color: @color-white !important;
|
|
94
|
+
background-color: @value !important;
|
|
95
|
+
}
|
|
96
|
+
.hover-bg-@{key}:hover {
|
|
97
|
+
background-color: @value !important;
|
|
98
|
+
}
|
|
99
|
+
.fill-@{key} {
|
|
100
|
+
fill: @value !important;
|
|
101
|
+
}
|
|
102
|
+
})
|
|
103
|
+
|
|
104
|
+
// status-available
|
|
105
|
+
// status-driving
|
|
106
|
+
// status-resting
|
|
107
|
+
// status-working
|
|
108
|
+
each(@colors-driving-status-map, {
|
|
109
|
+
.bg-@{key} {
|
|
110
|
+
color: @color-white !important;
|
|
111
|
+
background-color: @value !important;
|
|
112
|
+
}
|
|
113
|
+
.hover-bg-@{key}:hover {
|
|
114
|
+
background-color: @value !important;
|
|
115
|
+
}
|
|
116
|
+
.fill-@{key} {
|
|
117
|
+
fill: @value !important;
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
// highlight-darkest
|
|
122
|
+
// highlight-darker
|
|
123
|
+
// highlight-dark
|
|
124
|
+
// highlight
|
|
125
|
+
// highlight-light
|
|
126
|
+
// highlight-lighter
|
|
127
|
+
// highlight-lightest
|
|
128
|
+
// highlight-decent
|
|
129
|
+
each(@colors-highlight-map, {
|
|
130
|
+
.bg-@{key} {
|
|
131
|
+
color: @gray-darkest !important;
|
|
132
|
+
background-color: @value !important;
|
|
133
|
+
}
|
|
134
|
+
.hover-bg-@{key}:hover {
|
|
135
|
+
background-color: @value !important;
|
|
136
|
+
}
|
|
137
|
+
.fill-@{key} {
|
|
138
|
+
fill: @value !important;
|
|
139
|
+
}
|
|
140
|
+
})
|
|
141
|
+
.bg-highlight,
|
|
142
|
+
.bg-highlight-dark,
|
|
143
|
+
.bg-highlight-darker,
|
|
144
|
+
.bg-highlight-darkest { color: @color-white !important }
|
|
145
|
+
|
|
146
|
+
// coldplay-wine
|
|
147
|
+
// coldplay-aubergine
|
|
148
|
+
// coldplay-kashmir
|
|
149
|
+
// coldplay-fountain
|
|
150
|
+
// coldplay-turquoise
|
|
151
|
+
// coldplay-bermuda
|
|
152
|
+
// coldplay-moos
|
|
153
|
+
// coldplay-primrose
|
|
154
|
+
// coldplay-khaki
|
|
155
|
+
& when (@buildColdplayColors = true) {
|
|
156
|
+
each(@colors-coldplay-map, {
|
|
157
|
+
.bg-@{key} {
|
|
158
|
+
color: @gray-darkest !important;
|
|
159
|
+
background-color: @value !important;
|
|
160
|
+
}
|
|
161
|
+
.hover-bg-@{key}:hover {
|
|
162
|
+
background-color: @value !important;
|
|
163
|
+
}
|
|
164
|
+
.fill-@{key} {
|
|
165
|
+
fill: @value !important;
|
|
166
|
+
}
|
|
167
|
+
})
|
|
168
|
+
.bg-coldplay-wine,
|
|
169
|
+
.bg-coldplay-aubergine,
|
|
170
|
+
.bg-coldplay-kashmir,
|
|
171
|
+
.bg-coldplay-fountain { color: @color-white !important }
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// warmup-crimson
|
|
175
|
+
// warmup-victoria
|
|
176
|
+
// warmup-cadillac
|
|
177
|
+
// warmup-raspberry
|
|
178
|
+
// warmup-cerise
|
|
179
|
+
// warmup-charm
|
|
180
|
+
// warmup-salmon
|
|
181
|
+
// warmup-cherokee
|
|
182
|
+
// warmup-corn
|
|
183
|
+
& when (@buildWarmupColors = true) {
|
|
184
|
+
each(@colors-warmup-map, {
|
|
185
|
+
.bg-@{key} {
|
|
186
|
+
color: @gray-darkest !important;
|
|
187
|
+
background-color: @value !important;
|
|
188
|
+
}
|
|
189
|
+
.hover-bg-@{key}:hover {
|
|
190
|
+
background-color: @value !important;
|
|
191
|
+
}
|
|
192
|
+
.fill-@{key} {
|
|
193
|
+
fill: @value !important;
|
|
194
|
+
}
|
|
195
|
+
})
|
|
196
|
+
.bg-warmup-crimson,
|
|
197
|
+
.bg-warmup-victoria,
|
|
198
|
+
.bg-warmup-cadillac,
|
|
199
|
+
.bg-warmup-raspberry,
|
|
200
|
+
.bg-warmup-cerise,
|
|
201
|
+
.bg-warmup-charm { color: @color-white !important }
|
|
202
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Row
|
|
2
|
+
.row {
|
|
3
|
+
margin-left: ceil((@grid-gutter-width / -2));
|
|
4
|
+
margin-right: floor((@grid-gutter-width / -2));
|
|
5
|
+
&:extend(.clearfix all);
|
|
6
|
+
|
|
7
|
+
[class*="col-"] {
|
|
8
|
+
position: relative;
|
|
9
|
+
// Prevent columns from collapsing when empty
|
|
10
|
+
min-height: 1px;
|
|
11
|
+
// Inner gutter via padding
|
|
12
|
+
padding-left: ceil((@grid-gutter-width / 2));
|
|
13
|
+
padding-right: floor((@grid-gutter-width / 2));
|
|
14
|
+
//
|
|
15
|
+
float: left;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Columns
|
|
20
|
+
.make-grid-columns();
|
|
21
|
+
|
|
22
|
+
// col-
|
|
23
|
+
.make-grid(~'-');
|
|
24
|
+
.make-grid(~'-xs-'); // BS remains
|
|
25
|
+
|
|
26
|
+
// col-sm
|
|
27
|
+
// col-ls
|
|
28
|
+
// col-md
|
|
29
|
+
// col-lg
|
|
30
|
+
// col-xl
|
|
31
|
+
each(@breakpoint-ls-to-xl, {
|
|
32
|
+
@media (min-width: @value) {
|
|
33
|
+
.make-grid(~'-@{key}-');
|
|
34
|
+
}
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
.no-gutter {
|
|
38
|
+
margin-right: 0;
|
|
39
|
+
margin-left: 0;
|
|
40
|
+
|
|
41
|
+
> [class*='col-'] {
|
|
42
|
+
padding-right: 0;
|
|
43
|
+
padding-left: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Equal Height */
|
|
48
|
+
.equal-height {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-wrap: wrap;
|
|
51
|
+
|
|
52
|
+
// for clearfix elements
|
|
53
|
+
&:after {
|
|
54
|
+
content: none
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.container-fluid, // BS Fallback
|
|
2
|
+
.container {
|
|
3
|
+
margin-right: auto;
|
|
4
|
+
margin-left: auto;
|
|
5
|
+
padding-left: floor((@grid-gutter-width / 2));
|
|
6
|
+
padding-right: ceil((@grid-gutter-width / 2));
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
&:extend(.clearfix all);
|
|
9
|
+
|
|
10
|
+
// fluid-small
|
|
11
|
+
// fluid-default
|
|
12
|
+
// fluid-large
|
|
13
|
+
// fluid-extra-large
|
|
14
|
+
// fluid-ultra-large
|
|
15
|
+
each(@container-sm-to-xxl-classes, {
|
|
16
|
+
&.@{value} {
|
|
17
|
+
max-width: @container-sm-to-xxl[$@key];
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// BS Fallback old container behavior
|
|
22
|
+
each(@container-ls-to-xl, {
|
|
23
|
+
&:not([class*="fluid"]) {
|
|
24
|
+
@media (min-width: @breakpoint-ls-to-xl[$@key]) {
|
|
25
|
+
width: @value;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* Cursors */
|
|
2
|
+
.cursor-default { cursor: default !important }
|
|
3
|
+
.cursor-pointer { cursor: pointer !important }
|
|
4
|
+
.cursor-text { cursor: text !important }
|
|
5
|
+
.cursor-move { cursor: move !important }
|
|
6
|
+
.cursor-row-resize { cursor: row-resize !important }
|
|
7
|
+
.cursor-col-resize { cursor: col-resize !important }
|
|
8
|
+
.cursor-not-allowed { cursor: not-allowed !important }
|
|
9
|
+
.cursor-grabbing { cursor: grabbing !important; }
|
|
10
|
+
.cursor-grab {
|
|
11
|
+
cursor: grab !important;
|
|
12
|
+
|
|
13
|
+
&:active {
|
|
14
|
+
cursor: grabbing !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pointer-events-none { pointer-events: none !important }
|
|
19
|
+
.pointer-events-all { pointer-events: all !important }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* Custom Colors */
|
|
2
|
+
.bg-custom-a { background-color: var(--custom-color-a) !important };
|
|
3
|
+
.text-color-custom-a { color: var(--custom-color-a) !important };
|
|
4
|
+
.fill-custom-a { fill: var(--custom-color-a) !important };
|
|
5
|
+
|
|
6
|
+
.bg-custom-b { background-color: var(--custom-color-b) !important };
|
|
7
|
+
.text-color-custom-b { color: var(--custom-color-b) !important };
|
|
8
|
+
.fill-custom-b { fill: var(--custom-color-b) !important };
|
|
9
|
+
|
|
10
|
+
.bg-custom-c { background-color: var(--custom-color-c) !important };
|
|
11
|
+
.text-color-custom-c { color: var(--custom-color-c) !important };
|
|
12
|
+
.fill-custom-c { fill: var(--custom-color-c) !important };
|
|
13
|
+
|
|
14
|
+
.bg-custom-d { background-color: var(--custom-color-d) !important };
|
|
15
|
+
.text-color-custom-d { color: var(--custom-color-d) !important };
|
|
16
|
+
.fill-custom-d { fill: var(--custom-color-d) !important };
|
|
17
|
+
|
|
18
|
+
.bg-custom-e { background-color: var(--custom-color-e) !important };
|
|
19
|
+
.text-color-custom-e { color: var(--custom-color-e) !important };
|
|
20
|
+
.fill-custom-e { fill: var(--custom-color-e) !important };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* Text ellipsis */
|
|
2
|
+
.ellipsis-multiline(@lh, @l) {
|
|
3
|
+
/* non-webkit */
|
|
4
|
+
max-height: @lh * @l;
|
|
5
|
+
/* webkit */
|
|
6
|
+
-webkit-box-orient: vertical;
|
|
7
|
+
-webkit-line-clamp: @l;
|
|
8
|
+
display: -webkit-box;
|
|
9
|
+
line-height: @lh;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ellipsis-1 {
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
text-overflow: ellipsis;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
}
|
|
20
|
+
.ellipsis-2 {
|
|
21
|
+
.ellipsis-multiline(@grid-gutter-height, 2);
|
|
22
|
+
}
|
|
23
|
+
.ellipsis-3 {
|
|
24
|
+
.ellipsis-multiline(@grid-gutter-height, 3);
|
|
25
|
+
}
|
|
26
|
+
.ellipsis-4 {
|
|
27
|
+
.ellipsis-multiline(@grid-gutter-height, 4);
|
|
28
|
+
}
|
|
29
|
+
.ellipsis-5 {
|
|
30
|
+
.ellipsis-multiline(@grid-gutter-height, 5);
|
|
31
|
+
}
|
|
32
|
+
.ellipsis-6 {
|
|
33
|
+
.ellipsis-multiline(@grid-gutter-height, 6);
|
|
34
|
+
}
|
|
35
|
+
.ellipsis-7 {
|
|
36
|
+
.ellipsis-multiline(@grid-gutter-height, 7);
|
|
37
|
+
}
|
|
38
|
+
.ellipsis-8 {
|
|
39
|
+
.ellipsis-multiline(@grid-gutter-height, 8);
|
|
40
|
+
}
|
|
41
|
+
.ellipsis-9 {
|
|
42
|
+
.ellipsis-multiline(@grid-gutter-height, 9);
|
|
43
|
+
}
|
|
44
|
+
.ellipsis-10 {
|
|
45
|
+
.ellipsis-multiline(@grid-gutter-height, 10);
|
|
46
|
+
}
|