@saooti/octopus-sdk 39.3.16 → 39.4.0
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/.stylelintrc +18 -0
- package/package.json +10 -1
- package/src/App.vue +1 -1
- package/src/components/display/categories/CategoryFilter.vue +11 -4
- package/src/components/display/comments/CommentInput.vue +1 -1
- package/src/components/display/comments/CommentPlayer.vue +7 -3
- package/src/components/display/comments/item/CommentBasicView.vue +1 -1
- package/src/components/display/comments/like/LikeButton.vue +21 -15
- package/src/components/display/emission/EmissionInlineList.vue +5 -3
- package/src/components/display/emission/EmissionPlayerItem.vue +17 -12
- package/src/components/display/emission/EmissionPresentationItem.vue +4 -1
- package/src/components/display/emission/EmissionPresentationList.vue +19 -6
- package/src/components/display/filter/ProductorSearch.vue +14 -11
- package/src/components/display/list/PaginateParams.vue +1 -0
- package/src/components/display/list/PaginateSection.vue +12 -8
- package/src/components/display/list/SwiperList.vue +8 -4
- package/src/components/display/live/CountdownOctopus.vue +48 -29
- package/src/components/display/live/RadioImage.vue +4 -3
- package/src/components/display/live/RadioPlanning.vue +11 -5
- package/src/components/display/organisation/OrganisationChooserLight.vue +0 -2
- package/src/components/display/participant/ParticipantInlineList.vue +2 -1
- package/src/components/display/participant/ParticipantItem.vue +11 -9
- package/src/components/display/playlist/PodcastList.vue +2 -1
- package/src/components/display/podcastmaker/PodcastmakerHeader.vue +5 -5
- package/src/components/display/podcasts/PodcastInlineListTemplate.vue +2 -1
- package/src/components/display/podcasts/PodcastItem.vue +21 -18
- package/src/components/display/podcasts/PodcastItemInfo.vue +1 -2
- package/src/components/display/podcasts/PodcastModuleBox.vue +11 -7
- package/src/components/display/podcasts/PodcastPlannedSpinner.vue +32 -24
- package/src/components/display/podcasts/PodcastPlayButton.vue +11 -5
- package/src/components/display/podcasts/PodcastRawTranscript.vue +28 -21
- package/src/components/display/podcasts/PodcastRubriqueList.vue +55 -0
- package/src/components/display/podcasts/TagList.vue +28 -34
- package/src/components/display/podcasts/VideoModuleBox.vue +1 -1
- package/src/components/display/rubriques/RubriqueList.vue +8 -3
- package/src/components/display/sharing/PlayerParameters.vue +1 -1
- package/src/components/display/sharing/ShareButtons.vue +5 -2
- package/src/components/display/sharing/ShareDistribution.vue +8 -4
- package/src/components/display/sharing/SharePlayer.vue +9 -7
- package/src/components/display/sharing/SharePlayerRadio.vue +1 -1
- package/src/components/display/sharing/SubscribeButtons.vue +3 -1
- package/src/components/form/ClassicCheckbox.vue +16 -11
- package/src/components/form/ClassicContentEditable.vue +3 -2
- package/src/components/form/ClassicDatePicker.vue +3 -1
- package/src/components/form/ClassicInputText.vue +2 -1
- package/src/components/form/ClassicMultiselect.vue +13 -2
- package/src/components/form/ClassicSearch.vue +7 -5
- package/src/components/form/ClassicSelect.vue +7 -5
- package/src/components/form/ClassicWysiwyg.vue +14 -5
- package/src/components/misc/AcpmImage.vue +2 -2
- package/src/components/misc/ClassicAccordion.vue +17 -10
- package/src/components/misc/ClassicNav.vue +25 -14
- package/src/components/misc/ClassicPopover.vue +16 -9
- package/src/components/misc/ErrorMessage.vue +3 -13
- package/src/components/misc/FooterSection.vue +3 -1
- package/src/components/misc/ProgressBar.vue +4 -2
- package/src/components/misc/SnackBar.vue +1 -1
- package/src/components/misc/TopBar.vue +34 -19
- package/src/components/misc/TopBarMainContent.vue +20 -11
- package/src/components/misc/modal/ClassicModal.vue +16 -8
- package/src/components/misc/modal/NewsletterModal.vue +1 -1
- package/src/components/misc/player/PlayerCompact.vue +2 -1
- package/src/components/misc/player/PlayerComponent.vue +5 -2
- package/src/components/misc/player/PlayerLarge.vue +5 -2
- package/src/components/misc/player/ads/AdsProgressBar.vue +1 -1
- package/src/components/misc/player/ads/AdsSkipButton.vue +1 -0
- package/src/components/misc/player/chaptering/ChapteringModal.vue +3 -2
- package/src/components/misc/player/elements/PlayerImage.vue +9 -5
- package/src/components/misc/player/elements/PlayerPlayButton.vue +2 -0
- package/src/components/misc/player/elements/PlayerSpeedButton.vue +3 -1
- package/src/components/misc/player/radio/RadioHistory.vue +2 -1
- package/src/components/misc/player/radio/RadioProgressBar.vue +1 -1
- package/src/components/misc/player/video/PlayerVideo.vue +4 -1
- package/src/components/misc/player/video/PlayerVideoDigiteka.vue +1 -1
- package/src/components/misc/player/video/PlayerVideoHls.vue +4 -3
- package/src/components/pages/EmissionPage.vue +1 -1
- package/src/components/pages/Error403Page.vue +6 -3
- package/src/components/pages/PageNotFound.vue +1 -1
- package/src/components/pages/ParticipantPage.vue +1 -1
- package/src/components/pages/PlaylistPage.vue +1 -1
- package/src/components/pages/RadioPage.vue +1 -1
- package/src/components/pages/VideoPage.vue +17 -6
- package/src/locale/de.ts +1 -0
- package/src/locale/en.ts +1 -0
- package/src/locale/es.ts +1 -0
- package/src/locale/fr.ts +1 -0
- package/src/locale/it.ts +1 -0
- package/src/locale/sl.ts +1 -0
- package/src/stores/SaveFetchStore.ts +16 -0
- package/src/{assets → style}/_utilities.scss +24 -26
- package/src/style/_variables.scss +34 -0
- package/src/{assets → style}/bootstrap.scss +117 -68
- package/src/{assets → style}/comments.scss +10 -6
- package/src/{assets → style}/form.scss +21 -15
- package/src/{assets → style}/general.scss +114 -55
- package/src/{assets → style}/iframe.scss +3 -1
- package/src/style/live.scss +27 -0
- package/src/style/octopus-library.scss +13 -0
- package/src/{assets → style}/progressbar.scss +32 -19
- package/src/{assets → style}/share.scss +68 -53
- package/src/{assets → style}/transition.scss +12 -3
- package/src/{assets → style}/videoPlayer.scss +1 -0
- package/vite.config.js +0 -1
- package/src/assets/live.scss +0 -21
- package/src/assets/octopus-library.scss +0 -13
- package/src/sass/_variables.scss +0 -24
package/.stylelintrc
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"plugins": [
|
|
3
|
+
"stylelint-gamut"
|
|
4
|
+
],
|
|
5
|
+
"extends": [
|
|
6
|
+
"stylelint-config-standard-scss",
|
|
7
|
+
"stylelint-config-standard-vue",
|
|
8
|
+
"stylelint-config-standard-vue/scss",
|
|
9
|
+
"stylelint-config-recommended-vue",
|
|
10
|
+
"stylelint-config-recommended-vue/scss"
|
|
11
|
+
],
|
|
12
|
+
"rules": {
|
|
13
|
+
"gamut/color-no-out-gamut-range": true,
|
|
14
|
+
"function-disallowed-list": ["rgba", "hsla", "rgb", "hsl"],
|
|
15
|
+
"color-function-notation": "modern",
|
|
16
|
+
"color-no-hex": true
|
|
17
|
+
}
|
|
18
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saooti/octopus-sdk",
|
|
3
|
-
"version": "39.
|
|
3
|
+
"version": "39.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Javascript SDK for using octopus",
|
|
6
6
|
"author": "Saooti",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"proxy_authentifié": "node proxy.ts",
|
|
12
12
|
"proxy_non_authentifié": "node proxy.ts false",
|
|
13
13
|
"lint": "eslint --fix src",
|
|
14
|
+
"stylelint": "stylelint **/*.{scss,vue} --fix",
|
|
14
15
|
"build_bundle": "vue-cli-service build --target lib --name octopus ./index.js",
|
|
15
16
|
"sonar": "node sonarqube-scanner.js"
|
|
16
17
|
},
|
|
@@ -37,10 +38,18 @@
|
|
|
37
38
|
"hls.js": "^1.5.17",
|
|
38
39
|
"humanize-duration": "^3.32.1",
|
|
39
40
|
"pinia": "^2.3.0",
|
|
41
|
+
"postcss-html": "^1.7.0",
|
|
40
42
|
"qrcode.vue": "^3.6.0",
|
|
41
43
|
"sass": "^1.82.0",
|
|
42
44
|
"sockjs-client": "^1.6.1",
|
|
43
45
|
"sonarqube-scanner": "^3.3.0",
|
|
46
|
+
"stylelint": "^16.13.0",
|
|
47
|
+
"stylelint-config-recommended-scss": "^14.1.0",
|
|
48
|
+
"stylelint-config-recommended-vue": "^1.5.0",
|
|
49
|
+
"stylelint-config-standard": "^37.0.0",
|
|
50
|
+
"stylelint-config-standard-scss": "^14.0.0",
|
|
51
|
+
"stylelint-config-standard-vue": "^1.0.0",
|
|
52
|
+
"stylelint-gamut": "^1.3.4",
|
|
44
53
|
"swiper": "^11.1.14",
|
|
45
54
|
"typescript-eslint": "^8.18.1",
|
|
46
55
|
"video.js": "^8.21.0",
|
package/src/App.vue
CHANGED
|
@@ -276,31 +276,38 @@ export default defineComponent({
|
|
|
276
276
|
min-height: 10rem;
|
|
277
277
|
background-size: cover;
|
|
278
278
|
background-position: center;
|
|
279
|
+
|
|
279
280
|
h1 {
|
|
280
|
-
margin: auto 1rem
|
|
281
|
+
margin: auto 1rem;
|
|
281
282
|
font-size: 2rem;
|
|
282
283
|
color: white;
|
|
283
284
|
}
|
|
284
|
-
|
|
285
|
+
|
|
286
|
+
@media (width <= 960px) {
|
|
285
287
|
min-height: 6rem;
|
|
286
288
|
}
|
|
287
289
|
}
|
|
290
|
+
|
|
288
291
|
.octopus-breadcrumb {
|
|
289
292
|
padding: 1rem;
|
|
290
293
|
align-items: center;
|
|
294
|
+
|
|
291
295
|
.octopus-breadcrumb-li {
|
|
292
296
|
list-style: none;
|
|
293
297
|
color: white !important;
|
|
298
|
+
|
|
294
299
|
a {
|
|
295
300
|
color: white !important;
|
|
296
301
|
font-weight: bold;
|
|
297
302
|
}
|
|
298
|
-
|
|
303
|
+
|
|
304
|
+
&::after {
|
|
299
305
|
content: "-";
|
|
300
306
|
margin: 0 0.5rem;
|
|
301
307
|
}
|
|
308
|
+
|
|
302
309
|
&:last-child {
|
|
303
|
-
|
|
310
|
+
&::after {
|
|
304
311
|
content: "";
|
|
305
312
|
}
|
|
306
313
|
}
|
|
@@ -200,7 +200,7 @@ export default defineComponent({
|
|
|
200
200
|
border-top: 0;
|
|
201
201
|
border-right: 0;
|
|
202
202
|
border-left: 0;
|
|
203
|
-
border-bottom: 0.1rem solid
|
|
203
|
+
border-bottom: 0.1rem solid var(--octopus-border-default) !important;
|
|
204
204
|
overflow: hidden !important;
|
|
205
205
|
box-shadow: unset !important;
|
|
206
206
|
background: transparent !important;
|
|
@@ -86,22 +86,26 @@ export default defineComponent({
|
|
|
86
86
|
</script>
|
|
87
87
|
|
|
88
88
|
<style lang="scss">
|
|
89
|
-
@use "../../../
|
|
89
|
+
@use "../../../style/comments";
|
|
90
|
+
|
|
90
91
|
.octopus-app {
|
|
91
92
|
.comment-player-container {
|
|
92
93
|
position: relative;
|
|
93
94
|
width: 100%;
|
|
94
95
|
height: 60px;
|
|
95
96
|
display: flex;
|
|
96
|
-
|
|
97
|
+
|
|
98
|
+
@media (width <= 960px) {
|
|
97
99
|
display: none;
|
|
98
100
|
}
|
|
101
|
+
|
|
99
102
|
.comment-border {
|
|
100
103
|
width: auto;
|
|
101
104
|
position: absolute;
|
|
102
|
-
border-left: solid 1px
|
|
105
|
+
border-left: solid 1px white;
|
|
103
106
|
height: 10px;
|
|
104
107
|
}
|
|
108
|
+
|
|
105
109
|
.status-comment {
|
|
106
110
|
margin-top: 10px;
|
|
107
111
|
position: absolute;
|
|
@@ -81,11 +81,12 @@ export default defineComponent({
|
|
|
81
81
|
});
|
|
82
82
|
</script>
|
|
83
83
|
<style lang="scss">
|
|
84
|
-
|
|
84
|
+
|
|
85
85
|
@use "sass:color";
|
|
86
|
+
|
|
86
87
|
.octopus-app .btn-like-comment {
|
|
87
|
-
$
|
|
88
|
-
|
|
88
|
+
$background-color: var(--octopus-primary);
|
|
89
|
+
|
|
89
90
|
&.is-dislike {
|
|
90
91
|
$background-color: black;
|
|
91
92
|
}
|
|
@@ -95,7 +96,7 @@ export default defineComponent({
|
|
|
95
96
|
border: none;
|
|
96
97
|
outline: none;
|
|
97
98
|
z-index: 1;
|
|
98
|
-
color:
|
|
99
|
+
color: var(--octopus-color-text);
|
|
99
100
|
font-size: 1.2rem;
|
|
100
101
|
width: 2.2rem;
|
|
101
102
|
height: 2.2rem;
|
|
@@ -107,8 +108,8 @@ export default defineComponent({
|
|
|
107
108
|
justify-content: center;
|
|
108
109
|
|
|
109
110
|
&:hover {
|
|
110
|
-
background:
|
|
111
|
-
color:
|
|
111
|
+
background: var(--octopus-secondary);
|
|
112
|
+
color: oklch(from var(--octopus-color-text) calc(l + 0.1) c h);
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
/* Animation */
|
|
@@ -118,8 +119,8 @@ export default defineComponent({
|
|
|
118
119
|
background: $background-color;
|
|
119
120
|
animation: 0.8s;
|
|
120
121
|
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
&::before,
|
|
123
|
+
&::after {
|
|
123
124
|
content: "";
|
|
124
125
|
position: absolute;
|
|
125
126
|
top: 50%;
|
|
@@ -130,7 +131,7 @@ export default defineComponent({
|
|
|
130
131
|
height: 6px;
|
|
131
132
|
border-radius: 100%;
|
|
132
133
|
transform: scale(0);
|
|
133
|
-
color:
|
|
134
|
+
color: var(--octopus-color-text);;
|
|
134
135
|
border: 1px solid transparent;
|
|
135
136
|
box-shadow:
|
|
136
137
|
-0.8em 0 0 -2px,
|
|
@@ -143,37 +144,42 @@ export default defineComponent({
|
|
|
143
144
|
0.6em 0.6em 0 -2px;
|
|
144
145
|
}
|
|
145
146
|
|
|
146
|
-
|
|
147
|
+
&::before {
|
|
147
148
|
animation: effect-01-animation 0.8s
|
|
148
149
|
cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
149
150
|
}
|
|
150
|
-
|
|
151
|
+
|
|
152
|
+
&::after {
|
|
151
153
|
animation: effect-02-animation 0.6s
|
|
152
154
|
cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
|
|
156
158
|
@keyframes effect-01-animation {
|
|
157
|
-
|
|
159
|
+
0% {
|
|
158
160
|
transform: rotate(-15deg) scale(0);
|
|
159
161
|
}
|
|
162
|
+
|
|
160
163
|
40% {
|
|
161
164
|
opacity: 1;
|
|
162
165
|
}
|
|
163
|
-
|
|
166
|
+
|
|
167
|
+
100% {
|
|
164
168
|
transform: rotate(-30deg) scale(2.5);
|
|
165
169
|
opacity: 0;
|
|
166
170
|
}
|
|
167
171
|
}
|
|
168
172
|
|
|
169
173
|
@keyframes effect-02-animation {
|
|
170
|
-
|
|
174
|
+
0% {
|
|
171
175
|
transform: rotate(10deg) scale(0);
|
|
172
176
|
}
|
|
177
|
+
|
|
173
178
|
40% {
|
|
174
179
|
opacity: 1;
|
|
175
180
|
}
|
|
176
|
-
|
|
181
|
+
|
|
182
|
+
100% {
|
|
177
183
|
transform: rotate(30deg) scale(2);
|
|
178
184
|
opacity: 0;
|
|
179
185
|
}
|
|
@@ -151,10 +151,12 @@ export default defineComponent({
|
|
|
151
151
|
<style lang="scss">
|
|
152
152
|
.octopus-app {
|
|
153
153
|
.list-episode {
|
|
154
|
-
padding: 2rem
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
padding: 2rem 0 1rem !important;
|
|
155
|
+
|
|
156
|
+
@media (width <= 450px) {
|
|
157
|
+
padding: 0.5rem 0 1rem !important;
|
|
157
158
|
}
|
|
159
|
+
|
|
158
160
|
h2 {
|
|
159
161
|
margin-bottom: 1rem;
|
|
160
162
|
}
|
|
@@ -68,19 +68,19 @@
|
|
|
68
68
|
playerPodcast !== p ||
|
|
69
69
|
(playerPodcast === p && 'PAUSED' === playerStatus)
|
|
70
70
|
"
|
|
71
|
-
class="play-button-box bg-secondary"
|
|
71
|
+
class="play-button-box bg-secondary-light"
|
|
72
72
|
@click="play(p)"
|
|
73
73
|
>
|
|
74
74
|
<PlayIcon class="text-light" :title="$t('Play')" />
|
|
75
75
|
</button>
|
|
76
|
-
<button v-else class="play-button-box bg-secondary" @click="pause(p)">
|
|
76
|
+
<button v-else class="play-button-box bg-secondary-light" @click="pause(p)">
|
|
77
77
|
<PauseIcon class="text-light" :title="$t('Pause')" />
|
|
78
78
|
</button>
|
|
79
79
|
</div>
|
|
80
80
|
</div>
|
|
81
81
|
<div
|
|
82
82
|
v-if="buttonMore && podcasts.length === nbPodcasts"
|
|
83
|
-
class="border-top emission-item-border-color p-2
|
|
83
|
+
class="border-top emission-item-border-color p-2 octopus-bg d-flex justify-content-center"
|
|
84
84
|
>
|
|
85
85
|
<router-link
|
|
86
86
|
:to="{
|
|
@@ -184,31 +184,36 @@ export default defineComponent({
|
|
|
184
184
|
</script>
|
|
185
185
|
|
|
186
186
|
<style lang="scss">
|
|
187
|
-
|
|
187
|
+
|
|
188
|
+
|
|
188
189
|
.emission-player-container {
|
|
189
190
|
list-style: none;
|
|
190
|
-
background:
|
|
191
|
+
background: var(--octopus-background);
|
|
191
192
|
display: flex;
|
|
192
193
|
flex-direction: column;
|
|
193
194
|
width: 100%;
|
|
194
|
-
max-width:
|
|
195
|
+
max-width: var(--octopus-image-size);
|
|
195
196
|
height: min-content;
|
|
196
|
-
border: 2px solid
|
|
197
|
-
border-radius:
|
|
197
|
+
border: 2px solid var(--octopus-border-default);
|
|
198
|
+
border-radius: var(--octopus-border-radius);
|
|
198
199
|
overflow: hidden;
|
|
200
|
+
|
|
199
201
|
.emission-item-border-color {
|
|
200
|
-
border-color:
|
|
202
|
+
border-color: var(--octopus-secondary);
|
|
201
203
|
}
|
|
204
|
+
|
|
202
205
|
.define-width {
|
|
203
206
|
width: 9rem;
|
|
204
207
|
}
|
|
205
|
-
|
|
208
|
+
|
|
209
|
+
@media (width <= 960px) {
|
|
206
210
|
.d-flex:not(.flex-column) {
|
|
207
211
|
flex-wrap: nowrap;
|
|
208
212
|
}
|
|
209
213
|
}
|
|
210
|
-
|
|
211
|
-
|
|
214
|
+
|
|
215
|
+
@media (width <= 450px) {
|
|
216
|
+
max-width: var(--octopus-image-size);
|
|
212
217
|
}
|
|
213
218
|
}
|
|
214
219
|
</style>
|
|
@@ -96,21 +96,24 @@ export default defineComponent({
|
|
|
96
96
|
<style lang="scss">
|
|
97
97
|
.octopus-app {
|
|
98
98
|
.emission-presentation-container {
|
|
99
|
-
@media (
|
|
99
|
+
@media (width <= 960px) {
|
|
100
100
|
width: 250px !important;
|
|
101
101
|
margin-right: 0.5rem;
|
|
102
102
|
}
|
|
103
|
+
|
|
103
104
|
.emission-description {
|
|
104
105
|
height: 0;
|
|
105
106
|
flex-grow: 1;
|
|
106
107
|
max-height: unset;
|
|
107
108
|
}
|
|
108
109
|
}
|
|
110
|
+
|
|
109
111
|
.emission-item-container.emission-vertical-item {
|
|
110
112
|
flex-grow: 0;
|
|
111
113
|
width: 400px;
|
|
112
114
|
flex-shrink: 0;
|
|
113
115
|
}
|
|
116
|
+
|
|
114
117
|
.img-box-bigger {
|
|
115
118
|
width: 400px;
|
|
116
119
|
height: 400px;
|
|
@@ -129,33 +129,46 @@ export default defineComponent({
|
|
|
129
129
|
<style lang="scss">
|
|
130
130
|
.octopus-app {
|
|
131
131
|
.overflow-phone-auto {
|
|
132
|
-
@media (
|
|
132
|
+
@media (width <= 960px) {
|
|
133
133
|
overflow-y: auto;
|
|
134
|
+
scroll-snap-type: x mandatory;
|
|
135
|
+
|
|
136
|
+
.emission-item-container{
|
|
137
|
+
scroll-snap-align: center;
|
|
138
|
+
}
|
|
134
139
|
}
|
|
135
140
|
}
|
|
141
|
+
|
|
136
142
|
.emission-column {
|
|
137
143
|
flex-shrink: 0;
|
|
138
144
|
width: calc((100% - 420px) / 2);
|
|
139
|
-
|
|
145
|
+
|
|
146
|
+
@media (width <= 1550px) {
|
|
140
147
|
width: calc((100% - 420px));
|
|
141
148
|
}
|
|
142
|
-
|
|
149
|
+
|
|
150
|
+
@media (width <= 960px) {
|
|
143
151
|
width: auto;
|
|
144
152
|
flex-direction: row !important;
|
|
145
153
|
}
|
|
146
154
|
}
|
|
155
|
+
|
|
147
156
|
.emission-column-margin {
|
|
148
157
|
margin-right: 1rem;
|
|
149
|
-
|
|
158
|
+
|
|
159
|
+
@media (width <= 960px) {
|
|
150
160
|
margin-right: 0;
|
|
151
161
|
}
|
|
152
162
|
}
|
|
163
|
+
|
|
153
164
|
.show-emission-column {
|
|
154
165
|
display: flex;
|
|
155
|
-
|
|
166
|
+
|
|
167
|
+
@media (width <= 1550px) {
|
|
156
168
|
display: none !important;
|
|
157
169
|
}
|
|
158
|
-
|
|
170
|
+
|
|
171
|
+
@media (width <= 960px) {
|
|
159
172
|
display: flex !important;
|
|
160
173
|
}
|
|
161
174
|
}
|
|
@@ -144,22 +144,21 @@ export default defineComponent({
|
|
|
144
144
|
</script>
|
|
145
145
|
|
|
146
146
|
<style lang="scss">
|
|
147
|
-
|
|
147
|
+
|
|
148
|
+
|
|
148
149
|
.octopus-app {
|
|
149
150
|
.filter-speech-bubble {
|
|
150
151
|
position: absolute;
|
|
151
|
-
background:
|
|
152
|
-
border-radius:
|
|
152
|
+
background: var(--octopus-primary);
|
|
153
|
+
border-radius: var(--octopus-border-radius);
|
|
153
154
|
width: 10rem;
|
|
154
155
|
right: 4rem;
|
|
155
156
|
padding: 5px;
|
|
156
|
-
-webkit-animation: fadein 1s;
|
|
157
|
-
-moz-animation: fadein 1s;
|
|
158
157
|
animation: fadein 1s;
|
|
159
158
|
color: white;
|
|
160
159
|
}
|
|
161
160
|
|
|
162
|
-
.filter-speech-bubble
|
|
161
|
+
.filter-speech-bubble::after {
|
|
163
162
|
content: "";
|
|
164
163
|
position: absolute;
|
|
165
164
|
right: 0;
|
|
@@ -167,35 +166,39 @@ export default defineComponent({
|
|
|
167
166
|
width: 0;
|
|
168
167
|
height: 0;
|
|
169
168
|
border: 18px solid transparent;
|
|
170
|
-
border-left-color:
|
|
169
|
+
border-left-color: var(--octopus-primary);
|
|
171
170
|
border-right: 0;
|
|
172
171
|
border-bottom: 0;
|
|
173
172
|
margin-top: -9px;
|
|
174
173
|
margin-right: -18px;
|
|
175
|
-
-webkit-animation: fadein 1s;
|
|
176
|
-
-moz-animation: fadein 1s;
|
|
177
174
|
animation: fadein 1s;
|
|
178
175
|
}
|
|
176
|
+
|
|
179
177
|
@keyframes fadein {
|
|
180
178
|
from {
|
|
181
179
|
opacity: 0;
|
|
182
180
|
}
|
|
181
|
+
|
|
183
182
|
to {
|
|
184
183
|
opacity: 1;
|
|
185
184
|
}
|
|
186
185
|
}
|
|
187
|
-
|
|
186
|
+
|
|
187
|
+
@keyframes fadein {
|
|
188
188
|
from {
|
|
189
189
|
opacity: 0;
|
|
190
190
|
}
|
|
191
|
+
|
|
191
192
|
to {
|
|
192
193
|
opacity: 1;
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
|
-
|
|
196
|
+
|
|
197
|
+
@keyframes fadein {
|
|
196
198
|
from {
|
|
197
199
|
opacity: 0;
|
|
198
200
|
}
|
|
201
|
+
|
|
199
202
|
to {
|
|
200
203
|
opacity: 1;
|
|
201
204
|
}
|
|
@@ -187,28 +187,32 @@ export default defineComponent({
|
|
|
187
187
|
});
|
|
188
188
|
</script>
|
|
189
189
|
<style lang="scss">
|
|
190
|
-
|
|
190
|
+
|
|
191
191
|
.octopus-app {
|
|
192
|
-
.module-box .paginate-fixed,
|
|
193
|
-
.octopus-modal .paginate-fixed,
|
|
194
|
-
.octopus-accordion .paginate-fixed {
|
|
195
|
-
bottom: 0 !important;
|
|
196
|
-
}
|
|
197
192
|
.paginate-fixed {
|
|
198
193
|
display: flex;
|
|
199
194
|
align-items: center;
|
|
200
195
|
justify-content: flex-end;
|
|
201
196
|
width: 100%;
|
|
202
197
|
position: sticky;
|
|
203
|
-
background:
|
|
198
|
+
background: var(--octopus-background);
|
|
204
199
|
padding: 0.5rem 0;
|
|
205
200
|
z-index: 10;
|
|
201
|
+
|
|
206
202
|
.btn {
|
|
207
203
|
border-radius: 0;
|
|
204
|
+
|
|
208
205
|
&.active {
|
|
209
|
-
background:
|
|
206
|
+
background: var(--octopus-primary-more-transparent);
|
|
210
207
|
}
|
|
211
208
|
}
|
|
212
209
|
}
|
|
210
|
+
|
|
211
|
+
.module-box .paginate-fixed,
|
|
212
|
+
.octopus-modal .paginate-fixed,
|
|
213
|
+
.octopus-accordion .paginate-fixed {
|
|
214
|
+
bottom: 0 !important;
|
|
215
|
+
}
|
|
216
|
+
|
|
213
217
|
}
|
|
214
218
|
</style>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</swiper>
|
|
20
20
|
</template>
|
|
21
21
|
<div v-else class="element-list-inline">
|
|
22
|
-
<div v-for="(obj, index) in listObject" :key="obj">
|
|
22
|
+
<div v-for="(obj, index) in listObject" :key="obj" class="element-list-item">
|
|
23
23
|
<slot name="octopusSlide" :option="obj" :index="index" />
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
@@ -137,10 +137,12 @@ export default defineComponent({
|
|
|
137
137
|
});
|
|
138
138
|
</script>
|
|
139
139
|
<style lang="scss">
|
|
140
|
-
|
|
140
|
+
|
|
141
|
+
|
|
141
142
|
:root {
|
|
142
143
|
--swiper-navigation-sides-offset: 0;
|
|
143
144
|
}
|
|
145
|
+
|
|
144
146
|
.swiper {
|
|
145
147
|
width: 100%;
|
|
146
148
|
height: 100%;
|
|
@@ -148,17 +150,19 @@ export default defineComponent({
|
|
|
148
150
|
|
|
149
151
|
.swiper-button-next,
|
|
150
152
|
.swiper-button-prev {
|
|
151
|
-
color:
|
|
153
|
+
color: var(--octopus-primary) !important;
|
|
152
154
|
height: 100%;
|
|
153
155
|
top: 0;
|
|
154
156
|
bottom: 0;
|
|
155
157
|
margin: 0;
|
|
156
158
|
width: 40px;
|
|
157
|
-
background:
|
|
159
|
+
background: var(--octopus-background);
|
|
158
160
|
}
|
|
161
|
+
|
|
159
162
|
.swiper-button-lock {
|
|
160
163
|
display: flex;
|
|
161
164
|
}
|
|
165
|
+
|
|
162
166
|
.swiper-slide {
|
|
163
167
|
display: flex !important;
|
|
164
168
|
align-items: center;
|