@rio-cloud/rio-uikit 0.16.1-beta-9 → 0.16.1-beta-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/.DS_Store +0 -0
- package/lib/components/.DS_Store +0 -0
- package/lib/components/applicationHeader/AppMenu.js +3 -2
- package/lib/components/applicationHeader/AppMenuDropdown.js +7 -5
- package/lib/components/applicationHeader/ApplicationHeader.js +84 -164
- package/lib/components/applicationHeader/MobileAppMenu.js +77 -0
- package/lib/components/applicationHeader/MobileHeaderModal.js +90 -0
- package/lib/components/applicationHeader/MobileSubmoduleNavigation.js +89 -0
- package/lib/components/applicationHeader/NavItems.js +167 -274
- package/lib/components/assetTree/TreeLeaf.js +1 -1
- package/lib/components/assetTree/TreeSelectAll.js +2 -1
- package/lib/components/assetTree/TypeCounter.js +3 -3
- package/lib/components/charts/chartHelper.js +1 -1
- package/lib/components/dialog/Dialog.js +4 -4
- package/lib/components/dialog/baseDialogPropTypes.js +1 -1
- package/lib/components/map/.DS_Store +0 -0
- package/lib/components/map/components/.DS_Store +0 -0
- package/lib/components/map/components/features/.DS_Store +0 -0
- package/lib/components/map/components/features/settings/.DS_Store +0 -0
- package/lib/components/steppedProgressBar/SteppedProgressBar.js +59 -107
- package/lib/es/Colors.js +1 -1
- package/lib/es/VolkswagenApplicationHeader.d.ts +5 -0
- package/lib/es/VolkswagenApplicationHeader.js +15 -0
- package/lib/index.js +1 -1
- package/lib/style/css/_exports/rio-website.less +29 -22
- package/lib/style/css/_exports/vw-uikit.less +4 -0
- package/lib/style/css/components/ApplicationHeader.less +47 -15
- package/lib/style/css/components/AssetTree.less +2 -2
- package/lib/style/css/variables.less +1 -1
- package/lib/style/fonts/rioglyph/rioglyph.less +7 -7
- package/lib/style/fonts/rioglyph/rioglyph.svg +9 -9
- package/lib/style/fonts/rioglyph/rioglyph.ttf +0 -0
- package/lib/style/fonts/rioglyph/rioglyph.woff +0 -0
- package/lib/styles/animations/_imports.less +10 -0
- package/lib/styles/animations/collapse.less +16 -0
- package/lib/styles/animations/fade.less +28 -0
- package/lib/styles/animations/pinging.less +7 -0
- package/lib/styles/animations/pulsing.less +5 -0
- package/lib/styles/animations/rotate.less +52 -0
- package/lib/styles/animations/scale.less +35 -0
- package/lib/styles/animations/slide.less +39 -0
- package/lib/styles/animations/spinning.less +4 -0
- package/lib/styles/animations/transition.less +129 -0
- package/lib/styles/animations/translate.less +28 -0
- package/lib/styles/components/Activity.less +93 -0
- package/lib/styles/components/ApplicationHeader.less +469 -0
- package/lib/styles/components/ApplicationLayout.less +240 -0
- package/lib/styles/components/AssetTree.less +439 -0
- package/lib/styles/components/AutoSuggest.less +22 -0
- package/lib/styles/components/BottomSheet.less +14 -0
- package/lib/styles/components/Carousel.less +212 -0
- package/lib/styles/components/Checkbox.less +224 -0
- package/lib/styles/components/ClearableInput.less +115 -0
- package/lib/styles/components/Counter.less +142 -0
- package/lib/styles/components/DataTabs.less +100 -0
- package/lib/styles/components/DatePicker.less +391 -0
- package/lib/styles/components/Dialog.less +484 -0
- package/lib/styles/components/Dropdown.less +185 -0
- package/lib/styles/components/Expander.less +196 -0
- package/lib/styles/components/FilePicker.less +8 -0
- package/lib/styles/components/ListMenu.less +77 -0
- package/lib/styles/components/MapHere.less +91 -0
- package/lib/styles/components/MapMarker.less +347 -0
- package/lib/styles/components/MapSettings.less +140 -0
- package/lib/styles/components/NoData.less +8 -0
- package/lib/styles/components/Notification.less +234 -0
- package/lib/styles/components/RadioButton.less +173 -0
- package/lib/styles/components/Resizer.less +43 -0
- package/lib/styles/components/Select.less +287 -0
- package/lib/styles/components/Sidebar.less +157 -0
- package/lib/styles/components/Slider.less +278 -0
- package/lib/styles/components/Spinner.less +49 -0
- package/lib/styles/components/StatsWidget.less +111 -0
- package/lib/styles/components/SteppedProgressBar.less +310 -0
- package/lib/styles/components/SupportMarker.less +34 -0
- package/lib/styles/components/Switch.less +145 -0
- package/lib/styles/components/TableSettingsDialog.less +96 -0
- package/lib/styles/components/TableSortArrows.less +54 -0
- package/lib/styles/components/TableToolbar.less +121 -0
- package/lib/styles/components/Tag.less +246 -0
- package/lib/styles/components/TagManager.less +4 -0
- package/lib/styles/components/Teaser.less +12 -0
- package/lib/styles/components/Timeline.less +69 -0
- package/lib/styles/components/Tooltip.less +222 -0
- package/lib/styles/design/alerts.less +55 -0
- package/lib/styles/design/aspect-ratio.less +23 -0
- package/lib/styles/design/badges.less +120 -0
- package/lib/styles/design/blockquote.less +49 -0
- package/lib/styles/design/border.less +192 -0
- package/lib/styles/design/breadcrumbs.less +20 -0
- package/lib/styles/design/button-groups.less +194 -0
- package/lib/styles/design/buttons.less +543 -0
- package/lib/styles/design/callouts.less +27 -0
- package/lib/styles/design/caret.less +28 -0
- package/lib/styles/design/close.less +12 -0
- package/lib/styles/design/code.less +45 -0
- package/lib/styles/design/colors.less +202 -0
- package/lib/styles/design/cols.less +56 -0
- package/lib/styles/design/container.less +29 -0
- package/lib/styles/design/cursors.less +19 -0
- package/lib/styles/design/custom.less +20 -0
- package/lib/styles/design/ellipsis.less +46 -0
- package/lib/styles/design/flexgrid.less +7 -0
- package/lib/styles/design/fonts.less +458 -0
- package/lib/styles/design/form-input-groups.less +245 -0
- package/lib/styles/design/form-inputs.less +655 -0
- package/lib/styles/design/iframe.less +80 -0
- package/lib/styles/design/images.less +47 -0
- package/lib/styles/design/labels.less +66 -0
- package/lib/styles/design/list-group.less +100 -0
- package/lib/styles/design/navs.less +262 -0
- package/lib/styles/design/normalize.less +436 -0
- package/lib/styles/design/opacity.less +26 -0
- package/lib/styles/design/overflow.less +1 -0
- package/lib/styles/design/pagination.less +161 -0
- package/lib/styles/design/panels.less +105 -0
- package/lib/styles/design/popovers.less +119 -0
- package/lib/styles/design/position.less +16 -0
- package/lib/styles/design/progress-bars.less +131 -0
- package/lib/styles/design/responsive/_imports.less +67 -0
- package/lib/styles/design/responsive/backgrounds.less +32 -0
- package/lib/styles/design/responsive/display.less +9 -0
- package/lib/styles/design/responsive/flexgrid.less +75 -0
- package/lib/styles/design/responsive/floating.less +4 -0
- package/lib/styles/design/responsive/gap.less +41 -0
- package/lib/styles/design/responsive/margin.less +127 -0
- package/lib/styles/design/responsive/overflow.less +16 -0
- package/lib/styles/design/responsive/padding.less +71 -0
- package/lib/styles/design/responsive/position.less +103 -0
- package/lib/styles/design/responsive/sizing.less +96 -0
- package/lib/styles/design/responsive/text.less +71 -0
- package/lib/styles/design/responsive-embed.less +31 -0
- package/lib/styles/design/responsive-video.less +22 -0
- package/lib/styles/design/rioglyph.less +13 -0
- package/lib/styles/design/rounded.less +44 -0
- package/lib/styles/design/shadows.less +65 -0
- package/lib/styles/design/sizing.less +18 -0
- package/lib/styles/design/tables.less +855 -0
- package/lib/styles/design/text.less +201 -0
- package/lib/styles/design/theme.less +206 -0
- package/lib/styles/design/thumbnails.less +29 -0
- package/lib/styles/design/transition.less +33 -0
- package/lib/styles/design/type.less +159 -0
- package/lib/styles/design/utilities.less +75 -0
- package/lib/styles/design/visibility.less +186 -0
- package/lib/styles/design/wells.less +17 -0
- package/lib/styles/design/z-index.less +21 -0
- package/lib/styles/filter/_imports.less +1 -0
- package/lib/styles/filter/blur.less +17 -0
- package/lib/styles/mapping/breakpoint-map.less +44 -0
- package/lib/styles/mapping/color-map.less +200 -0
- package/lib/styles/mapping/cols-map.less +15 -0
- package/lib/styles/mapping/numbers-map.less +16 -0
- package/lib/styles/mapping/positions-map.less +21 -0
- package/lib/styles/mapping/sizes-map.less +129 -0
- package/lib/styles/mapping/spacings-map.less +28 -0
- package/lib/styles/mixins/_mixins.less +13 -0
- package/lib/styles/mixins/alerts.less +13 -0
- package/lib/styles/mixins/border-radius.less +16 -0
- package/lib/styles/mixins/buttons.less +117 -0
- package/lib/styles/mixins/clearfix.less +9 -0
- package/lib/styles/mixins/cols.less +59 -0
- package/lib/styles/mixins/forms.less +61 -0
- package/lib/styles/mixins/panels.less +27 -0
- package/lib/styles/mixins/placeholder.less +17 -0
- package/lib/styles/mixins/reset.less +27 -0
- package/lib/styles/mixins/sizings.less +21 -0
- package/lib/styles/mixins/spinner.less +30 -0
- package/lib/styles/mixins/table.less +26 -0
- package/lib/styles/mixins/tabs.less +4 -0
- package/lib/styles/mixins/text.less +5 -0
- package/lib/styles/print/print.less +163 -0
- package/lib/styles/rio-uikit-core.less +114 -0
- package/lib/styles/rio-uikit-print-utilities.less +16 -0
- package/lib/styles/rio-uikit-responsive-utilities.less +16 -0
- package/lib/styles/shared/colors.json +56 -0
- package/lib/styles/shared/colors.less +73 -0
- package/lib/styles/shared/screens.less +7 -0
- package/lib/styles/shared/text.less +23 -0
- package/lib/styles/variables.less +180 -0
- package/lib/themes/BuyButton/styles/rio-buyButton.less +183 -0
- package/lib/themes/MAN/styles/man-uikit.less +48 -0
- package/lib/themes/RIO/styles/rio-uikit.less +20 -0
- package/lib/themes/SCANIA/styles/scania-uikit.less +36 -0
- package/lib/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +94 -0
- package/lib/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +17 -0
- package/lib/themes/Volkswagen/styles/vw-uikit.less +205 -0
- package/lib/themes/Website/styles/rio-website.less +2236 -0
- package/lib/themes/Xmas/styles/rio-xmas.less +36 -0
- package/lib/types.ts +1 -1
- package/lib/version.json +1 -1
- package/package.json +95 -94
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.border-top-radius(@radius) {
|
|
2
|
+
border-top-right-radius: @radius !important;
|
|
3
|
+
border-top-left-radius: @radius !important;
|
|
4
|
+
}
|
|
5
|
+
.border-right-radius(@radius) {
|
|
6
|
+
border-bottom-right-radius: @radius !important;
|
|
7
|
+
border-top-right-radius: @radius !important;
|
|
8
|
+
}
|
|
9
|
+
.border-bottom-radius(@radius) {
|
|
10
|
+
border-bottom-right-radius: @radius !important;
|
|
11
|
+
border-bottom-left-radius: @radius !important;
|
|
12
|
+
}
|
|
13
|
+
.border-left-radius(@radius) {
|
|
14
|
+
border-bottom-left-radius: @radius !important;
|
|
15
|
+
border-top-left-radius: @radius !important;
|
|
16
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
.button-variant(
|
|
2
|
+
@important: ~'';
|
|
3
|
+
@background;
|
|
4
|
+
@border;
|
|
5
|
+
@color;
|
|
6
|
+
@hover-background: darken(@background, 10%);
|
|
7
|
+
@active-background: darken(@background, 10%);
|
|
8
|
+
@focus-background: darken(@background, 5%);
|
|
9
|
+
@active-hover-background: darken(@background, 17%);
|
|
10
|
+
@hover-border: darken(@border, 12%);
|
|
11
|
+
@active-border: darken(@border, 12%);
|
|
12
|
+
@focus-border: @border;
|
|
13
|
+
@active-hover-border: darken(@border, 25%);
|
|
14
|
+
@hover-color: @color;
|
|
15
|
+
@active-color: @color;
|
|
16
|
+
@focus-color: @color;
|
|
17
|
+
@active-hover-color: @color;
|
|
18
|
+
)
|
|
19
|
+
{
|
|
20
|
+
color: @color @important;
|
|
21
|
+
background-color: @background @important;
|
|
22
|
+
border: 1px solid @border @important;
|
|
23
|
+
|
|
24
|
+
&:focus,
|
|
25
|
+
&.focus {
|
|
26
|
+
background-color: @focus-background @important;
|
|
27
|
+
border-color: @focus-border @important;
|
|
28
|
+
color: @focus-color @important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (hover: hover) {
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: @hover-background @important;
|
|
34
|
+
border-color: @hover-border @important;
|
|
35
|
+
color: @hover-color @important;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:active,
|
|
40
|
+
&.active,
|
|
41
|
+
.open > .dropdown-toggle& {
|
|
42
|
+
background-color: @active-background @important;
|
|
43
|
+
border-color: @active-border @important;
|
|
44
|
+
color: @active-color @important;
|
|
45
|
+
|
|
46
|
+
@media (hover: hover) {
|
|
47
|
+
&:hover,
|
|
48
|
+
&:focus,
|
|
49
|
+
&.focus {
|
|
50
|
+
background-color: @active-hover-background @important;
|
|
51
|
+
border-color: @active-hover-border @important;
|
|
52
|
+
color: @active-hover-color @important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:active,
|
|
58
|
+
&.active,
|
|
59
|
+
.open > .dropdown-toggle& {
|
|
60
|
+
background-image: none @important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.disabled,
|
|
64
|
+
&[disabled],
|
|
65
|
+
fieldset[disabled] & {
|
|
66
|
+
&:hover,
|
|
67
|
+
&:focus,
|
|
68
|
+
&.focus {
|
|
69
|
+
background-color: @background @important;
|
|
70
|
+
border-color: @border @important;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.badge {
|
|
75
|
+
color: @background @important;
|
|
76
|
+
background-color: @color @important;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
|
81
|
+
border-radius: @border-radius;
|
|
82
|
+
font-size: @font-size;
|
|
83
|
+
line-height: @line-height;
|
|
84
|
+
padding: @padding-vertical @padding-horizontal;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.rio-btn(@size, @suffix) {
|
|
88
|
+
.btn@{suffix} {
|
|
89
|
+
height: @size;
|
|
90
|
+
|
|
91
|
+
> .rioglyph {
|
|
92
|
+
font-size: @size * 0.5;
|
|
93
|
+
margin: 0 @size * 0.15 0 0;
|
|
94
|
+
top: auto;
|
|
95
|
+
|
|
96
|
+
&[class*='chevron-'] {
|
|
97
|
+
font-size: @size * 0.3;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.btn-icon-right {
|
|
102
|
+
> .rioglyph {
|
|
103
|
+
margin: 0 0 0 5px;
|
|
104
|
+
order: 2;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&.btn-icon-only {
|
|
109
|
+
width: @size;
|
|
110
|
+
|
|
111
|
+
> .rioglyph {
|
|
112
|
+
font-size: @size * 0.6;
|
|
113
|
+
margin: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Make grid cols
|
|
2
|
+
.make-grid-columns() {
|
|
3
|
+
// Common styles for all sizes of grid columns, widths 1-12
|
|
4
|
+
.col(@index) { // initial
|
|
5
|
+
@item: ~".col-@{index}, .col-xs-@{index}, .col-ls-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}, .col-xl-@{index}";
|
|
6
|
+
.col((@index + 1), @item);
|
|
7
|
+
}
|
|
8
|
+
.col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
|
|
9
|
+
@item: ~".col-@{index}, .col-xs-@{index}, .col-ls-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}, .col-xl-@{index}";
|
|
10
|
+
.col((@index + 1), ~"@{list}, @{item}");
|
|
11
|
+
}
|
|
12
|
+
// .col(@index, @list) when (@index > @grid-columns) { // terminal
|
|
13
|
+
// @{list} {
|
|
14
|
+
// position: relative;
|
|
15
|
+
// // Prevent columns from collapsing when empty
|
|
16
|
+
// min-height: 1px;
|
|
17
|
+
// // Inner gutter via padding
|
|
18
|
+
// padding-left: ceil((@grid-gutter-width / 2));
|
|
19
|
+
// padding-right: floor((@grid-gutter-width / 2));
|
|
20
|
+
// }
|
|
21
|
+
// }
|
|
22
|
+
.col(1); // kickstart it
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.float-grid-columns(@class) {
|
|
26
|
+
.col(@index) { // initial
|
|
27
|
+
@item: ~".col@{class}@{index}";
|
|
28
|
+
.col((@index + 1), @item);
|
|
29
|
+
}
|
|
30
|
+
.col(@index, @list) when (@index =< @grid-columns) { // general
|
|
31
|
+
@item: ~".col@{class}@{index}";
|
|
32
|
+
.col((@index + 1), ~"@{list}, @{item}");
|
|
33
|
+
}
|
|
34
|
+
// .col(@index, @list) when (@index > @grid-columns) { // terminal
|
|
35
|
+
// @{list} {
|
|
36
|
+
// float: left;
|
|
37
|
+
// }
|
|
38
|
+
// }
|
|
39
|
+
.col(1); // kickstart it
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.calc-grid-column(@index, @class, @type) when (@type = width) and (@index > 0) {
|
|
43
|
+
.col@{class}@{index} {
|
|
44
|
+
width: percentage((@index / @grid-columns));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Basic looping in LESS
|
|
49
|
+
.loop-grid-columns(@index, @class, @type) when (@index >= 0) {
|
|
50
|
+
.calc-grid-column(@index, @class, @type);
|
|
51
|
+
// next iteration
|
|
52
|
+
.loop-grid-columns((@index - 1), @class, @type);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Create grid for specific class
|
|
56
|
+
.make-grid(@class) {
|
|
57
|
+
.float-grid-columns(@class);
|
|
58
|
+
.loop-grid-columns(@grid-columns, @class, width);
|
|
59
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
|
|
2
|
+
// Color the label and help text
|
|
3
|
+
.help-block,
|
|
4
|
+
.control-label,
|
|
5
|
+
.radio,
|
|
6
|
+
.checkbox,
|
|
7
|
+
.radio-inline,
|
|
8
|
+
.checkbox-inline,
|
|
9
|
+
&.radio label,
|
|
10
|
+
&.checkbox label,
|
|
11
|
+
&.radio-inline label,
|
|
12
|
+
&.checkbox-inline label {
|
|
13
|
+
color: @text-color;
|
|
14
|
+
}
|
|
15
|
+
// Set the border and box shadow on specific inputs to match
|
|
16
|
+
.form-control {
|
|
17
|
+
border-color: @border-color;
|
|
18
|
+
box-shadow:inset 0 1px 1px rgba(0,0,0,.075); // Redeclare so transitions work
|
|
19
|
+
&:focus {
|
|
20
|
+
border-color: darken(@border-color, 10%);
|
|
21
|
+
box-shadow: inset 0 1px 1px rgba(0,0,0,.075)~"," 0 0 6px lighten(@border-color, 20%);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
// Set validation states also for addons
|
|
25
|
+
.input-group-addon:not(.input-group-addon-label) {
|
|
26
|
+
color: @text-color;
|
|
27
|
+
border-color: @border-color;
|
|
28
|
+
background-color: @background-color;
|
|
29
|
+
}
|
|
30
|
+
// Optional feedback icon
|
|
31
|
+
.form-control-feedback {
|
|
32
|
+
color: @text-color;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.form-control-focus(@color: @input-border-focus) {
|
|
37
|
+
@color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
|
|
38
|
+
&:focus {
|
|
39
|
+
border-color: @color;
|
|
40
|
+
outline: 0;
|
|
41
|
+
box-shadow:inset 0 1px 1px rgba(0,0,0,.075)~"," 0 0 8px @color-rgba;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.input-size(@input-height; @padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
|
|
46
|
+
height: @input-height;
|
|
47
|
+
padding: @padding-vertical @padding-horizontal;
|
|
48
|
+
font-size: @font-size;
|
|
49
|
+
line-height: @line-height;
|
|
50
|
+
border-radius: @border-radius;
|
|
51
|
+
|
|
52
|
+
select& {
|
|
53
|
+
height: @input-height;
|
|
54
|
+
line-height: @input-height;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
textarea&,
|
|
58
|
+
select[multiple]& {
|
|
59
|
+
height: auto;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.panel-variant(@panel-color; @panel-border-color; @text-color) {
|
|
2
|
+
&:not(.panel-blank):not(.panel-separator) {
|
|
3
|
+
border-color: @panel-border-color;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
& > .panel-heading {
|
|
7
|
+
color: @text-color;
|
|
8
|
+
background-color: @panel-color;
|
|
9
|
+
border-color: @panel-border-color;
|
|
10
|
+
|
|
11
|
+
+ .panel-collapse > .panel-body {
|
|
12
|
+
border-top-color: @panel-border-color;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.badge {
|
|
16
|
+
color: @text-color;
|
|
17
|
+
background-color: @panel-color;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& > .panel-footer {
|
|
22
|
+
border-top: 1px solid @panel-border-color;
|
|
23
|
+
+ .panel-collapse > .panel-body {
|
|
24
|
+
border-bottom-color: @panel-border-color;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.placeholder(@color: @input-color-placeholder) {
|
|
2
|
+
// Firefox
|
|
3
|
+
&::-moz-placeholder {
|
|
4
|
+
color: @color;
|
|
5
|
+
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// Internet Explorer
|
|
9
|
+
&:-ms-input-placeholder {
|
|
10
|
+
color: @color;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Rest
|
|
14
|
+
&::-webkit-input-placeholder {
|
|
15
|
+
color: @color;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.reset-filter() {
|
|
2
|
+
filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.reset-list() {
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
list-style: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.reset-text() {
|
|
12
|
+
font-family: @font-family-base;
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-weight: normal;
|
|
15
|
+
letter-spacing: normal;
|
|
16
|
+
line-break: auto;
|
|
17
|
+
line-height: @line-height-default;
|
|
18
|
+
text-align: left;
|
|
19
|
+
text-align: start;
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
text-shadow: none;
|
|
22
|
+
text-transform: none;
|
|
23
|
+
white-space: normal;
|
|
24
|
+
word-break: normal;
|
|
25
|
+
word-spacing: normal;
|
|
26
|
+
word-wrap: normal;
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.sizing-vh(@type; @suffix; @offset: 0px) {
|
|
2
|
+
.@{type}-25vh@{suffix} {
|
|
3
|
+
@{type}: calc(~"25vh - @{offset}") !important;
|
|
4
|
+
@{type}: calc(~"var(--vh, 1vh) * 25 - @{offset}") !important;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
.@{type}-50vh@{suffix} {
|
|
8
|
+
@{type}: calc(~"50vh - @{offset}") !important;
|
|
9
|
+
@{type}: calc(~"var(--vh, 1vh) * 50 - @{offset}") !important;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
.@{type}-75vh@{suffix} {
|
|
13
|
+
@{type}: calc(~"75vh - @{offset}") !important;
|
|
14
|
+
@{type}: calc(~"var(--vh, 1vh) * 75 - @{offset}") !important;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
.@{type}-100vh@{suffix} {
|
|
18
|
+
@{type}: calc(~"100vh - @{offset}") !important;
|
|
19
|
+
@{type}: calc(~"var(--vh, 1vh) * 100 - @{offset}") !important;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.spinnerMixin(@spinnerSize, @spinnerColor) {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: (@spinnerSize * 1px);
|
|
4
|
+
height: (@spinnerSize * 1px);
|
|
5
|
+
animation: spinning 5s linear infinite;
|
|
6
|
+
|
|
7
|
+
div {
|
|
8
|
+
display: block;
|
|
9
|
+
position: absolute;
|
|
10
|
+
width: 90%;
|
|
11
|
+
height: 90%;
|
|
12
|
+
margin: 5%;
|
|
13
|
+
border: if((@spinnerSize < 25), 2.5px, ((@spinnerSize / 10) * 1px)) solid @spinnerColor;
|
|
14
|
+
border-radius: 50%;
|
|
15
|
+
animation: spinning 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
16
|
+
border-color: @spinnerColor transparent transparent transparent;
|
|
17
|
+
|
|
18
|
+
&:nth-child(1) {
|
|
19
|
+
animation-delay: -0.45s;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:nth-child(2) {
|
|
23
|
+
animation-delay: -0.3s;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:nth-child(3) {
|
|
27
|
+
animation-delay: -0.15s;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.table-row-variant(@state; @background) {
|
|
2
|
+
// Exact selectors below required to override `.table-striped` and prevent
|
|
3
|
+
// inheritance to nested tables.
|
|
4
|
+
.table > thead > tr,
|
|
5
|
+
.table > tbody > tr,
|
|
6
|
+
.table > tfoot > tr {
|
|
7
|
+
> td.@{state},
|
|
8
|
+
> th.@{state},
|
|
9
|
+
&.@{state} > td,
|
|
10
|
+
&.@{state} > th {
|
|
11
|
+
background-color: @background;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Hover states for `.table-hover`
|
|
16
|
+
// Note: this is not available for cells or rows within `thead` or `tfoot`.
|
|
17
|
+
.table-hover > tbody > tr {
|
|
18
|
+
> td.@{state}:hover,
|
|
19
|
+
> th.@{state}:hover,
|
|
20
|
+
&.@{state}:hover > td,
|
|
21
|
+
&:hover > .@{state},
|
|
22
|
+
&.@{state}:hover > th {
|
|
23
|
+
background-color: darken(@background, 5%);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
// Print utils classes - WORK IN PROGRESS
|
|
2
|
+
@media print {
|
|
3
|
+
@page { margin: 1cm }
|
|
4
|
+
|
|
5
|
+
body,
|
|
6
|
+
#root {
|
|
7
|
+
background: transparent !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Bootstrap Stuff
|
|
11
|
+
*,
|
|
12
|
+
*:before,
|
|
13
|
+
*:after {
|
|
14
|
+
box-shadow: none !important;
|
|
15
|
+
text-shadow: none !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
a,
|
|
19
|
+
a:visited {
|
|
20
|
+
text-decoration: underline !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
a[href^="#"]:after,
|
|
24
|
+
a[href^="javascript:"]:after {
|
|
25
|
+
content: "" !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
thead {
|
|
29
|
+
display: table-header-group !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
tr,
|
|
33
|
+
img {
|
|
34
|
+
page-break-inside: avoid !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
img {
|
|
38
|
+
max-width: 100% !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
p,
|
|
42
|
+
h2,
|
|
43
|
+
h3 {
|
|
44
|
+
orphans: 3 !important;
|
|
45
|
+
widows: 3 !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
h2,
|
|
49
|
+
h3 {
|
|
50
|
+
page-break-after: avoid !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// RIO Content
|
|
54
|
+
.printable-content {
|
|
55
|
+
// hide class
|
|
56
|
+
.non-printable,
|
|
57
|
+
.table-toolbar-cards-sorting,
|
|
58
|
+
.table-checkbox,
|
|
59
|
+
.table-action {
|
|
60
|
+
display: none !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ApplicationLayoutHeader,
|
|
64
|
+
.ApplicationLayoutBody,
|
|
65
|
+
.ApplicationLayoutSidebar {
|
|
66
|
+
&:not(.print-area) {
|
|
67
|
+
display: none !important;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ApplicationLayoutBody,
|
|
72
|
+
.ApplicationLayoutSidebar,
|
|
73
|
+
.ApplicationLayoutSidebar .Sidebar {
|
|
74
|
+
float: none !important;
|
|
75
|
+
//height: auto !important;
|
|
76
|
+
overflow: visible !important;
|
|
77
|
+
width: 100% !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ApplicationLayoutBody {
|
|
81
|
+
.module-content {
|
|
82
|
+
background: transparent !important;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ApplicationLayoutSidebar {
|
|
87
|
+
.SidebarContent {
|
|
88
|
+
display: block !important;
|
|
89
|
+
|
|
90
|
+
.SidebarHeader,
|
|
91
|
+
.SidebarBody {
|
|
92
|
+
display: block !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.SidebarFooter {
|
|
96
|
+
display: none !important;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// Components
|
|
102
|
+
.table {
|
|
103
|
+
display: table !important;
|
|
104
|
+
border-collapse: collapse !important;
|
|
105
|
+
|
|
106
|
+
colgroup {
|
|
107
|
+
display: none !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
tr {
|
|
111
|
+
th,
|
|
112
|
+
td {
|
|
113
|
+
background-color: @color-white !important;
|
|
114
|
+
border: 1px solid #ddd !important;
|
|
115
|
+
padding: 10px !important;
|
|
116
|
+
white-space: pre-wrap !important;
|
|
117
|
+
word-break: break-word !important;
|
|
118
|
+
|
|
119
|
+
&.sort-column {
|
|
120
|
+
> span:first-child {
|
|
121
|
+
padding-left: 0 !important;
|
|
122
|
+
}
|
|
123
|
+
.sort-arrows {
|
|
124
|
+
display: none !important;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.table-cards {
|
|
131
|
+
tbody {
|
|
132
|
+
display: block !important;
|
|
133
|
+
margin: 0 !important;
|
|
134
|
+
|
|
135
|
+
tr {
|
|
136
|
+
margin: 0 0 10px 0 !important;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.StatusBar {
|
|
143
|
+
width: 100% !important;
|
|
144
|
+
|
|
145
|
+
.display-flex,
|
|
146
|
+
.progress {
|
|
147
|
+
display: block !important;
|
|
148
|
+
flex: unset !important;
|
|
149
|
+
width: 100% !important;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.progress-bar {
|
|
153
|
+
border-top-width: 5px !important;
|
|
154
|
+
border-top-style: solid !important;
|
|
155
|
+
|
|
156
|
+
&.progress-bar-status-resting { border-top-color: @color-status-resting !important }
|
|
157
|
+
&.progress-bar-status-driving { border-top-color: @color-status-driving !important }
|
|
158
|
+
&.progress-bar-status-working { border-top-color: @color-status-working !important }
|
|
159
|
+
&.progress-bar-status-available { border-top-color: @color-status-available !important }
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|