@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,201 @@
|
|
|
1
|
+
.text-muted,
|
|
2
|
+
.hover-text-muted:hover { color: @gray !important }
|
|
3
|
+
|
|
4
|
+
.text-color-transparent,
|
|
5
|
+
.hover-text-color-transparent:hover { color: transparent !important }
|
|
6
|
+
|
|
7
|
+
.text-color-white,
|
|
8
|
+
.hover-text-color-white:hover { color: @color-white !important }
|
|
9
|
+
|
|
10
|
+
.text-color-black,
|
|
11
|
+
.hover-text-color-black:hover { color: @color-black !important }
|
|
12
|
+
|
|
13
|
+
// text alignment
|
|
14
|
+
.align-top { vertical-align: top !important }
|
|
15
|
+
.align-middle { vertical-align: middle !important }
|
|
16
|
+
.align-bottom { vertical-align: bottom !important }
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// primary
|
|
20
|
+
// secondary
|
|
21
|
+
each(@colors-brand-map, {
|
|
22
|
+
.text-color-@{key},
|
|
23
|
+
.hover-text-color-@{key}:hover {
|
|
24
|
+
color: @value !important;
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
// info
|
|
29
|
+
// success
|
|
30
|
+
// warning
|
|
31
|
+
// danger
|
|
32
|
+
each(@colors-status-map, {
|
|
33
|
+
.text-@{key}, // backward compatibility
|
|
34
|
+
.text-color-@{key},
|
|
35
|
+
.hover-text-color-@{key}:hover {
|
|
36
|
+
color: @value !important;
|
|
37
|
+
}
|
|
38
|
+
})
|
|
39
|
+
|
|
40
|
+
// darkest
|
|
41
|
+
// darker
|
|
42
|
+
// dark
|
|
43
|
+
// gray
|
|
44
|
+
// light
|
|
45
|
+
// lighter
|
|
46
|
+
// lightest
|
|
47
|
+
each(@colors-gray-map, {
|
|
48
|
+
.text-color-@{key},
|
|
49
|
+
.hover-text-color-@{key}:hover {
|
|
50
|
+
color: @value !important;
|
|
51
|
+
}
|
|
52
|
+
})
|
|
53
|
+
|
|
54
|
+
// map-marker-asset
|
|
55
|
+
// map-marker-poi
|
|
56
|
+
// map-marker-geofence
|
|
57
|
+
// map-marker-route
|
|
58
|
+
each(@colors-map-marker-map, {
|
|
59
|
+
.text-color-@{key},
|
|
60
|
+
.hover-text-color-@{key}:hover {
|
|
61
|
+
color: @value !important;
|
|
62
|
+
}
|
|
63
|
+
})
|
|
64
|
+
|
|
65
|
+
// rating-1
|
|
66
|
+
// rating-2
|
|
67
|
+
// rating-3
|
|
68
|
+
// rating-4
|
|
69
|
+
// rating-5
|
|
70
|
+
each(@colors-rating-map, {
|
|
71
|
+
.text-color-@{key},
|
|
72
|
+
.hover-text-color-@{key}:hover {
|
|
73
|
+
color: @value !important;
|
|
74
|
+
}
|
|
75
|
+
})
|
|
76
|
+
|
|
77
|
+
// status-available
|
|
78
|
+
// status-driving
|
|
79
|
+
// status-resting
|
|
80
|
+
// status-working
|
|
81
|
+
each(@colors-driving-status-map, {
|
|
82
|
+
.text-color-@{key},
|
|
83
|
+
.hover-text-color-@{key}:hover {
|
|
84
|
+
color: @value !important;
|
|
85
|
+
}
|
|
86
|
+
})
|
|
87
|
+
|
|
88
|
+
// highlight-darkest
|
|
89
|
+
// highlight-darker
|
|
90
|
+
// highlight-dark
|
|
91
|
+
// highlight
|
|
92
|
+
// highlight-light
|
|
93
|
+
// highlight-lighter
|
|
94
|
+
// highlight-lightest
|
|
95
|
+
// highlight-decent
|
|
96
|
+
each(@colors-highlight-map, {
|
|
97
|
+
.text-color-@{key},
|
|
98
|
+
.hover-text-color-@{key}:hover {
|
|
99
|
+
color: @value !important;
|
|
100
|
+
}
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
// coldplay-wine
|
|
104
|
+
// coldplay-aubergine
|
|
105
|
+
// coldplay-kashmir
|
|
106
|
+
// coldplay-fountain
|
|
107
|
+
// coldplay-turquoise
|
|
108
|
+
// coldplay-bermuda
|
|
109
|
+
// coldplay-moos
|
|
110
|
+
// coldplay-primrose
|
|
111
|
+
// coldplay-khaki
|
|
112
|
+
& when (@buildColdplayColors = true) {
|
|
113
|
+
each(@colors-coldplay-map, {
|
|
114
|
+
.text-color-@{key},
|
|
115
|
+
.hover-text-color-@{key}:hover {
|
|
116
|
+
color: @value !important;
|
|
117
|
+
}
|
|
118
|
+
})
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// warmup-crimson
|
|
122
|
+
// warmup-victoria
|
|
123
|
+
// warmup-cadillac
|
|
124
|
+
// warmup-raspberry
|
|
125
|
+
// warmup-cerise
|
|
126
|
+
// warmup-charm
|
|
127
|
+
// warmup-salmon
|
|
128
|
+
// warmup-cherokee
|
|
129
|
+
// warmup-corn
|
|
130
|
+
& when (@buildWarmupColors = true) {
|
|
131
|
+
each(@colors-warmup-map, {
|
|
132
|
+
.text-color-@{key},
|
|
133
|
+
.hover-text-color-@{key}:hover {
|
|
134
|
+
color: @value !important;
|
|
135
|
+
}
|
|
136
|
+
})
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Text - Width */
|
|
140
|
+
.text-thin { font-weight: @font-thin !important }
|
|
141
|
+
.text-light { font-weight: @font-light !important }
|
|
142
|
+
.text-normal { font-weight: @font-normal !important }
|
|
143
|
+
.text-medium { font-weight: @font-medium !important }
|
|
144
|
+
.text-bold { font-weight: @font-bold !important }
|
|
145
|
+
.text-italic { font-style: italic !important }
|
|
146
|
+
|
|
147
|
+
// Transformation
|
|
148
|
+
.text-transform-none { text-transform: none !important }
|
|
149
|
+
.text-capitalize { text-transform: capitalize !important }
|
|
150
|
+
.text-lowercase { text-transform: lowercase !important }
|
|
151
|
+
.text-uppercase { text-transform: uppercase !important }
|
|
152
|
+
|
|
153
|
+
// uppercase only the first letter of the first
|
|
154
|
+
.text-capitalize-first-word {
|
|
155
|
+
&:first-letter {
|
|
156
|
+
text-transform: uppercase
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// but not for headlines
|
|
161
|
+
h2, h3, h4, h5, h6, [class*='text-size-h'] {
|
|
162
|
+
&.text-bold {
|
|
163
|
+
font-weight: @font-medium !important;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* Text - Line Height for Buttons */
|
|
168
|
+
.line-height-btn-xs { line-height: (floor(@font-size-xs * @line-height-xs) + (@padding-xs-vertical * 2) + 2) !important }
|
|
169
|
+
.line-height-btn-sm { line-height: (floor(@font-size-sm * @line-height-sm) + (@padding-sm-vertical * 2) + 2) !important }
|
|
170
|
+
.line-height-btn { line-height: (floor(@font-size-default * @line-height-default) + (@padding-default-vertical * 2) + 2) !important }
|
|
171
|
+
.line-height-btn-lg { line-height: (floor(@font-size-lg * @line-height-lg) + (@padding-lg-vertical * 2) + 3) !important }
|
|
172
|
+
|
|
173
|
+
/* Text - Decoration */
|
|
174
|
+
.text-decoration-none { text-decoration: none !important }
|
|
175
|
+
.text-decoration-underline { text-decoration: underline !important }
|
|
176
|
+
.text-decoration-line-through { text-decoration: line-through !important }
|
|
177
|
+
|
|
178
|
+
.hover-text-decoration-underline:hover { text-decoration: underline !important }
|
|
179
|
+
.hover-text-decoration-none:hover { text-decoration: none !important }
|
|
180
|
+
|
|
181
|
+
/* Text - Decoration Hover */
|
|
182
|
+
.hover-text-decoration-none:hover { text-decoration: none !important }
|
|
183
|
+
|
|
184
|
+
/* Text - Selection */
|
|
185
|
+
.user-select-none { user-select: none !important }
|
|
186
|
+
.user-select-all { user-select: all !important }
|
|
187
|
+
|
|
188
|
+
// primary
|
|
189
|
+
// secondary
|
|
190
|
+
// info
|
|
191
|
+
// success
|
|
192
|
+
// warning
|
|
193
|
+
// danger
|
|
194
|
+
// each(@colors-brand-and-status-map, {
|
|
195
|
+
// .text-@{key} {
|
|
196
|
+
// a&:hover,
|
|
197
|
+
// a&:focus {
|
|
198
|
+
// color: darken(@value, 10%);
|
|
199
|
+
// }
|
|
200
|
+
// }
|
|
201
|
+
// })
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
html {
|
|
2
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
3
|
+
background: @color-white;
|
|
4
|
+
font-size: 62.5%; // 14px = 1.4rem
|
|
5
|
+
|
|
6
|
+
&:not(.window-iframe) {
|
|
7
|
+
// background coloring
|
|
8
|
+
background-color: @gray-lighter;
|
|
9
|
+
|
|
10
|
+
// larger font-sizes on mobile (including no uikit.js fallback)
|
|
11
|
+
&.ua-mobile:not(.ua-mobile-ipad),
|
|
12
|
+
&:not([class="ua-"]) {
|
|
13
|
+
@media (max-width: @screen-ls) {
|
|
14
|
+
font-size: 71.42857143%; // from 14px to 16px
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.window-iframe {
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// because of custom css in services
|
|
24
|
+
#root {
|
|
25
|
+
background-color: transparent !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
body {
|
|
30
|
+
color: @text-color;
|
|
31
|
+
font-family: @font-family-base;
|
|
32
|
+
font-size: @font-size-default;
|
|
33
|
+
line-height: @line-height-default;
|
|
34
|
+
overflow-x: hidden;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
|
|
37
|
+
// Lighter default font-weight for Version 1.0
|
|
38
|
+
// font-weight: @font-light;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// font by OS
|
|
42
|
+
body,
|
|
43
|
+
h1, h2, h3, h4, h5, h6,
|
|
44
|
+
.title,
|
|
45
|
+
.lead {
|
|
46
|
+
font-family: @font-family-base;
|
|
47
|
+
|
|
48
|
+
html.device-ios & {
|
|
49
|
+
font-family: @font-family-ios;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
html.device-android & {
|
|
53
|
+
font-family: @font-family-android;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
h1 {
|
|
58
|
+
font-size: @font-size-h2;
|
|
59
|
+
font-weight: @font-bold;
|
|
60
|
+
text-transform: uppercase;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
b,
|
|
64
|
+
strong {
|
|
65
|
+
font-weight: @font-medium;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Links
|
|
69
|
+
a,
|
|
70
|
+
a.link,
|
|
71
|
+
span.link {
|
|
72
|
+
color: @link-color;
|
|
73
|
+
text-decoration: none;
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
|
|
76
|
+
&:hover,
|
|
77
|
+
&:focus {
|
|
78
|
+
color: @link-hover-color;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:hover,
|
|
82
|
+
&:focus {
|
|
83
|
+
text-decoration: underline;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:focus {
|
|
87
|
+
.tab-focus();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.title {
|
|
92
|
+
font-size: @font-size-default;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
p {
|
|
96
|
+
margin: 10px 0 15px 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.lead {
|
|
100
|
+
font-weight: @font-light;
|
|
101
|
+
font-size: 20px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
hr {
|
|
105
|
+
margin-top: @grid-gutter-height;
|
|
106
|
+
margin-bottom: @grid-gutter-height;
|
|
107
|
+
border: 0;
|
|
108
|
+
border-top: 1px solid @gray-lighter;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
ul {
|
|
112
|
+
&.square,
|
|
113
|
+
&.square-list {
|
|
114
|
+
li {
|
|
115
|
+
list-style: square;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.icon-list {
|
|
120
|
+
.reset-list();
|
|
121
|
+
|
|
122
|
+
li {
|
|
123
|
+
display: flex;
|
|
124
|
+
margin-bottom: 20px;
|
|
125
|
+
|
|
126
|
+
> span.rioglyph {
|
|
127
|
+
padding: 3px;
|
|
128
|
+
font-size: 18px;
|
|
129
|
+
color: @gray-darker;
|
|
130
|
+
|
|
131
|
+
+ span {
|
|
132
|
+
margin-left: 10px;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&.tree-list {
|
|
139
|
+
@treeListIconLeft: -20px;
|
|
140
|
+
@treeListIconWidth: 15px;
|
|
141
|
+
|
|
142
|
+
.reset-list();
|
|
143
|
+
margin-left: 20px;
|
|
144
|
+
|
|
145
|
+
li {
|
|
146
|
+
list-style-type: none;
|
|
147
|
+
margin: 0 0 0 10px;
|
|
148
|
+
padding: 1px 0;
|
|
149
|
+
position: relative;
|
|
150
|
+
|
|
151
|
+
&:before {
|
|
152
|
+
content: '';
|
|
153
|
+
position: absolute;
|
|
154
|
+
top: -4px; // with respect to 1px border
|
|
155
|
+
left: @treeListIconLeft;
|
|
156
|
+
border-left: 1px solid @gray-light;
|
|
157
|
+
border-bottom: 1px solid @gray-light;
|
|
158
|
+
width: @treeListIconWidth;
|
|
159
|
+
height: 15px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&:after {
|
|
163
|
+
position: absolute;
|
|
164
|
+
content: '';
|
|
165
|
+
top: 10px;
|
|
166
|
+
left: @treeListIconLeft;
|
|
167
|
+
border-left: 1px solid @gray-light;
|
|
168
|
+
border-top: 1px solid @gray-light;
|
|
169
|
+
width: @treeListIconWidth;
|
|
170
|
+
height: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:last-child:after {
|
|
174
|
+
display: none;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
ul {
|
|
178
|
+
padding-left: @treeListIconWidth;
|
|
179
|
+
margin-top: 5px;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&.feature-list,
|
|
185
|
+
&.panel-list {
|
|
186
|
+
.reset-list();
|
|
187
|
+
|
|
188
|
+
li {
|
|
189
|
+
padding: 10px 12px;
|
|
190
|
+
border: 1px solid @gray-light;
|
|
191
|
+
background: @color-white;
|
|
192
|
+
border-radius: 3px;
|
|
193
|
+
margin-bottom: 10px;
|
|
194
|
+
|
|
195
|
+
&:last-child {
|
|
196
|
+
margin-bottom: 0;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.thumbnail {
|
|
2
|
+
background-color: @color-white;
|
|
3
|
+
border-radius: @border-radius-default;
|
|
4
|
+
border: 1px solid @gray-light;
|
|
5
|
+
display: block;
|
|
6
|
+
line-height: @line-height-default;
|
|
7
|
+
transition:border .2s ease-in-out;
|
|
8
|
+
// margin-bottom: @grid-gutter-height;
|
|
9
|
+
|
|
10
|
+
> img,
|
|
11
|
+
a > img {
|
|
12
|
+
&:extend(.img-responsive);
|
|
13
|
+
margin-left: auto;
|
|
14
|
+
margin-right: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Add a hover state for linked versions only
|
|
18
|
+
a&:hover,
|
|
19
|
+
a&:focus,
|
|
20
|
+
a&.active {
|
|
21
|
+
border-color: @link-color;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Image captions
|
|
25
|
+
.caption {
|
|
26
|
+
padding: 20px;
|
|
27
|
+
color: @text-color;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.transition-opacity {
|
|
2
|
+
transition-property: opacity;
|
|
3
|
+
}
|
|
4
|
+
.transition-position {
|
|
5
|
+
transition-property: position;
|
|
6
|
+
}
|
|
7
|
+
.transition-all {
|
|
8
|
+
transition-property: all;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.transition-ease {
|
|
12
|
+
transition-timing-function: ease;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.transition-ease-in-out {
|
|
16
|
+
transition-timing-function: ease-in-out;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.transition-duration-01 {
|
|
20
|
+
transition-duration: 0.1s;
|
|
21
|
+
}
|
|
22
|
+
.transition-duration-02 {
|
|
23
|
+
transition-duration: 0.2s;
|
|
24
|
+
}
|
|
25
|
+
.transition-duration-03 {
|
|
26
|
+
transition-duration: 0.3s;
|
|
27
|
+
}
|
|
28
|
+
.transition-duration-04 {
|
|
29
|
+
transition-duration: 0.4s;
|
|
30
|
+
}
|
|
31
|
+
.transition-duration-05 {
|
|
32
|
+
transition-duration: 0.5s;
|
|
33
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
h1, h2, h3, h4, h5, h6,
|
|
2
|
+
.h1, .h2, .h3, .h4, .h5, .h6 {
|
|
3
|
+
font-family: @headings-font-family;
|
|
4
|
+
font-weight: @headings-font-weight;
|
|
5
|
+
line-height: @headings-line-height;
|
|
6
|
+
color: @headings-color;
|
|
7
|
+
|
|
8
|
+
small,
|
|
9
|
+
.small {
|
|
10
|
+
font-weight: normal;
|
|
11
|
+
line-height: 1;
|
|
12
|
+
color: @gray-light;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h1, .h1,
|
|
17
|
+
h2, .h2,
|
|
18
|
+
h3, .h3 {
|
|
19
|
+
margin-top: @grid-gutter-height;
|
|
20
|
+
margin-bottom: (@grid-gutter-height / 2);
|
|
21
|
+
|
|
22
|
+
small,
|
|
23
|
+
.small {
|
|
24
|
+
font-size: 65%;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
h4, .h4,
|
|
28
|
+
h5, .h5,
|
|
29
|
+
h6, .h6 {
|
|
30
|
+
margin-top: (@grid-gutter-height / 2);
|
|
31
|
+
margin-bottom: (@grid-gutter-height / 2);
|
|
32
|
+
|
|
33
|
+
small,
|
|
34
|
+
.small {
|
|
35
|
+
font-size: 75%;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h1, .h1 { font-size: @font-size-h1 }
|
|
40
|
+
h2, .h2 { font-size: @font-size-h2 }
|
|
41
|
+
h3, .h3 { font-size: @font-size-h3 }
|
|
42
|
+
h4, .h4 { font-size: @font-size-h4 }
|
|
43
|
+
h5, .h5 { font-size: @font-size-h5 }
|
|
44
|
+
h6, .h6 { font-size: @font-size-h6 }
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
// Body text
|
|
48
|
+
// -------------------------
|
|
49
|
+
|
|
50
|
+
p {
|
|
51
|
+
margin: 0 0 (@grid-gutter-height / 2);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.lead {
|
|
55
|
+
margin-bottom: @grid-gutter-height;
|
|
56
|
+
font-size: floor((@font-size-default * 1.15));
|
|
57
|
+
font-weight: @font-light;
|
|
58
|
+
line-height: 1.4;
|
|
59
|
+
|
|
60
|
+
@media (min-width: @screen-sm-min) {
|
|
61
|
+
font-size: (@font-size-default * 1.5);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
// Emphasis & misc
|
|
67
|
+
// -------------------------
|
|
68
|
+
|
|
69
|
+
// Ex: (12px small font / 14px base font) * 100% = about 85%
|
|
70
|
+
small,
|
|
71
|
+
.small {
|
|
72
|
+
font-size: floor((100% * @font-size-sm / @font-size-default));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
mark,
|
|
76
|
+
.mark {
|
|
77
|
+
background-color: @brand-warning-decent;
|
|
78
|
+
padding: .2em;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Page header
|
|
82
|
+
// -------------------------
|
|
83
|
+
|
|
84
|
+
.page-header {
|
|
85
|
+
padding-bottom: ((@grid-gutter-height / 2) - 1);
|
|
86
|
+
margin: (@grid-gutter-height * 2) 0 @grid-gutter-height;
|
|
87
|
+
border-bottom: 1px solid @gray-lighter;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// Lists
|
|
92
|
+
// -------------------------
|
|
93
|
+
|
|
94
|
+
// Unordered and Ordered lists
|
|
95
|
+
ul,
|
|
96
|
+
ol {
|
|
97
|
+
margin-top: 0;
|
|
98
|
+
margin-bottom: (@grid-gutter-height / 2);
|
|
99
|
+
padding-left: 15px;
|
|
100
|
+
|
|
101
|
+
ul,
|
|
102
|
+
ol {
|
|
103
|
+
margin-top: (@grid-gutter-height / 2);
|
|
104
|
+
margin-bottom: 0;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// List options
|
|
109
|
+
|
|
110
|
+
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
|
111
|
+
.list-unstyled {
|
|
112
|
+
padding-left: 0;
|
|
113
|
+
list-style: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Inline turns list items into inline-block
|
|
117
|
+
.list-inline {
|
|
118
|
+
.list-unstyled();
|
|
119
|
+
margin-left: -5px;
|
|
120
|
+
|
|
121
|
+
> li {
|
|
122
|
+
display: inline-block;
|
|
123
|
+
padding-left: 5px;
|
|
124
|
+
padding-right: 5px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// Description Lists
|
|
129
|
+
dl {
|
|
130
|
+
margin-top: 0; // Remove browser default
|
|
131
|
+
margin-bottom: @grid-gutter-height;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
dt,
|
|
135
|
+
dd {
|
|
136
|
+
line-height: @line-height-default;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
dt {
|
|
140
|
+
font-weight: bold;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
dd {
|
|
144
|
+
margin-left: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// Abbreviations and acronyms
|
|
148
|
+
abbr[title],
|
|
149
|
+
abbr[data-original-title] {
|
|
150
|
+
cursor: help;
|
|
151
|
+
border-bottom: 1px dotted @gray-light;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Addresses
|
|
155
|
+
address {
|
|
156
|
+
margin-bottom: @grid-gutter-height;
|
|
157
|
+
font-style: normal;
|
|
158
|
+
line-height: @line-height-default;
|
|
159
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
.clearfix {
|
|
2
|
+
.clearfix();
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.center-block {
|
|
6
|
+
display: block;
|
|
7
|
+
margin-left: auto;
|
|
8
|
+
margin-right: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.pull {
|
|
12
|
+
&-left {
|
|
13
|
+
float: left !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-right {
|
|
17
|
+
float: right !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.first-child {
|
|
22
|
+
&-margin-top-0:first-child {
|
|
23
|
+
margin-top: 0 !important;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.last-child {
|
|
28
|
+
&-margin-bottom-0:last-child {
|
|
29
|
+
margin-bottom: 0 !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.clearance {
|
|
34
|
+
padding: 0 !important;
|
|
35
|
+
margin: 0 !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[class*="inset-"] {
|
|
39
|
+
position: absolute;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.inset-0 {
|
|
43
|
+
bottom: 0px !important;
|
|
44
|
+
left: 0px !important;
|
|
45
|
+
right: 0px !important;
|
|
46
|
+
top: 0px !important;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.inset-x-0 {
|
|
50
|
+
left: 0px !important;
|
|
51
|
+
right: 0px !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.inset-y-0 {
|
|
55
|
+
top: 0px !important;
|
|
56
|
+
bottom: 0px !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.children {
|
|
60
|
+
&-first {
|
|
61
|
+
&-margin-top-0 {
|
|
62
|
+
> *:first-child {
|
|
63
|
+
margin-top: 0 !important;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&-last {
|
|
69
|
+
&-margin-bottom-0 {
|
|
70
|
+
> *:last-child {
|
|
71
|
+
margin-bottom: 0 !important;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|