@cnamts/synapse 0.0.7-alpha → 0.0.8-alpha
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/dist/design-system-v3.d.ts +325 -368
- package/dist/design-system-v3.js +2791 -2637
- package/dist/design-system-v3.umd.cjs +1 -10
- package/dist/style.css +1 -1
- package/package.json +10 -2
- package/src/assets/settings.scss +2 -2
- package/src/assets/tokens.scss +107 -112
- package/src/components/BackBtn/BackBtn.vue +4 -4
- package/src/components/BackToTopBtn/BackToTopBtn.vue +1 -0
- package/src/components/CollapsibleList/CollapsibleList.mdx +1 -1
- package/src/components/CollapsibleList/CollapsibleList.vue +43 -44
- package/src/components/ContextualMenu/ContextualMenu.mdx +118 -0
- package/src/components/ContextualMenu/ContextualMenu.stories.ts +430 -0
- package/src/components/ContextualMenu/ContextualMenu.vue +101 -0
- package/src/components/ContextualMenu/tests/ContextualMenu.spec.ts +115 -0
- package/src/components/ContextualMenu/tests/__snapshots__/ContextualMenu.spec.ts.snap +10 -0
- package/src/components/ContextualMenu/types.ts +5 -0
- package/src/components/CookieBanner/CookieBanner.stories.ts +1 -2
- package/src/components/CookieBanner/CookieBanner.vue +13 -10
- package/src/components/CookieBanner/tests/__snapshots__/CookieBanner.spec.ts.snap +17 -15
- package/src/components/CookiesSelection/CookiesInformation/CookiesInformation.vue +6 -1
- package/src/components/CookiesSelection/CookiesInformation/locales.ts +1 -0
- package/src/components/CookiesSelection/CookiesTable/CookiesTable.vue +1 -0
- package/src/components/CookiesSelection/tests/__snapshots__/CookiesSelection.spec.ts.snap +17 -15
- package/src/components/CopyBtn/CopyBtn.vue +7 -7
- package/src/components/Customs/SyBtnSelect/SyBtnSelect.vue +26 -26
- package/src/components/Customs/SyInputSelect/SyInputSelect.vue +24 -24
- package/src/components/Customs/SySelect/SySelect.vue +27 -26
- package/src/components/DataList/DataList.stories.ts +3 -2
- package/src/components/DataList/DataList.vue +1 -1
- package/src/components/DataListGroup/DataListGroup.stories.ts +3 -2
- package/src/components/DataListItem/DataListItem.vue +12 -12
- package/src/components/DialogBox/DialogBox.mdx +28 -2
- package/src/components/DialogBox/DialogBox.stories.ts +1 -1
- package/src/components/DialogBox/DialogBox.vue +3 -2
- package/src/components/DownloadBtn/DownloadBtn.vue +2 -1
- package/src/components/ExternalLinks/ExternalLinks.mdx +86 -0
- package/src/components/ExternalLinks/ExternalLinks.stories.ts +553 -0
- package/src/components/ExternalLinks/ExternalLinks.vue +200 -0
- package/src/components/ExternalLinks/config.ts +34 -0
- package/src/components/ExternalLinks/locales.ts +4 -0
- package/src/components/ExternalLinks/tests/ExternalLinks.spec.ts +154 -0
- package/src/components/ExternalLinks/tests/__snapshots__/ExternalLinks.spec.ts.snap +159 -0
- package/src/components/FooterBar/FooterBar.vue +105 -80
- package/src/components/FranceConnectBtn/FranceConnectBtn.vue +14 -13
- package/src/components/HeaderBar/HeaderBar.vue +3 -3
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderBurgerMenu.vue +11 -7
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuItem/HeaderMenuItem.vue +5 -5
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderMenuSection/HeaderMenuSection.vue +2 -2
- package/src/components/HeaderBar/HeaderBurgerMenu/HeaderSubMenu/HeaderSubMenu.vue +10 -8
- package/src/components/HeaderBar/HeaderLogo/HeaderLogo.vue +2 -2
- package/src/components/HeaderBar/HeaderLogo/logos/Logo-mobile.vue +2 -1
- package/src/components/HeaderBar/HeaderLogo/logos/Logo.vue +2 -1
- package/src/components/HeaderBar/HeaderMenuBtn/HeaderMenuBtn.vue +10 -10
- package/src/components/HeaderBar/consts.scss +1 -1
- package/src/components/HeaderLoading/HeaderLoading.vue +12 -11
- package/src/components/HeaderNavigationBar/HeaderNavigationBar.vue +2 -1
- package/src/components/HeaderNavigationBar/HorizontalNavbar/HorizontalNavbar.vue +9 -9
- package/src/components/HeaderToolbar/HeaderToolbar.vue +215 -202
- package/src/components/LangBtn/LangBtn.vue +8 -6
- package/src/components/LogoBrandSection/LogoBrandSection.stories.ts +2 -2
- package/src/components/NirField/NirField.stories.ts +7 -7
- package/src/components/NirField/NirField.vue +44 -47
- package/src/components/NotFoundPage/NotFoundPage.stories.ts +33 -2
- package/src/components/NotFoundPage/NotFoundPage.vue +17 -0
- package/src/components/NotificationBar/NotificationBar.mdx +5 -5
- package/src/components/NotificationBar/NotificationBar.stories.ts +410 -314
- package/src/components/NotificationBar/NotificationBar.vue +43 -41
- package/src/components/PageContainer/PageContainer.vue +4 -4
- package/src/components/PasswordField/PasswordField.mdx +70 -0
- package/src/components/PasswordField/PasswordField.stories.ts +213 -0
- package/src/components/PasswordField/PasswordField.vue +189 -0
- package/src/components/PasswordField/config.ts +11 -0
- package/src/components/PasswordField/locales.ts +4 -0
- package/src/components/PasswordField/tests/PasswordField.spec.ts +96 -0
- package/src/components/PhoneField/PhoneField.mdx +0 -2
- package/src/components/PhoneField/PhoneField.stories.ts +10 -50
- package/src/components/PhoneField/PhoneField.vue +34 -34
- package/src/components/SkipLink/SkipLink.vue +10 -10
- package/src/components/SocialMediaLinks/SocialMediaLinks.vue +28 -26
- package/src/components/SubHeader/SubHeader.vue +32 -31
- package/src/components/SyAlert/SyAlert.vue +12 -12
- package/src/components/UserMenuBtn/UserMenuBtn.vue +1 -1
- package/src/components/UserMenuBtn/config.ts +1 -1
- package/src/components/index.ts +10 -7
- package/src/designTokens/index.ts +6 -4
- package/src/designTokens/{bootstrapColors.md → paColors.md} +1 -1
- package/src/designTokens/tokens/cnam/cnamLightTheme.ts +2 -0
- package/src/designTokens/tokens/pa/paColors.ts +171 -0
- package/src/designTokens/tokens/pa/paContextual.ts +58 -0
- package/src/designTokens/tokens/pa/paDarkTheme.ts +5 -0
- package/src/designTokens/tokens/pa/paLightTheme.ts +123 -0
- package/src/designTokens/tokens/pa/paSemantic.ts +87 -0
- package/src/stories/GuideDuDev/CreerUneIssue.mdx +64 -0
- package/src/stories/GuideDuDev/{CommentUtiliserLesRules.mdx → UtiliserLesRules.mdx} +2 -2
- package/src/stories/GuideDuDev/components.stories.ts +9 -7
- package/src/stories/Guidelines/Vuetify/Vuetify.stories.ts +163 -88
- package/src/stories/Guidelines/Vuetify/VuetifyItems.ts +250 -23
- package/src/temp/TestDTComponent.vue +5 -6
- package/src/designTokens/tokens/bootstrap/bootstrapColors.ts +0 -158
- package/src/designTokens/tokens/bootstrap/bootstrapLightTheme.ts +0 -22
- package/src/stories/GuideDuDev/CommentContribuer.mdx +0 -22
|
@@ -240,102 +240,127 @@
|
|
|
240
240
|
</template>
|
|
241
241
|
|
|
242
242
|
<style lang="scss" scoped>
|
|
243
|
-
@use '@/assets/tokens
|
|
243
|
+
@use '@/assets/tokens';
|
|
244
|
+
|
|
244
245
|
$white: #fff;
|
|
245
246
|
|
|
246
247
|
a {
|
|
247
|
-
|
|
248
|
+
cursor: pointer;
|
|
248
249
|
}
|
|
250
|
+
|
|
249
251
|
.v-btn--icon {
|
|
250
|
-
|
|
252
|
+
border: 0;
|
|
251
253
|
}
|
|
254
|
+
|
|
252
255
|
// Fix footer bar height in SK
|
|
253
256
|
.v-footer {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
257
|
+
flex-grow: 0 !important;
|
|
258
|
+
justify-content: center;
|
|
259
|
+
|
|
260
|
+
.container {
|
|
261
|
+
width: 100%;
|
|
262
|
+
max-width: 1712px;
|
|
263
|
+
margin: 0 auto;
|
|
264
|
+
}
|
|
261
265
|
}
|
|
266
|
+
|
|
262
267
|
.vd-footer-bar :deep() {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
268
|
+
.vd-footer-bar-links a {
|
|
269
|
+
color: rgb(0 0 0 / 87%);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
p,
|
|
273
|
+
.text--primary {
|
|
274
|
+
color: rgb(0 0 0 / 87%);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.text--secondary {
|
|
278
|
+
color: rgb(0 0 0 / 60%);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.social {
|
|
282
|
+
.text--primary {
|
|
283
|
+
color: rgb(var(--v-theme-primary));
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
a.v-btn:hover {
|
|
287
|
+
background: rgb(0 0 0 / 5%);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
button.v-btn:hover {
|
|
292
|
+
background: rgb(0 0 0 / 5%);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
a.text--primary {
|
|
296
|
+
color: rgb(var(--v-theme-primary));
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.v-divider {
|
|
300
|
+
border-color: rgba(tokens.$parma-darken-60, 1);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
svg.logo {
|
|
304
|
+
fill: rgb(var(--v-theme-primary));
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.scroll {
|
|
308
|
+
color: rgb(var(--v-theme-primary)) !important;
|
|
309
|
+
}
|
|
296
310
|
}
|
|
311
|
+
|
|
297
312
|
// Use deep selector to style user content as well
|
|
298
313
|
.vd-footer-bar.v-theme--dark :deep() {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
314
|
+
.vd-footer-bar-links a {
|
|
315
|
+
color: $white;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
p,
|
|
319
|
+
.text--primary {
|
|
320
|
+
color: rgba($white, 0.87);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.text--secondary {
|
|
324
|
+
color: rgba($white, 0.6);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
a.text--primary {
|
|
328
|
+
color: $white;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.v-divider {
|
|
332
|
+
border-color: rgba($white, 1);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
svg {
|
|
336
|
+
fill: $white;
|
|
337
|
+
}
|
|
318
338
|
}
|
|
339
|
+
|
|
319
340
|
.vd-footer-bar-links :deep() {
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
341
|
+
li {
|
|
342
|
+
list-style: none;
|
|
343
|
+
display: flex;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
a {
|
|
347
|
+
transition: 0.15s;
|
|
348
|
+
text-decoration: none;
|
|
349
|
+
padding-top: 1px; // Add top padding to account for bottom border
|
|
350
|
+
border-bottom: 1px solid transparent;
|
|
351
|
+
|
|
352
|
+
&:hover,
|
|
353
|
+
&:focus {
|
|
354
|
+
border-color: currentcolor;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
p {
|
|
359
|
+
padding: 1px 0;
|
|
360
|
+
}
|
|
337
361
|
}
|
|
362
|
+
|
|
338
363
|
.v-theme--dark button.v-btn:hover :deep() {
|
|
339
|
-
|
|
364
|
+
background: rgba(white, 0.1);
|
|
340
365
|
}
|
|
341
366
|
</style>
|
|
@@ -97,13 +97,14 @@
|
|
|
97
97
|
.vd-france-connect-btn a {
|
|
98
98
|
color: #000091;
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
&:focus {
|
|
101
|
+
outline-offset: 3px;
|
|
102
|
+
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.vd-france-connect-link {
|
|
106
106
|
background: #000091;
|
|
107
|
+
|
|
107
108
|
&:hover {
|
|
108
109
|
background: #1212ff;
|
|
109
110
|
transition: all 0.2s ease-in-out;
|
|
@@ -113,32 +114,32 @@
|
|
|
113
114
|
background: #2323ff;
|
|
114
115
|
}
|
|
115
116
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
&:focus {
|
|
118
|
+
outline-offset: 3px;
|
|
119
|
+
}
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
.vd-france-connect-btn--dark {
|
|
122
123
|
.vd-france-connect-link {
|
|
123
|
-
color: #
|
|
124
|
-
background-color: #
|
|
124
|
+
color: #fff;
|
|
125
|
+
background-color: #8585f6;
|
|
125
126
|
|
|
126
127
|
&:hover {
|
|
127
|
-
background-color: #
|
|
128
|
+
background-color: #b1b1f9;
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
&:active {
|
|
131
|
-
background-color: #
|
|
132
|
+
background-color: #c6c6fb;
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
.vd-france-connect-info-link {
|
|
136
|
-
color: #
|
|
137
|
+
color: #8585f6;
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
.vd-france-connect-info-link {
|
|
141
|
-
background-image: linear-gradient(
|
|
142
|
+
background-image: linear-gradient(currentcolor, currentcolor);
|
|
142
143
|
background-position: 0% 100%;
|
|
143
144
|
background-repeat: no-repeat;
|
|
144
145
|
background-size: 100% 1px;
|
|
@@ -149,6 +150,6 @@
|
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
:deep(&:focus) {
|
|
152
|
-
|
|
153
|
+
border-radius: 0 !important;
|
|
153
154
|
}
|
|
154
155
|
</style>
|
|
@@ -260,9 +260,9 @@
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
.menu + .header-logo {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
@media screen and (width >= 340px) {
|
|
264
|
+
padding-left: 16px !important;
|
|
265
|
+
}
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
@media screen and (min-width: $header-breakpoint) {
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
inset: 0;
|
|
154
154
|
position: fixed;
|
|
155
155
|
z-index: 1000;
|
|
156
|
-
background-color:
|
|
156
|
+
background-color: rgb(3 16 37 / 50%);
|
|
157
157
|
backdrop-filter: blur(2px);
|
|
158
158
|
}
|
|
159
159
|
|
|
@@ -188,8 +188,7 @@
|
|
|
188
188
|
|
|
189
189
|
.header-menu {
|
|
190
190
|
background-color: $neutral-white;
|
|
191
|
-
overflow
|
|
192
|
-
overflow-x: hidden;
|
|
191
|
+
overflow: hidden auto;
|
|
193
192
|
height: 100%;
|
|
194
193
|
}
|
|
195
194
|
}
|
|
@@ -210,12 +209,14 @@
|
|
|
210
209
|
}
|
|
211
210
|
}
|
|
212
211
|
|
|
213
|
-
.menu-enter-from,
|
|
212
|
+
.menu-enter-from,
|
|
213
|
+
.menu-leave-to {
|
|
214
214
|
opacity: 0;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
@media screen and (min-width: $header-breakpoint) {
|
|
218
|
-
.menu-enter-from,
|
|
218
|
+
.menu-enter-from,
|
|
219
|
+
.menu-leave-to {
|
|
219
220
|
.header-menu-wrapper {
|
|
220
221
|
transform: translateY(10px);
|
|
221
222
|
}
|
|
@@ -223,10 +224,13 @@
|
|
|
223
224
|
}
|
|
224
225
|
|
|
225
226
|
@media (prefers-reduced-motion: reduce) {
|
|
226
|
-
.menu-enter-active,
|
|
227
|
+
.menu-enter-active,
|
|
228
|
+
.menu-leave-active {
|
|
227
229
|
transition: opacity 0s;
|
|
228
230
|
}
|
|
229
|
-
|
|
231
|
+
|
|
232
|
+
.menu-enter-from,
|
|
233
|
+
.menu-leave-to {
|
|
230
234
|
.header-menu-wrapper {
|
|
231
235
|
transform: none;
|
|
232
236
|
}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
</template>
|
|
10
10
|
|
|
11
11
|
<style lang="scss" scoped>
|
|
12
|
-
@use
|
|
12
|
+
@use '@/assets/tokens.scss' as *;
|
|
13
13
|
|
|
14
14
|
.header-menu-item {
|
|
15
|
-
color:
|
|
15
|
+
color: rgb(var(--v-theme-primary));
|
|
16
16
|
list-style-type: none;
|
|
17
17
|
margin: 0;
|
|
18
18
|
padding: 0;
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
flex-direction: column;
|
|
25
25
|
padding: 16px 50px 16px 20px;
|
|
26
26
|
text-decoration: none;
|
|
27
|
-
color:
|
|
27
|
+
color: currentcolor;
|
|
28
28
|
|
|
29
29
|
&:hover {
|
|
30
30
|
text-decoration: underline;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&:visited {
|
|
34
|
-
color:
|
|
34
|
+
color: currentcolor;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&::first-letter {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.header-menu-item:hover {
|
|
44
|
-
background-color:
|
|
44
|
+
background-color: rgb(var(--v-theme-primary));
|
|
45
45
|
color: $neutral-white;
|
|
46
46
|
|
|
47
47
|
> :deep(a > *) {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</template>
|
|
62
62
|
|
|
63
63
|
<style lang="scss" scoped>
|
|
64
|
-
@use
|
|
64
|
+
@use '@/assets/tokens.scss' as *;
|
|
65
65
|
@use '../../consts' as *;
|
|
66
66
|
|
|
67
67
|
.sub-menu-btn {
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
width: 100%;
|
|
72
72
|
padding: 16px 50px 16px 20px;
|
|
73
73
|
text-align: left;
|
|
74
|
-
color:
|
|
74
|
+
color: rgb(var(--v-theme-primary));
|
|
75
75
|
|
|
76
76
|
&:hover {
|
|
77
|
-
background-color:
|
|
77
|
+
background-color: rgb(var(--v-theme-primary));
|
|
78
78
|
color: $neutral-white;
|
|
79
79
|
text-decoration: underline;
|
|
80
80
|
|
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
|
|
120
120
|
&:hover {
|
|
121
121
|
color: #000;
|
|
122
|
+
|
|
122
123
|
> :deep(*) {
|
|
123
124
|
color: #000 !important;
|
|
124
125
|
}
|
|
@@ -137,7 +138,7 @@
|
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
.sub-menu--open > .sub-menu-btn {
|
|
140
|
-
background-color:
|
|
141
|
+
background-color: rgb(var(--v-theme-primary));
|
|
141
142
|
color: $neutral-white;
|
|
142
143
|
transition: color 0.15s linear, background-color 0.15s linear;
|
|
143
144
|
|
|
@@ -158,8 +159,7 @@
|
|
|
158
159
|
height: 100%;
|
|
159
160
|
background: #f9f9f9;
|
|
160
161
|
border-left: 1px solid $menu-border-color;
|
|
161
|
-
overflow
|
|
162
|
-
overflow-x: hidden;
|
|
162
|
+
overflow: hidden auto;
|
|
163
163
|
|
|
164
164
|
> .sub-menu--open .sub-menu-content {
|
|
165
165
|
left: $menu-width * 2;
|
|
@@ -180,13 +180,15 @@
|
|
|
180
180
|
transition: opacity 0.08s ease-in, transform 0.08s ease-in;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.slide-fade-enter-from,
|
|
183
|
+
.slide-fade-enter-from,
|
|
184
|
+
.slide-fade-leave-to {
|
|
184
185
|
opacity: 0;
|
|
185
186
|
transform: translateX(-10px);
|
|
186
187
|
}
|
|
187
188
|
|
|
188
189
|
@media (prefers-reduced-motion) {
|
|
189
|
-
.slide-fade-enter-active,
|
|
190
|
+
.slide-fade-enter-active,
|
|
191
|
+
.slide-fade-leave-active {
|
|
190
192
|
transition: none;
|
|
191
193
|
}
|
|
192
194
|
}
|
|
@@ -109,9 +109,9 @@
|
|
|
109
109
|
display: flex;
|
|
110
110
|
height: 52px;
|
|
111
111
|
align-items: center;
|
|
112
|
-
color:
|
|
112
|
+
color: rgb(var(--v-theme-primary));
|
|
113
113
|
line-height: 1.45;
|
|
114
|
-
font-family:
|
|
114
|
+
font-family: Cabin, Arial, Helvetica, sans-serif;
|
|
115
115
|
text-decoration: none;
|
|
116
116
|
cursor: pointer;
|
|
117
117
|
}
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
|
|
35
35
|
<style lang="scss" scoped>
|
|
36
36
|
@use '../consts' as *;
|
|
37
|
-
@use '@/assets/tokens
|
|
37
|
+
@use '@/assets/tokens';
|
|
38
38
|
|
|
39
39
|
.header-menu-btn {
|
|
40
|
-
text-transform:
|
|
40
|
+
text-transform: capitalize;
|
|
41
41
|
height: $header-height;
|
|
42
42
|
width: 82px;
|
|
43
43
|
display: flex;
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
flex-shrink: 0;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
font-weight: 700;
|
|
49
|
-
background-color:
|
|
50
|
-
color:
|
|
51
|
-
border-bottom: solid 1px
|
|
49
|
+
background-color: rgb(var(--v-theme-primary));
|
|
50
|
+
color: tokens.$neutral-white;
|
|
51
|
+
border-bottom: solid 1px tokens.$blue-lighten-80;
|
|
52
52
|
transition: color 0.15s 0.1s, background-color 0.15s 0.1s, border-bottom 0.15s 0.1s;
|
|
53
53
|
|
|
54
54
|
&:focus-visible {
|
|
55
|
-
background-color:
|
|
56
|
-
color:
|
|
55
|
+
background-color: tokens.$neutral-white;
|
|
56
|
+
color: rgb(var(--v-theme-primary));
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.header-menu-btn__open {
|
|
61
|
-
background-color:
|
|
62
|
-
color:
|
|
63
|
-
border-color:
|
|
61
|
+
background-color: tokens.$neutral-white;
|
|
62
|
+
color: rgb(var(--v-theme-primary));
|
|
63
|
+
border-color: tokens.$neutral-white;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
@media screen and (max-width: ($header-breakpoint + 1)) {
|
|
@@ -26,20 +26,21 @@
|
|
|
26
26
|
|
|
27
27
|
<style lang="scss" scoped>
|
|
28
28
|
.vd-header-loading :deep() {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
background: transparent;
|
|
30
|
+
|
|
31
|
+
.v-skeleton-loader__heading {
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
border-radius: 35px;
|
|
35
|
+
margin: 0;
|
|
36
|
+
background: rgba(grey, var(--v-border-opacity));
|
|
37
|
+
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
// Remove border radius when tile option is activated
|
|
40
41
|
.vd-header-loading.v-skeleton-loader--tile :deep() {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
.v-skeleton-loader__heading {
|
|
43
|
+
border-radius: 0;
|
|
44
|
+
}
|
|
44
45
|
}
|
|
45
46
|
</style>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import useHeaderResponsiveMode from '@/components/HeaderBar/useHeaderResponsiveMode'
|
|
7
7
|
import type { CustomizableOptions } from '@/composables/useCustomizableOptions'
|
|
8
8
|
import { computed } from 'vue'
|
|
9
|
-
import {
|
|
9
|
+
import { type RouteLocationRaw } from 'vue-router'
|
|
10
10
|
import HorizontalNavbar from './HorizontalNavbar/HorizontalNavbar.vue'
|
|
11
11
|
import type { NavigationItem } from './types'
|
|
12
12
|
|
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
<RouterLink
|
|
124
124
|
v-else-if="item.to"
|
|
125
125
|
:to="item.to"
|
|
126
|
+
@click="menuOpen = false"
|
|
126
127
|
>
|
|
127
128
|
{{ item.label }}
|
|
128
129
|
</RouterLink>
|
|
@@ -51,26 +51,26 @@
|
|
|
51
51
|
@use '@/components/HeaderBar/consts' as *;
|
|
52
52
|
|
|
53
53
|
.horizontal-menu {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
max-width: $header-max-width;
|
|
57
|
+
margin: 0 auto;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.horizontal-menu__tabs {
|
|
61
|
-
|
|
61
|
+
flex: 1 1 0;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.horizontal-menu__item {
|
|
65
|
-
|
|
65
|
+
cursor: pointer;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.horizontal-menu__item-link {
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
font-size: 0.875rem;
|
|
70
|
+
font-weight: 700;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.v-tab-item--selected span {
|
|
74
|
-
|
|
74
|
+
color: #fff;
|
|
75
75
|
}
|
|
76
76
|
</style>
|