@dative-gpi/foundation-shared-components 1.1.23 → 1.1.24-unit-formatter
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/components/FSAccordionPanel.vue +0 -2
- package/components/FSButton.vue +87 -43
- package/components/FSCard.vue +100 -208
- package/components/FSCardPlaceholder.vue +25 -29
- package/components/FSChip.vue +127 -54
- package/components/FSChipGroup.vue +23 -141
- package/components/FSClickable.vue +326 -24
- package/components/FSColor.vue +3 -3
- package/components/FSColorIcon.vue +0 -1
- package/components/FSDialogContent.vue +28 -39
- package/components/FSDialogFormBody.vue +0 -2
- package/components/FSDialogMenu.vue +1 -8
- package/components/FSDialogMultiFormBody.vue +5 -6
- package/components/FSDivider.vue +1 -5
- package/components/FSEditImageUI.vue +30 -21
- package/components/FSGridMosaic.vue +0 -2
- package/components/FSIconCard.vue +1 -3
- package/components/FSIconCheck.vue +0 -8
- package/components/FSImageCard.vue +4 -4
- package/components/FSInstantPicker.vue +0 -2
- package/components/FSLink.vue +13 -1
- package/components/FSOptionItem.vue +4 -4
- package/components/FSOptionsMenu.vue +6 -6
- package/components/FSPlayButtons.vue +9 -11
- package/components/FSProgressBar.vue +28 -142
- package/components/FSRangePicker.vue +0 -2
- package/components/FSRouterLink.vue +14 -84
- package/components/FSSlideGroup.vue +1 -5
- package/components/FSWindow.vue +0 -2
- package/components/agenda/FSAgendaHorizontalEvent.vue +4 -4
- package/components/agenda/FSAgendaVerticalEvent.vue +4 -4
- package/components/deviceOrganisations/FSStatusRichCard.vue +7 -4
- package/components/fields/FSAutocompleteField.vue +0 -1
- package/components/fields/FSEntityFieldUI.vue +0 -12
- package/components/fields/FSRichTextField.vue +0 -2
- package/components/lists/FSDataIteratorItem.vue +0 -2
- package/components/lists/FSDataTableUI.vue +0 -12
- package/components/lists/FSFilterButton.vue +23 -34
- package/components/lists/FSHeaderButton.vue +3 -6
- package/components/lists/FSTileList.vue +6 -23
- package/components/map/FSMap.vue +1 -1
- package/components/map/FSMapMarker.vue +3 -4
- package/components/selects/FSSelectMapLayer.vue +0 -5
- package/components/tiles/FSChartTileUI.vue +0 -2
- package/components/tiles/FSFolderTileUI.vue +2 -2
- package/components/tiles/FSLocationTileUI.vue +0 -2
- package/components/tiles/FSServiceAccountOrganisationTileUI.vue +0 -2
- package/components/tiles/FSTile.vue +64 -32
- package/components/tiles/FSUserOrganisationTileUI.vue +0 -2
- package/components/toggleSets/FSToggleSetPosition.vue +0 -5
- package/composables/useMapLayers.ts +0 -12
- package/models/index.ts +1 -2
- package/models/map.ts +1 -2
- package/models/tables.ts +0 -1
- package/package.json +4 -4
- package/styles/components/fs_button.scss +7 -1
- package/styles/components/fs_card.scss +4 -75
- package/styles/components/fs_chip.scss +29 -0
- package/styles/components/fs_clickable.scss +69 -0
- package/styles/components/fs_color_icon.scss +3 -0
- package/styles/components/fs_filter_button.scss +1 -6
- package/styles/components/fs_map.scss +1 -7
- package/styles/components/fs_progress_bar.scss +6 -62
- package/styles/components/index.scss +2 -1
- package/styles/globals/overrides.scss +1 -1
- package/assets/images/map/open-street-map.png +0 -0
- package/components/FSGroupingChip.vue +0 -115
- package/components/FSSnackbar.vue +0 -146
- package/components/FSSubgroupingChip.vue +0 -138
- package/components/fields/FSDurationField.vue +0 -184
- package/components/tiles/FSPlaylistTileUI.vue +0 -149
- package/components/tiles/FSSubgroupingTileUI.vue +0 -97
- package/models/variants.ts +0 -33
- package/styles/components/fs_snackbar.scss +0 -7
|
@@ -64,7 +64,6 @@ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
|
64
64
|
|
|
65
65
|
import FSImage from "../FSImage.vue";
|
|
66
66
|
import FSSpan from "../FSSpan.vue";
|
|
67
|
-
import FSIcon from "../FSIcon.vue";
|
|
68
67
|
import FSTile from "./FSTile.vue";
|
|
69
68
|
import FSCol from "../FSCol.vue";
|
|
70
69
|
import FSRow from "../FSRow.vue";
|
|
@@ -74,7 +73,6 @@ export default defineComponent({
|
|
|
74
73
|
components: {
|
|
75
74
|
FSImage,
|
|
76
75
|
FSSpan,
|
|
77
|
-
FSIcon,
|
|
78
76
|
FSTile,
|
|
79
77
|
FSCol,
|
|
80
78
|
FSRow
|
|
@@ -1,26 +1,67 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FSCol
|
|
3
3
|
class="fs-tile"
|
|
4
|
-
:style="style"
|
|
5
|
-
:width="$props.width"
|
|
6
4
|
:height="$props.height"
|
|
5
|
+
:width="$props.width"
|
|
7
6
|
>
|
|
8
|
-
<
|
|
7
|
+
<FSClickable
|
|
8
|
+
v-if="($props.href || $props.to || $attrs.onClick)"
|
|
9
|
+
variant="background"
|
|
9
10
|
class="fs-tile"
|
|
10
|
-
:variant="selectionState.variant"
|
|
11
|
-
:color="selectionState.color"
|
|
12
11
|
padding="12px"
|
|
12
|
+
:href="$props.href"
|
|
13
13
|
width="100%"
|
|
14
14
|
height="100%"
|
|
15
15
|
topRightPadding="1px"
|
|
16
16
|
:to="$props.to"
|
|
17
|
-
:
|
|
18
|
-
v-
|
|
17
|
+
:style="style"
|
|
18
|
+
v-bind="$attrs"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
<template
|
|
22
|
+
v-if="$props.selectable"
|
|
23
|
+
#top-right
|
|
24
|
+
>
|
|
25
|
+
<FSCard
|
|
26
|
+
padding="8px"
|
|
27
|
+
:border="false"
|
|
28
|
+
>
|
|
29
|
+
<FSCheckbox
|
|
30
|
+
:modelValue="$props.modelValue"
|
|
31
|
+
@update:modelValue="() => $emit('update:modelValue', !$props.modelValue)"
|
|
32
|
+
/>
|
|
33
|
+
</FSCard>
|
|
34
|
+
</template>
|
|
35
|
+
</FSClickable>
|
|
36
|
+
|
|
37
|
+
<FSClickable
|
|
38
|
+
v-else-if="$props.selectable && $props.singleSelect"
|
|
39
|
+
padding="12px"
|
|
40
|
+
:variant="variant"
|
|
41
|
+
:color="color"
|
|
42
|
+
:style="style"
|
|
43
|
+
width="100%"
|
|
44
|
+
height="100%"
|
|
45
|
+
@click="() => $emit('update:modelValue', !$props.modelValue)"
|
|
46
|
+
v-bind="$attrs"
|
|
47
|
+
>
|
|
48
|
+
<slot />
|
|
49
|
+
</FSClickable>
|
|
50
|
+
|
|
51
|
+
<FSCard
|
|
52
|
+
v-else
|
|
53
|
+
variant="background"
|
|
54
|
+
class="fs-tile"
|
|
55
|
+
padding="12px"
|
|
56
|
+
:style="style"
|
|
57
|
+
width="100%"
|
|
58
|
+
height="100%"
|
|
59
|
+
topRightPadding="1px"
|
|
19
60
|
v-bind="$attrs"
|
|
20
61
|
>
|
|
21
62
|
<slot />
|
|
22
63
|
<template
|
|
23
|
-
v-if="
|
|
64
|
+
v-if="$props.selectable"
|
|
24
65
|
#top-right
|
|
25
66
|
>
|
|
26
67
|
<FSCard
|
|
@@ -33,7 +74,8 @@
|
|
|
33
74
|
/>
|
|
34
75
|
</FSCard>
|
|
35
76
|
</template>
|
|
36
|
-
</FSCard>
|
|
77
|
+
</FSCard>
|
|
78
|
+
|
|
37
79
|
<div
|
|
38
80
|
v-if="$props.leftColor"
|
|
39
81
|
class="fs-tile-left"
|
|
@@ -54,17 +96,17 @@ import { type RouteLocation } from "vue-router";
|
|
|
54
96
|
import { useColors } from "@dative-gpi/foundation-shared-components/composables";
|
|
55
97
|
import { ColorEnum, type ColorBase } from "@dative-gpi/foundation-shared-components/models";
|
|
56
98
|
|
|
57
|
-
import
|
|
99
|
+
import FSClickable from "../FSClickable.vue";
|
|
58
100
|
import FSCheckbox from "../FSCheckbox.vue";
|
|
59
|
-
import
|
|
101
|
+
import FSCard from "../FSCard.vue";
|
|
60
102
|
|
|
61
103
|
export default defineComponent({
|
|
62
104
|
name: "FSTile",
|
|
63
105
|
inheritAttrs: false,
|
|
64
106
|
components: {
|
|
65
|
-
|
|
107
|
+
FSClickable,
|
|
66
108
|
FSCheckbox,
|
|
67
|
-
|
|
109
|
+
FSCard
|
|
68
110
|
},
|
|
69
111
|
props: {
|
|
70
112
|
to: {
|
|
@@ -119,7 +161,7 @@ export default defineComponent({
|
|
|
119
161
|
},
|
|
120
162
|
},
|
|
121
163
|
emits: ["update:modelValue"],
|
|
122
|
-
setup(props
|
|
164
|
+
setup(props) {
|
|
123
165
|
const { getGradients } = useColors();
|
|
124
166
|
|
|
125
167
|
const style = computed((): StyleValue => {
|
|
@@ -135,28 +177,18 @@ export default defineComponent({
|
|
|
135
177
|
return result;
|
|
136
178
|
});
|
|
137
179
|
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
const listeners: Record<string, (...args: any[]) => void> = {};
|
|
145
|
-
if (isSingleSelect) {
|
|
146
|
-
listeners.click = onClick;
|
|
147
|
-
}
|
|
148
|
-
return {
|
|
149
|
-
isSingleSelect,
|
|
150
|
-
showCheckbox,
|
|
151
|
-
variant,
|
|
152
|
-
color,
|
|
153
|
-
listeners
|
|
154
|
-
};
|
|
180
|
+
const variant = computed((): "standard" | "background" => {
|
|
181
|
+
return (props.singleSelect && props.modelValue) ? "standard" : "background";
|
|
182
|
+
});
|
|
183
|
+
|
|
184
|
+
const color = computed((): ColorBase => {
|
|
185
|
+
return (props.singleSelect && props.modelValue) ? props.activeColor : ColorEnum.Background;
|
|
155
186
|
});
|
|
156
187
|
|
|
157
188
|
return {
|
|
158
|
-
selectionState,
|
|
159
189
|
ColorEnum,
|
|
190
|
+
variant,
|
|
191
|
+
color,
|
|
160
192
|
style
|
|
161
193
|
};
|
|
162
194
|
}
|
|
@@ -65,7 +65,6 @@ import { ColorEnum } from "@dative-gpi/foundation-shared-components/models";
|
|
|
65
65
|
|
|
66
66
|
import FSImage from "../FSImage.vue";
|
|
67
67
|
import FSSpan from "../FSSpan.vue";
|
|
68
|
-
import FSIcon from "../FSIcon.vue";
|
|
69
68
|
import FSTile from "./FSTile.vue";
|
|
70
69
|
import FSCol from "../FSCol.vue";
|
|
71
70
|
import FSRow from "../FSRow.vue";
|
|
@@ -75,7 +74,6 @@ export default defineComponent({
|
|
|
75
74
|
components: {
|
|
76
75
|
FSImage,
|
|
77
76
|
FSSpan,
|
|
78
|
-
FSIcon,
|
|
79
77
|
FSTile,
|
|
80
78
|
FSCol,
|
|
81
79
|
FSRow
|
|
@@ -24,13 +24,8 @@ import type { PropType } from "vue";
|
|
|
24
24
|
import { useTranslations as useTranslationsProvider } from "@dative-gpi/bones-ui/composables";
|
|
25
25
|
import { Position } from "@dative-gpi/foundation-shared-domain/enums";
|
|
26
26
|
|
|
27
|
-
import FSToggleSet from "../FSToggleSet.vue";
|
|
28
|
-
|
|
29
27
|
export default defineComponent({
|
|
30
28
|
name: "FSToggleSetPosition",
|
|
31
|
-
components: {
|
|
32
|
-
FSToggleSet
|
|
33
|
-
},
|
|
34
29
|
props: {
|
|
35
30
|
modelValue: {
|
|
36
31
|
type: Number as PropType<Position>,
|
|
@@ -57,18 +57,6 @@ export const useMapLayers = () => {
|
|
|
57
57
|
className: 'fs-map-tile-base-layer'
|
|
58
58
|
})
|
|
59
59
|
]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
name: MapLayers.OpenStreetMap,
|
|
63
|
-
label: $tr("ui.map-layer.open-street-map", "OpenStreetMap"),
|
|
64
|
-
image: new URL("../assets/images/map/open-street-map.png", import.meta.url).href,
|
|
65
|
-
layers: [
|
|
66
|
-
tileLayer(`https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png`, {
|
|
67
|
-
maxZoom: 19,
|
|
68
|
-
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
|
69
|
-
className: 'fs-map-tile-base-layer'
|
|
70
|
-
})
|
|
71
|
-
]
|
|
72
60
|
}
|
|
73
61
|
];
|
|
74
62
|
} catch (err) {
|
package/models/index.ts
CHANGED
package/models/map.ts
CHANGED
package/models/tables.ts
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://github.com/Dative-GPI/foundation-shared-ui.git"
|
|
5
5
|
},
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"version": "1.1.
|
|
7
|
+
"version": "1.1.24-unit-formatter",
|
|
8
8
|
"description": "",
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@dative-gpi/foundation-shared-domain": "1.1.
|
|
17
|
-
"@dative-gpi/foundation-shared-services": "1.1.
|
|
16
|
+
"@dative-gpi/foundation-shared-domain": "1.1.24-unit-formatter",
|
|
17
|
+
"@dative-gpi/foundation-shared-services": "1.1.24-unit-formatter"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@dative-gpi/bones-ui": "^1.0.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"sass": "1.71.1",
|
|
39
39
|
"sass-loader": "13.3.2"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "ac04fd5da2ebd73bfb31ff6ffc4f5ff54a872e9e"
|
|
42
42
|
}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
.fs-button-icon {
|
|
2
|
-
text-decoration: none;
|
|
3
2
|
transition: color 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
3
|
+
color: var(--fs-button-color) !important;
|
|
4
4
|
|
|
5
5
|
&.fs-button-disabled,
|
|
6
6
|
&:has(.fs-button-load) {
|
|
7
7
|
cursor: default !important;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
& > a, a:hover, a:visited, a:active {
|
|
11
|
+
color: inherit;
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
10
15
|
@include clickscreen {
|
|
11
16
|
&:not(.fs-button-disabled, :has(.fs-button-load)):hover {
|
|
17
|
+
color: var(--fs-button-hover-color) !important;
|
|
12
18
|
cursor: pointer !important;
|
|
13
19
|
}
|
|
14
20
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
border: var(--fs-card-border-size) var(--fs-card-border-style);
|
|
3
3
|
border-radius: var(--fs-card-border-radius);
|
|
4
4
|
padding: var(--fs-card-padding);
|
|
5
|
-
height:
|
|
6
|
-
width:
|
|
5
|
+
height: var(--fs-card-height);
|
|
6
|
+
width: var(--fs-card-width);
|
|
7
|
+
max-width: var(--fs-card-max-width);
|
|
7
8
|
position: relative;
|
|
8
9
|
display: flex;
|
|
9
|
-
transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
10
10
|
|
|
11
11
|
border-color: var(--fs-card-border-color);
|
|
12
12
|
color: var(--fs-card-color);
|
|
@@ -24,81 +24,10 @@
|
|
|
24
24
|
background: var(--fs-card-background-color);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
&-load {
|
|
28
|
-
content: "";
|
|
29
|
-
|
|
30
|
-
& > *:not(.fs-card-load__spinner) {
|
|
31
|
-
opacity: 0;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-clickable {
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
|
|
38
|
-
&.fs-card-disabled {
|
|
39
|
-
cursor: default;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&:not(.fs-card-disabled):active:not(:has( .fs-stopclick:hover)) {
|
|
43
|
-
background-color: var(--fs-card-active-background-color) !important;
|
|
44
|
-
border-color: var(--fs-card-active-border-color) !important;
|
|
45
|
-
color: var(--fs-card-active-color) !important;
|
|
46
|
-
|
|
47
|
-
& .fs-card-clickable:not(.fs-card-disable-hover-style) {
|
|
48
|
-
transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
49
|
-
background-color: var(--fs-card-active-background-color);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@include clickscreen {
|
|
54
|
-
&:not(.fs-card-disabled):not(.fs-card-disable-hover-style):hover:not(:has( .fs-stopclick:hover)) {
|
|
55
|
-
background-color: var(--fs-card-hover-background-color) !important;
|
|
56
|
-
border-color: var(--fs-card-hover-border-color) !important;
|
|
57
|
-
color: var(--fs-card-hover-color) !important;
|
|
58
|
-
|
|
59
|
-
& .fs-card-clickable:not(.fs-card-disable-hover-style) {
|
|
60
|
-
transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
61
|
-
background-color: var(--fs-card-hover-background-color);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// Désactive le hover si un parent a .fs-card-load
|
|
65
|
-
.fs-card-load & {
|
|
66
|
-
pointer-events: none;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
27
|
.fs-card-top-right {
|
|
72
28
|
position: absolute;
|
|
73
29
|
line-height: normal;
|
|
74
30
|
right: var(--fs-card-top-right-padding);
|
|
75
31
|
top: var(--fs-card-top-right-padding);
|
|
76
32
|
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.fs-card-wrapper {
|
|
80
|
-
display: block;
|
|
81
|
-
position: relative;
|
|
82
|
-
padding: 0 !important;
|
|
83
|
-
height: var(--fs-card-height);
|
|
84
|
-
width: var(--fs-card-width);
|
|
85
|
-
max-width: var(--fs-card-max-width);
|
|
86
|
-
background: none;
|
|
87
|
-
border: none;
|
|
88
|
-
text-decoration: none;
|
|
89
|
-
box-sizing: border-box;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.fs-card-load__spinner {
|
|
93
|
-
cursor: default;
|
|
94
|
-
position: absolute !important;
|
|
95
|
-
height: 100% !important;
|
|
96
|
-
width: 100% !important;
|
|
97
|
-
left: 0;
|
|
98
|
-
top: 0;
|
|
99
|
-
|
|
100
|
-
& > svg {
|
|
101
|
-
height: 24px !important;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
33
|
+
}
|
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
.fs-chip-container {
|
|
2
|
+
text-decoration: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
1
5
|
.fs-chip {
|
|
2
6
|
user-select: none;
|
|
7
|
+
transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
8
|
+
background-color: var(--fs-chip-background-color) !important;
|
|
9
|
+
border: 1px solid var(--fs-chip-border-color) !important;
|
|
10
|
+
height: var(--fs-chip-height) !important;
|
|
11
|
+
color: var(--fs-chip-color) !important;
|
|
12
|
+
border-radius: 50px !important;
|
|
13
|
+
padding: 2px 20px !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fs-chip-clickable {
|
|
17
|
+
cursor: pointer !important;
|
|
18
|
+
|
|
19
|
+
&:active {
|
|
20
|
+
background-color: var(--fs-chip-active-background-color) !important;
|
|
21
|
+
border-color: var(--fs-chip-active-border-color) !important;
|
|
22
|
+
color: var(--fs-chip-active-color) !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include clickscreen {
|
|
26
|
+
&:hover {
|
|
27
|
+
background-color: var(--fs-chip-hover-background-color) !important;
|
|
28
|
+
border-color: var(--fs-chip-hover-border-color) !important;
|
|
29
|
+
color: var(--fs-chip-hover-color) !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
3
32
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
.fs-clickable {
|
|
2
|
+
border: var(--fs-clickable-border-size) var(--fs-clickable-border-style) !important;
|
|
3
|
+
border-radius: var(--fs-clickable-border-radius) !important;
|
|
4
|
+
transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
|
|
7
|
+
background-color: var(--fs-clickable-background-color) !important;
|
|
8
|
+
border-color: var(--fs-clickable-border-color) !important;
|
|
9
|
+
color: var(--fs-clickable-color) !important;
|
|
10
|
+
|
|
11
|
+
&.fs-clickable-disabled {
|
|
12
|
+
cursor: default;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:not(.fs-clickable-disabled):active:not(:has( .fs-stopclick:hover)) {
|
|
16
|
+
background-color: var(--fs-clickable-active-background-color) !important;
|
|
17
|
+
border-color: var(--fs-clickable-active-border-color) !important;
|
|
18
|
+
color: var(--fs-clickable-active-color) !important;
|
|
19
|
+
|
|
20
|
+
& .fs-card-clickable {
|
|
21
|
+
transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
22
|
+
background-color: var(--fs-clickable-active-background-color);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@include clickscreen {
|
|
27
|
+
&:not(.fs-clickable-disabled):hover:not(:has( .fs-stopclick:hover)) {
|
|
28
|
+
background-color: var(--fs-clickable-hover-background-color) !important;
|
|
29
|
+
border-color: var(--fs-clickable-hover-border-color) !important;
|
|
30
|
+
color: var(--fs-clickable-hover-color) !important;
|
|
31
|
+
|
|
32
|
+
& .fs-card-clickable {
|
|
33
|
+
transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
34
|
+
background-color: var(--fs-clickable-hover-background-color);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
a:has(.fs-clickable) {
|
|
41
|
+
position: relative !important;
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
padding: 0 !important;
|
|
44
|
+
height: var(--fs-clickable-height);
|
|
45
|
+
width: var(--fs-clickable-width);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
button:has(.fs-clickable) {
|
|
49
|
+
position: relative;
|
|
50
|
+
height: var(--fs-clickable-height);
|
|
51
|
+
width: var(--fs-clickable-width);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fs-clickable-load {
|
|
55
|
+
cursor: default;
|
|
56
|
+
position: absolute !important;
|
|
57
|
+
height: 100% !important;
|
|
58
|
+
width: 100% !important;
|
|
59
|
+
left: 0;
|
|
60
|
+
top: 0;
|
|
61
|
+
|
|
62
|
+
& > svg {
|
|
63
|
+
height: 24px !important;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
*:has(~ .fs-clickable-load) > * {
|
|
68
|
+
opacity: 0;
|
|
69
|
+
}
|
|
@@ -27,18 +27,12 @@
|
|
|
27
27
|
transition: height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.fs-map-overlay-desktop {
|
|
30
|
+
.fs-map-overlay-desktop {
|
|
31
31
|
position: absolute;
|
|
32
32
|
top: 0;
|
|
33
33
|
left: 0;
|
|
34
34
|
margin: 12px;
|
|
35
35
|
max-height: calc(100% - 24px);
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
|
|
39
|
-
.fs-card {
|
|
40
|
-
min-height: 0;
|
|
41
|
-
}
|
|
42
36
|
}
|
|
43
37
|
|
|
44
38
|
.fs-map-layer-button {
|
|
@@ -1,70 +1,14 @@
|
|
|
1
|
-
.fs-progress-bar-
|
|
1
|
+
.fs-progress-bar-gradient {
|
|
2
2
|
flex: 1;
|
|
3
|
-
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
gap: 2px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.fs-progress-bar-track {
|
|
9
|
-
position: relative;
|
|
10
|
-
background-color: var(--progress-bar-background);
|
|
3
|
+
background-color: var(--progress-bar-background-color);
|
|
11
4
|
height: 8px;
|
|
12
5
|
border-radius: 4px;
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
div {
|
|
8
|
+
transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
16
9
|
height: 100%;
|
|
17
|
-
|
|
18
|
-
width: var(--progress-bar-
|
|
19
|
-
background: linear-gradient(
|
|
20
|
-
to right,
|
|
21
|
-
var(--progress-bar-gradient-start) var(--progress-bar-gradient-start-stop),
|
|
22
|
-
var(--progress-bar-gradient-end) var(--progress-bar-gradient-end-stop)
|
|
23
|
-
);
|
|
10
|
+
background: linear-gradient(to right, var(--progress-bar-gradient-start-color) 0%, var(--progress-bar-gradient-end-color) var(--progress-bar-total-relative-width));
|
|
11
|
+
width: var(--progress-bar-gradient-width);
|
|
24
12
|
border-radius: 4px;
|
|
25
|
-
transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.fs-progress-bar-cursor {
|
|
29
|
-
position: absolute;
|
|
30
|
-
top: 50%;
|
|
31
|
-
left: var(--progress-bar-cursor-position);
|
|
32
|
-
width: 14px;
|
|
33
|
-
height: 14px;
|
|
34
|
-
border-radius: 50%;
|
|
35
|
-
background: linear-gradient(
|
|
36
|
-
to right,
|
|
37
|
-
var(--progress-bar-gradient-start),
|
|
38
|
-
var(--progress-bar-gradient-end)
|
|
39
|
-
);
|
|
40
|
-
transform: translate(-50%, -50%);
|
|
41
|
-
transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
|
42
|
-
|
|
43
|
-
.fs-progress-bar-cursor-label {
|
|
44
|
-
position: absolute;
|
|
45
|
-
top: calc(100% + 4px);
|
|
46
|
-
left: 50%;
|
|
47
|
-
transform: translateX(-50%);
|
|
48
|
-
white-space: nowrap;
|
|
49
|
-
pointer-events: none;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.fs-progress-bar-labels {
|
|
55
|
-
position: relative;
|
|
56
|
-
height: 16px;
|
|
57
|
-
|
|
58
|
-
.fs-progress-bar-label {
|
|
59
|
-
position: absolute;
|
|
60
|
-
transform: translateX(-50%);
|
|
61
|
-
|
|
62
|
-
&.fs-progress-bar-label--start {
|
|
63
|
-
transform: translateX(0);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.fs-progress-bar-label--end {
|
|
67
|
-
transform: translateX(-100%);
|
|
68
|
-
}
|
|
69
13
|
}
|
|
70
14
|
}
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
@import "fs_card.scss";
|
|
13
13
|
@import "fs_checkbox.scss";
|
|
14
14
|
@import "fs_chip.scss";
|
|
15
|
+
@import "fs_clickable.scss";
|
|
15
16
|
@import "fs_clock.scss";
|
|
16
17
|
@import "fs_col.scss";
|
|
17
18
|
@import "fs_color_field.scss";
|
|
18
19
|
@import "fs_color.scss";
|
|
20
|
+
@import "fs_color_icon.scss";
|
|
19
21
|
@import "fs_data_table.scss";
|
|
20
22
|
@import "fs_dialog_menu.scss";
|
|
21
23
|
@import "fs_dialog.scss";
|
|
@@ -51,7 +53,6 @@
|
|
|
51
53
|
@import "fs_select_field.scss";
|
|
52
54
|
@import "fs_slide_group.scss";
|
|
53
55
|
@import "fs_slider.scss";
|
|
54
|
-
@import "fs_snackbar.scss";
|
|
55
56
|
@import "fs_span.scss";
|
|
56
57
|
@import "fs_status_rich_card.scss";
|
|
57
58
|
@import "fs_switch.scss";
|
|
Binary file
|