@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.
Files changed (106) hide show
  1. package/.stylelintrc +18 -0
  2. package/package.json +10 -1
  3. package/src/App.vue +1 -1
  4. package/src/components/display/categories/CategoryFilter.vue +11 -4
  5. package/src/components/display/comments/CommentInput.vue +1 -1
  6. package/src/components/display/comments/CommentPlayer.vue +7 -3
  7. package/src/components/display/comments/item/CommentBasicView.vue +1 -1
  8. package/src/components/display/comments/like/LikeButton.vue +21 -15
  9. package/src/components/display/emission/EmissionInlineList.vue +5 -3
  10. package/src/components/display/emission/EmissionPlayerItem.vue +17 -12
  11. package/src/components/display/emission/EmissionPresentationItem.vue +4 -1
  12. package/src/components/display/emission/EmissionPresentationList.vue +19 -6
  13. package/src/components/display/filter/ProductorSearch.vue +14 -11
  14. package/src/components/display/list/PaginateParams.vue +1 -0
  15. package/src/components/display/list/PaginateSection.vue +12 -8
  16. package/src/components/display/list/SwiperList.vue +8 -4
  17. package/src/components/display/live/CountdownOctopus.vue +48 -29
  18. package/src/components/display/live/RadioImage.vue +4 -3
  19. package/src/components/display/live/RadioPlanning.vue +11 -5
  20. package/src/components/display/organisation/OrganisationChooserLight.vue +0 -2
  21. package/src/components/display/participant/ParticipantInlineList.vue +2 -1
  22. package/src/components/display/participant/ParticipantItem.vue +11 -9
  23. package/src/components/display/playlist/PodcastList.vue +2 -1
  24. package/src/components/display/podcastmaker/PodcastmakerHeader.vue +5 -5
  25. package/src/components/display/podcasts/PodcastInlineListTemplate.vue +2 -1
  26. package/src/components/display/podcasts/PodcastItem.vue +21 -18
  27. package/src/components/display/podcasts/PodcastItemInfo.vue +1 -2
  28. package/src/components/display/podcasts/PodcastModuleBox.vue +11 -7
  29. package/src/components/display/podcasts/PodcastPlannedSpinner.vue +32 -24
  30. package/src/components/display/podcasts/PodcastPlayButton.vue +11 -5
  31. package/src/components/display/podcasts/PodcastRawTranscript.vue +28 -21
  32. package/src/components/display/podcasts/PodcastRubriqueList.vue +55 -0
  33. package/src/components/display/podcasts/TagList.vue +28 -34
  34. package/src/components/display/podcasts/VideoModuleBox.vue +1 -1
  35. package/src/components/display/rubriques/RubriqueList.vue +8 -3
  36. package/src/components/display/sharing/PlayerParameters.vue +1 -1
  37. package/src/components/display/sharing/ShareButtons.vue +5 -2
  38. package/src/components/display/sharing/ShareDistribution.vue +8 -4
  39. package/src/components/display/sharing/SharePlayer.vue +9 -7
  40. package/src/components/display/sharing/SharePlayerRadio.vue +1 -1
  41. package/src/components/display/sharing/SubscribeButtons.vue +3 -1
  42. package/src/components/form/ClassicCheckbox.vue +16 -11
  43. package/src/components/form/ClassicContentEditable.vue +3 -2
  44. package/src/components/form/ClassicDatePicker.vue +3 -1
  45. package/src/components/form/ClassicInputText.vue +2 -1
  46. package/src/components/form/ClassicMultiselect.vue +13 -2
  47. package/src/components/form/ClassicSearch.vue +7 -5
  48. package/src/components/form/ClassicSelect.vue +7 -5
  49. package/src/components/form/ClassicWysiwyg.vue +14 -5
  50. package/src/components/misc/AcpmImage.vue +2 -2
  51. package/src/components/misc/ClassicAccordion.vue +17 -10
  52. package/src/components/misc/ClassicNav.vue +25 -14
  53. package/src/components/misc/ClassicPopover.vue +16 -9
  54. package/src/components/misc/ErrorMessage.vue +3 -13
  55. package/src/components/misc/FooterSection.vue +3 -1
  56. package/src/components/misc/ProgressBar.vue +4 -2
  57. package/src/components/misc/SnackBar.vue +1 -1
  58. package/src/components/misc/TopBar.vue +34 -19
  59. package/src/components/misc/TopBarMainContent.vue +20 -11
  60. package/src/components/misc/modal/ClassicModal.vue +16 -8
  61. package/src/components/misc/modal/NewsletterModal.vue +1 -1
  62. package/src/components/misc/player/PlayerCompact.vue +2 -1
  63. package/src/components/misc/player/PlayerComponent.vue +5 -2
  64. package/src/components/misc/player/PlayerLarge.vue +5 -2
  65. package/src/components/misc/player/ads/AdsProgressBar.vue +1 -1
  66. package/src/components/misc/player/ads/AdsSkipButton.vue +1 -0
  67. package/src/components/misc/player/chaptering/ChapteringModal.vue +3 -2
  68. package/src/components/misc/player/elements/PlayerImage.vue +9 -5
  69. package/src/components/misc/player/elements/PlayerPlayButton.vue +2 -0
  70. package/src/components/misc/player/elements/PlayerSpeedButton.vue +3 -1
  71. package/src/components/misc/player/radio/RadioHistory.vue +2 -1
  72. package/src/components/misc/player/radio/RadioProgressBar.vue +1 -1
  73. package/src/components/misc/player/video/PlayerVideo.vue +4 -1
  74. package/src/components/misc/player/video/PlayerVideoDigiteka.vue +1 -1
  75. package/src/components/misc/player/video/PlayerVideoHls.vue +4 -3
  76. package/src/components/pages/EmissionPage.vue +1 -1
  77. package/src/components/pages/Error403Page.vue +6 -3
  78. package/src/components/pages/PageNotFound.vue +1 -1
  79. package/src/components/pages/ParticipantPage.vue +1 -1
  80. package/src/components/pages/PlaylistPage.vue +1 -1
  81. package/src/components/pages/RadioPage.vue +1 -1
  82. package/src/components/pages/VideoPage.vue +17 -6
  83. package/src/locale/de.ts +1 -0
  84. package/src/locale/en.ts +1 -0
  85. package/src/locale/es.ts +1 -0
  86. package/src/locale/fr.ts +1 -0
  87. package/src/locale/it.ts +1 -0
  88. package/src/locale/sl.ts +1 -0
  89. package/src/stores/SaveFetchStore.ts +16 -0
  90. package/src/{assets → style}/_utilities.scss +24 -26
  91. package/src/style/_variables.scss +34 -0
  92. package/src/{assets → style}/bootstrap.scss +117 -68
  93. package/src/{assets → style}/comments.scss +10 -6
  94. package/src/{assets → style}/form.scss +21 -15
  95. package/src/{assets → style}/general.scss +114 -55
  96. package/src/{assets → style}/iframe.scss +3 -1
  97. package/src/style/live.scss +27 -0
  98. package/src/style/octopus-library.scss +13 -0
  99. package/src/{assets → style}/progressbar.scss +32 -19
  100. package/src/{assets → style}/share.scss +68 -53
  101. package/src/{assets → style}/transition.scss +12 -3
  102. package/src/{assets → style}/videoPlayer.scss +1 -0
  103. package/vite.config.js +0 -1
  104. package/src/assets/live.scss +0 -21
  105. package/src/assets/octopus-library.scss +0 -13
  106. 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.16",
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
@@ -116,4 +116,4 @@ export default defineComponent({
116
116
  });
