@grantcodes/ui 2.9.2 → 2.10.1
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/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/components/accordion/accordion.component.js +3 -1
- package/src/components/accordion/accordion.css +78 -57
- package/src/components/accordion/accordion.react.js +4 -4
- package/src/components/app-bar/app-bar.component.js +15 -9
- package/src/components/app-bar/app-bar.css +256 -250
- package/src/components/app-bar/app-bar.react.js +4 -4
- package/src/components/app-bar/app-bar.test.js +1 -3
- package/src/components/app-bar/nav-link.component.js +3 -1
- package/src/components/app-bar/nav-link.css +50 -45
- package/src/components/app-bar/nav-link.react.js +4 -4
- package/src/components/avatar/avatar.css +19 -21
- package/src/components/avatar/avatar.react.js +4 -4
- package/src/components/badge/badge.css +51 -51
- package/src/components/badge/badge.react.js +4 -4
- package/src/components/breadcrumb/breadcrumb.component.js +3 -1
- package/src/components/breadcrumb/breadcrumb.css +73 -73
- package/src/components/breadcrumb/breadcrumb.react.js +8 -5
- package/src/components/button/button.component.js +3 -1
- package/src/components/button/button.css +38 -38
- package/src/components/button/button.react.js +4 -4
- package/src/components/button-group/button-group.css +33 -33
- package/src/components/button-group/button-group.react.js +4 -4
- package/src/components/card/card.css +150 -150
- package/src/components/card/card.react.js +4 -4
- package/src/components/code-preview/code-preview.css +11 -12
- package/src/components/code-preview/code-preview.react.js +4 -4
- package/src/components/container/container.css +37 -37
- package/src/components/container/container.react.js +4 -4
- package/src/components/countdown/countdown.component.js +5 -3
- package/src/components/countdown/countdown.stories.js +1 -2
- package/src/components/cta/cta.css +55 -55
- package/src/components/cta/cta.react.js +4 -4
- package/src/components/dialog/dialog.css +48 -49
- package/src/components/dialog/dialog.react.js +4 -4
- package/src/components/dropdown/dropdown.css +123 -121
- package/src/components/dropdown/dropdown.react.js +5 -5
- package/src/components/dropzone/dropzone.css +5 -3
- package/src/components/dropzone/dropzone.react.js +4 -4
- package/src/components/feature-list/feature-list.css +71 -71
- package/src/components/feature-list/feature-list.react.js +4 -4
- package/src/components/footer/footer-column.css +39 -39
- package/src/components/footer/footer.css +68 -69
- package/src/components/footer/footer.react.js +5 -5
- package/src/components/form-field/form-field.css +40 -40
- package/src/components/form-field/form-field.react.js +4 -4
- package/src/components/gallery/gallery-image.react.js +4 -4
- package/src/components/gallery/gallery.css +72 -72
- package/src/components/gallery/gallery.react.js +4 -4
- package/src/components/gallery/gallery.test.js +5 -1
- package/src/components/hero/hero.css +61 -57
- package/src/components/hero/hero.react.js +4 -4
- package/src/components/icon/icon.css +27 -27
- package/src/components/icon/icon.react.js +4 -4
- package/src/components/loading/loading.css +30 -31
- package/src/components/loading/loading.react.js +4 -4
- package/src/components/logo-cloud/logo-cloud.css +60 -60
- package/src/components/logo-cloud/logo-cloud.react.js +4 -4
- package/src/components/map/map.component.js +3 -4
- package/src/components/map/map.css +36 -36
- package/src/components/media-text/media-text.css +58 -58
- package/src/components/media-text/media-text.react.js +4 -4
- package/src/components/newsletter/newsletter.css +78 -78
- package/src/components/newsletter/newsletter.react.js +4 -4
- package/src/components/notice/notice.css +38 -38
- package/src/components/notice/notice.react.js +4 -4
- package/src/components/pagination/pagination.css +6 -7
- package/src/components/pagination/pagination.react.js +4 -4
- package/src/components/pricing/pricing.css +137 -137
- package/src/components/pricing/pricing.react.js +4 -4
- package/src/components/sidebar/sidebar.component.js +3 -1
- package/src/components/sidebar/sidebar.css +180 -180
- package/src/components/sidebar/sidebar.react.js +4 -4
- package/src/components/stats/stats.css +58 -58
- package/src/components/stats/stats.react.js +4 -4
- package/src/components/tabs/internal/tabs-button.component.js +3 -1
- package/src/components/tabs/internal/tabs-button.react.js +4 -4
- package/src/components/tabs/tab.component.js +3 -1
- package/src/components/tabs/tab.react.js +4 -4
- package/src/components/tabs/tabs.component.js +3 -1
- package/src/components/tabs/tabs.css +82 -82
- package/src/components/tabs/tabs.react.js +4 -4
- package/src/components/testimonials/testimonials.css +72 -72
- package/src/components/testimonials/testimonials.react.js +4 -4
- package/src/components/toast/toast.component.js +3 -1
- package/src/components/toast/toast.css +198 -198
- package/src/components/toast/toast.react.js +5 -5
- package/src/components/tooltip/tooltip.css +52 -51
- package/src/components/tooltip/tooltip.react.js +4 -4
- package/src/css/reset.css +7 -3
- package/src/css/typography.css +13 -11
- package/src/exports.test.js +101 -95
- package/src/lib/styles/all.css +37 -37
- package/src/lib/styles/focus-ring.css +20 -20
- package/src/react.js +45 -39
- package/vite-plugin-css-import-attributes.js +5 -2
|
@@ -1,57 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
1
|
+
*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.hero {
|
|
12
|
+
display: flex;
|
|
13
|
+
width: 100%;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: center;
|
|
16
|
+
min-height: 50vh;
|
|
17
|
+
padding: var(--g-theme-spacing-2xl) var(--g-theme-spacing-md);
|
|
18
|
+
background: linear-gradient(
|
|
19
|
+
135deg,
|
|
20
|
+
var(--g-theme-color-background-primary-knockout),
|
|
21
|
+
var(--g-color-primary-900)
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.hero__container {
|
|
26
|
+
width: 100%;
|
|
27
|
+
max-width: 65ch;
|
|
28
|
+
gap: var(--g-theme-spacing-lg);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host([center]) .hero {
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([center]) .hero__container {
|
|
36
|
+
margin-inline: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.hero__title {
|
|
40
|
+
font: var(--g-typography-h1-font);
|
|
41
|
+
color: var(--g-theme-color-content-primary-knockout);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.hero__text {
|
|
45
|
+
font: var(--g-typography-body-lg);
|
|
46
|
+
color: var(--g-theme-color-content-primary-knockout);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:host([size="sm"]) .hero {
|
|
50
|
+
min-height: 30vh;
|
|
51
|
+
padding: var(--g-theme-spacing-xl) var(--g-theme-spacing-md);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host([size="lg"]) .hero {
|
|
55
|
+
min-height: 70vh;
|
|
56
|
+
padding: var(--g-theme-spacing-3xl) var(--g-theme-spacing-md);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
::slotted(*) {
|
|
60
|
+
color: var(--g-theme-color-content-primary-knockout, #ffffff);
|
|
61
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
import { createComponent } from "@lit/react"
|
|
3
|
-
import { GrantCodesHero } from "./hero.js"
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import { GrantCodesHero } from "./hero.js";
|
|
4
4
|
|
|
5
5
|
export const Hero = createComponent({
|
|
6
6
|
tagName: "grantcodes-hero",
|
|
7
7
|
elementClass: GrantCodesHero,
|
|
8
8
|
react: React,
|
|
9
|
-
})
|
|
9
|
+
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
.icon {
|
|
12
|
+
display: block;
|
|
13
|
+
color: inherit;
|
|
14
|
+
width: 1em;
|
|
15
|
+
height: 1em;
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
.icon ::slotted(svg) {
|
|
19
|
+
display: block;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
object-fit: contain;
|
|
23
|
+
object-position: center;
|
|
24
|
+
}
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
.icon ::slotted(svg:not([fill])) {
|
|
27
|
+
fill: currentColor;
|
|
28
|
+
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
.icon ::slotted(svg:not([stoke])) {
|
|
31
|
+
stroke: currentColor;
|
|
32
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
import { createComponent } from "@lit/react"
|
|
3
|
-
import { GrantCodesIcon } from "./icon.js"
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import { GrantCodesIcon } from "./icon.js";
|
|
4
4
|
|
|
5
5
|
export const Icon = createComponent({
|
|
6
6
|
tagName: "grantcodes-icon",
|
|
7
7
|
elementClass: GrantCodesIcon,
|
|
8
8
|
react: React,
|
|
9
|
-
})
|
|
9
|
+
});
|
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
|
-
|
|
4
|
+
box-sizing: border-box;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
:host {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
--height: 0.5rem;
|
|
9
|
+
--inner-width: 40%;
|
|
10
|
+
--starting-position: calc(0% - (var(--inner-width) * 2));
|
|
11
|
+
--ending-position: calc(100% + (var(--inner-width) * 2));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.loading {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
15
|
+
display: block;
|
|
16
|
+
height: var(--height);
|
|
17
|
+
border-radius: calc(var(--height) / 2);
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
padding-top: var(--height);
|
|
20
|
+
background-repeat: no-repeat;
|
|
21
|
+
background-color: var(--g-theme-color-primary-500);
|
|
22
|
+
background-image: linear-gradient(
|
|
23
|
+
to right,
|
|
24
|
+
transparent 0%,
|
|
25
|
+
var(--g-color-neutral-500) 10%,
|
|
26
|
+
var(--g-color-neutral-500) 90%,
|
|
27
|
+
transparent 100%
|
|
28
|
+
);
|
|
29
|
+
background-size: var(--inner-width) 100%;
|
|
30
|
+
background-position-x: var(--starting-position);
|
|
31
|
+
animation: loading 2s linear infinite;
|
|
32
|
+
/* This is probably a bad way of hiding the text */
|
|
33
|
+
font-size: 0;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@keyframes loading {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
0% {
|
|
38
|
+
background-position-x: var(--starting-position);
|
|
39
|
+
}
|
|
40
|
+
100% {
|
|
41
|
+
background-position-x: var(--ending-position);
|
|
42
|
+
}
|
|
43
43
|
}
|
|
44
|
-
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
import { createComponent } from "@lit/react"
|
|
3
|
-
import { GrantCodesLoading } from "./loading.js"
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import { GrantCodesLoading } from "./loading.js";
|
|
4
4
|
|
|
5
5
|
export const Loading = createComponent({
|
|
6
6
|
tagName: "grantcodes-loading",
|
|
7
7
|
elementClass: GrantCodesLoading,
|
|
8
8
|
react: React,
|
|
9
|
-
})
|
|
9
|
+
});
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
.logo-cloud {
|
|
12
|
+
padding-block: var(--g-theme-spacing-2xl);
|
|
13
|
+
padding-inline: var(--g-theme-spacing-md);
|
|
14
|
+
border-top: 1px solid var(--g-theme-color-border-default);
|
|
15
|
+
border-bottom: 1px solid var(--g-theme-color-border-default);
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
.logo-cloud__container {
|
|
19
|
+
max-width: 1200px;
|
|
20
|
+
margin: 0 auto;
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
.logo-cloud__title {
|
|
24
|
+
margin: 0 0 var(--g-theme-spacing-xl);
|
|
25
|
+
font-size: var(--g-theme-typography-meta-default-font-size);
|
|
26
|
+
font-weight: var(--g-theme-typography-meta-default-font-weight);
|
|
27
|
+
letter-spacing: var(--g-theme-typography-meta-default-letter-spacing);
|
|
28
|
+
text-transform: uppercase;
|
|
29
|
+
text-align: center;
|
|
30
|
+
color: var(--g-theme-color-content-subtle);
|
|
31
|
+
}
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
33
|
+
.logo-cloud__grid {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
gap: var(--g-theme-spacing-lg) var(--g-theme-spacing-2xl);
|
|
39
|
+
padding: 0;
|
|
40
|
+
margin: 0;
|
|
41
|
+
list-style: none;
|
|
42
|
+
}
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
.logo-cloud__link {
|
|
45
|
+
display: block;
|
|
46
|
+
opacity: 0.7;
|
|
47
|
+
transition: opacity 0.2s;
|
|
48
|
+
}
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
.logo-cloud__link:hover {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
.logo-cloud__logo {
|
|
55
|
+
display: block;
|
|
56
|
+
block-size: var(--g-theme-spacing-xl);
|
|
57
|
+
inline-size: auto;
|
|
58
|
+
max-inline-size: 140px;
|
|
59
|
+
object-fit: contain;
|
|
60
|
+
filter: grayscale(1);
|
|
61
|
+
transition: filter 0.2s;
|
|
62
|
+
}
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
.logo-cloud__link:hover .logo-cloud__logo {
|
|
65
|
+
filter: none;
|
|
66
|
+
}
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
.logo-cloud__item:not(:has(.logo-cloud__link)) .logo-cloud__logo {
|
|
69
|
+
filter: none;
|
|
70
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
import { createComponent } from "@lit/react"
|
|
3
|
-
import { GrantCodesLogoCloud } from "./logo-cloud.js"
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import { GrantCodesLogoCloud } from "./logo-cloud.js";
|
|
4
4
|
|
|
5
5
|
export const LogoCloud = createComponent({
|
|
6
6
|
tagName: "grantcodes-logo-cloud",
|
|
7
7
|
elementClass: GrantCodesLogoCloud,
|
|
8
8
|
react: React,
|
|
9
|
-
})
|
|
9
|
+
});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { LitElement, html, nothing } from "lit";
|
|
2
2
|
import mapStyles from "./map.css" with { type: "css" };
|
|
3
3
|
|
|
4
|
-
const DARK_FILTER =
|
|
4
|
+
const DARK_FILTER =
|
|
5
|
+
"invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9)";
|
|
5
6
|
|
|
6
7
|
export class GrantCodesMap extends LitElement {
|
|
7
8
|
static styles = [mapStyles];
|
|
@@ -104,9 +105,7 @@ export class GrantCodesMap extends LitElement {
|
|
|
104
105
|
return nothing;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
|
-
const heightStyle = this.height
|
|
108
|
-
? `--map-height: ${this.height}`
|
|
109
|
-
: "";
|
|
108
|
+
const heightStyle = this.height ? `--map-height: ${this.height}` : "";
|
|
110
109
|
|
|
111
110
|
return html`
|
|
112
111
|
<div class="map" style="${heightStyle}">
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
.map {
|
|
12
|
+
position: relative;
|
|
13
|
+
border: 1px solid var(--g-theme-color-border-default);
|
|
14
|
+
border-radius: var(--g-theme-border-radius-md, 0.5rem);
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
.map__iframe {
|
|
19
|
+
display: block;
|
|
20
|
+
vertical-align: top;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: var(--map-height, 21rem);
|
|
23
|
+
border: 0;
|
|
24
|
+
filter: var(--g-map-filter, none);
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
.map__directions {
|
|
28
|
+
display: block;
|
|
29
|
+
padding: var(--g-theme-spacing-sm) var(--g-theme-spacing-md);
|
|
30
|
+
font-size: var(--g-theme-typography-body-sm-font-size);
|
|
31
|
+
color: var(--g-theme-color-content-primary, #7c3aed);
|
|
32
|
+
text-decoration: none;
|
|
33
|
+
border-block-start: 1px solid var(--g-theme-color-border-default);
|
|
34
|
+
background: var(--g-theme-color-background-subtle);
|
|
35
|
+
transition: background-color 0.2s ease;
|
|
36
|
+
}
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
.map__directions:hover {
|
|
39
|
+
background: var(--g-theme-color-background-subtle-hover);
|
|
40
|
+
text-decoration: underline;
|
|
41
|
+
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
.media-text {
|
|
12
|
+
padding-block: var(--g-theme-spacing-3xl);
|
|
13
|
+
padding-inline: var(--g-theme-spacing-md);
|
|
14
|
+
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
16
|
+
.media-text__container {
|
|
17
|
+
max-width: 1200px;
|
|
18
|
+
margin: 0 auto;
|
|
19
|
+
display: grid;
|
|
20
|
+
grid-template-columns: 1fr 1fr;
|
|
21
|
+
gap: var(--g-theme-spacing-3xl);
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
:host([reverse]) .media-text__container {
|
|
26
|
+
direction: rtl;
|
|
27
|
+
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
:host([reverse]) .media-text__content,
|
|
30
|
+
:host([reverse]) .media-text__media {
|
|
31
|
+
direction: ltr;
|
|
32
|
+
}
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
@media (max-width: 768px) {
|
|
35
|
+
.media-text__container {
|
|
36
|
+
grid-template-columns: 1fr;
|
|
37
|
+
gap: var(--g-theme-spacing-xl);
|
|
38
|
+
direction: ltr;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
.media-text__image,
|
|
43
|
+
.media-text__video {
|
|
44
|
+
inline-size: 100%;
|
|
45
|
+
block-size: auto;
|
|
46
|
+
display: block;
|
|
47
|
+
border-radius: var(--g-theme-border-radius-md, 0.5rem);
|
|
48
|
+
object-fit: cover;
|
|
49
|
+
aspect-ratio: 4 / 3;
|
|
50
|
+
}
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
.media-text__content {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
gap: var(--g-theme-spacing-lg);
|
|
56
|
+
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
.media-text__title {
|
|
59
|
+
margin: 0;
|
|
60
|
+
font: var(--g-typography-h4-font);
|
|
61
|
+
color: var(--g-theme-color-content-default);
|
|
62
|
+
}
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
.media-text__text {
|
|
65
|
+
margin: 0;
|
|
66
|
+
font: var(--g-theme-typography-body-lg);
|
|
67
|
+
color: var(--g-theme-color-content-subtle);
|
|
68
|
+
}
|