@leuffen/themejs1 6.0.3 → 6.0.4

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.
@@ -92,9 +92,11 @@ Unsere Lasertherapie wird zur Behandlung von verschiedenen Augenerkrankungen ein
92
92
  ## Ein erfahrener Augenarzt für Ihre Gesundheit
93
93
  {: layout="use: #sec-card-2col"}
94
94
 
95
+ > Ihr vertrauensvoller Ansprechpartner
96
+
95
97
  ![](cdn:///leu-stock/v/64/1920x1280_1200x800_992x661_768x512_480x320_256x256/AdobeStock_495434983.avif_jpeg)
96
98
 
97
- > Ihr vertrauensvoller Ansprechpartner
99
+
98
100
 
99
101
  Dr. Osman ist ein erfahrener Facharzt für Augenheilkunde und spezialisiert auf die Behandlung von Makuladegeneration und anderen Netzhauterkrankungen.
100
102
 
@@ -19,9 +19,10 @@ type: article
19
19
  ## Ein kompetentes Team für Ihre Augengesundheit
20
20
  {: layout="use: #sec-card-2col"}
21
21
 
22
+ > Ein Team mit Leidenschaft
23
+
22
24
  ![](https://cdn.leuffen.de//leu-stock/v2/60/418-279_gfedcba/AdobeStock_99592855.webp)
23
25
 
24
- > Ein Team mit Leidenschaft
25
26
 
26
27
  In unserer Praxis werden Sie von Augenarzt Bassel Osman behandelt. Er ist ein erfahrener Facharzt für Augenheilkunde. Unterstützt wird er durch ein intensiv geschultes und langjährig erfahrenes Team von medizinischen Fachangestellten, spezialisiert auf Makuladiagnostik und Lasertherapie.
27
28
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  description: ""
3
3
  icon: bi bi-phone
4
- image: https://cdn.leuffen.de//leu-stock/v2/59/72-35_gfedcba/calendar-flat-lay-dates-and-schedules-2022-11-08-05-25-21-utc.webp
4
+ image: https://cdn.leuffen.de//leu-stock/v2/94/c_gfedcba/AdobeStock_102663778.webp
5
5
  lang: de
6
6
  layout: article
7
7
  order: 70
package/_variables.scss CHANGED
@@ -13,6 +13,12 @@ $danger: #bf1c0a !default;
13
13
  $warning: #bf760a !default;
14
14
  $dark: #006837 !default;
15
15
 
16
+ $soft-primary: lighten($primary, 40%) !default;
17
+ $soft-success: lighten($success, 40%) !default;
18
+ $soft-danger: lighten($danger, 50%) !default;
19
+ $soft-warning: lighten($warning, 50%) !default;
20
+ $soft-dark: lighten($dark, 40%) !default;
21
+
16
22
  $background: rgba(217, 217, 217, 0.24) !default;
17
23
  $background-primary: #b7eaf9 !default;
18
24
  $background-accent: #ddd !default;
@@ -5,7 +5,7 @@ jodastyle_1.Joda.registerTemplate("hero-max",
5
5
  // language=HTML
6
6
  `
7
7
 
8
- <section class="tjs__hero-max [[layout.class]] [[layout.autoheight === false ? '' : 'tjs__hero-max--autoheight' ]] :: mobile :lg: desktop">
8
+ <section class="tjs__hero-max [[layout.class]] [[layout.autoheight === false ? '' : 'tjs__hero-max--autoheight' ]] :: mobile :xxl: desktop">
9
9
  <slot data-select="img.background, :scope>.content>p.background>img" class="slideshow"></slot>
10
10
  <div class="tjs__hero-max--out-wrapper ">
11
11
  <div class="tjs__hero-max--container [[layout.container]]">
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const jodastyle_1 = require("@leuffen/jodastyle");
4
+ jodastyle_1.Joda.registerTemplate("infobox",
5
+ // language=HTML
6
+ `
7
+
8
+ <div class="tjs-infobox alert bg-soft-[[layout.type]] d-flex mb-3" tabindex="0">
9
+ <i style="width: 48px; height: 48px" class="text-[[layout.type]] me-3 bi [[layout.icon]] h1"></i>
10
+ <div>
11
+ <slot></slot>
12
+
13
+
14
+ </div>
15
+ </div>
16
+ `, {
17
+ type: "success", icon: "bi-info-circle-fill"
18
+ });
@@ -11,3 +11,4 @@ import "./sec-card-feature/sec-card-feature";
11
11
  import "./hero-title-small/hero-title-small";
12
12
  import "./cta-form/cta-form";
13
13
  import "./image-gallery1/image-gallery1";
14
+ import "./infobox/infobox";
@@ -13,3 +13,4 @@ require("./sec-card-feature/sec-card-feature");
13
13
  require("./hero-title-small/hero-title-small");
14
14
  require("./cta-form/cta-form");
15
15
  require("./image-gallery1/image-gallery1");
16
+ require("./infobox/infobox");
@@ -0,0 +1,17 @@
1
+
2
+
3
+ .bg-soft-primary {
4
+ background-color: $soft-primary !important;
5
+ }
6
+ .bg-soft-success {
7
+ background-color: $soft-success !important;
8
+ }
9
+ .bg-soft-danger {
10
+ background-color: $soft-danger !important;
11
+ }
12
+ .bg-soft-warning {
13
+ background-color: $soft-warning !important;
14
+ }
15
+ .bg-soft-dark {
16
+ background-color: $soft-dark !important;
17
+ }
@@ -0,0 +1,81 @@
1
+
2
+ .list-check-circle, ul.list-check-circle {
3
+ padding-left: 1.25rem;
4
+
5
+ ul {
6
+ padding-left: 1.26rem;
7
+
8
+ }
9
+
10
+ li {
11
+ font-size: inherit;
12
+ line-height: inherit;
13
+ padding-left: 1rem;
14
+ list-style-type: none;
15
+ position: relative;
16
+
17
+ &:not(&:nth-last-child(1)) {
18
+ margin-bottom: 10px;
19
+ }
20
+
21
+ &:before {
22
+ content: " ";
23
+ display: block;
24
+ border: solid 12px $primary;
25
+ border-radius: 12px;
26
+ height: 0;
27
+ width: 0;
28
+ position: absolute;
29
+ left: -20px;
30
+ top: 40%;
31
+ margin-top: -9px;
32
+ }
33
+ &:after {
34
+ content: " ";
35
+ display: block;
36
+ width: 7px;
37
+ height: 14px;
38
+ border: solid #fff;
39
+ border-width: 0 0.2em 0.2em 0;
40
+ position: absolute;
41
+ left: -12px;
42
+ top: 40%;
43
+ margin-top: -5px;
44
+ transform: rotate(45deg);
45
+ }
46
+ }
47
+ }
48
+
49
+ .list-check, ul.list-check {
50
+ padding-left: 1.25rem;
51
+
52
+ ul {
53
+ padding-left: 1.26rem;
54
+
55
+ }
56
+
57
+ li {
58
+ font-size: inherit;
59
+ line-height: inherit;
60
+ padding-left: 1rem;
61
+ list-style-type: none;
62
+ position: relative;
63
+
64
+ &:not(&:nth-last-child(1)) {
65
+ margin-bottom: 10px;
66
+ }
67
+
68
+ &:before {
69
+ content: "";
70
+ position: absolute;
71
+ left: -12px;
72
+ top: 40%;
73
+ margin-top: -5px;
74
+ width: 7px;
75
+ height: 14px;
76
+ border: solid $primary;
77
+ border-width: 0 2px 2px 0;
78
+ transform: rotate(45deg);
79
+ }
80
+ }
81
+ }
@@ -1,2 +1,4 @@
1
1
  @import "liweco";
2
+ @import "background-color";
3
+ @import "list-style";
2
4
  @import "e-form/e-form";
package/late.scss CHANGED
@@ -2,3 +2,4 @@
2
2
  @import "themes/_vendor/font-bootstrap-icons";
3
3
  @import "themes/_vendor/font-ubuntu";
4
4
  @import "themes/_vendor/font-garamond";
5
+ @import "themes/_vendor/font-opensans-condensed";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leuffen/themejs1",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
 
5
5
  "description": "",
6
6
  "license": "proprietary",
@@ -10,6 +10,7 @@
10
10
  &>slot {
11
11
  display: block;
12
12
  position: relative;
13
+ min-height: 66vh;
13
14
  aspect-ratio: var(--layout-image-ratio, 5 / 4);
14
15
  }
15
16
  & > slot > img {
@@ -38,7 +39,7 @@
38
39
  }
39
40
 
40
41
  }
41
-
42
+ min-height: var(--layout-min-height, 400px);
42
43
  position: relative;
43
44
  &.tjs__hero-max--autoheight {
44
45
  height: calc(100vh - var(--t-fullsize-modifier, 200px));
@@ -85,6 +86,9 @@
85
86
  font-size: calc(1.5em + 1vw);
86
87
  }
87
88
 
89
+ .slideshow:empty {
90
+ display: none;
91
+ }
88
92
 
89
93
  h1.glow {
90
94
  color: white;
@@ -100,10 +104,11 @@
100
104
 
101
105
 
102
106
  .tjs__hero-max--section-text {
103
- --joda-class: "col-12 col-lg-7";
104
107
  }
105
108
 
106
109
  .offsetmodifier {
107
110
  height: 100px;
108
111
  }
112
+
113
+
109
114
  }
@@ -5,7 +5,7 @@ Joda.registerTemplate("hero-max",
5
5
  // language=HTML
6
6
  `
7
7
 
8
- <section class="tjs__hero-max [[layout.class]] [[layout.autoheight === false ? '' : 'tjs__hero-max--autoheight' ]] :: mobile :lg: desktop">
8
+ <section class="tjs__hero-max [[layout.class]] [[layout.autoheight === false ? '' : 'tjs__hero-max--autoheight' ]] :: mobile :xxl: desktop">
9
9
  <slot data-select="img.background, :scope>.content>p.background>img" class="slideshow"></slot>
10
10
  <div class="tjs__hero-max--out-wrapper ">
11
11
  <div class="tjs__hero-max--container [[layout.container]]">
@@ -0,0 +1,13 @@
1
+
2
+
3
+ .tjs-infobox {
4
+
5
+
6
+
7
+ h3 {
8
+ margin-top: 1rem;
9
+ }
10
+
11
+ }
12
+
13
+
@@ -0,0 +1,18 @@
1
+ import {Joda} from "@leuffen/jodastyle";
2
+
3
+
4
+ Joda.registerTemplate("infobox",
5
+ // language=HTML
6
+ `
7
+
8
+ <div class="tjs-infobox alert bg-soft-[[layout.type]] d-flex mb-3" tabindex="0">
9
+ <i style="width: 48px; height: 48px" class="text-[[layout.type]] me-3 bi [[layout.icon]] h1"></i>
10
+ <div>
11
+ <slot></slot>
12
+
13
+
14
+ </div>
15
+ </div>
16
+ `, {
17
+ type: "success", icon: "bi-info-circle-fill"
18
+ });
@@ -5,6 +5,11 @@
5
5
  background: var(--t-section-background);
6
6
 
7
7
 
8
+ .tjs__sec-card-2col--col-start > slot > .children > *:last-child {
9
+ margin-bottom: 0 !important;
10
+ }
11
+
12
+
8
13
  map.aside {
9
14
  --joda-class: "";
10
15
  display: block;
@@ -67,6 +72,12 @@
67
72
  padding: 0;
68
73
  }
69
74
 
75
+ h3 {
76
+ margin-top: 1.5rem;
77
+ font-size: 1.2em;
78
+ font-weight: 600;
79
+ }
80
+
70
81
  }
71
82
 
72
83
  .tjs__sec-card-2col.desktop:nth-of-type(odd) .row {
@@ -13,3 +13,4 @@
13
13
  @import "hero-title-small/hero-title-small";
14
14
  @import "cta-form/cta-form";
15
15
  @import "image-gallery1/image-gallery1";
16
+ @import "infobox/infobox";
@@ -12,3 +12,4 @@ import "./sec-card-feature/sec-card-feature";
12
12
  import "./hero-title-small/hero-title-small";
13
13
  import "./cta-form/cta-form";
14
14
  import "./image-gallery1/image-gallery1";
15
+ import "./infobox/infobox";
@@ -0,0 +1,30 @@
1
+ @font-face {
2
+ font-family: "Open Sans Condensed";
3
+ src: url("https://cdn.leuffen.de/global/fonts/opensans/condensed/OpenSans_Condensed-Light.woff?v=1.101") format("woff");
4
+ font-weight: 300;
5
+ font-style: normal;
6
+ font-display: swap;
7
+
8
+ }
9
+
10
+ /* END Light */
11
+ /* BEGIN Light Italic */
12
+ @font-face {
13
+ font-family: "Open Sans Condensed";
14
+ src: url("https://cdn.leuffen.de/global/fonts/opensans/condensed/OpenSans_Condensed-LightItalic.woff?v=1.101") format("woff");
15
+ font-weight: 300;
16
+ font-style: italic;
17
+ font-display: swap;
18
+
19
+ }
20
+
21
+ /* END Light Italic */
22
+ /* BEGIN Regular */
23
+ @font-face {
24
+ font-family: "Open Sans Condensed";
25
+ src: url("https://cdn.leuffen.de/global/fonts/opensans/condensed/OpenSans_Condensed-Regular.woff?v=1.101") format("woff");
26
+ font-weight: normal;
27
+ font-style: normal;
28
+ font-display: swap;
29
+
30
+ }