@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,140 @@
|
|
|
1
|
+
.ZoomButtons {
|
|
2
|
+
bottom: 15px;
|
|
3
|
+
padding: 0;
|
|
4
|
+
position: absolute;
|
|
5
|
+
right: 15px;
|
|
6
|
+
z-index: 1;
|
|
7
|
+
|
|
8
|
+
.MapSettingsTile {
|
|
9
|
+
&:extend(.shadow-smooth);
|
|
10
|
+
background: @color-white;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
padding: 3px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.MapSettingsTileSpacer {
|
|
16
|
+
height: 6px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// moved ZoomButton left on small noTouch devices
|
|
20
|
+
@media (max-width: @screen-ls) {
|
|
21
|
+
right: 75px;
|
|
22
|
+
|
|
23
|
+
// hidden zoom buttons on touch devices
|
|
24
|
+
html:not(.ua-desktop) & {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// moved MapSettingsWrapper left on large noTouch devices
|
|
30
|
+
@media (min-width: @screen-ls) {
|
|
31
|
+
+.MapSettingsWrapper {
|
|
32
|
+
right: 47px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.MapSettingsWrapper {
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
position: absolute;
|
|
40
|
+
bottom: 15px;
|
|
41
|
+
right: 15px;
|
|
42
|
+
padding: 0;
|
|
43
|
+
z-index: 2;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-flow: row-reverse;
|
|
46
|
+
align-items: flex-end;
|
|
47
|
+
|
|
48
|
+
.MapSettingsTile {
|
|
49
|
+
&:extend(.shadow-smooth);
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-flow: column-reverse;
|
|
52
|
+
padding: 0;
|
|
53
|
+
pointer-events: all;
|
|
54
|
+
|
|
55
|
+
&:not(:last-child) {
|
|
56
|
+
margin-left: 10px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.MapSettingsButton {
|
|
60
|
+
background: @color-white;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
padding: 5px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.MapSettingsPanel {
|
|
66
|
+
&:extend(.shadow-smooth);
|
|
67
|
+
background: @color-white;
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
margin-bottom: 10px;
|
|
71
|
+
padding: 5px;
|
|
72
|
+
|
|
73
|
+
.MapSettingsItem {
|
|
74
|
+
background: @color-white;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@media (max-width: @screen-ls) {
|
|
81
|
+
right: 15px;
|
|
82
|
+
transform-origin: bottom right;
|
|
83
|
+
transform: rotate(90deg) translate(0, 50px);
|
|
84
|
+
z-index: 2;
|
|
85
|
+
|
|
86
|
+
// scale Mapsettings on touch devices
|
|
87
|
+
html:not(.ua-desktop) & {
|
|
88
|
+
right: 15px;
|
|
89
|
+
transform: rotate(90deg) translate(0, 40px) scale(0.8);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.MapSettingsTile {
|
|
93
|
+
transform: rotate(-180deg) translate(0, calc(~'-100% + 50px'));
|
|
94
|
+
|
|
95
|
+
.MapSettingsPanel {
|
|
96
|
+
.MapSettingsItem {
|
|
97
|
+
margin-top: 2px;
|
|
98
|
+
margin-bottom: 2px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
svg {
|
|
104
|
+
transform: rotate(90deg);
|
|
105
|
+
|
|
106
|
+
&:hover {
|
|
107
|
+
transform: rotate(90deg) !important;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// OLD
|
|
114
|
+
.MapSettings {
|
|
115
|
+
align-items: flex-end;
|
|
116
|
+
bottom: 15px;
|
|
117
|
+
display: flex;
|
|
118
|
+
flex-flow: column-reverse;
|
|
119
|
+
padding: 0;
|
|
120
|
+
position: absolute;
|
|
121
|
+
right: 47px;
|
|
122
|
+
z-index: 1;
|
|
123
|
+
|
|
124
|
+
@media (max-width: @screen-ls) {
|
|
125
|
+
right: 15px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.MapSettingsPanel {
|
|
129
|
+
&:extend(.shadow-smooth);
|
|
130
|
+
background: @color-white;
|
|
131
|
+
display: flex;
|
|
132
|
+
margin-bottom: 10px;
|
|
133
|
+
|
|
134
|
+
.MapSettingsTile,
|
|
135
|
+
.MapSettingsButton {
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
padding: 5px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
.notification-container {
|
|
2
|
+
overflow-x: hidden;
|
|
3
|
+
overflow-y: auto;
|
|
4
|
+
position: fixed;
|
|
5
|
+
z-index: 999999;
|
|
6
|
+
|
|
7
|
+
.notification {
|
|
8
|
+
&:extend(.shadow-smooth);
|
|
9
|
+
background-color: @color-white;
|
|
10
|
+
color: @color-white;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
line-height: 16px;
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
:not(.stacked) & {
|
|
17
|
+
&:nth-child(n+5) {
|
|
18
|
+
position: fixed;
|
|
19
|
+
top: auto;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:nth-child(6n) {
|
|
23
|
+
border-bottom-style: solid;
|
|
24
|
+
border-bottom-width: 3px;
|
|
25
|
+
box-shadow: none !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.stacked & {
|
|
30
|
+
position: fixed;
|
|
31
|
+
top: auto;
|
|
32
|
+
|
|
33
|
+
&:nth-child(2n) {
|
|
34
|
+
border-bottom-style: solid;
|
|
35
|
+
border-bottom-width: 3px;
|
|
36
|
+
box-shadow: none !important;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.title {
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
color: @color-white;
|
|
43
|
+
font-weight: @font-medium;
|
|
44
|
+
margin: 0 0 5px 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.notification-message {
|
|
48
|
+
font-weight: @font-normal;
|
|
49
|
+
|
|
50
|
+
&:before {
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 50%;
|
|
53
|
+
left: 15px;
|
|
54
|
+
margin-top: -14px;
|
|
55
|
+
display: block;
|
|
56
|
+
font-family: 'rioglyph';
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
text-align: center;
|
|
59
|
+
line-height: 28px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.notification-close {
|
|
63
|
+
color: @color-white;
|
|
64
|
+
padding: 4px;
|
|
65
|
+
position: absolute;
|
|
66
|
+
text-decoration: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.notification-info {
|
|
71
|
+
border-bottom-color: darken(@brand-info, 5%);
|
|
72
|
+
|
|
73
|
+
.notification-message {
|
|
74
|
+
background-color: fade(@brand-info, 80%);
|
|
75
|
+
|
|
76
|
+
&:before {
|
|
77
|
+
content: @rioglyph-info-sign;
|
|
78
|
+
font-size: 20px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.notification-success {
|
|
84
|
+
border-bottom-color: darken(@brand-success, 5%);
|
|
85
|
+
|
|
86
|
+
.notification-message {
|
|
87
|
+
background-color: fade(@brand-success, 80%);
|
|
88
|
+
|
|
89
|
+
&:before {
|
|
90
|
+
content: @rioglyph-ok;
|
|
91
|
+
font-size: 16px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.notification-warning {
|
|
97
|
+
border-bottom-color: darken(@brand-warning, 5%);
|
|
98
|
+
|
|
99
|
+
.notification-message {
|
|
100
|
+
background-color: fade(@brand-warning, 80%);
|
|
101
|
+
|
|
102
|
+
&:before {
|
|
103
|
+
content: @rioglyph-exclamation-sign;
|
|
104
|
+
font-size: 20px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.notification-error {
|
|
110
|
+
border-bottom-color: darken(@brand-danger, 5%);
|
|
111
|
+
|
|
112
|
+
.notification-message {
|
|
113
|
+
background-color: fade(@brand-danger, 80%);
|
|
114
|
+
|
|
115
|
+
&:before {
|
|
116
|
+
content: @rioglyph-error-sign;
|
|
117
|
+
font-size: 20px;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// animation
|
|
123
|
+
&.notification-enter {
|
|
124
|
+
transform: translateX(100%);
|
|
125
|
+
|
|
126
|
+
&.notification-enter-active {
|
|
127
|
+
transform: translateX(0);
|
|
128
|
+
transition: transform 0.4s;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.notification-leave {
|
|
133
|
+
transform: translateX(0);
|
|
134
|
+
|
|
135
|
+
&.notification-leave-active {
|
|
136
|
+
transform: translateX(100%);
|
|
137
|
+
transition: transform 0.4s;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@media (min-width: @screen-ls) {
|
|
143
|
+
max-height: calc(~'100vh - @{navbar-height}'); // --vh fallback
|
|
144
|
+
max-height: calc(~'var(--vh, 1vh) * 100 - @{navbar-height}');
|
|
145
|
+
padding: 0 15px;
|
|
146
|
+
right: 0;
|
|
147
|
+
top: 15px;
|
|
148
|
+
width: 320px;
|
|
149
|
+
|
|
150
|
+
.ApplicationLayout & {
|
|
151
|
+
top: 50px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.notification {
|
|
155
|
+
border-radius: @border-radius-default;
|
|
156
|
+
margin-top: 15px;
|
|
157
|
+
|
|
158
|
+
:not(.stacked) & {
|
|
159
|
+
&:nth-child(n+5) {
|
|
160
|
+
width: 290px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&:nth-child(6n) {
|
|
164
|
+
.notification-message {
|
|
165
|
+
border-radius: @border-radius-default @border-radius-default 0 0;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.stacked & {
|
|
171
|
+
width: 290px;
|
|
172
|
+
|
|
173
|
+
&:nth-child(2n) {
|
|
174
|
+
.notification-message {
|
|
175
|
+
border-radius: @border-radius-default @border-radius-default 0 0;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.notification-message {
|
|
181
|
+
border-radius: @border-radius-default;
|
|
182
|
+
padding: 15px 15px 15px 45px;
|
|
183
|
+
|
|
184
|
+
.notification-close {
|
|
185
|
+
font-size: 12px;
|
|
186
|
+
line-height: 12px;
|
|
187
|
+
right: 1px;
|
|
188
|
+
top: 1px;
|
|
189
|
+
|
|
190
|
+
&:hover {
|
|
191
|
+
transform: scale(1.1);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@media (max-width: @screen-ls) {
|
|
199
|
+
left: 0;
|
|
200
|
+
max-height: 100vh; // --vh fallback
|
|
201
|
+
max-height: calc(~'var(--vh, 1vh) * 100');
|
|
202
|
+
right: 0;
|
|
203
|
+
top: 0;
|
|
204
|
+
|
|
205
|
+
// .ApplicationLayout & {
|
|
206
|
+
// left: 50px;
|
|
207
|
+
// }
|
|
208
|
+
|
|
209
|
+
.notification {
|
|
210
|
+
margin-top: 0;
|
|
211
|
+
|
|
212
|
+
:not(.stacked) & {
|
|
213
|
+
&:nth-child(n+5) {
|
|
214
|
+
width: 100vw;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.stacked & {
|
|
219
|
+
width: 100vw;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.notification-message {
|
|
223
|
+
padding: 15px 40px 15px 45px;
|
|
224
|
+
|
|
225
|
+
.notification-close {
|
|
226
|
+
font-size: 20px;
|
|
227
|
+
line-height: 20px;
|
|
228
|
+
right: 8px;
|
|
229
|
+
top: 8px;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
@dim-radio-size-default: 14px;
|
|
2
|
+
@color-disabled-inverted: darken(@gray-darker, 20%);
|
|
3
|
+
@input-margin: 7px;
|
|
4
|
+
|
|
5
|
+
.radio {
|
|
6
|
+
color: @gray-darkest;
|
|
7
|
+
font-size: @font-size-default;
|
|
8
|
+
margin-bottom: 0;
|
|
9
|
+
margin-top: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.radio + .radio {
|
|
13
|
+
margin-top: 0; // Overwrite BS default
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.radio > label,
|
|
17
|
+
.radio label {
|
|
18
|
+
padding-left: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.radio-inline {
|
|
22
|
+
margin-bottom: 0;
|
|
23
|
+
padding-left: 0;
|
|
24
|
+
padding-right: 10px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.radio,
|
|
28
|
+
.radio-inline {
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
|
|
31
|
+
// focused state
|
|
32
|
+
&:focus {
|
|
33
|
+
outline: none;
|
|
34
|
+
|
|
35
|
+
// use tag name for being stronger than the checked style and to avoid using important
|
|
36
|
+
input[type='radio'] {
|
|
37
|
+
+ .radio-text,
|
|
38
|
+
+ .radio-text-wrapper > .radio-text {
|
|
39
|
+
&:before,
|
|
40
|
+
&:after {
|
|
41
|
+
border-color: @gray-darker;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:checked {
|
|
46
|
+
+ .radio-text {
|
|
47
|
+
&:before,
|
|
48
|
+
&:after {
|
|
49
|
+
box-shadow: inset 0px 0px 0px 1px @gray-darker;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
input[type='radio'] {
|
|
57
|
+
display: none;
|
|
58
|
+
|
|
59
|
+
+ .radio-text,
|
|
60
|
+
+ .radio-text-wrapper > .radio-text {
|
|
61
|
+
font-weight: @font-normal;
|
|
62
|
+
|
|
63
|
+
&:before,
|
|
64
|
+
&:after {
|
|
65
|
+
-webkit-font-smoothing: antialiased;
|
|
66
|
+
background-color: @color-white;
|
|
67
|
+
border-radius: 50%;
|
|
68
|
+
border: 1px solid @gray;
|
|
69
|
+
display: inline-block;
|
|
70
|
+
font-style: normal;
|
|
71
|
+
font-weight: @font-normal;
|
|
72
|
+
height: @dim-radio-size-default;
|
|
73
|
+
line-height: 1;
|
|
74
|
+
margin-right: @input-margin;
|
|
75
|
+
position: relative;
|
|
76
|
+
top: -2px;
|
|
77
|
+
vertical-align: middle;
|
|
78
|
+
width: @dim-radio-size-default;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:before {
|
|
82
|
+
content: '';
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
+ .radio-icon {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
|
|
90
|
+
&.label-vertical {
|
|
91
|
+
align-items: center;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
hyphens: auto;
|
|
94
|
+
overflow: hidden;
|
|
95
|
+
text-align: center;
|
|
96
|
+
word-break: break-word;
|
|
97
|
+
word-wrap: break-word;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&.label-horizontal {
|
|
101
|
+
.radio-label {
|
|
102
|
+
margin-left: @input-margin;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.rioglyph {
|
|
107
|
+
color: @gray;
|
|
108
|
+
display: block;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.radio-label {
|
|
112
|
+
color: @gray-darker;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Show icon on right side and disable icon on left side
|
|
117
|
+
&.icon-right + .radio-text {
|
|
118
|
+
&:before {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:after {
|
|
123
|
+
content: '';
|
|
124
|
+
margin-left: @input-margin;
|
|
125
|
+
margin-right: 0;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Define style for 'checked' state
|
|
130
|
+
&:checked {
|
|
131
|
+
+ .radio-text,
|
|
132
|
+
+ .radio-text-wrapper > .radio-text {
|
|
133
|
+
&:before,
|
|
134
|
+
&:after {
|
|
135
|
+
animation: radio-tick 100ms ease-in;
|
|
136
|
+
border-color: @brand-primary;
|
|
137
|
+
border-width: 4px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
+ .radio-icon {
|
|
142
|
+
.rioglyph {
|
|
143
|
+
animation: radio-tick 100ms ease-in;
|
|
144
|
+
color: @brand-primary;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// Define style for 'diabled' state
|
|
150
|
+
&:disabled + .radio-text {
|
|
151
|
+
//color: @gray-light;
|
|
152
|
+
opacity: 0.5;
|
|
153
|
+
cursor: not-allowed;
|
|
154
|
+
|
|
155
|
+
&:before,
|
|
156
|
+
&:after {
|
|
157
|
+
border-color: @gray-light;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@keyframes radio-tick {
|
|
164
|
+
0% {
|
|
165
|
+
transform: scale(0);
|
|
166
|
+
}
|
|
167
|
+
90% {
|
|
168
|
+
transform: scale(1.2);
|
|
169
|
+
}
|
|
170
|
+
100% {
|
|
171
|
+
transform: scale(1);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@dim-resizer-width: 6px;
|
|
2
|
+
|
|
3
|
+
.Resizer {
|
|
4
|
+
display: flex;
|
|
5
|
+
position: absolute;
|
|
6
|
+
transition: background-color 0.1s ease-in-out;
|
|
7
|
+
|
|
8
|
+
&:hover {
|
|
9
|
+
background-color: rgba(167, 175, 187, 0.2);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.resize-horizontal {
|
|
13
|
+
height: 100%;
|
|
14
|
+
width: @dim-resizer-width;
|
|
15
|
+
cursor: ew-resize;
|
|
16
|
+
|
|
17
|
+
&.resize-left {
|
|
18
|
+
left: -(@dim-resizer-width);
|
|
19
|
+
top: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.resize-right {
|
|
23
|
+
right: -(@dim-resizer-width);
|
|
24
|
+
top: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.resize-vertical {
|
|
29
|
+
height: @dim-resizer-width;
|
|
30
|
+
width: 100%;
|
|
31
|
+
cursor: ns-resize;
|
|
32
|
+
|
|
33
|
+
&.resize-top {
|
|
34
|
+
right: 0;
|
|
35
|
+
top: -(@dim-resizer-width);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.resize-bottom {
|
|
39
|
+
right: 0;
|
|
40
|
+
bottom: -(@dim-resizer-width);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|