spoko-design-system 1.1.1 → 1.1.2
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/.claude/settings.local.json +2 -1
- package/.github/workflows/code-quality.yml +3 -3
- package/.prettierrc +1 -0
- package/CHANGELOG.md +6 -0
- package/package.json +8 -2
- package/src/MyComponent.astro +1 -1
- package/src/components/Badge.vue +2 -2
- package/src/components/Badges.vue +17 -7
- package/src/components/Breadcrumbs.vue +47 -39
- package/src/components/Button.vue +31 -30
- package/src/components/ButtonCopy.astro +12 -17
- package/src/components/ButtonCopy.vue +26 -25
- package/src/components/Card.astro +4 -6
- package/src/components/Carousel.astro +4 -4
- package/src/components/Category/CategoriesCarousel.astro +75 -75
- package/src/components/Category/CategoryDetails.astro +75 -79
- package/src/components/Category/CategoryLink.vue +8 -12
- package/src/components/Category/CategorySidebarToggler.vue +2 -7
- package/src/components/Category/CategoryTile.astro +3 -3
- package/src/components/Category/CategoryViewToggler.astro +18 -18
- package/src/components/Category/SubCategoryLink.vue +13 -13
- package/src/components/Faq.astro +16 -17
- package/src/components/FaqItem.astro +27 -27
- package/src/components/FeaturesList.vue +19 -29
- package/src/components/FuckRussia.vue +40 -27
- package/src/components/HandDrive.astro +11 -15
- package/src/components/Header/Header.astro +165 -166
- package/src/components/Header/SkipToContent.astro +1 -1
- package/src/components/Headline.vue +44 -27
- package/src/components/Image.astro +5 -7
- package/src/components/Input.vue +143 -153
- package/src/components/Jumbotron/index.astro +143 -156
- package/src/components/Jumbotron/types.ts +28 -29
- package/src/components/Jumbotron/variants/Default.astro +44 -40
- package/src/components/Jumbotron/variants/Hero.astro +45 -53
- package/src/components/Jumbotron/variants/Post.astro +68 -64
- package/src/components/Jumbotron/variants/PostSplit.astro +89 -81
- package/src/components/Jumbotron.astro +12 -12
- package/src/components/LanguageSuggestion.astro +66 -69
- package/src/components/LeftSidebar.astro +10 -10
- package/src/components/MainColors.vue +2 -2
- package/src/components/MainInput.vue +6 -3
- package/src/components/Modal.astro +2 -2
- package/src/components/PartNumber.vue +2 -3
- package/src/components/Post/PostCategories.astro +2 -4
- package/src/components/Post/PostCategories.vue +2 -2
- package/src/components/PostHeader.astro +4 -6
- package/src/components/PrCode.vue +20 -19
- package/src/components/Product/ProductButton.vue +2 -5
- package/src/components/Product/ProductCarousel.astro +38 -27
- package/src/components/Product/ProductColors.vue +46 -42
- package/src/components/Product/ProductDetailName.vue +22 -22
- package/src/components/Product/ProductDetails.vue +115 -99
- package/src/components/Product/ProductDoc.vue +27 -25
- package/src/components/Product/ProductEngineType.vue +13 -10
- package/src/components/Product/ProductImage.astro +18 -19
- package/src/components/Product/ProductLink.vue +55 -58
- package/src/components/Product/ProductLinkInfo.astro +15 -18
- package/src/components/Product/ProductModel.vue +25 -24
- package/src/components/Product/ProductModels.vue +29 -33
- package/src/components/Product/ProductName.vue +15 -15
- package/src/components/Product/ProductNumber.astro +23 -31
- package/src/components/Product/ProductPositions.vue +32 -34
- package/src/components/ProductCarousel.astro +5 -5
- package/src/components/ProductCodes.vue +12 -14
- package/src/components/ProductDetailName.vue +18 -20
- package/src/components/ProductDetailsList.vue +48 -27
- package/src/components/Quote.vue +8 -6
- package/src/components/ReloadPrompt.astro +39 -47
- package/src/components/SlimBanner.vue +44 -19
- package/src/components/Table.vue +4 -6
- package/src/components/Translations.vue +17 -8
- package/src/components/flags/FlagPL.vue +4 -3
- package/src/components/flags/FlagUA.vue +2 -2
- package/src/components/layout/CallToAction.astro +17 -12
- package/src/components/layout/Container.astro +3 -1
- package/src/components/layout/Header.astro +12 -21
- package/src/config.ts +43 -43
- package/src/design.config.ts +63 -63
- package/src/env.d.ts +4 -4
- package/src/layouts/Layout.astro +10 -19
- package/src/layouts/MainLayout.astro +13 -19
- package/src/layouts/partials/FooterCommon.astro +2 -2
- package/src/layouts/partials/HeadCommon.astro +9 -9
- package/src/layouts/partials/HeadSEO.astro +12 -5
- package/src/pages/components/icons.astro +130 -121
- package/src/pages/core/shadows.astro +18 -11
- package/src/pages/index.astro +178 -75
- package/src/pwa.ts +4 -4
- package/src/styles/base/base.css +14 -19
- package/src/styles/base/grid.css +54 -58
- package/src/styles/base/typography.css +40 -40
- package/src/styles/content.css +25 -23
- package/src/styles/main.css +5 -6
- package/src/types/Product.ts +31 -31
- package/src/types/astro.d.ts +1 -1
- package/src/types/index.ts +234 -237
- package/src/utils/api/getCategories.ts +9 -9
- package/src/utils/category/getMainCategoryList.ts +22 -22
- package/src/utils/category/getSortedCategories.ts +7 -11
- package/src/utils/product/getPriceFormatted.ts +14 -11
- package/src/utils/product/getProductChecklist.ts +10 -11
- package/src/utils/product/useFormatProductNumber.ts +18 -9
- package/src/utils/seo/getShorterDescription.ts +6 -4
- package/src/utils/text/formatDate.ts +2 -3
- package/src/utils/text/formatLocaleNumber.ts +2 -2
- package/src/utils/text/formatPad.ts +2 -2
- package/src/utils/text/getNumberFormatted.ts +10 -10
- package/src/utils/text/getTranslatedLink.ts +3 -3
- package/src/utils/text.ts +11 -8
|
@@ -11,30 +11,28 @@ interface Props {
|
|
|
11
11
|
const { data } = Astro.props;
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
-
{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
itemprop="mainEntity"
|
|
18
|
-
itemtype="https://schema.org/Question"
|
|
19
|
-
class="faq-details [&_summary:after]:open:-rotate-180"
|
|
20
|
-
>
|
|
21
|
-
<summary
|
|
22
|
-
class="py-2 outline-none cursor-pointer focus:underline text-xl font-500 relative items-center flex justify-between list-none
|
|
23
|
-
after:(block duration-200 content-empty bg-[url(/arrow-bottom.svg)] bg-contain bg-center bg-no-repeat h-3 w-4 min-w-4 my-auto ml-4 opacity-60)"
|
|
24
|
-
>
|
|
25
|
-
<h2 itemprop="name" class="font-headbold" set:html={data.question} />
|
|
26
|
-
</summary>
|
|
27
|
-
<div
|
|
14
|
+
{
|
|
15
|
+
data.answer && (
|
|
16
|
+
<details
|
|
28
17
|
itemscope
|
|
29
|
-
itemprop="
|
|
30
|
-
itemtype="https://schema.org/
|
|
18
|
+
itemprop="mainEntity"
|
|
19
|
+
itemtype="https://schema.org/Question"
|
|
20
|
+
class="faq-details [&_summary:after]:open:-rotate-180"
|
|
31
21
|
>
|
|
32
|
-
<
|
|
33
|
-
|
|
22
|
+
<summary
|
|
23
|
+
class="py-2 outline-none cursor-pointer focus:underline text-xl font-500 relative items-center flex justify-between list-none
|
|
24
|
+
after:(block duration-200 content-empty bg-[url(/arrow-bottom.svg)] bg-contain bg-center bg-no-repeat h-3 w-4 min-w-4 my-auto ml-4 opacity-60)"
|
|
25
|
+
>
|
|
26
|
+
<h2 itemprop="name" class="font-headbold" set:html={data.question} />
|
|
27
|
+
</summary>
|
|
28
|
+
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
|
|
29
|
+
<div itemprop="text" class="px-0 pb-4">
|
|
30
|
+
<Markdown content={data.answer} />
|
|
31
|
+
</div>
|
|
34
32
|
</div>
|
|
35
|
-
</
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
</details>
|
|
34
|
+
)
|
|
35
|
+
}
|
|
38
36
|
|
|
39
37
|
<style is:global>
|
|
40
38
|
.faq-details {
|
|
@@ -42,9 +40,10 @@ const { data } = Astro.props;
|
|
|
42
40
|
color: var(--clr-primary-450);
|
|
43
41
|
}
|
|
44
42
|
|
|
45
|
-
ul,
|
|
43
|
+
ul,
|
|
44
|
+
ol {
|
|
46
45
|
@apply pl-5;
|
|
47
|
-
|
|
46
|
+
|
|
48
47
|
& + p {
|
|
49
48
|
@apply mt-2;
|
|
50
49
|
}
|
|
@@ -60,17 +59,18 @@ const { data } = Astro.props;
|
|
|
60
59
|
|
|
61
60
|
h2 {
|
|
62
61
|
color: var(--clr-primary-700);
|
|
63
|
-
|
|
62
|
+
|
|
64
63
|
&:hover {
|
|
65
64
|
color: var(--clr-primary-450);
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
|
-
|
|
67
|
+
|
|
69
68
|
h3 {
|
|
70
69
|
@apply mt-2;
|
|
71
70
|
}
|
|
72
71
|
|
|
73
|
-
td,
|
|
72
|
+
td,
|
|
73
|
+
th {
|
|
74
74
|
@apply border-b text-left py-2 pr-4;
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -78,4 +78,4 @@ const { data } = Astro.props;
|
|
|
78
78
|
@apply underline decoration-light-blue-400 underline-offset-2;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
</style>
|
|
81
|
+
</style>
|
|
@@ -1,37 +1,27 @@
|
|
|
1
|
-
|
|
2
1
|
<script lang="ts" setup>
|
|
3
2
|
import { PropType } from 'vue';
|
|
4
3
|
|
|
5
4
|
const props = defineProps({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
})
|
|
5
|
+
items: {
|
|
6
|
+
type: Object as PropType<String[] | null>,
|
|
7
|
+
default: null,
|
|
8
|
+
required: true,
|
|
9
|
+
},
|
|
10
|
+
caption: {
|
|
11
|
+
type: String as PropType<String | null>,
|
|
12
|
+
default: null,
|
|
13
|
+
required: false,
|
|
14
|
+
},
|
|
15
|
+
});
|
|
17
16
|
</script>
|
|
18
17
|
|
|
19
18
|
<template>
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
v-for="item in props.items"
|
|
29
|
-
class="features-list-item"
|
|
30
|
-
:key="item"
|
|
31
|
-
>
|
|
32
|
-
{{ item }}
|
|
33
|
-
</li>
|
|
34
|
-
</ul>
|
|
19
|
+
<h2 class="features-list-caption" v-if="props.caption">
|
|
20
|
+
{{ props.caption }}
|
|
21
|
+
</h2>
|
|
22
|
+
<ul class="features-list-ul">
|
|
23
|
+
<li v-for="item in props.items" class="features-list-item" :key="item">
|
|
24
|
+
{{ item }}
|
|
25
|
+
</li>
|
|
26
|
+
</ul>
|
|
35
27
|
</template>
|
|
36
|
-
|
|
37
|
-
|
|
@@ -8,55 +8,68 @@
|
|
|
8
8
|
<div i-emojione:fire class="inline-block absolute -mt-1 animate-ping animate-pulseR" />
|
|
9
9
|
</div>
|
|
10
10
|
<div class="absolute left-0 animate-bull animate-bull--1 -mt-1">
|
|
11
|
-
<div i-mdi:bullet class="rotate-90 inline-block bg-yellow
|
|
11
|
+
<div i-mdi:bullet class="rotate-90 inline-block bg-yellow" />
|
|
12
12
|
</div>
|
|
13
13
|
<div class="absolute left-0 animate-bull animate-bull animate-bull--2 -mt-1">
|
|
14
|
-
<div i-mdi:bullet class="rotate-90 inline-block bg-yellow
|
|
14
|
+
<div i-mdi:bullet class="rotate-90 inline-block bg-yellow" />
|
|
15
15
|
</div>
|
|
16
16
|
<div class="absolute left-0 animate-bull animate-bull--3 -mt-1">
|
|
17
|
-
<div i-mdi:bullet class="rotate-90 inline-block bg-yellow
|
|
17
|
+
<div i-mdi:bullet class="rotate-90 inline-block bg-yellow" />
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
|
-
<style
|
|
22
|
+
<style>
|
|
23
23
|
.bg-ukraine {
|
|
24
|
-
background: linear-gradient(180deg, #0066cc 56%, #ffcc00 44%);
|
|
24
|
+
background: linear-gradient(180deg, #0066cc 56%, #ffcc00 44%);
|
|
25
|
+
}
|
|
25
26
|
|
|
26
27
|
.animate-bull {
|
|
27
28
|
top: -2px;
|
|
28
|
-
animation-iteration-count: infinite;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
29
|
+
animation-iteration-count: infinite;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.animate-bull--1 {
|
|
33
|
+
animation-duration: 2s;
|
|
34
|
+
animation-name: AnimateBull1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.animate-bull--2 {
|
|
38
|
+
animation-duration: 1.332s;
|
|
39
|
+
animation-name: AnimateBull2;
|
|
40
|
+
animation-delay: 1s;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.animate-bull--3 {
|
|
44
|
+
animation-duration: 0.666s;
|
|
45
|
+
animation-name: AnimateBull3;
|
|
46
|
+
animation-delay: 2s;
|
|
47
|
+
}
|
|
43
48
|
|
|
44
49
|
@keyframes AnimateBull1 {
|
|
45
50
|
0% {
|
|
46
|
-
transform: translate(14px, 0px);
|
|
51
|
+
transform: translate(14px, 0px);
|
|
52
|
+
}
|
|
47
53
|
100% {
|
|
48
|
-
transform: translate(86px, 0px);
|
|
54
|
+
transform: translate(86px, 0px);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
49
57
|
|
|
50
58
|
@keyframes AnimateBull2 {
|
|
51
59
|
0% {
|
|
52
|
-
transform: translate(38px, 0px);
|
|
60
|
+
transform: translate(38px, 0px);
|
|
61
|
+
}
|
|
53
62
|
100% {
|
|
54
|
-
transform: translate(80px, 0px);
|
|
63
|
+
transform: translate(80px, 0px);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
55
66
|
|
|
56
67
|
@keyframes AnimateBull3 {
|
|
57
68
|
0% {
|
|
58
|
-
transform: translate(62px, 0px);
|
|
69
|
+
transform: translate(62px, 0px);
|
|
70
|
+
}
|
|
59
71
|
100% {
|
|
60
|
-
transform: translate(88px, 0px);
|
|
61
|
-
|
|
72
|
+
transform: translate(88px, 0px);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
62
75
|
</style>
|
|
@@ -14,16 +14,10 @@ interface Props {
|
|
|
14
14
|
title?: string;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
const {
|
|
18
|
-
class: className,
|
|
19
|
-
handDrive,
|
|
20
|
-
text,
|
|
21
|
-
biggerText = false,
|
|
22
|
-
title
|
|
23
|
-
} = Astro.props;
|
|
17
|
+
const { class: className, handDrive, text, biggerText = false, title } = Astro.props;
|
|
24
18
|
|
|
25
19
|
import { Image } from 'astro:assets';
|
|
26
|
-
import handDriveImage from
|
|
20
|
+
import handDriveImage from '../assets/hand-drive.svg';
|
|
27
21
|
|
|
28
22
|
// Don't render if no valid hand drive specified
|
|
29
23
|
if (!handDrive || (handDrive !== 'lhd' && handDrive !== 'rhd')) {
|
|
@@ -42,15 +36,17 @@ const titleText = title || handDrive.toUpperCase();
|
|
|
42
36
|
height={34}
|
|
43
37
|
class={handDrive}
|
|
44
38
|
/>
|
|
45
|
-
{
|
|
46
|
-
|
|
47
|
-
{text}
|
|
48
|
-
|
|
49
|
-
|
|
39
|
+
{
|
|
40
|
+
text && (
|
|
41
|
+
<div class={`ml-2 ${biggerText ? 'text-sm md:text-base' : 'text-xxs md:text-xs'}`}>
|
|
42
|
+
{text}
|
|
43
|
+
</div>
|
|
44
|
+
)
|
|
45
|
+
}
|
|
50
46
|
</div>
|
|
51
47
|
|
|
52
48
|
<style>
|
|
53
49
|
.rhd {
|
|
54
|
-
|
|
50
|
+
transform: scaleX(-1);
|
|
55
51
|
}
|
|
56
|
-
|
|
52
|
+
</style>
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
---
|
|
2
|
-
import { SITE } from
|
|
3
|
-
import SkipToContent from
|
|
4
|
-
import { MenuIcon } from
|
|
5
|
-
import Search from
|
|
2
|
+
import { SITE } from '../../config';
|
|
3
|
+
import SkipToContent from './SkipToContent.astro';
|
|
4
|
+
import { MenuIcon } from 'astro-navbar';
|
|
5
|
+
import Search from 'astro-pagefind/components/Search';
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
<header
|
|
9
|
-
class="p-3 bg-blue-medium bg-opacity-10 backdrop-blur-md border-b text-slate-900"
|
|
10
|
-
>
|
|
8
|
+
<header class="p-3 bg-blue-medium bg-opacity-10 backdrop-blur-md border-b text-slate-900">
|
|
11
9
|
<SkipToContent />
|
|
12
|
-
<nav
|
|
13
|
-
title="Top Navigation"
|
|
14
|
-
class="mx-auto flex justify-between items-center px-4"
|
|
15
|
-
>
|
|
10
|
+
<nav title="Top Navigation" class="mx-auto flex justify-between items-center px-4">
|
|
16
11
|
<div class="flex flex-nowrap">
|
|
17
12
|
<MenuIcon class="w-4 h-4 text-gray-800 lg:hidden mr-4" />
|
|
18
|
-
<a
|
|
13
|
+
<a
|
|
14
|
+
class="text-2xl font-medium block font-textbold leading-none block my-auto text-blue-medium"
|
|
15
|
+
href="/"
|
|
16
|
+
>
|
|
17
|
+
SDS</a
|
|
18
|
+
>
|
|
19
19
|
<Search
|
|
20
20
|
transition:persist
|
|
21
21
|
transition:name="search-field"
|
|
@@ -34,7 +34,7 @@ import Search from "astro-pagefind/components/Search";
|
|
|
34
34
|
<a
|
|
35
35
|
title="Github"
|
|
36
36
|
class="opacity-80 hover:opacity-100 hover:bg-slate-200 p-2 rounded-full transition-colors"
|
|
37
|
-
href={
|
|
37
|
+
href={'https://github.com/' + SITE.github}
|
|
38
38
|
>
|
|
39
39
|
<img class="h-7" src="/github.svg" alt="github logo" />
|
|
40
40
|
</a>
|
|
@@ -45,7 +45,7 @@ import Search from "astro-pagefind/components/Search";
|
|
|
45
45
|
<a
|
|
46
46
|
title="linkedin"
|
|
47
47
|
class="opacity-80 hover:opacity-100 hover:bg-blue-50 p-2 rounded-full transition-colors"
|
|
48
|
-
href={
|
|
48
|
+
href={'https://linkedin.com/in/' + SITE.linkedin}
|
|
49
49
|
>
|
|
50
50
|
<img class="h-7" src="/linkedin.svg" alt="linkedin logo" />
|
|
51
51
|
</a>
|
|
@@ -55,156 +55,155 @@ import Search from "astro-pagefind/components/Search";
|
|
|
55
55
|
</nav>
|
|
56
56
|
</header>
|
|
57
57
|
|
|
58
|
-
<style
|
|
59
|
-
#search {
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.search-container {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.pagefind-ui {
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.pagefind-ui .pagefind-ui__search-input {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.pagefind-ui .pagefind-ui__result-excerpt,
|
|
79
|
-
.pagefind-ui .pagefind-ui__button {
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.pagefind-ui .pagefind-ui__filter-name {
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.pagefind-ui .pagefind-ui__drawer:not(.pagefind-ui__hidden) {
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.pagefind-ui .pagefind-ui__result-link {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.pagefind-ui .pagefind-ui__result-link::before {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.pagefind-ui .pagefind-ui__result-excerpt {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.pagefind-ui .pagefind-ui__drawer {
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.pagefind-ui .pagefind-ui__search-clear {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.pagefind-ui .pagefind-ui__search-input {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.pagefind-ui .pagefind-ui__form::before {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.pagefind-ui .pagefind-ui__result {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.pagefind-ui .pagefind-ui__filter-block {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.pagefind-ui .pagefind-ui__filter-group {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.pagefind-ui .pagefind-ui__filter-value {
|
|
151
|
-
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.pagefind-ui .pagefind-ui__filter-checkbox {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.pagefind-ui .pagefind-ui__result-image {
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.pagefind-ui .pagefind-ui__filter-panel {
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.pagefind-ui .pagefind-ui__filter-label {
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.pagefind-ui .pagefind-ui__button {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.pagefind-ui .pagefind-ui__result-tag {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.pagefind-ui .pagefind-ui__result-thumb {
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.pagefind-ui .pagefind-ui__result-tags {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.pagefind-ui .pagefind-ui__filter-name::after {
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.pagefind-ui .pagefind-ui__result-title {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.pagefind-ui .pagefind-ui__filter-panel,
|
|
202
|
-
.pagefind-ui .pagefind-ui__results-area {
|
|
203
|
-
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.pagefind-ui .pagefind-ui__message {
|
|
207
|
-
|
|
208
|
-
}
|
|
209
|
-
|
|
58
|
+
<style is:global>
|
|
59
|
+
#search {
|
|
60
|
+
@apply ml-6;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.search-container {
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
@apply h-10 border-0 border-gray-800 rounded-3xl hidden md:block;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.pagefind-ui {
|
|
69
|
+
@apply font-textlight text-base;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.pagefind-ui .pagefind-ui__search-input {
|
|
73
|
+
height: 40px;
|
|
74
|
+
border: 0;
|
|
75
|
+
@apply rounded-none sm:rounded-3xl w-full;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.pagefind-ui .pagefind-ui__result-excerpt,
|
|
79
|
+
.pagefind-ui .pagefind-ui__button {
|
|
80
|
+
font-size: 14px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.pagefind-ui .pagefind-ui__filter-name {
|
|
84
|
+
font-size: 12px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.pagefind-ui .pagefind-ui__drawer:not(.pagefind-ui__hidden) {
|
|
88
|
+
@apply p-4;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.pagefind-ui .pagefind-ui__result-link {
|
|
92
|
+
color: var(--pagefind-ui-primary);
|
|
93
|
+
font-family: vw_headlight;
|
|
94
|
+
font-size: 1rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.pagefind-ui .pagefind-ui__result-link::before {
|
|
98
|
+
top: 0;
|
|
99
|
+
bottom: 0;
|
|
100
|
+
left: 0;
|
|
101
|
+
right: 0;
|
|
102
|
+
content: '';
|
|
103
|
+
position: absolute;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.pagefind-ui .pagefind-ui__result-excerpt {
|
|
107
|
+
color: var(--pagefind-ui-text);
|
|
108
|
+
order: 3;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.pagefind-ui .pagefind-ui__drawer {
|
|
112
|
+
@apply bg-white md:fixed shadow-lg rounded-b-lg border-t border-t-transparent overflow-auto top-17 md:max-w-[calc(100vw-10%)] max-h-[calc(100vh-10%)] gap-[30px];
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.pagefind-ui .pagefind-ui__search-clear {
|
|
116
|
+
height: 38px;
|
|
117
|
+
top: 0;
|
|
118
|
+
@apply sm:rounded-3xl;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.pagefind-ui .pagefind-ui__search-input {
|
|
122
|
+
font-size: 1rem;
|
|
123
|
+
font-weight: 400;
|
|
124
|
+
padding: 0 2.5rem 2px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.pagefind-ui .pagefind-ui__form::before {
|
|
128
|
+
top: 14px;
|
|
129
|
+
left: 16px;
|
|
130
|
+
width: 14px;
|
|
131
|
+
height: 14px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.pagefind-ui .pagefind-ui__result {
|
|
135
|
+
padding: 0.875rem 0;
|
|
136
|
+
gap: 1rem;
|
|
137
|
+
@apply relative;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.pagefind-ui .pagefind-ui__filter-block {
|
|
141
|
+
padding: 0.875rem 0;
|
|
142
|
+
border-width: 1px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.pagefind-ui .pagefind-ui__filter-group {
|
|
146
|
+
gap: 0.5rem;
|
|
147
|
+
padding-top: 0.875rem;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.pagefind-ui .pagefind-ui__filter-value {
|
|
151
|
+
gap: 10px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.pagefind-ui .pagefind-ui__filter-checkbox {
|
|
155
|
+
border-radius: 3px;
|
|
156
|
+
margin-top: 1px;
|
|
157
|
+
min-width: calc(16px * var(--pagefind-ui-scale));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.pagefind-ui .pagefind-ui__result-image {
|
|
161
|
+
@apply drop-shadow-sm w-full h-full object-contain rounded-none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.pagefind-ui .pagefind-ui__filter-panel {
|
|
165
|
+
@apply hidden;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.pagefind-ui .pagefind-ui__filter-label {
|
|
169
|
+
font-size: 0.9rem;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.pagefind-ui .pagefind-ui__button {
|
|
173
|
+
font-weight: 400;
|
|
174
|
+
height: 40px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.pagefind-ui .pagefind-ui__result-tag {
|
|
178
|
+
background: inherit;
|
|
179
|
+
padding: 0;
|
|
180
|
+
color: #9ca3af;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.pagefind-ui .pagefind-ui__result-thumb {
|
|
184
|
+
max-width: 120px;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.pagefind-ui .pagefind-ui__result-tags {
|
|
188
|
+
margin-top: 0.4rem;
|
|
189
|
+
order: 2;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.pagefind-ui .pagefind-ui__filter-name::after {
|
|
193
|
+
color: var(--pagefind-ui-primary);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.pagefind-ui .pagefind-ui__result-title {
|
|
197
|
+
font-size: inherit;
|
|
198
|
+
line-height: 1;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.pagefind-ui .pagefind-ui__filter-panel,
|
|
202
|
+
.pagefind-ui .pagefind-ui__results-area {
|
|
203
|
+
margin-top: 0;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.pagefind-ui .pagefind-ui__message {
|
|
207
|
+
padding: 0.875rem 0;
|
|
208
|
+
}
|
|
210
209
|
</style>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
<a href="#article" class="sr-only focus:not-sr-only skiplink"><span>Skip to Content</span></a>
|