@saooti/octopus-sdk 30.0.7 → 30.0.11
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 +5 -1
- package/index.ts +13 -2
- package/package.json +1 -1
- package/src/assets/bootstrap-diff.scss +17 -25
- package/src/assets/form.scss +7 -37
- package/src/assets/general.scss +62 -171
- package/src/assets/live.scss +39 -0
- package/src/assets/modal.scss +14 -18
- package/src/assets/multiselect.scss +4 -85
- package/src/assets/octopus-library.scss +1 -0
- package/src/assets/share.scss +149 -267
- package/src/assets/transition.scss +95 -1
- package/src/components/display/categories/CategoryChooser.vue +1 -1
- package/src/components/display/categories/CategoryList.vue +2 -4
- package/src/components/display/comments/CommentInput.vue +2 -2
- package/src/components/display/comments/CommentItem.vue +6 -6
- package/src/components/display/comments/CommentParentInfo.vue +1 -1
- package/src/components/display/comments/CommentPlayer.vue +1 -1
- package/src/components/display/edit/EditCommentBox.vue +8 -16
- package/src/components/display/emission/EmissionChooser.vue +1 -3
- package/src/components/display/emission/EmissionInlineList.vue +12 -3
- package/src/components/display/emission/EmissionItem.vue +22 -64
- package/src/components/display/emission/EmissionList.vue +59 -68
- package/src/components/display/emission/EmissionPlayerItem.vue +10 -9
- package/src/components/display/filter/AdvancedSearch.vue +50 -146
- package/src/components/display/filter/CategoryFilter.vue +9 -13
- package/src/components/display/filter/MonetizableFilter.vue +2 -4
- package/src/components/display/filter/ProductorSearch.vue +20 -40
- package/src/components/display/filter/RubriqueChoice.vue +5 -7
- package/src/components/display/filter/RubriqueFilter.vue +8 -13
- package/src/components/display/live/CountDown.vue +4 -2
- package/src/components/display/live/LiveHorizontalList.vue +1 -1
- package/src/components/display/live/LiveItem.vue +4 -4
- package/src/components/display/live/LiveList.vue +84 -214
- package/src/components/display/organisation/OrganisationChooser.vue +5 -26
- package/src/components/display/organisation/OrganisationChooserLight.vue +7 -1
- package/src/components/display/participant/ParticipantItem.vue +7 -19
- package/src/components/display/participant/ParticipantList.vue +39 -52
- package/src/components/display/playlist/PlaylistItem.vue +2 -2
- package/src/components/display/playlist/PlaylistList.vue +8 -14
- package/src/components/display/playlist/PodcastList.vue +21 -40
- package/src/components/display/podcasts/AnimatorsItem.vue +0 -1
- package/src/components/display/podcasts/ParticipantDescription.vue +4 -16
- package/src/components/display/podcasts/PodcastFilterList.vue +20 -63
- package/src/components/display/podcasts/PodcastImage.vue +27 -84
- package/src/components/display/podcasts/PodcastInlineList.vue +14 -36
- package/src/components/display/podcasts/PodcastItem.vue +5 -5
- package/src/components/display/podcasts/PodcastList.vue +7 -14
- package/src/components/display/podcasts/PodcastModuleBox.vue +9 -28
- package/src/components/display/podcasts/TagList.vue +2 -3
- package/src/components/display/rubriques/RubriqueChooser.vue +2 -2
- package/src/components/display/rubriques/RubriqueList.vue +5 -25
- package/src/components/display/sharing/PlayerParameters.vue +30 -71
- package/src/components/display/sharing/ShareButtons.vue +21 -45
- package/src/components/display/sharing/ShareDistribution.vue +1 -7
- package/src/components/display/sharing/SharePlayer.vue +10 -19
- package/src/components/display/sharing/SharePlayerColors.vue +4 -8
- package/src/components/display/sharing/SharePlayerTypes.vue +1 -2
- package/src/components/display/sharing/SubscribeButtons.vue +2 -4
- package/src/components/form/ClassicCheckbox.vue +61 -0
- package/src/components/form/ClassicLoading.vue +28 -0
- package/src/components/form/ClassicRadio.vue +61 -0
- package/src/components/form/ClassicSearch.vue +82 -0
- package/src/components/misc/ErrorMessage.vue +4 -1
- package/src/components/misc/Footer.vue +26 -35
- package/src/components/misc/HomeDropdown.vue +42 -91
- package/src/components/misc/LeftMenu.vue +107 -141
- package/src/components/misc/Player.vue +15 -29
- package/src/components/misc/PlayerButtons.vue +14 -37
- package/src/components/misc/PlayerClockAndTimeline.vue +1 -1
- package/src/components/misc/PlayerProgressBar.vue +15 -50
- package/src/components/misc/TopBar.vue +139 -222
- package/src/components/misc/modal/NewsletterModal.vue +13 -27
- package/src/components/pages/Category.vue +3 -8
- package/src/components/pages/Emission.vue +12 -24
- package/src/components/pages/Emissions.vue +8 -17
- package/src/components/pages/Home.vue +1 -3
- package/src/components/pages/Lives.vue +1 -4
- package/src/components/pages/Participant.vue +19 -27
- package/src/components/pages/Participants.vue +7 -15
- package/src/components/pages/Playlist.vue +16 -29
- package/src/components/pages/Playlists.vue +1 -11
- package/src/components/pages/Podcast.vue +16 -30
- package/src/components/pages/Podcasts.vue +9 -23
- package/src/components/pages/Search.vue +26 -64
- package/src/sass/_variables.scss +0 -1
- package/src/store/class/general/media.ts +1 -1
|
@@ -6,26 +6,19 @@
|
|
|
6
6
|
<img
|
|
7
7
|
:src="podcastImage"
|
|
8
8
|
:alt="$t('Podcast image')"
|
|
9
|
-
class="player-image
|
|
9
|
+
class="player-image"
|
|
10
10
|
>
|
|
11
11
|
</router-link>
|
|
12
12
|
<div
|
|
13
13
|
v-if="!playerError"
|
|
14
|
-
class="play-button-box"
|
|
15
|
-
:class="{
|
|
16
|
-
'primary-bg': !isLoading,
|
|
17
|
-
'text-light': !isLoading,
|
|
18
|
-
}"
|
|
14
|
+
class="play-button-box text-light primary-bg"
|
|
19
15
|
@click="switchPausePlay"
|
|
20
16
|
>
|
|
21
17
|
<div
|
|
22
|
-
class="text-light"
|
|
23
18
|
:aria-label="$t('Play')"
|
|
24
19
|
:class="{
|
|
25
|
-
saooti: isPlaying || isPaused,
|
|
26
20
|
'saooti-play2-bounty': isPaused,
|
|
27
21
|
'saooti-pause-bounty': isPlaying,
|
|
28
|
-
loading: isLoading,
|
|
29
22
|
}"
|
|
30
23
|
/>
|
|
31
24
|
</div>
|
|
@@ -35,7 +28,7 @@
|
|
|
35
28
|
@click="stopPlayer"
|
|
36
29
|
>
|
|
37
30
|
<div
|
|
38
|
-
class="
|
|
31
|
+
class="saooti-stop-bounty"
|
|
39
32
|
:aria-label="$t('Stop')"
|
|
40
33
|
/>
|
|
41
34
|
</div>
|
|
@@ -54,11 +47,6 @@ export default defineComponent({
|
|
|
54
47
|
playerError: { default: false, type: Boolean},
|
|
55
48
|
},
|
|
56
49
|
|
|
57
|
-
data() {
|
|
58
|
-
return {
|
|
59
|
-
};
|
|
60
|
-
},
|
|
61
|
-
|
|
62
50
|
computed: {
|
|
63
51
|
isPlaying(): boolean {
|
|
64
52
|
return 'PLAYING' === this.$store.state.player.status;
|
|
@@ -66,9 +54,6 @@ export default defineComponent({
|
|
|
66
54
|
isPaused(): boolean {
|
|
67
55
|
return 'PAUSED' === this.$store.state.player.status;
|
|
68
56
|
},
|
|
69
|
-
isLoading(): boolean {
|
|
70
|
-
return 'LOADING' === this.$store.state.player.status;
|
|
71
|
-
},
|
|
72
57
|
isImage(): boolean {
|
|
73
58
|
return (state.player.image as boolean);
|
|
74
59
|
},
|
|
@@ -131,7 +116,6 @@ export default defineComponent({
|
|
|
131
116
|
stopPlayer(): void {
|
|
132
117
|
this.$store.commit('playerPlayPodcast');
|
|
133
118
|
},
|
|
134
|
-
|
|
135
119
|
onPlay(): void {
|
|
136
120
|
this.$store.commit('playerPause', false);
|
|
137
121
|
},
|
|
@@ -143,6 +127,17 @@ export default defineComponent({
|
|
|
143
127
|
</script>
|
|
144
128
|
|
|
145
129
|
<style lang="scss">
|
|
130
|
+
.player-image {
|
|
131
|
+
border-radius: 0.2rem;
|
|
132
|
+
height: 2.4rem;
|
|
133
|
+
width: 2.4rem;
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
/** PHONES*/
|
|
136
|
+
@media (max-width: 450px) {
|
|
137
|
+
height: 1.8rem;
|
|
138
|
+
width: 1.8rem;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
146
141
|
.play-button-box {
|
|
147
142
|
height: 2.5rem;
|
|
148
143
|
width: 2.5rem;
|
|
@@ -156,22 +151,4 @@ export default defineComponent({
|
|
|
156
151
|
cursor: pointer;
|
|
157
152
|
}
|
|
158
153
|
|
|
159
|
-
.player-container {
|
|
160
|
-
.player-image {
|
|
161
|
-
border-radius: 0.2rem;
|
|
162
|
-
height: 2.4rem;
|
|
163
|
-
width: 2.4rem;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
/** PHONES*/
|
|
168
|
-
@media (max-width: 450px) {
|
|
169
|
-
.player-container {
|
|
170
|
-
.player-image {
|
|
171
|
-
height: 2rem;
|
|
172
|
-
width: 2rem;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
154
|
</style>
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="text-light player-grow-content">
|
|
3
|
-
<div class="d-flex">
|
|
3
|
+
<div class="d-flex mb-1">
|
|
4
4
|
<div
|
|
5
5
|
v-if="playerError"
|
|
6
|
-
class="text-warning
|
|
6
|
+
class="text-warning mx-2"
|
|
7
7
|
>
|
|
8
8
|
{{ $t('Podcast play error') + ' - ' }}
|
|
9
9
|
</div>
|
|
10
|
-
<div class="flex-grow
|
|
10
|
+
<div class="flex-grow-1 text-truncate">
|
|
11
11
|
{{ podcastTitle }}
|
|
12
12
|
</div>
|
|
13
13
|
<div
|
|
14
|
-
v-if="!playerError"
|
|
15
|
-
v-show="!isBarTop"
|
|
14
|
+
v-if="!playerError && !isBarTop"
|
|
16
15
|
class="hide-phone"
|
|
17
16
|
>
|
|
18
17
|
{{ playedTime }} / {{ totalTime }}
|
|
@@ -21,12 +20,11 @@
|
|
|
21
20
|
<div
|
|
22
21
|
v-if="!playerError"
|
|
23
22
|
v-show="!isBarTop"
|
|
24
|
-
class="progress c-hand
|
|
25
|
-
style="height: 3px;"
|
|
23
|
+
class="progress c-hand"
|
|
26
24
|
@mouseup="seekTo"
|
|
27
25
|
>
|
|
28
26
|
<div
|
|
29
|
-
class="progress-bar
|
|
27
|
+
class="progress-bar bg-light"
|
|
30
28
|
role="progressbar"
|
|
31
29
|
aria-valuenow="0"
|
|
32
30
|
aria-valuemin="0"
|
|
@@ -79,12 +77,7 @@ export default defineComponent({
|
|
|
79
77
|
notListenTime: { default: 0, type: Number},
|
|
80
78
|
},
|
|
81
79
|
emits: ['update:notListenTime'],
|
|
82
|
-
|
|
83
|
-
data() {
|
|
84
|
-
return {
|
|
85
|
-
};
|
|
86
|
-
},
|
|
87
|
-
|
|
80
|
+
|
|
88
81
|
computed: {
|
|
89
82
|
isEmissionName(): boolean {
|
|
90
83
|
return (state.player.emissionName as boolean);
|
|
@@ -153,10 +146,15 @@ export default defineComponent({
|
|
|
153
146
|
</script>
|
|
154
147
|
|
|
155
148
|
<style lang="scss">
|
|
156
|
-
.player-
|
|
149
|
+
.player-grow-content {
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
flex-grow: 1;
|
|
153
|
+
flex-shrink: 1;
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
font-size: 0.8rem;
|
|
157
156
|
.progress {
|
|
158
|
-
|
|
159
|
-
height: 10px;
|
|
157
|
+
height: 4px;
|
|
160
158
|
position: relative;
|
|
161
159
|
}
|
|
162
160
|
.progress-bar-duration {
|
|
@@ -166,38 +164,5 @@ export default defineComponent({
|
|
|
166
164
|
height: 4px;
|
|
167
165
|
position: absolute;
|
|
168
166
|
}
|
|
169
|
-
|
|
170
|
-
.progress.custom-bg-darkgrey {
|
|
171
|
-
background: #555;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.progress-bar.custom-bg-grey {
|
|
175
|
-
background: #e9ecef;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.player-title,
|
|
179
|
-
.hide-phone {
|
|
180
|
-
font-size: 0.8rem;
|
|
181
|
-
margin: 0 0 5px 0;
|
|
182
|
-
}
|
|
183
|
-
.player-grow-content {
|
|
184
|
-
display: flex;
|
|
185
|
-
flex-grow: 1;
|
|
186
|
-
flex-direction: column;
|
|
187
|
-
flex-shrink: 1;
|
|
188
|
-
flex-basis: 20px;
|
|
189
|
-
overflow: hidden;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
/** PHONES*/
|
|
193
|
-
@media (max-width: 960px) {
|
|
194
|
-
.player-container {
|
|
195
|
-
.player-title {
|
|
196
|
-
font-size: 12px;
|
|
197
|
-
overflow: hidden;
|
|
198
|
-
white-space: nowrap;
|
|
199
|
-
text-overflow: ellipsis;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
167
|
}
|
|
203
168
|
</style>
|
|
@@ -1,137 +1,120 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
|
|
4
|
-
class="top-bar-container position-sticky"
|
|
3
|
+
class="top-bar-container"
|
|
5
4
|
:class="{ 'shadow-element': scrolled }"
|
|
6
5
|
>
|
|
7
|
-
<div
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
<div
|
|
7
|
+
class="saooti-burger-menu"
|
|
8
|
+
:aria-label="$t('open left Menu')"
|
|
9
|
+
@click="onDisplayMenu(false)"
|
|
10
|
+
/>
|
|
11
|
+
<router-link
|
|
12
|
+
class="top-bar-logo"
|
|
13
|
+
:to="{
|
|
14
|
+
name: 'home',
|
|
15
|
+
query: { productor: $store.state.filter.organisationId,
|
|
16
|
+
iabId: $store.state.filter.iab ? $store.state.filter.iab.id : undefined,
|
|
17
|
+
rubriquesId: rubriqueQueryParam},
|
|
18
|
+
}"
|
|
19
|
+
@click="onDisplayMenu(true)"
|
|
20
|
+
>
|
|
21
|
+
<img
|
|
22
|
+
:src="!filterOrga || '' === imgUrl ? logoUrl : imgUrl"
|
|
23
|
+
:alt="$t('Logo of main page')"
|
|
24
|
+
:class="isEducation ? 'educationLogo' : ''"
|
|
12
25
|
>
|
|
13
|
-
|
|
14
|
-
|
|
26
|
+
</router-link>
|
|
27
|
+
<OrganisationChooserLight
|
|
28
|
+
v-if="!isPodcastmaker"
|
|
29
|
+
page="topBar"
|
|
30
|
+
width="auto"
|
|
31
|
+
:defaultanswer="$t('No organisation filter')"
|
|
32
|
+
:value="organisationId"
|
|
33
|
+
class="me-2"
|
|
34
|
+
:reset="reset"
|
|
35
|
+
@selected="onOrganisationSelected"
|
|
36
|
+
/>
|
|
37
|
+
<div class="d-flex justify-content-center flex-grow-1">
|
|
15
38
|
<router-link
|
|
39
|
+
v-if="
|
|
40
|
+
isLiveTab &&
|
|
41
|
+
((filterOrga && filterOrgaLive) || !filterOrga)
|
|
42
|
+
"
|
|
16
43
|
:to="{
|
|
17
|
-
name: '
|
|
44
|
+
name: 'lives',
|
|
45
|
+
query: { productor: $store.state.filter.organisationId },
|
|
46
|
+
}"
|
|
47
|
+
class="link-hover p-3 fw-bold"
|
|
48
|
+
>
|
|
49
|
+
{{ $t('Live') }}
|
|
50
|
+
</router-link>
|
|
51
|
+
<router-link
|
|
52
|
+
:to="{
|
|
53
|
+
name: 'podcasts',
|
|
18
54
|
query: { productor: $store.state.filter.organisationId,
|
|
19
55
|
iabId: $store.state.filter.iab ? $store.state.filter.iab.id : undefined,
|
|
20
56
|
rubriquesId: rubriqueQueryParam},
|
|
21
57
|
}"
|
|
58
|
+
class="link-hover p-3 fw-bold"
|
|
22
59
|
>
|
|
23
|
-
|
|
24
|
-
class="top-bar-logo m-3"
|
|
25
|
-
@click="onDisplayMenu(true)"
|
|
26
|
-
>
|
|
27
|
-
<img
|
|
28
|
-
v-if="!filterOrga || '' === imgUrl"
|
|
29
|
-
:src="logoUrl"
|
|
30
|
-
:alt="$t('Logo of main page')"
|
|
31
|
-
:class="isEducation ? 'educationLogo' : ''"
|
|
32
|
-
>
|
|
33
|
-
<img
|
|
34
|
-
v-else
|
|
35
|
-
:src="imgUrl"
|
|
36
|
-
:alt="$t('Logo of main page')"
|
|
37
|
-
>
|
|
38
|
-
</div>
|
|
60
|
+
{{ $t('Podcasts') }}
|
|
39
61
|
</router-link>
|
|
40
|
-
<
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class="
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
{
|
|
64
|
-
|
|
62
|
+
<router-link
|
|
63
|
+
:to="{
|
|
64
|
+
name: 'emissions',
|
|
65
|
+
query: { productor: $store.state.filter.organisationId,
|
|
66
|
+
iabId: $store.state.filter.iab ? $store.state.filter.iab.id : undefined,
|
|
67
|
+
rubriquesId: rubriqueQueryParam },
|
|
68
|
+
}"
|
|
69
|
+
class="link-hover p-3 fw-bold"
|
|
70
|
+
>
|
|
71
|
+
{{ $t('Emissions') }}
|
|
72
|
+
</router-link>
|
|
73
|
+
<router-link
|
|
74
|
+
:to="{
|
|
75
|
+
name: 'participants',
|
|
76
|
+
query: { productor: $store.state.filter.organisationId },
|
|
77
|
+
}"
|
|
78
|
+
class="link-hover p-3 fw-bold"
|
|
79
|
+
>
|
|
80
|
+
{{ $t('Speakers') }}
|
|
81
|
+
</router-link>
|
|
82
|
+
<router-link
|
|
83
|
+
:to="{
|
|
84
|
+
name: 'playlists',
|
|
85
|
+
query: { productor: $store.state.filter.organisationId },
|
|
86
|
+
}"
|
|
87
|
+
class="link-hover p-3 fw-bold"
|
|
88
|
+
>
|
|
89
|
+
{{ $t('Playlists') }}
|
|
90
|
+
</router-link>
|
|
91
|
+
<router-link
|
|
92
|
+
v-if="!isPodcastmaker && (!filterOrga || isEducation)"
|
|
93
|
+
:to="{
|
|
94
|
+
name: 'productors',
|
|
95
|
+
query: { productor: $store.state.filter.organisationId },
|
|
96
|
+
}"
|
|
97
|
+
class="link-hover p-3 fw-bold"
|
|
98
|
+
>
|
|
99
|
+
{{ $t('Productors') }}
|
|
100
|
+
</router-link>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="d-flex flex-column">
|
|
103
|
+
<div class="hosted-by">
|
|
104
|
+
<span>{{ $t('Hosted by') }}</span><span class="ms-1 me-1 primary-color">Saooti</span>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="d-flex justify-content-end flex-nowrap">
|
|
107
|
+
<HomeDropdown :is-education="isEducation" />
|
|
65
108
|
<router-link
|
|
109
|
+
:aria-label="$t('Search')"
|
|
66
110
|
:to="{
|
|
67
111
|
name: 'podcasts',
|
|
68
|
-
query: { productor: $store.state.filter.organisationId,
|
|
69
|
-
iabId: $store.state.filter.iab ? $store.state.filter.iab.id : undefined,
|
|
70
|
-
rubriquesId: rubriqueQueryParam},
|
|
71
|
-
}"
|
|
72
|
-
class="linkHover p-3 text-dark fw-bold"
|
|
73
|
-
>
|
|
74
|
-
{{ $t('Podcasts') }}
|
|
75
|
-
</router-link>
|
|
76
|
-
<router-link
|
|
77
|
-
:to="{
|
|
78
|
-
name: 'emissions',
|
|
79
|
-
query: { productor: $store.state.filter.organisationId,
|
|
80
|
-
iabId: $store.state.filter.iab ? $store.state.filter.iab.id : undefined,
|
|
81
|
-
rubriquesId: rubriqueQueryParam },
|
|
82
|
-
}"
|
|
83
|
-
class="linkHover p-3 text-dark fw-bold"
|
|
84
|
-
>
|
|
85
|
-
{{ $t('Emissions') }}
|
|
86
|
-
</router-link>
|
|
87
|
-
<router-link
|
|
88
|
-
:to="{
|
|
89
|
-
name: 'participants',
|
|
90
|
-
query: { productor: $store.state.filter.organisationId },
|
|
91
|
-
}"
|
|
92
|
-
class="linkHover p-3 text-dark fw-bold"
|
|
93
|
-
>
|
|
94
|
-
{{ $t('Speakers') }}
|
|
95
|
-
</router-link>
|
|
96
|
-
<router-link
|
|
97
|
-
:to="{
|
|
98
|
-
name: 'playlists',
|
|
99
112
|
query: { productor: $store.state.filter.organisationId },
|
|
100
113
|
}"
|
|
101
|
-
class="linkHover p-3 text-dark fw-bold"
|
|
102
114
|
>
|
|
103
|
-
|
|
104
|
-
</router-link>
|
|
105
|
-
<router-link
|
|
106
|
-
v-if="!isPodcastmaker && (!filterOrga || isEducation)"
|
|
107
|
-
:to="{
|
|
108
|
-
name: 'productors',
|
|
109
|
-
query: { productor: $store.state.filter.organisationId },
|
|
110
|
-
}"
|
|
111
|
-
class="linkHover p-3 text-dark fw-bold"
|
|
112
|
-
>
|
|
113
|
-
{{ $t('Productors') }}
|
|
115
|
+
<div class="btn admin-button m-1 saooti-search" />
|
|
114
116
|
</router-link>
|
|
115
117
|
</div>
|
|
116
|
-
<div class="d-flex flex-column">
|
|
117
|
-
<div class="d-flex justify-content-end hostedBy hide-phone">
|
|
118
|
-
<span>{{ $t('Hosted by') }}</span><span class="ms-1 me-1 primary-color">Saooti</span>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="d-flex align-items-center justify-content-end flex-no-wrap">
|
|
121
|
-
<HomeDropdown :is-education="isEducation" />
|
|
122
|
-
<router-link
|
|
123
|
-
:aria-label="$t('Search')"
|
|
124
|
-
:to="{
|
|
125
|
-
name: 'podcasts',
|
|
126
|
-
query: { productor: $store.state.filter.organisationId },
|
|
127
|
-
}"
|
|
128
|
-
>
|
|
129
|
-
<div class="btn admin-button m-1">
|
|
130
|
-
<i class="saooti-search text-dark" />
|
|
131
|
-
</div>
|
|
132
|
-
</router-link>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
118
|
</div>
|
|
136
119
|
</div>
|
|
137
120
|
</template>
|
|
@@ -166,11 +149,9 @@ export default defineComponent({
|
|
|
166
149
|
minScroll: 0 as number,
|
|
167
150
|
organisationId: undefined as string | undefined,
|
|
168
151
|
reset: false as boolean,
|
|
169
|
-
init: false as boolean,
|
|
170
152
|
dummyParam: new Date().getTime().toString() as string,
|
|
171
153
|
};
|
|
172
154
|
},
|
|
173
|
-
|
|
174
155
|
|
|
175
156
|
computed: {
|
|
176
157
|
rubriqueQueryParam(): string|undefined{
|
|
@@ -218,7 +199,6 @@ export default defineComponent({
|
|
|
218
199
|
if (this.filterOrga) {
|
|
219
200
|
this.organisationId = this.filterOrga;
|
|
220
201
|
}
|
|
221
|
-
this.init = true;
|
|
222
202
|
window.addEventListener('scroll', this.handleScroll);
|
|
223
203
|
},
|
|
224
204
|
|
|
@@ -278,139 +258,76 @@ export default defineComponent({
|
|
|
278
258
|
|
|
279
259
|
<style lang="scss">
|
|
280
260
|
.top-bar-container {
|
|
261
|
+
position: sticky;
|
|
281
262
|
top: 0;
|
|
282
263
|
background: #fff;
|
|
283
264
|
width: 100%;
|
|
265
|
+
height: 5rem;
|
|
284
266
|
z-index: 10;
|
|
285
|
-
padding: 0
|
|
286
|
-
|
|
267
|
+
padding: 0 1rem;
|
|
268
|
+
display: flex;
|
|
269
|
+
justify-content: space-between;
|
|
270
|
+
align-items: center;
|
|
271
|
+
transition: height 1s;
|
|
287
272
|
@media (max-width: 450px) {
|
|
288
273
|
padding: 0 0.5rem;
|
|
289
274
|
}
|
|
290
275
|
|
|
291
|
-
.
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
height: 5rem;
|
|
298
|
-
position: relative;
|
|
299
|
-
|
|
300
|
-
.top-bar-logo {
|
|
301
|
-
margin: 1rem 2rem 1rem 1rem !important;
|
|
302
|
-
img {
|
|
303
|
-
max-width: 160px !important;
|
|
304
|
-
max-height: 80px;
|
|
305
|
-
height: 80px;
|
|
306
|
-
border-radius: 0.8rem;
|
|
307
|
-
&.educationLogo {
|
|
308
|
-
height: auto;
|
|
309
|
-
border-radius: 0;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
.multiselect__tags {
|
|
314
|
-
padding: 6px 40px 0 10px;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.hamburger-menu {
|
|
318
|
-
display: none;
|
|
319
|
-
margin: 0 1rem;
|
|
320
|
-
@media (max-width: 600px) {
|
|
321
|
-
margin: 0;
|
|
322
|
-
}
|
|
323
|
-
.saooti-burger-menu {
|
|
324
|
-
font-size: 2.2em;
|
|
325
|
-
font-weight: bold;
|
|
326
|
-
margin-bottom: 0;
|
|
327
|
-
}
|
|
328
|
-
cursor: pointer;
|
|
329
|
-
}
|
|
276
|
+
.saooti-burger-menu {
|
|
277
|
+
display: none;
|
|
278
|
+
cursor: pointer;
|
|
279
|
+
font-size: 2rem;
|
|
280
|
+
font-weight: bold;
|
|
281
|
+
margin: 0.5rem;
|
|
330
282
|
}
|
|
331
283
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
height:
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
display: block;
|
|
341
|
-
.saooti-burger-menu {
|
|
342
|
-
font-size: 2.2em;
|
|
343
|
-
font-weight: bold;
|
|
344
|
-
margin: 0;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
.top-bar-logo {
|
|
348
|
-
flex-grow: 1;
|
|
349
|
-
text-align: center;
|
|
350
|
-
align-items: center;
|
|
351
|
-
display: flex;
|
|
352
|
-
img {
|
|
353
|
-
height: 2.5rem;
|
|
354
|
-
width: auto;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
.hostedBy {
|
|
358
|
-
display: none !important;
|
|
284
|
+
.top-bar-logo {
|
|
285
|
+
margin: 1rem 2rem 1rem 1rem;
|
|
286
|
+
img {
|
|
287
|
+
max-width: 160px !important;
|
|
288
|
+
max-height: 2.5rem;
|
|
289
|
+
height: 2.5rem;
|
|
290
|
+
&.educationLogo {
|
|
291
|
+
height: auto;
|
|
359
292
|
}
|
|
360
293
|
}
|
|
361
294
|
}
|
|
362
|
-
.
|
|
295
|
+
.hosted-by {
|
|
363
296
|
font-size: 0.6rem;
|
|
364
297
|
position: absolute;
|
|
365
298
|
top: 5px;
|
|
366
299
|
right: 0;
|
|
367
300
|
}
|
|
368
|
-
|
|
301
|
+
.multiselect__tags {
|
|
302
|
+
padding: 6px 40px 0 10px;
|
|
303
|
+
}
|
|
304
|
+
&.shadow-element {
|
|
305
|
+
height: 3.5rem;
|
|
306
|
+
.link-hover,.hosted-by {
|
|
307
|
+
display: none;
|
|
308
|
+
}
|
|
309
|
+
.saooti-burger-menu {
|
|
310
|
+
display: block;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
369
313
|
/** PHONES*/
|
|
370
314
|
@media (max-width: 1200px) {
|
|
371
|
-
.
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
.hostedBy {
|
|
375
|
-
display: none !important;
|
|
315
|
+
height: 3.5rem;
|
|
316
|
+
.default-multiselect-width, .hosted-by, .link-hover {
|
|
317
|
+
display: none;
|
|
376
318
|
}
|
|
377
|
-
.
|
|
378
|
-
|
|
379
|
-
height: 3.5rem;
|
|
380
|
-
.linkHover {
|
|
381
|
-
display: none;
|
|
382
|
-
}
|
|
383
|
-
.hamburger-menu {
|
|
384
|
-
flex-grow: 1;
|
|
385
|
-
display: block;
|
|
386
|
-
}
|
|
387
|
-
.top-bar-logo {
|
|
388
|
-
flex-grow: 1;
|
|
389
|
-
text-align: center;
|
|
390
|
-
display: flex;
|
|
391
|
-
width: 100px;
|
|
392
|
-
img {
|
|
393
|
-
max-width: 100px !important;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
319
|
+
.saooti-burger-menu {
|
|
320
|
+
display: block;
|
|
396
321
|
}
|
|
397
322
|
}
|
|
398
323
|
@media (max-width: 650px) {
|
|
399
|
-
.top-bar {
|
|
400
|
-
|
|
401
|
-
img {
|
|
402
|
-
height: 2rem;
|
|
403
|
-
}
|
|
404
|
-
}
|
|
324
|
+
.top-bar-logo img{
|
|
325
|
+
height: 2rem;
|
|
405
326
|
}
|
|
406
327
|
}
|
|
407
328
|
@media (max-width: 290px) {
|
|
408
|
-
.top-bar {
|
|
409
|
-
|
|
410
|
-
img {
|
|
411
|
-
display: none;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
329
|
+
.top-bar-logo img{
|
|
330
|
+
display: none;
|
|
414
331
|
}
|
|
415
332
|
}
|
|
416
333
|
}
|