@leuffen/themejs1 2.0.7 → 2.0.8
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/docs/CNAME +1 -0
- package/docs/_config.yml +34 -0
- package/docs/_includes/navbar.html +16 -0
- package/docs/_layouts/blank.html +18 -0
- package/docs/_layouts/default.html +27 -0
- package/docs/assets/ani.svg +5 -0
- package/docs/assets/dist/index.js +16091 -0
- package/docs/assets/dist/index.js.map +1 -0
- package/docs/assets/dist/style.css +1095 -0
- package/docs/assets/dist/style.css.map +1 -0
- package/docs/assets/dist/style.js +28 -0
- package/docs/assets/dist/style.js.map +1 -0
- package/docs/assets/morphing.svg +5 -0
- package/docs/pages/html.html +11 -0
- package/docs/pages/index.md +39 -0
- package/elements/e-card-default/e-card-default.scss +18 -0
- package/elements/e-card-default/e-card-default.ts +13 -0
- package/elements/elements.scss +1 -0
- package/elements/elements.ts +1 -0
- package/package.json +5 -1
- package/sections/_defaults.scss +20 -0
- package/sections/cta-base/cta-base.scss +15 -0
- package/sections/cta-base/cta-base.ts +12 -0
- package/sections/cta-form/cta-form.scss +21 -0
- package/sections/cta-form/cta-form.ts +20 -0
- package/sections/footer-base/footer-base.scss +59 -0
- package/sections/footer-base/footer-base.ts +17 -0
- package/sections/hero-max/hero-max.scss +100 -0
- package/sections/hero-max/hero-max.ts +21 -0
- package/sections/hero-ribbon/hero-ribbon.scss +37 -0
- package/sections/hero-ribbon/hero-ribbon.ts +20 -0
- package/sections/hero-title-small/hero-title-small.scss +28 -0
- package/sections/hero-title-small/hero-title-small.ts +15 -0
- package/sections/navbar-blox/navbar-blox.scss +177 -0
- package/sections/navbar-blox/navbar-blox.ts +54 -0
- package/sections/sec-card-2col/sec-card-2col.scss +35 -0
- package/sections/sec-card-2col/sec-card-2col.ts +20 -0
- package/sections/sec-card-feature/sec-card-feature.scss +35 -0
- package/sections/sec-card-feature/sec-card-feature.ts +22 -0
- package/sections/sec-legal-content/sec-legal-content.scss +46 -0
- package/sections/sec-legal-content/sec-legal-content.ts +20 -0
- package/sections/sec-multi-card/sec-multi-card.scss +22 -0
- package/sections/sec-multi-card/sec-multi-card.ts +18 -0
- package/sections/sec-testimonial-ribbon/sec-testimonial-ribbon.scss +52 -0
- package/sections/sec-testimonial-ribbon/sec-testimonial-ribbon.ts +26 -0
- package/sections/sections.scss +14 -0
- package/sections/sections.ts +13 -0
- package/themes/_general/root-format.scss +108 -0
- package/themes/_vendor/font-bootstrap-icons.scss +4022 -0
- package/themes/_vendor/font-ubuntu.scss +38 -0
- package/themes/theme1/index.scss +119 -0
- package/templates/theme1/leistungen/_default.de.md +0 -68
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.tjs__hero-title-small {
|
|
2
|
+
width: 100%;
|
|
3
|
+
align-items: center;
|
|
4
|
+
position: relative;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
text-align: center;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
.imagewrapper {
|
|
11
|
+
aspect-ratio: 16 / 9;
|
|
12
|
+
max-height: 60vh;
|
|
13
|
+
min-height: 250px;
|
|
14
|
+
width: 100%;
|
|
15
|
+
padding-bottom: 40px
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.imagewrapper > img {
|
|
19
|
+
object-fit: cover;
|
|
20
|
+
object-position: center center;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h1 {
|
|
26
|
+
padding: 20px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {Joda} from "@leuffen/jodastyle/src/joda";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Joda.registerTemplate("hero-title-small",
|
|
5
|
+
// language=HTML
|
|
6
|
+
`
|
|
7
|
+
|
|
8
|
+
<div class="tjs__hero-title-small">
|
|
9
|
+
<div class="imagewrapper">
|
|
10
|
+
<slot data-select="img" data-replace="true"></slot>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<slot></slot>
|
|
14
|
+
</div>
|
|
15
|
+
`);
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.tjs__navbar-blox {
|
|
4
|
+
--height: 65px;
|
|
5
|
+
position: relative;
|
|
6
|
+
top: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
z-index: 9999;
|
|
9
|
+
--hamburger-menu-display: none;
|
|
10
|
+
--hamburger-bar-color: #aaa;
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
.firstline {
|
|
15
|
+
min-height: var(--height);
|
|
16
|
+
line-height: var(--height);
|
|
17
|
+
--joda-class: ":: d-block :lg: d-none";
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
.tjs__content {
|
|
21
|
+
width: 100%;
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
.tjs__row1 {
|
|
29
|
+
height: var(--height);
|
|
30
|
+
|
|
31
|
+
display: flex;
|
|
32
|
+
width: 100%;
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
&>.tjs__logo {
|
|
36
|
+
&.mobile {
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
flex: 0 0 auto;
|
|
40
|
+
width: auto;
|
|
41
|
+
display: flex;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.tjs__row2 {
|
|
45
|
+
flex: 1 1 auto;
|
|
46
|
+
display: flex;
|
|
47
|
+
height: 100%;
|
|
48
|
+
|
|
49
|
+
&> .tjs__nav-main {
|
|
50
|
+
flex: 1 1 auto;
|
|
51
|
+
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
align-content: center;
|
|
55
|
+
|
|
56
|
+
&> ul.nav-bar-main {
|
|
57
|
+
display: flex;
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding: 0;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: 100%;
|
|
62
|
+
&>li {
|
|
63
|
+
flex: 1 1 auto;
|
|
64
|
+
width: 100%;
|
|
65
|
+
display: flex;
|
|
66
|
+
border-right: 1px solid var(--bs-gray-200);
|
|
67
|
+
&:last-of-type {
|
|
68
|
+
border-right: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
align-content: center;
|
|
72
|
+
align-items: center;
|
|
73
|
+
|
|
74
|
+
padding: 0;
|
|
75
|
+
list-style: none;
|
|
76
|
+
text-decoration: none;
|
|
77
|
+
text-align: center;
|
|
78
|
+
a {
|
|
79
|
+
width: 100%;
|
|
80
|
+
text-decoration: none;
|
|
81
|
+
color: inherit;
|
|
82
|
+
i {
|
|
83
|
+
color: var(--bs-primary);
|
|
84
|
+
padding-right: 5px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
}
|
|
91
|
+
&> .tjs__hamburger {
|
|
92
|
+
flex: 0 0 auto;
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
justify-content: center;
|
|
96
|
+
width: 70px;
|
|
97
|
+
height: 100%
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.sidenav {
|
|
104
|
+
position: absolute;
|
|
105
|
+
right: 0;
|
|
106
|
+
z-index: 9999;
|
|
107
|
+
top: 0;
|
|
108
|
+
width: auto;
|
|
109
|
+
padding: 0;
|
|
110
|
+
background-color: white;
|
|
111
|
+
transform: scale(0%);
|
|
112
|
+
-webkit-transform: scale(0, 0);
|
|
113
|
+
|
|
114
|
+
transition: transform 0.3s ease-in-out;
|
|
115
|
+
box-shadow: 0px 1px 2px #00000029;
|
|
116
|
+
|
|
117
|
+
ul {
|
|
118
|
+
padding: 0;
|
|
119
|
+
margin: 0;
|
|
120
|
+
width: 350px;
|
|
121
|
+
max-width: 100vw;
|
|
122
|
+
&>li {
|
|
123
|
+
list-style: none;
|
|
124
|
+
font-weight: bolder;
|
|
125
|
+
margin: 3px;
|
|
126
|
+
&>a {
|
|
127
|
+
display: block;
|
|
128
|
+
padding: 15px 30px;
|
|
129
|
+
text-decoration: none;
|
|
130
|
+
&:hover {
|
|
131
|
+
background-color: var(--t-text-background-light);
|
|
132
|
+
}
|
|
133
|
+
&:focus {
|
|
134
|
+
color: var(--t-text-color-primary);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.line {
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
a {
|
|
146
|
+
color: var(--bs-gray-700);
|
|
147
|
+
font-weight: normal;
|
|
148
|
+
text-decoration: none;
|
|
149
|
+
i {
|
|
150
|
+
color: var(--bs-primary);
|
|
151
|
+
border-radius: 100%;
|
|
152
|
+
width: 20px;
|
|
153
|
+
height: 20px;
|
|
154
|
+
--joda-class: ":: :xl: pe-2";
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
&.bordered {
|
|
158
|
+
border-right: 1px solid var(--bs-gray-200);
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
--joda-class: "text-center";
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
.sidenav-positioner {
|
|
166
|
+
position: relative;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
.nav-open .tjs__navbar-blox .sidenav {
|
|
174
|
+
transform: scale(100%);
|
|
175
|
+
-webkit-transform: scale(1, 1);
|
|
176
|
+
|
|
177
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {Joda} from "@leuffen/jodastyle/src/joda";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Joda.registerTemplate("navbar-blox",
|
|
5
|
+
// language=HTML
|
|
6
|
+
`
|
|
7
|
+
|
|
8
|
+
<div class="tjs__navbar-blox">
|
|
9
|
+
<div class="wrapper">
|
|
10
|
+
<div class="firstline">
|
|
11
|
+
<div class="tjs__content [[ layout.container ]]">
|
|
12
|
+
<slot data-select=".brand" data-copy data-replace></slot>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<div class="secondline" style="box-shadow: 0px 1px 2px #00000029;background: white">
|
|
17
|
+
<div class="[[ layout.container ]]">
|
|
18
|
+
<div class="tjs__row1">
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<div class="tjs__logo :: mobile :md: " href="/" aria-label="Home">
|
|
22
|
+
<slot data-select=".brand" data-replace></slot>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
<div class="tjs__row2">
|
|
28
|
+
<div class="tjs__nav-main" >
|
|
29
|
+
|
|
30
|
+
<slot data-select=".nav-bar-main" data-replace></slot>
|
|
31
|
+
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<div class="tjs__hamburger">
|
|
36
|
+
<div class="use-hamburger :: justify-content-center :lg: text-start"
|
|
37
|
+
style="display: flex; padding-right:20px; align-items: center; justify-content: right; height:100%;width:100%"></div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
<div class="sidenav-positioner">
|
|
44
|
+
<div class="sidenav">
|
|
45
|
+
<slot data-select=".nav-menu"></slot>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
`);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.tjs__sec-card-2col {
|
|
4
|
+
padding: var(--t-section-padding);
|
|
5
|
+
background: var(--t-section-background);
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
.row > .tjs__sec-card-2col--col-start {
|
|
9
|
+
--joda-class: "col-12 col-md-6 p-4 p-lg-5 order-2 order-md-1";
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.row > .tjs__sec-card-2col--col-end {
|
|
13
|
+
--joda-class: "col-12 col-md-6 order-1 order-md-2";
|
|
14
|
+
|
|
15
|
+
img {
|
|
16
|
+
height: 100%;
|
|
17
|
+
width: 100%;
|
|
18
|
+
object-position: center center;
|
|
19
|
+
object-fit: cover;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
.tjs__sec-card-2col--container {
|
|
25
|
+
border: 1px solid var(--bs-gray-500);
|
|
26
|
+
background-color: white;
|
|
27
|
+
padding: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.section-h2:nth-of-type(odd) .tjs__sec-card-2col .row {
|
|
33
|
+
flex-direction: row-reverse;
|
|
34
|
+
--joda-class: "flex-row-reverse";
|
|
35
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {Joda} from "@leuffen/jodastyle/src/joda";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Joda.registerTemplate("sec-card-2col",
|
|
5
|
+
// language=HTML
|
|
6
|
+
`
|
|
7
|
+
|
|
8
|
+
<div class="tjs__sec-card-2col">
|
|
9
|
+
<div class="tjs__sec-card-2col--container [[layout.container]]">
|
|
10
|
+
<div class="row">
|
|
11
|
+
<div class="tjs__sec-card-2col--col-start col-12 col-md-6 text-format p-4 p-lg-5 order-2 order-md-1 tjs__section-text">
|
|
12
|
+
<slot></slot>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="tjs__sec-card-2col--col-end col-12 col-md-6 image-side order-1 order-md-2">
|
|
15
|
+
<slot data-select="img, .children > .section-hr.aside" data-replace></slot>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
`);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.tjs__sec-card-feature {
|
|
4
|
+
|
|
5
|
+
padding: var(--t-section-padding);
|
|
6
|
+
|
|
7
|
+
background: var(--t-section-background);
|
|
8
|
+
.header_image {
|
|
9
|
+
aspect-ratio: 21 / 10;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: auto;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.map .header_image {
|
|
15
|
+
aspect-ratio: 1/1;
|
|
16
|
+
max-height: 90vh;
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.header_image > img {
|
|
21
|
+
object-fit: cover;
|
|
22
|
+
object-position: center center;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
& > .container {
|
|
29
|
+
border: 1px solid var(--bs-gray-500);
|
|
30
|
+
border-bottom: 4px solid var(--bs-gray-500);
|
|
31
|
+
background-color: white;
|
|
32
|
+
padding: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {Joda} from "@leuffen/jodastyle/src/joda";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Joda.registerTemplate("sec-card-feature",
|
|
5
|
+
// language=HTML
|
|
6
|
+
`
|
|
7
|
+
<div class="tjs__sec-card-feature [[layout.class]]">
|
|
8
|
+
<div class="container">
|
|
9
|
+
<div class="header_image">
|
|
10
|
+
<slot data-select=":scope > .content img, map" data-replace></slot>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="row">
|
|
13
|
+
<div class="col-12 col-lg-6 text-format p-4 p-lg-5 tjs__section-text">
|
|
14
|
+
<slot></slot>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-12 col-lg-6 text-format p-4 p-lg-5">
|
|
17
|
+
<slot data-select=":scope > .children"></slot>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
`);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
.tjs__sec-legal-content {
|
|
4
|
+
background: var(--t-section-background);
|
|
5
|
+
padding: var(--t-section-padding);
|
|
6
|
+
|
|
7
|
+
.inner-wrapper {
|
|
8
|
+
|
|
9
|
+
border: 1px solid var(--bs-gray-500);
|
|
10
|
+
background-color: white;
|
|
11
|
+
padding: var(--t-section-inner-padding);
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
.tjs__section-text {
|
|
15
|
+
|
|
16
|
+
// Between 12px and 16px depending on the screen size
|
|
17
|
+
font-size: 1.0rem;
|
|
18
|
+
|
|
19
|
+
h1 {
|
|
20
|
+
margin: 0 0 40px 0;
|
|
21
|
+
// make uppercase
|
|
22
|
+
font-size: 2.5em;
|
|
23
|
+
text-transform: uppercase;
|
|
24
|
+
}
|
|
25
|
+
h2 {
|
|
26
|
+
color: var(--t-text-color) !important;
|
|
27
|
+
margin: 100px 0 40px 0;
|
|
28
|
+
font-size: 1.6em;
|
|
29
|
+
border-bottom: 1px solid var(--bs-gray-200);
|
|
30
|
+
text-transform: uppercase;
|
|
31
|
+
}
|
|
32
|
+
h3 {
|
|
33
|
+
color: var(--t-text-color) !important;
|
|
34
|
+
margin: 60px 0 30px 0;
|
|
35
|
+
font-size: 1.4em;
|
|
36
|
+
font-weight: bold;
|
|
37
|
+
text-transform: uppercase;
|
|
38
|
+
}
|
|
39
|
+
p.address {
|
|
40
|
+
white-space: pre-wrap;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {Joda} from "@leuffen/jodastyle/src/joda";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Joda.registerTemplate("sec-legal-content",
|
|
5
|
+
// language=HTML
|
|
6
|
+
`
|
|
7
|
+
|
|
8
|
+
<div class="tjs__sec-legal-content :: mobile :lg:">
|
|
9
|
+
<div class="out-wrapper">
|
|
10
|
+
<div class="container p-0">
|
|
11
|
+
<div class="inner-wrapper :: p-4 :lg: p-5">
|
|
12
|
+
<div class="tjs__section-text">
|
|
13
|
+
<slot></slot>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
`);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
.tjs__sec-multi-card {
|
|
3
|
+
|
|
4
|
+
padding: var(--t-section-padding);
|
|
5
|
+
|
|
6
|
+
background: var(--t-section-background);
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
.header {
|
|
10
|
+
text-align: center;
|
|
11
|
+
padding-bottom: 40px;
|
|
12
|
+
}
|
|
13
|
+
.card {
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
.row .section-h3 {
|
|
19
|
+
--joda-class: col;
|
|
20
|
+
--joda-use: #e-card-default;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {Joda} from "@leuffen/jodastyle/src/joda";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Joda.registerTemplate("sec-multi-card",
|
|
5
|
+
// language=HTML
|
|
6
|
+
`
|
|
7
|
+
|
|
8
|
+
<div class="tjs__sec-multi-card">
|
|
9
|
+
<div class="container header">
|
|
10
|
+
<slot data-select=":scope > .content"></slot>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="container">
|
|
13
|
+
<div class="row g-3 row-cols-1 row-cols-lg-[[ layout.cols ?? 3 ]]">
|
|
14
|
+
<slot data-select=":scope > .children > *" data-replace=""></slot>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
`);
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.tjs__sec-testimonial-ribbon {
|
|
2
|
+
padding: var(--t-section-padding);
|
|
3
|
+
|
|
4
|
+
background-color: var(--t-section-background);
|
|
5
|
+
|
|
6
|
+
&.mobile {
|
|
7
|
+
padding-top: 40px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.mobile > .tjs__sec-testimonial-ribbon--wrapper {
|
|
11
|
+
margin-top: 75px;
|
|
12
|
+
|
|
13
|
+
.image-round {
|
|
14
|
+
width: 150px;
|
|
15
|
+
height: 150px;
|
|
16
|
+
position: relative;
|
|
17
|
+
top: -150px;
|
|
18
|
+
margin-bottom: -150px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
h2 {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
& > .tjs__sec-testimonial-ribbon--wrapper {
|
|
27
|
+
padding-top: 40px;
|
|
28
|
+
padding-bottom: 40px;
|
|
29
|
+
background-color: var(--t-section-background-primary);
|
|
30
|
+
font-size: 1.2em;
|
|
31
|
+
font-style: italic;
|
|
32
|
+
letter-spacing: 1px;
|
|
33
|
+
|
|
34
|
+
& > .tjs__sec-testimonial-ribbon--container {
|
|
35
|
+
margin-top: 40px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
.text-format {
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.image-round img {
|
|
45
|
+
border-radius: 100%;
|
|
46
|
+
border: 2px solid white;
|
|
47
|
+
object-fit: cover;
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {Joda} from "@leuffen/jodastyle/src/joda";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Joda.registerTemplate("sec-testimonial-ribbon",
|
|
5
|
+
// language=HTML
|
|
6
|
+
`
|
|
7
|
+
|
|
8
|
+
<div class="tjs__sec-testimonial-ribbon :: mobile :lg:">
|
|
9
|
+
<div class="tjs__sec-testimonial-ribbon--wrapper">
|
|
10
|
+
<div class="tjs__sec-testimonial-ribbon--container [[layout.container]] :: :xl: mt-0">
|
|
11
|
+
<div class="row">
|
|
12
|
+
<div class="col-lg-3 image-round mx-auto :: :xl: my-auto">
|
|
13
|
+
<div class="ratio ratio-1x1">
|
|
14
|
+
<slot data-select="img" data-replace=""></slot>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-lg-9 text-format :: :lg: my-auto">
|
|
19
|
+
<slot></slot>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
`);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
@import "defaults";
|
|
3
|
+
@import "navbar-blox/navbar-blox.scss";
|
|
4
|
+
@import "sec-legal-content/sec-legal-content";
|
|
5
|
+
@import "sec-testimonial-ribbon/sec-testimonial-ribbon";
|
|
6
|
+
@import "sec-card-2col/sec-card-2col";
|
|
7
|
+
@import "hero-max/hero-max";
|
|
8
|
+
@import "hero-ribbon/hero-ribbon";
|
|
9
|
+
@import "footer-base/footer-base";
|
|
10
|
+
@import "cta-base/cta-base";
|
|
11
|
+
@import "sec-multi-card/sec-multi-card";
|
|
12
|
+
@import "sec-card-feature/sec-card-feature";
|
|
13
|
+
@import "hero-title-small/hero-title-small";
|
|
14
|
+
@import "cta-form/cta-form";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
import "./navbar-blox/navbar-blox";
|
|
3
|
+
import "./sec-legal-content/sec-legal-content";
|
|
4
|
+
import "./sec-testimonial-ribbon/sec-testimonial-ribbon";
|
|
5
|
+
import "./sec-card-2col/sec-card-2col";
|
|
6
|
+
import "./hero-max/hero-max";
|
|
7
|
+
import "./hero-ribbon/hero-ribbon";
|
|
8
|
+
import "./footer-base/footer-base";
|
|
9
|
+
import "./cta-base/cta-base";
|
|
10
|
+
import "./sec-multi-card/sec-multi-card";
|
|
11
|
+
import "./sec-card-feature/sec-card-feature";
|
|
12
|
+
import "./hero-title-small/hero-title-small";
|
|
13
|
+
import "./cta-form/cta-form";
|