@saooti/octopus-sdk 40.2.2 → 40.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "40.2.2",
3
+ "version": "40.2.3",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -175,35 +175,5 @@ export default defineComponent({
175
175
  margin-right: -18px;
176
176
  animation: fadein 1s;
177
177
  }
178
-
179
- @keyframes fadein {
180
- from {
181
- opacity: 0;
182
- }
183
-
184
- to {
185
- opacity: 1;
186
- }
187
- }
188
-
189
- @keyframes fadein {
190
- from {
191
- opacity: 0;
192
- }
193
-
194
- to {
195
- opacity: 1;
196
- }
197
- }
198
-
199
- @keyframes fadein {
200
- from {
201
- opacity: 0;
202
- }
203
-
204
- to {
205
- opacity: 1;
206
- }
207
- }
208
178
  }
209
179
  </style>
@@ -175,6 +175,7 @@ export default defineComponent({
175
175
  z-index: 11;
176
176
  position: sticky;
177
177
  top: 0;
178
+ background-color: black;
178
179
  &.header-img-bg{
179
180
  background-position: center -20vw;
180
181
  background-repeat: no-repeat;
@@ -198,8 +199,12 @@ export default defineComponent({
198
199
  background-size: cover;
199
200
  width: 100%;
200
201
  display: flex;
202
+ background-color: black;
201
203
  transition: height 0.7s;
202
204
  height: calc(var(--header-additional-content-size) - var(--header-size));
205
+ @starting-style {
206
+ height: 0rem;
207
+ }
203
208
  &.scrolled {
204
209
  height: 0rem;
205
210
  }
@@ -29,7 +29,7 @@
29
29
  :class="platformEducation ? 'education-logo' : ''"
30
30
  />
31
31
  </router-link>
32
- <h1 v-if="titleIsDisplayed" class="text-truncate m-0 align-self-center">
32
+ <h1 v-if="titleIsDisplayed" class="text-fadein text-truncate m-0 align-self-center">
33
33
  {{ titleDisplay }}
34
34
  </h1>
35
35
  <div
@@ -73,6 +73,7 @@
73
73
  <nav role="navigation" :aria-label="$t('Site menu')">
74
74
  <ul class="d-flex">
75
75
  <template v-for="link in routerLinkArray" :key="link.routeName">
76
+ <transition name="fade">
76
77
  <li v-if="link.condition" class="li-style-none">
77
78
  <router-link
78
79
  v-show="!isPhone"
@@ -85,6 +86,7 @@
85
86
  {{ link.title }}
86
87
  </router-link>
87
88
  </li>
89
+ </transition>
88
90
  </template>
89
91
  </ul>
90
92
  </nav>
@@ -340,6 +342,18 @@ export default defineComponent({
340
342
  max-width: 30px !important;
341
343
  }
342
344
  }
345
+ .text-fadein{
346
+ animation: fadein 0.3s ease-in-out;
347
+ }
348
+ .fade-enter-active, .fade-leave-active {
349
+ transition: opacity 0.3s;
350
+ @starting-style {
351
+ opacity: 0;
352
+ }
353
+ }
354
+ .fade-enter, .fade-leave-to {
355
+ opacity: 0;
356
+ }
343
357
  }
344
358
  }
345
359
  </style>
@@ -84,4 +84,8 @@
84
84
  }
85
85
 
86
86
  }
87
+ @keyframes fadein {
88
+ from { opacity: 0; }
89
+ to { opacity: 1; }
90
+ }
87
91
  }