@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,436 @@
|
|
|
1
|
+
* {
|
|
2
|
+
box-sizing:border-box;
|
|
3
|
+
|
|
4
|
+
&:before,
|
|
5
|
+
&:after {
|
|
6
|
+
box-sizing:border-box;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
|
11
|
+
|
|
12
|
+
//
|
|
13
|
+
// 1. Set default font family to sans-serif.
|
|
14
|
+
// 2. Prevent iOS and IE text size adjust after device orientation change,
|
|
15
|
+
// without disabling user zoom.
|
|
16
|
+
//
|
|
17
|
+
|
|
18
|
+
html {
|
|
19
|
+
font-family: sans-serif; // 1
|
|
20
|
+
-ms-text-size-adjust: 100%; // 2
|
|
21
|
+
-webkit-text-size-adjust: 100%; // 2
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//
|
|
25
|
+
// Remove default margin.
|
|
26
|
+
//
|
|
27
|
+
|
|
28
|
+
body {
|
|
29
|
+
margin: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// HTML5 display definitions
|
|
33
|
+
// ==========================================================================
|
|
34
|
+
|
|
35
|
+
//
|
|
36
|
+
// Correct `block` display not defined for any HTML5 element in IE 8/9.
|
|
37
|
+
// Correct `block` display not defined for `details` or `summary` in IE 10/11
|
|
38
|
+
// and Firefox.
|
|
39
|
+
// Correct `block` display not defined for `main` in IE 11.
|
|
40
|
+
//
|
|
41
|
+
|
|
42
|
+
article,
|
|
43
|
+
aside,
|
|
44
|
+
details,
|
|
45
|
+
figcaption,
|
|
46
|
+
figure,
|
|
47
|
+
footer,
|
|
48
|
+
header,
|
|
49
|
+
hgroup,
|
|
50
|
+
main,
|
|
51
|
+
menu,
|
|
52
|
+
nav,
|
|
53
|
+
section,
|
|
54
|
+
summary {
|
|
55
|
+
display: block;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
//
|
|
59
|
+
// 1. Correct `inline-block` display not defined in IE 8/9.
|
|
60
|
+
// 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
|
61
|
+
//
|
|
62
|
+
|
|
63
|
+
audio,
|
|
64
|
+
canvas,
|
|
65
|
+
progress,
|
|
66
|
+
video {
|
|
67
|
+
display: inline-block; // 1
|
|
68
|
+
vertical-align: baseline; // 2
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
//
|
|
72
|
+
// Prevent modern browsers from displaying `audio` without controls.
|
|
73
|
+
// Remove excess height in iOS 5 devices.
|
|
74
|
+
//
|
|
75
|
+
|
|
76
|
+
audio:not([controls]) {
|
|
77
|
+
display: none;
|
|
78
|
+
height: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
//
|
|
82
|
+
// Address `[hidden]` styling not present in IE 8/9/10.
|
|
83
|
+
// Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
|
84
|
+
//
|
|
85
|
+
|
|
86
|
+
[hidden],
|
|
87
|
+
template {
|
|
88
|
+
display: none;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Links
|
|
92
|
+
// ==========================================================================
|
|
93
|
+
|
|
94
|
+
//
|
|
95
|
+
// Remove the gray background color from active links in IE 10.
|
|
96
|
+
//
|
|
97
|
+
|
|
98
|
+
a {
|
|
99
|
+
background-color: transparent;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
//
|
|
103
|
+
// Improve readability of focused elements when they are also in an
|
|
104
|
+
// active/hover state.
|
|
105
|
+
//
|
|
106
|
+
|
|
107
|
+
a:active,
|
|
108
|
+
a:hover {
|
|
109
|
+
outline: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// Text-level semantics
|
|
113
|
+
// ==========================================================================
|
|
114
|
+
|
|
115
|
+
//
|
|
116
|
+
// Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
|
117
|
+
//
|
|
118
|
+
|
|
119
|
+
abbr[title] {
|
|
120
|
+
border-bottom: 1px dotted;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
//
|
|
124
|
+
// Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
|
125
|
+
//
|
|
126
|
+
|
|
127
|
+
b,
|
|
128
|
+
strong {
|
|
129
|
+
font-weight: bold;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
//
|
|
133
|
+
// Address styling not present in Safari and Chrome.
|
|
134
|
+
//
|
|
135
|
+
|
|
136
|
+
dfn {
|
|
137
|
+
font-style: italic;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
//
|
|
141
|
+
// Address variable `h1` font-size and margin within `section` and `article`
|
|
142
|
+
// contexts in Firefox 4+, Safari, and Chrome.
|
|
143
|
+
//
|
|
144
|
+
|
|
145
|
+
h1 {
|
|
146
|
+
font-size: 2em;
|
|
147
|
+
margin: 0.67em 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
//
|
|
151
|
+
// Address styling not present in IE 8/9.
|
|
152
|
+
//
|
|
153
|
+
|
|
154
|
+
mark {
|
|
155
|
+
background: #ff0;
|
|
156
|
+
color: #000;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
//
|
|
160
|
+
// Address inconsistent and variable font size in all browsers.
|
|
161
|
+
//
|
|
162
|
+
|
|
163
|
+
small {
|
|
164
|
+
font-size: 80%;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
//
|
|
168
|
+
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
|
169
|
+
//
|
|
170
|
+
|
|
171
|
+
sub,
|
|
172
|
+
sup {
|
|
173
|
+
font-size: 75%;
|
|
174
|
+
line-height: 0;
|
|
175
|
+
position: relative;
|
|
176
|
+
vertical-align: baseline;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
sup {
|
|
180
|
+
top: -0.5em;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
sub {
|
|
184
|
+
bottom: -0.25em;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// Embedded content
|
|
188
|
+
// ==========================================================================
|
|
189
|
+
|
|
190
|
+
//
|
|
191
|
+
// Remove border when inside `a` element in IE 8/9/10.
|
|
192
|
+
//
|
|
193
|
+
|
|
194
|
+
img {
|
|
195
|
+
border: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
//
|
|
199
|
+
// Correct overflow not hidden in IE 9/10/11.
|
|
200
|
+
//
|
|
201
|
+
|
|
202
|
+
svg:not(:root) {
|
|
203
|
+
overflow: hidden;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// Grouping content
|
|
207
|
+
// ==========================================================================
|
|
208
|
+
|
|
209
|
+
//
|
|
210
|
+
// Address margin not present in IE 8/9 and Safari.
|
|
211
|
+
//
|
|
212
|
+
|
|
213
|
+
figure {
|
|
214
|
+
margin: 1em 40px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
//
|
|
218
|
+
// Address differences between Firefox and other browsers.
|
|
219
|
+
//
|
|
220
|
+
|
|
221
|
+
hr {
|
|
222
|
+
box-sizing: content-box;
|
|
223
|
+
height: 0;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
//
|
|
227
|
+
// Contain overflow in all browsers.
|
|
228
|
+
//
|
|
229
|
+
|
|
230
|
+
pre {
|
|
231
|
+
overflow: auto;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
//
|
|
235
|
+
// Address odd `em`-unit font size rendering in all browsers.
|
|
236
|
+
//
|
|
237
|
+
|
|
238
|
+
code,
|
|
239
|
+
kbd,
|
|
240
|
+
pre,
|
|
241
|
+
samp {
|
|
242
|
+
font-family: monospace, monospace;
|
|
243
|
+
font-size: 1em;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// Forms
|
|
247
|
+
// ==========================================================================
|
|
248
|
+
|
|
249
|
+
//
|
|
250
|
+
// Known limitation: by default, Chrome and Safari on OS X allow very limited
|
|
251
|
+
// styling of `select`, unless a `border` property is set.
|
|
252
|
+
//
|
|
253
|
+
|
|
254
|
+
//
|
|
255
|
+
// 1. Correct color not being inherited.
|
|
256
|
+
// Known issue: affects color of disabled elements.
|
|
257
|
+
// 2. Correct font properties not being inherited.
|
|
258
|
+
// 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
|
259
|
+
//
|
|
260
|
+
|
|
261
|
+
button,
|
|
262
|
+
input,
|
|
263
|
+
optgroup,
|
|
264
|
+
select,
|
|
265
|
+
textarea {
|
|
266
|
+
color: inherit;
|
|
267
|
+
font-family: inherit;
|
|
268
|
+
font-size: inherit;
|
|
269
|
+
font: inherit;
|
|
270
|
+
line-height: inherit;
|
|
271
|
+
margin: 0;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
//
|
|
275
|
+
// Address `overflow` set to `hidden` in IE 8/9/10/11.
|
|
276
|
+
//
|
|
277
|
+
|
|
278
|
+
button {
|
|
279
|
+
overflow: visible;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
//
|
|
283
|
+
// Address inconsistent `text-transform` inheritance for `button` and `select`.
|
|
284
|
+
// All other form control elements do not inherit `text-transform` values.
|
|
285
|
+
// Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
|
286
|
+
// Correct `select` style inheritance in Firefox.
|
|
287
|
+
//
|
|
288
|
+
|
|
289
|
+
button,
|
|
290
|
+
select {
|
|
291
|
+
text-transform: none;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
//
|
|
295
|
+
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
|
296
|
+
// and `video` controls.
|
|
297
|
+
// 2. Correct inability to style clickable `input` types in iOS.
|
|
298
|
+
// 3. Improve usability and consistency of cursor style between image-type
|
|
299
|
+
// `input` and others.
|
|
300
|
+
//
|
|
301
|
+
|
|
302
|
+
button,
|
|
303
|
+
html input[type="button"], // 1
|
|
304
|
+
input[type="reset"],
|
|
305
|
+
input[type="submit"] {
|
|
306
|
+
-webkit-appearance: button; // 2
|
|
307
|
+
cursor: pointer; // 3
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
//
|
|
311
|
+
// Re-set default cursor for disabled elements.
|
|
312
|
+
//
|
|
313
|
+
|
|
314
|
+
button[disabled],
|
|
315
|
+
html input[disabled] {
|
|
316
|
+
cursor: default;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
//
|
|
320
|
+
// Remove inner padding and border in Firefox 4+.
|
|
321
|
+
//
|
|
322
|
+
|
|
323
|
+
button::-moz-focus-inner,
|
|
324
|
+
input::-moz-focus-inner {
|
|
325
|
+
border: 0;
|
|
326
|
+
padding: 0;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
//
|
|
330
|
+
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
|
331
|
+
// the UA stylesheet.
|
|
332
|
+
//
|
|
333
|
+
|
|
334
|
+
input {
|
|
335
|
+
line-height: normal;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
//
|
|
339
|
+
// It's recommended that you don't attempt to style these elements.
|
|
340
|
+
// Firefox's implementation doesn't respect box-sizing, padding, or width.
|
|
341
|
+
//
|
|
342
|
+
// 1. Address box sizing set to `content-box` in IE 8/9/10.
|
|
343
|
+
// 2. Remove excess padding in IE 8/9/10.
|
|
344
|
+
//
|
|
345
|
+
|
|
346
|
+
input[type="checkbox"],
|
|
347
|
+
input[type="radio"] {
|
|
348
|
+
box-sizing: border-box; // 1
|
|
349
|
+
padding: 0; // 2
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
//
|
|
353
|
+
// Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
|
354
|
+
// `font-size` values of the `input`, it causes the cursor style of the
|
|
355
|
+
// decrement button to change from `default` to `text`.
|
|
356
|
+
//
|
|
357
|
+
|
|
358
|
+
input[type="number"]::-webkit-inner-spin-button,
|
|
359
|
+
input[type="number"]::-webkit-outer-spin-button {
|
|
360
|
+
height: auto;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
//
|
|
364
|
+
// 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
|
365
|
+
// 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
|
366
|
+
//
|
|
367
|
+
|
|
368
|
+
input[type="search"] {
|
|
369
|
+
-webkit-appearance: textfield; // 1
|
|
370
|
+
box-sizing: content-box; //2
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
//
|
|
374
|
+
// Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
|
375
|
+
// Safari (but not Chrome) clips the cancel button when the search input has
|
|
376
|
+
// padding (and `textfield` appearance).
|
|
377
|
+
//
|
|
378
|
+
|
|
379
|
+
input[type="search"]::-webkit-search-cancel-button,
|
|
380
|
+
input[type="search"]::-webkit-search-decoration {
|
|
381
|
+
-webkit-appearance: none;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
//
|
|
385
|
+
// Define consistent border, margin, and padding.
|
|
386
|
+
//
|
|
387
|
+
|
|
388
|
+
fieldset {
|
|
389
|
+
border: 1px solid #c0c0c0;
|
|
390
|
+
margin: 0 2px;
|
|
391
|
+
padding: 0.35em 0.625em 0.75em;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
//
|
|
395
|
+
// 1. Correct `color` not being inherited in IE 8/9/10/11.
|
|
396
|
+
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
|
397
|
+
//
|
|
398
|
+
|
|
399
|
+
legend {
|
|
400
|
+
border: 0; // 1
|
|
401
|
+
padding: 0; // 2
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
//
|
|
405
|
+
// Remove default vertical scrollbar in IE 8/9/10/11.
|
|
406
|
+
//
|
|
407
|
+
|
|
408
|
+
textarea {
|
|
409
|
+
overflow: auto;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
//
|
|
413
|
+
// Don't inherit the `font-weight` (applied by a rule above).
|
|
414
|
+
// NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
|
415
|
+
//
|
|
416
|
+
|
|
417
|
+
optgroup {
|
|
418
|
+
font-weight: bold;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
// Tables
|
|
422
|
+
// ==========================================================================
|
|
423
|
+
|
|
424
|
+
//
|
|
425
|
+
// Remove most spacing between table cells.
|
|
426
|
+
//
|
|
427
|
+
|
|
428
|
+
table {
|
|
429
|
+
border-collapse: collapse;
|
|
430
|
+
border-spacing: 0;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
td,
|
|
434
|
+
th {
|
|
435
|
+
padding: 0;
|
|
436
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* Opacity */
|
|
2
|
+
.opacity-0 { opacity: 0.0 !important }
|
|
3
|
+
.opacity-10 { opacity: 0.1 !important }
|
|
4
|
+
.opacity-20 { opacity: 0.2 !important }
|
|
5
|
+
.opacity-30 { opacity: 0.3 !important }
|
|
6
|
+
.opacity-40 { opacity: 0.4 !important }
|
|
7
|
+
.opacity-50 { opacity: 0.5 !important }
|
|
8
|
+
.opacity-60 { opacity: 0.6 !important }
|
|
9
|
+
.opacity-70 { opacity: 0.7 !important }
|
|
10
|
+
.opacity-80 { opacity: 0.8 !important }
|
|
11
|
+
.opacity-90 { opacity: 0.9 !important }
|
|
12
|
+
.opacity-100 { opacity: 1.0 !important }
|
|
13
|
+
|
|
14
|
+
.hover-opacity {
|
|
15
|
+
&-0:hover { opacity: 0.0 !important }
|
|
16
|
+
&-10:hover { opacity: 0.1 !important }
|
|
17
|
+
&-20:hover { opacity: 0.2 !important }
|
|
18
|
+
&-30:hover { opacity: 0.3 !important }
|
|
19
|
+
&-40:hover { opacity: 0.4 !important }
|
|
20
|
+
&-50:hover { opacity: 0.5 !important }
|
|
21
|
+
&-60:hover { opacity: 0.6 !important }
|
|
22
|
+
&-70:hover { opacity: 0.7 !important }
|
|
23
|
+
&-80:hover { opacity: 0.8 !important }
|
|
24
|
+
&-90:hover { opacity: 0.9 !important }
|
|
25
|
+
&-100:hover { opacity: 1.0 !important }
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.webkit-overflow { -webkit-overflow-scrolling: touch }
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
// Pagination
|
|
2
|
+
@pagination-color: @gray-dark;
|
|
3
|
+
@pagination-active-bg: @gray-lighter;
|
|
4
|
+
@pagination-active-color: @gray-dark;
|
|
5
|
+
|
|
6
|
+
.pagination {
|
|
7
|
+
.reset-list();
|
|
8
|
+
align-items: center;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
padding: 5px 0;
|
|
12
|
+
|
|
13
|
+
> li {
|
|
14
|
+
align-items: center;
|
|
15
|
+
border-radius: @border-radius-sm;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
display: flex;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
position: relative;
|
|
21
|
+
|
|
22
|
+
&.disabled {
|
|
23
|
+
cursor: not-allowed;
|
|
24
|
+
opacity: 0.5;
|
|
25
|
+
|
|
26
|
+
> a, > span, > div {
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:not(:empty) {
|
|
32
|
+
height: 30px;
|
|
33
|
+
margin: 0 2px;
|
|
34
|
+
width: 30px;
|
|
35
|
+
|
|
36
|
+
> a, > span, > div {
|
|
37
|
+
align-items: center;
|
|
38
|
+
border-radius: @border-radius-sm;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
color: @pagination-color;
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
left: 0;
|
|
44
|
+
position: absolute;
|
|
45
|
+
right: 0;
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
top: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.active,
|
|
51
|
+
&:hover {
|
|
52
|
+
background: @pagination-active-bg;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.active {
|
|
56
|
+
> a, > span, > div {
|
|
57
|
+
color: @pagination-active-color;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:empty {
|
|
63
|
+
background: @color-highlight-decent;
|
|
64
|
+
border-radius: @border-radius-sm;
|
|
65
|
+
border: 1px solid @color-highlight;
|
|
66
|
+
height: 10px;
|
|
67
|
+
margin: 0 5px;
|
|
68
|
+
width: 20px;
|
|
69
|
+
|
|
70
|
+
&.active,
|
|
71
|
+
&:hover {
|
|
72
|
+
background: @color-highlight;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:first-child {
|
|
77
|
+
margin-left: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:last-child {
|
|
81
|
+
margin-right: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:first-child,
|
|
85
|
+
&:last-child {
|
|
86
|
+
|
|
87
|
+
> a, > span, > div {
|
|
88
|
+
background: transparent !important;
|
|
89
|
+
|
|
90
|
+
&.rioglyph {
|
|
91
|
+
font-size: 10px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Pager
|
|
99
|
+
@pager-border: @gray-light;
|
|
100
|
+
@pager-hover-bg: @gray-lighter;
|
|
101
|
+
@pager-active-bg: @gray;
|
|
102
|
+
@pager-active-color: @pagination-active-color;
|
|
103
|
+
|
|
104
|
+
.pager {
|
|
105
|
+
.reset-list();
|
|
106
|
+
&:extend(.clearfix all);
|
|
107
|
+
text-align: center;
|
|
108
|
+
|
|
109
|
+
li {
|
|
110
|
+
display: inline;
|
|
111
|
+
|
|
112
|
+
> a, > span, > div {
|
|
113
|
+
align-items: center;
|
|
114
|
+
border-radius: @border-radius-round;
|
|
115
|
+
border: 1px solid @pager-border;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
display: flex;
|
|
118
|
+
padding: 5px 14px;
|
|
119
|
+
|
|
120
|
+
.rioglyph {
|
|
121
|
+
font-size: 10px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:hover, &:focus {
|
|
125
|
+
background-color: @pager-hover-bg;
|
|
126
|
+
text-decoration: none;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.next {
|
|
132
|
+
> a, > span, > div {
|
|
133
|
+
float: right;
|
|
134
|
+
|
|
135
|
+
.rioglyph {
|
|
136
|
+
margin-left: 5px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.previous {
|
|
142
|
+
> a, > span, > div {
|
|
143
|
+
float: left;
|
|
144
|
+
|
|
145
|
+
.rioglyph {
|
|
146
|
+
margin-right: 5px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.disabled {
|
|
152
|
+
> a, > span, > div {
|
|
153
|
+
&,
|
|
154
|
+
&:hover,
|
|
155
|
+
&:focus {
|
|
156
|
+
color: @gray-light;
|
|
157
|
+
cursor: not-allowed;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@panel-x-padding: 15px;
|
|
2
|
+
@panel-y-padding: 10px;
|
|
3
|
+
|
|
4
|
+
.panel {
|
|
5
|
+
background-color: @color-white;
|
|
6
|
+
border-radius: @border-radius-default;
|
|
7
|
+
border: 1px solid transparent;
|
|
8
|
+
margin-bottom: @grid-gutter-height;
|
|
9
|
+
|
|
10
|
+
&:first-child:last-child {
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.panel-default {
|
|
15
|
+
&.active {
|
|
16
|
+
background-color: @color-highlight-decent;
|
|
17
|
+
border: 1px solid @brand-primary;
|
|
18
|
+
box-shadow: inset 0 0 0 1px @brand-primary;
|
|
19
|
+
|
|
20
|
+
.panel-heading,
|
|
21
|
+
.panel-footer {
|
|
22
|
+
background-color: @color-highlight-decent;
|
|
23
|
+
border-color: @brand-primary;
|
|
24
|
+
box-shadow: inset 0 0 0 1px @brand-primary;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.disabled {
|
|
30
|
+
opacity: 0.5;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.panel-unstyled {
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.panel-heading {
|
|
39
|
+
.border-top-radius((@border-radius-default - 1));
|
|
40
|
+
border-bottom: 1px solid transparent;
|
|
41
|
+
font-weight: @font-normal;
|
|
42
|
+
padding: @panel-y-padding @panel-x-padding;
|
|
43
|
+
|
|
44
|
+
> .dropdown .dropdown-toggle {
|
|
45
|
+
color: inherit;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.panel-title {
|
|
50
|
+
color: inherit;
|
|
51
|
+
font-size: @font-size-default;
|
|
52
|
+
margin-bottom: 0;
|
|
53
|
+
margin-top: 0;
|
|
54
|
+
|
|
55
|
+
> a,
|
|
56
|
+
> small,
|
|
57
|
+
> .small,
|
|
58
|
+
> small > a,
|
|
59
|
+
> .small > a {
|
|
60
|
+
color: inherit;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
> .panel-body {
|
|
65
|
+
border-radius: 0 0 @border-radius-default @border-radius-default;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// default
|
|
69
|
+
.panel-variant(@color-white, @gray-light, @gray-darkest);
|
|
70
|
+
|
|
71
|
+
// primary
|
|
72
|
+
// secondary
|
|
73
|
+
// info
|
|
74
|
+
// success
|
|
75
|
+
// warning
|
|
76
|
+
// danger
|
|
77
|
+
each(@colors-brand-and-status-map, {
|
|
78
|
+
&.panel-@{key} {
|
|
79
|
+
.panel-variant(@value, @value, @color-white);
|
|
80
|
+
}
|
|
81
|
+
})
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.panel-body {
|
|
85
|
+
&:extend(.clearfix all);
|
|
86
|
+
padding: @panel-x-padding;
|
|
87
|
+
|
|
88
|
+
~ .table {
|
|
89
|
+
border-top: 1px solid @gray-light;
|
|
90
|
+
margin-bottom: 0
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
~ .list-group {
|
|
94
|
+
margin-bottom: 0;
|
|
95
|
+
|
|
96
|
+
.list-group-item {
|
|
97
|
+
border-radius: 0 !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.panel-footer {
|
|
103
|
+
.border-bottom-radius((@border-radius-default - 1));
|
|
104
|
+
padding: @panel-y-padding @panel-x-padding;
|
|
105
|
+
}
|