117
117
  </script>
118
118
 
119
- <style lang="scss" src="@/assets/octopus-library.scss"></style>
119
+ <style lang="scss" src="@/style/octopus-library.scss"></style>
@@ -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 auto;
281
+ margin: auto 1rem;
281
282
  font-size: 2rem;
282
283
  color: white;
283
284
  }
284
- @media (max-width: 960px) {
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
- &:after {
303
+
304
+ &::after {
299
305
  content: "-";
300
306
  margin: 0 0.5rem;
301
307
  }
308
+
302
309
  &:last-child {
303
- &:after {
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 #ddd !important;
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 "../../../assets/comments";
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
- @media (max-width: 960px) {
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 #ffffff;
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;
@@ -106,5 +106,5 @@ export default defineComponent({
106
106
  });
107
107
  </script>
108
108
  <style lang="scss">
109
- @use "../../../../assets/comments";
109
+ @use "../../../../style/comments";
110
110
  </style>
@@ -81,11 +81,12 @@ export default defineComponent({
81
81
  });
82
82
  </script>
83
83
  <style lang="scss">
84
- @use "@scss/variables" as octopusVariables;
84
+
85
85
  @use "sass:color";
86
+
86
87
  .octopus-app .btn-like-comment {
87
- $neutral-color: #555555;
88
- $background-color: octopusVariables.$octopus-primary-color;
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: $neutral-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: #dddddd;
111
- color: color.scale($neutral-color, $lightness: -10%);
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
- &:before,
122
- &:after {
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: $neutral-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
- &:before {
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
- &:after {
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
- from {
159
+ 0% {
158
160
  transform: rotate(-15deg) scale(0);
159
161
  }
162
+
160
163
  40% {
161
164
  opacity: 1;
162
165
  }
163
- to {
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
- from {
174
+ 0% {
171
175
  transform: rotate(10deg) scale(0);
172
176
  }
177
+
173
178
  40% {
174
179
  opacity: 1;
175
180
  }
176
- to {
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 0rem 1rem !important;
155
- @media (max-width: 450px) {
156
- padding: 0.5rem 0rem 1rem !important;
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 secondary-bg d-flex justify-content-center"
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
- @use "@scss/variables" as octopusVariables;
187
+
188
+
188
189
  .emission-player-container {
189
190
  list-style: none;
190
- background: #fff;
191
+ background: var(--octopus-background);
191
192
  display: flex;
192
193
  flex-direction: column;
193
194
  width: 100%;
194
- max-width: octopusVariables.$octopus-item-size;
195
+ max-width: var(--octopus-image-size);
195
196
  height: min-content;
196
- border: 2px solid #eee;
197
- border-radius: octopusVariables.$octopus-borderradius;
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: #ddd;
202
+ border-color: var(--octopus-secondary);
201
203
  }
204
+
202
205
  .define-width {
203
206
  width: 9rem;
204
207
  }
205
- @media (max-width: 960px) {
208
+
209
+ @media (width <= 960px) {
206
210
  .d-flex:not(.flex-column) {
207
211
  flex-wrap: nowrap;
208
212
  }
209
213
  }
210
- @media (max-width: 450px) {
211
- max-width: octopusVariables.$octopus-mobile-item-size;
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 (max-width: 960px) {
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 (max-width: 960px) {
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
- @media (max-width: 1550px) {
145
+
146
+ @media (width <= 1550px) {
140
147
  width: calc((100% - 420px));
141
148
  }
142
- @media (max-width: 960px) {
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
- @media (max-width: 960px) {
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
- @media (max-width: 1550px) {
166
+
167
+ @media (width <= 1550px) {
156
168
  display: none !important;
157
169
  }
158
- @media (max-width: 960px) {
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
- @use "@scss/variables" as octopusVariables;
147
+
148
+
148
149
  .octopus-app {
149
150
  .filter-speech-bubble {
150
151
  position: absolute;
151
- background: octopusVariables.$octopus-primary-color;
152
- border-radius: octopusVariables.$octopus-borderradius;
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:after {
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: octopusVariables.$octopus-primary-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
- @-moz-keyframes fadein {
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
- @-webkit-keyframes fadein {
196
+
197
+ @keyframes fadein {
196
198
  from {
197
199
  opacity: 0;
198
200
  }
201
+
199
202
  to {
200
203
  opacity: 1;
201
204
  }
@@ -55,6 +55,7 @@ export default defineComponent({
55
55
  .octopus-app .paginate {
56
56
  display: flex;
57
57
  justify-content: flex-end;
58
+
58
59
  select {
59
60
  border-top: 0;
60
61
  border-right: 0;
@@ -187,28 +187,32 @@ export default defineComponent({
187
187
  });
188
188
  </script>
189
189
  <style lang="scss">
190
- @use "@scss/variables" as octopusVariables;
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: octopusVariables.$octopus-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: octopusVariables.$primaryColorMoreTransparent;
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
- @use "@scss/variables" as octopusVariables;
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: octopusVariables.$octopus-primary-color !important;
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: octopusVariables.$octopus-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;