@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,854 @@
|
|
|
1
|
+
@table-cell-padding: 12px;
|
|
2
|
+
@table-condensed-cell-padding: 7px;
|
|
3
|
+
@table-bg: @color-white;
|
|
4
|
+
@table-bg-hover: @gray-light;
|
|
5
|
+
@table-bg-active: @gray-light;
|
|
6
|
+
@table-bg-highlight: @color-highlight-lightest;
|
|
7
|
+
@table-border-color: @gray-lighter;
|
|
8
|
+
|
|
9
|
+
.table {
|
|
10
|
+
background-color: transparent;
|
|
11
|
+
font-weight: @font-normal;
|
|
12
|
+
max-width: 100%;
|
|
13
|
+
width: 100%;
|
|
14
|
+
// margin-bottom: @grid-gutter-height;
|
|
15
|
+
|
|
16
|
+
> tbody > tr > td,
|
|
17
|
+
> tbody > tr > th,
|
|
18
|
+
> tfoot > tr > td,
|
|
19
|
+
> tfoot > tr > th,
|
|
20
|
+
> thead > tr > td,
|
|
21
|
+
> thead > tr > th {
|
|
22
|
+
padding: @table-cell-padding;
|
|
23
|
+
line-height: 1.25;
|
|
24
|
+
|
|
25
|
+
.panel & {
|
|
26
|
+
padding: @table-cell-padding @panel-x-padding;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// .table-responsive
|
|
31
|
+
&-responsive {
|
|
32
|
+
overflow-x: auto;
|
|
33
|
+
|
|
34
|
+
@media screen and (max-width: @screen-ls) {
|
|
35
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
36
|
+
border: 1px solid @table-border-color;
|
|
37
|
+
overflow-y: hidden;
|
|
38
|
+
width: 100%;
|
|
39
|
+
|
|
40
|
+
> .table {
|
|
41
|
+
> thead,
|
|
42
|
+
> tbody,
|
|
43
|
+
> tfoot {
|
|
44
|
+
> tr {
|
|
45
|
+
> th,
|
|
46
|
+
> td {
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
> .table-bordered {
|
|
54
|
+
border: 0;
|
|
55
|
+
|
|
56
|
+
> thead,
|
|
57
|
+
> tbody,
|
|
58
|
+
> tfoot {
|
|
59
|
+
> tr {
|
|
60
|
+
> th:first-child,
|
|
61
|
+
> td:first-child {
|
|
62
|
+
border-left: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
> th:last-child,
|
|
66
|
+
> td:last-child {
|
|
67
|
+
border-right: 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// .table.table-condensed
|
|
76
|
+
&.table-condensed {
|
|
77
|
+
> thead > tr > th,
|
|
78
|
+
> tbody > tr > th,
|
|
79
|
+
> tfoot > tr > th,
|
|
80
|
+
> thead > tr > td,
|
|
81
|
+
> tbody > tr > td,
|
|
82
|
+
> tfoot > tr > td {
|
|
83
|
+
padding: @table-condensed-cell-padding @table-cell-padding;
|
|
84
|
+
|
|
85
|
+
.panel & {
|
|
86
|
+
padding: @table-condensed-cell-padding @panel-x-padding;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// .table.table-layout-fixed
|
|
92
|
+
&.table-layout-fixed {
|
|
93
|
+
table-layout: fixed;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// .table.table-head-filled
|
|
97
|
+
&.table-head-filled {
|
|
98
|
+
thead > tr th {
|
|
99
|
+
background-color: @gray-lightest;
|
|
100
|
+
|
|
101
|
+
&.table-checkbox {
|
|
102
|
+
z-index: 2;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// .table.table-sticky
|
|
108
|
+
&[class*="table-sticky"] {
|
|
109
|
+
thead > tr th {
|
|
110
|
+
position: sticky;
|
|
111
|
+
z-index: 1;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:not([class*="-in-container"]) {
|
|
115
|
+
thead > tr th {
|
|
116
|
+
@media (max-width: @screen-ls) {
|
|
117
|
+
top: -(@ApplicationLayoutBodyPadding*0.5);
|
|
118
|
+
}
|
|
119
|
+
@media (min-width: @screen-ls) {
|
|
120
|
+
top: -(@ApplicationLayoutBodyPadding);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&[class*="-in-container"] {
|
|
126
|
+
thead > tr th {
|
|
127
|
+
top: 0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// .table.table-sticky-cell
|
|
133
|
+
&[class*="table-sticky-cell"] {
|
|
134
|
+
margin-bottom: 0;
|
|
135
|
+
|
|
136
|
+
thead > tr th {
|
|
137
|
+
position: sticky;
|
|
138
|
+
top: 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&[class*="-first"] {
|
|
142
|
+
thead > tr th {
|
|
143
|
+
&:first-child {
|
|
144
|
+
left: 0;
|
|
145
|
+
z-index: 2;
|
|
146
|
+
border-right: 4px solid @table-border-color;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&:last-child {
|
|
150
|
+
right: 0;
|
|
151
|
+
z-index: 2;
|
|
152
|
+
border-left: 4px solid @table-border-color;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
tbody > tr {
|
|
157
|
+
td {
|
|
158
|
+
&:first-child {
|
|
159
|
+
background-color: @color-white;
|
|
160
|
+
left: 0;
|
|
161
|
+
position: sticky;
|
|
162
|
+
//z-index: 2;
|
|
163
|
+
border-right: 4px solid @table-border-color;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&[class*="-last"]{
|
|
170
|
+
thead > tr th {
|
|
171
|
+
&:last-child {
|
|
172
|
+
right: 0;
|
|
173
|
+
//z-index: 2;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
tbody > tr {
|
|
178
|
+
td {
|
|
179
|
+
&:last-child {
|
|
180
|
+
background-color: @color-white;
|
|
181
|
+
right: 0;
|
|
182
|
+
position: sticky;
|
|
183
|
+
//z-index: 2;
|
|
184
|
+
border-left: 4px solid @table-border-color;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// .table.table-column-overflow-hidden
|
|
192
|
+
&.table-column-overflow-hidden {
|
|
193
|
+
> thead > tr > th,
|
|
194
|
+
> tbody > tr > th,
|
|
195
|
+
> tfoot > tr > th,
|
|
196
|
+
> thead > tr > td,
|
|
197
|
+
> tbody > tr > td,
|
|
198
|
+
> tfoot > tr > td {
|
|
199
|
+
&:not(.table-action):not(.table-checkbox):not(.overflow-visible) {
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// .table.table-row-first-border-none
|
|
206
|
+
&.table-row-first-border-none {
|
|
207
|
+
> tbody > tr {
|
|
208
|
+
&:first-child {
|
|
209
|
+
> td {
|
|
210
|
+
border-top: none;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// .table.table-row-last-border-none
|
|
217
|
+
&.table-row-last-border-none {
|
|
218
|
+
> tbody > tr {
|
|
219
|
+
&:last-child {
|
|
220
|
+
border-bottom: none;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
colgroup {
|
|
226
|
+
col {
|
|
227
|
+
&.table-checkbox {
|
|
228
|
+
min-width: 40px;
|
|
229
|
+
width: 40px;
|
|
230
|
+
|
|
231
|
+
&:first-child {
|
|
232
|
+
min-width: 50px;
|
|
233
|
+
width: 50px;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&.table-action {
|
|
238
|
+
min-width: 40px;
|
|
239
|
+
width: 40px;
|
|
240
|
+
|
|
241
|
+
&:last-child {
|
|
242
|
+
min-width: 60px;
|
|
243
|
+
width: 60px;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
> thead {
|
|
250
|
+
&:first-child {
|
|
251
|
+
> tr:first-child {
|
|
252
|
+
> th,
|
|
253
|
+
> td {
|
|
254
|
+
border-top: 0;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
> tr {
|
|
260
|
+
background-color: transparent;
|
|
261
|
+
|
|
262
|
+
> th {
|
|
263
|
+
border-bottom: 2px solid @table-border-color;
|
|
264
|
+
border-top: 1px solid @table-border-color;
|
|
265
|
+
font-weight: @font-light;
|
|
266
|
+
text-align: left;
|
|
267
|
+
white-space: nowrap;
|
|
268
|
+
|
|
269
|
+
&.table-action {
|
|
270
|
+
width: 40px;
|
|
271
|
+
text-align: center;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&.table-checkbox {
|
|
275
|
+
padding-bottom: 0;
|
|
276
|
+
padding-top: 0;
|
|
277
|
+
text-align: center;
|
|
278
|
+
vertical-align: middle;
|
|
279
|
+
width: 40px;
|
|
280
|
+
|
|
281
|
+
&:first-child {
|
|
282
|
+
padding-left: @table-cell-padding;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// > .dropdown > .dropdown-toggle {
|
|
286
|
+
// justify-content: flex-end;
|
|
287
|
+
// }
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
> tbody > tr {
|
|
294
|
+
background-color: @table-bg;
|
|
295
|
+
.table-state(info, @brand-info, false);
|
|
296
|
+
.table-state(warning, @brand-warning, false);
|
|
297
|
+
.table-state(success, @brand-success, false);
|
|
298
|
+
.table-state(danger, @brand-danger, false);
|
|
299
|
+
|
|
300
|
+
th,
|
|
301
|
+
td {
|
|
302
|
+
&:not([class*='bg-']) {
|
|
303
|
+
background-color: transparent;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
&:last-child {
|
|
308
|
+
border-bottom: 1px solid @table-border-color;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
td {
|
|
312
|
+
border-top: 1px solid @table-border-color;
|
|
313
|
+
vertical-align: middle;
|
|
314
|
+
|
|
315
|
+
&:focus,
|
|
316
|
+
&:active:focus {
|
|
317
|
+
outline: 0;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
&.table-action {
|
|
321
|
+
padding: 0;
|
|
322
|
+
text-align: center;
|
|
323
|
+
|
|
324
|
+
&:first-child {
|
|
325
|
+
padding-left: 8px;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.rioglyph[class*="rioglyph-chevron"] {
|
|
329
|
+
font-size: 14px;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
&.table-checkbox {
|
|
334
|
+
padding: 0;
|
|
335
|
+
text-align: center;
|
|
336
|
+
|
|
337
|
+
&:first-child {
|
|
338
|
+
padding-left: 8px;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
> .checkbox {
|
|
342
|
+
.checkbox-text {
|
|
343
|
+
&::before,
|
|
344
|
+
&:after {
|
|
345
|
+
margin-right: 0;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
&.active {
|
|
353
|
+
td {
|
|
354
|
+
.table-state(active, @brand-primary, false)
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
&.disabled,
|
|
359
|
+
&[disabled] {
|
|
360
|
+
opacity: 0.5;
|
|
361
|
+
pointer-events: none;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.checkboxWrapper > label {
|
|
366
|
+
margin-bottom: 0;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
// .table.table-bordered
|
|
370
|
+
&.table-bordered {
|
|
371
|
+
border: none;
|
|
372
|
+
border-collapse: separate;
|
|
373
|
+
|
|
374
|
+
> thead > tr > th,
|
|
375
|
+
> tbody > tr > td {
|
|
376
|
+
border: none;
|
|
377
|
+
border-top: 4px solid @table-border-color;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
> tbody > tr:last-child {
|
|
381
|
+
border-bottom: 4px solid @table-border-color;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
> tbody > tr > td {
|
|
385
|
+
vertical-align: middle;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
// Zebra-striping
|
|
390
|
+
&.table-striped {
|
|
391
|
+
> tbody > tr:nth-of-type(odd) {
|
|
392
|
+
background-color: darken(@table-bg, 2%);
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
// .table.table-hover
|
|
397
|
+
&.table-hover {
|
|
398
|
+
> tbody > tr {
|
|
399
|
+
.table-state(info, @brand-info, true);
|
|
400
|
+
.table-state(warning, @brand-warning, true);
|
|
401
|
+
.table-state(success, @brand-success, true);
|
|
402
|
+
.table-state(danger, @brand-danger, true);
|
|
403
|
+
|
|
404
|
+
&:hover {
|
|
405
|
+
background-color: @table-bg;
|
|
406
|
+
|
|
407
|
+
td:not([class*='bg-']) {
|
|
408
|
+
box-shadow: inset 0 500px 0 0 @table-bg-highlight;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
&.active:hover {
|
|
412
|
+
td {
|
|
413
|
+
.table-state(active, @brand-primary, false)
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
// .table.table-cards
|
|
420
|
+
&.table-cards {
|
|
421
|
+
@cardsSpace: 10px;
|
|
422
|
+
overflow: hidden;
|
|
423
|
+
|
|
424
|
+
&.table-cards-with-border {
|
|
425
|
+
&.table-single-card,
|
|
426
|
+
&.table-multi-cards {
|
|
427
|
+
tbody {
|
|
428
|
+
tr {
|
|
429
|
+
border: 3px solid @gray-lighter;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
&.table-single-card,
|
|
436
|
+
&.table-multi-cards {
|
|
437
|
+
display: block;
|
|
438
|
+
padding-bottom: 5px;
|
|
439
|
+
padding-top: 5px;
|
|
440
|
+
width: 100%;
|
|
441
|
+
|
|
442
|
+
colgroup {
|
|
443
|
+
display: none;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
thead {
|
|
447
|
+
display: block;
|
|
448
|
+
|
|
449
|
+
th {
|
|
450
|
+
&:not(.table-checkbox) {
|
|
451
|
+
display: none;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
&.table-checkbox {
|
|
455
|
+
background: transparent;
|
|
456
|
+
display: block;
|
|
457
|
+
margin-bottom: 20px;
|
|
458
|
+
margin-top: -5px;
|
|
459
|
+
padding: 0;
|
|
460
|
+
text-align: left;
|
|
461
|
+
|
|
462
|
+
.dropdown {
|
|
463
|
+
&:not(.open) {
|
|
464
|
+
.dropdown-toggle {
|
|
465
|
+
padding: 0 6px;
|
|
466
|
+
.button-variant(
|
|
467
|
+
~'!important';
|
|
468
|
+
@btn-default-bg;
|
|
469
|
+
@btn-default-border;
|
|
470
|
+
@btn-default-color;
|
|
471
|
+
@btn-default-color;
|
|
472
|
+
@btn-default-color;
|
|
473
|
+
@btn-default-color;
|
|
474
|
+
darken(@btn-default-color, 17%);
|
|
475
|
+
darken(@btn-default-border, 12%);
|
|
476
|
+
darken(@btn-default-border, 12%);
|
|
477
|
+
darken(@btn-default-border, 25%);
|
|
478
|
+
darken(@btn-default-border, 25%);
|
|
479
|
+
@btn-default-bg;
|
|
480
|
+
@btn-default-bg;
|
|
481
|
+
@btn-default-bg;
|
|
482
|
+
@btn-default-bg;
|
|
483
|
+
);
|
|
484
|
+
|
|
485
|
+
&:focus,
|
|
486
|
+
&:active {
|
|
487
|
+
background-color: @color-white !important;
|
|
488
|
+
border-color: @color-highlight !important;
|
|
489
|
+
|
|
490
|
+
&:hover {
|
|
491
|
+
.rioglyph {
|
|
492
|
+
color: @color-highlight !important;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
&:hover {
|
|
498
|
+
.rioglyph {
|
|
499
|
+
color: @color-white !important;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
&.open {
|
|
506
|
+
.dropdown-toggle {
|
|
507
|
+
.button-variant(
|
|
508
|
+
~'!important';
|
|
509
|
+
@btn-default-bg;
|
|
510
|
+
@btn-default-border;
|
|
511
|
+
@btn-default-color;
|
|
512
|
+
@btn-default-color;
|
|
513
|
+
@btn-default-color;
|
|
514
|
+
@btn-default-color;
|
|
515
|
+
darken(@btn-default-color, 17%);
|
|
516
|
+
darken(@btn-default-border, 12%);
|
|
517
|
+
darken(@btn-default-border, 12%);
|
|
518
|
+
darken(@btn-default-border, 25%);
|
|
519
|
+
darken(@btn-default-border, 25%);
|
|
520
|
+
@btn-default-bg;
|
|
521
|
+
@btn-default-bg;
|
|
522
|
+
@btn-default-bg;
|
|
523
|
+
@btn-default-bg;
|
|
524
|
+
);
|
|
525
|
+
|
|
526
|
+
&:hover, &:active, &:focus {
|
|
527
|
+
.rioglyph:before {
|
|
528
|
+
color: @color-white !important;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
tbody {
|
|
539
|
+
overflow: visible;
|
|
540
|
+
display: block;
|
|
541
|
+
flex-wrap: wrap;
|
|
542
|
+
display: flex;
|
|
543
|
+
margin: -(@cardsSpace * 0.5) - (@cardsSpace * 0.5) 0 - (@cardsSpace * 0.5);
|
|
544
|
+
|
|
545
|
+
tr {
|
|
546
|
+
border: 3px solid @color-white;
|
|
547
|
+
display: flex;
|
|
548
|
+
flex-wrap: wrap;
|
|
549
|
+
margin: @cardsSpace * 0.5;
|
|
550
|
+
width: 100%;
|
|
551
|
+
|
|
552
|
+
&.table-card-placeholder {
|
|
553
|
+
background: none;
|
|
554
|
+
border-bottom: none;
|
|
555
|
+
border-left-color: transparent;
|
|
556
|
+
border-right-color: transparent;
|
|
557
|
+
border-top: none;
|
|
558
|
+
margin-bottom: 0;
|
|
559
|
+
margin-top: 0;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
td {
|
|
563
|
+
border-top: none;
|
|
564
|
+
min-height: 44px;
|
|
565
|
+
order: 3;
|
|
566
|
+
padding: @table-cell-padding;
|
|
567
|
+
white-space: normal;
|
|
568
|
+
width: 100%;
|
|
569
|
+
|
|
570
|
+
&:not([class*='table-']) {
|
|
571
|
+
border-top: 1px solid @gray-lighter;
|
|
572
|
+
width: 100%;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
&:not(.cards-multiline):not([class*='table-']) {
|
|
576
|
+
display: flex;
|
|
577
|
+
|
|
578
|
+
&[data-field]:not([data-field='']) {
|
|
579
|
+
> * {
|
|
580
|
+
display: flex;
|
|
581
|
+
flex: 1 0;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
&[class*='table-'] {
|
|
587
|
+
align-items: center;
|
|
588
|
+
display: inline-flex;
|
|
589
|
+
padding: 5px;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
&.table-action {
|
|
593
|
+
flex: 1 1 auto;
|
|
594
|
+
justify-content: flex-end;
|
|
595
|
+
order: 2;
|
|
596
|
+
width: auto;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
&.table-checkbox {
|
|
600
|
+
order: 1;
|
|
601
|
+
padding-left: @table-cell-padding;
|
|
602
|
+
width: 50%;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
&.cards-multiline {
|
|
606
|
+
display: block;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
&[data-field]:not([data-field='']) {
|
|
610
|
+
&:before {
|
|
611
|
+
color: @gray;
|
|
612
|
+
content: attr(data-field) ':';
|
|
613
|
+
float: left;
|
|
614
|
+
margin-right: 10px;
|
|
615
|
+
text-align: left !important;
|
|
616
|
+
transition: all 0.2s ease-in-out;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
&:first-child {
|
|
621
|
+
border-top: none !important;
|
|
622
|
+
|
|
623
|
+
.checkboxWrapper {
|
|
624
|
+
float: left;
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
&.cards-hide {
|
|
629
|
+
display: none !important;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
// custom styling
|
|
633
|
+
h1,
|
|
634
|
+
h2,
|
|
635
|
+
h3,
|
|
636
|
+
h4,
|
|
637
|
+
h5,
|
|
638
|
+
h6 {
|
|
639
|
+
margin: 0;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
br {
|
|
643
|
+
display: none;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
&:not(.active):not(.table-card-placeholder) {
|
|
648
|
+
background-color: @color-white !important;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
&.active {
|
|
652
|
+
background: @table-bg-highlight !important;
|
|
653
|
+
border-color: @brand-primary;
|
|
654
|
+
|
|
655
|
+
td {
|
|
656
|
+
box-shadow: none !important;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
&.table-hover {
|
|
663
|
+
tbody {
|
|
664
|
+
tr {
|
|
665
|
+
&:hover {
|
|
666
|
+
border-color: @table-bg-highlight;
|
|
667
|
+
|
|
668
|
+
&.active {
|
|
669
|
+
border-color: @brand-primary;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
td {
|
|
673
|
+
background: @table-bg-highlight;
|
|
674
|
+
border-color: darken(@table-border-color, 8%);
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
&.table-multi-cards {
|
|
683
|
+
tbody {
|
|
684
|
+
tr {
|
|
685
|
+
td {
|
|
686
|
+
text-align: right !important;
|
|
687
|
+
|
|
688
|
+
> * {
|
|
689
|
+
justify-content: flex-end;
|
|
690
|
+
|
|
691
|
+
&:before {
|
|
692
|
+
content: '';
|
|
693
|
+
flex: 1 0;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
img {
|
|
697
|
+
float: right;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
&[data-field]:not([data-field='']) {
|
|
702
|
+
&:before {
|
|
703
|
+
max-width: 50%;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
&.table-single-card {
|
|
712
|
+
tbody {
|
|
713
|
+
tr {
|
|
714
|
+
td {
|
|
715
|
+
&:not(.cards-text-right) {
|
|
716
|
+
text-align: left !important;
|
|
717
|
+
|
|
718
|
+
> * {
|
|
719
|
+
justify-content: flex-start;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
&.cards-text-right {
|
|
724
|
+
text-align: right !important;
|
|
725
|
+
|
|
726
|
+
> * {
|
|
727
|
+
justify-content: flex-end;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
&[data-field]:not([data-field='']) {
|
|
732
|
+
&:before {
|
|
733
|
+
@media (max-width: @screen-sm) {
|
|
734
|
+
width: 40%;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
@media (min-width: @screen-sm) {
|
|
738
|
+
width: 30%;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
@media (min-width: @screen-lg) {
|
|
742
|
+
width: 20%;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
&.table-multi-cards {
|
|
752
|
+
tbody {
|
|
753
|
+
tr {
|
|
754
|
+
flex: 1 1;
|
|
755
|
+
min-width: 250px;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
// grouped tr`s
|
|
762
|
+
tr {
|
|
763
|
+
&.compactRow {
|
|
764
|
+
background-color: @color-white !important;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
&.extendedRow {
|
|
768
|
+
background-color: darken(@table-bg, 2%) !important;
|
|
769
|
+
|
|
770
|
+
td {
|
|
771
|
+
border-top: 2px solid @table-border-color !important;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
+ .compactRow {
|
|
775
|
+
td {
|
|
776
|
+
border-top: 20px solid @table-border-color !important;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.formatExpander {
|
|
783
|
+
&.animate {
|
|
784
|
+
transition: transform 0.2s ease-in-out;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
&.open {
|
|
788
|
+
transform: rotate(180deg);
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
// Remove top border from thead by default
|
|
793
|
+
> caption + thead,
|
|
794
|
+
> colgroup + thead,
|
|
795
|
+
> thead:first-child {
|
|
796
|
+
> tr:first-child {
|
|
797
|
+
> th,
|
|
798
|
+
> td {
|
|
799
|
+
border-top: 0;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
// States
|
|
806
|
+
.table-state(@state, @color, @hoverable) {
|
|
807
|
+
& when (@state = active) {
|
|
808
|
+
background-color: transparent;
|
|
809
|
+
box-shadow: inset 0 2px 0 0 @color, inset 0 -2px 0 0 @color, inset 0 500px 0 0 @table-bg-highlight;
|
|
810
|
+
|
|
811
|
+
&:first-child {
|
|
812
|
+
box-shadow: inset 0 2px 0 0 @color, inset 0 -2px 0 0 @color, inset 2px 0 0 0 @color,
|
|
813
|
+
inset 0 500px 0 0 @table-bg-highlight;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
&:last-child {
|
|
817
|
+
box-shadow: inset 0 2px 0 0 @color, inset -2px 0 0 0 @color, inset 0 -2px 0 0 @color,
|
|
818
|
+
inset 0 500px 0 0 @table-bg-highlight;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
& when (@state = info), (@state = warning), (@state = success), (@state = danger) {
|
|
823
|
+
&.@{state} {
|
|
824
|
+
& when (@hoverable = true) {
|
|
825
|
+
&:hover > td:first-child {
|
|
826
|
+
box-shadow: inset 5px 0 0 0 @color, inset 0 500px 0 0 @table-bg-highlight;
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
&.active, &.active:hover {
|
|
831
|
+
> td:first-child {
|
|
832
|
+
box-shadow: inset 5px 0 0 0 @color, inset 0 2px 0 0 @brand-primary, inset 0 -2px 0 0 @brand-primary,
|
|
833
|
+
inset 0 500px 0 0 @table-bg-highlight;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
> td {
|
|
838
|
+
background-color: transparent !important;
|
|
839
|
+
|
|
840
|
+
&:first-child {
|
|
841
|
+
box-shadow: inset 5px 0 0 0 @color;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
// Bootstrap Cols
|
|
849
|
+
table td[class*="col-"],
|
|
850
|
+
table th[class*="col-"] {
|
|
851
|
+
display: table-cell;
|
|
852
|
+
float: none;
|
|
853
|
+
position: static;
|
|
854
|
+
}
|