@leuffen/themejs1 9.0.1 → 9.0.3

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.
@@ -2,11 +2,11 @@
2
2
  {% assign navi2 = site.pages | where: "lang", page.lang | where: "ptags", include.ptag | sort: "order" %}
3
3
  {%- for it in navi2 -%}
4
4
  {%- if it.has_subnav != true -%}
5
- <li><a href="{{ it.url }}"><i class="{% if it.nav_icon != null %}{{ it.nav_icon }}{% else %}{{ site.data.style.default_icon_class }}{% endif %}"></i>{% if it.short_title %}{{ it.short_title }}{% else %}{{ it.title }}{% endif %}</a></li>
5
+ <li style="order: {{it.order}}"><a href="{{ it.url }}">{% if it.nav_icon != null %}<i class="{{ it.nav_icon }}"></i>{% endif %}{% if it.short_title %}{{ it.short_title }}{% else %}{{ it.title }}{% endif %}</a></li>
6
6
  {%- else -%}
7
7
  {% assign itRootArr = it.pid | split: "/" %}
8
8
  {% assign itRoot = itRootArr[0] %}
9
- <li class="dropdown"><a href="{{ it.url }}" class="dropdown-toggle" role="button" data-bs-toggle="dropdown"><i class="{% if it.nav_icon != null %}{{ it.nav_icon }}{% else %}{{ site.data.style.default_icon_class }}{% endif %}"></i>{% if it.short_title %}{{ it.short_title }}{% else %}{{ it.title }}{% endif %}</a>
9
+ <li class="dropdown" style="order: {{it.order}}"><a href="{{ it.url }}" class="dropdown-toggle" role="button" data-bs-toggle="dropdown"><i class="{% if it.nav_icon != null %}{{ it.nav_icon }}{% else %}{{ site.data.style.default_icon_class }}{% endif %}"></i>{% if it.short_title %}{{ it.short_title }}{% else %}{{ it.title }}{% endif %}</a>
10
10
  <ul>
11
11
  {% assign subNavi = site.pages | where: "lang", page.lang | where: "ptags", "subnav" | sort: "order" %}
12
12
  {%- for sub in subNavi -%}
@@ -18,8 +18,8 @@ layout: 2_script
18
18
  <nte-navbar class="fixed autoborder autoshadow" scroll-threshold="500" style="--spacer-height: 125px">
19
19
 
20
20
  <!-- ================== TOPBAR ================== -->
21
- <nte-navbar-line class="hide-on-scroll">
22
- <nte-nav class="style-undecorated size-sm" style="font-size: 1.2rem;">
21
+ <nte-navbar-line class="hide-on-scroll topbar">
22
+ <nte-nav class="style-undecorated fs-6">
23
23
  <ul>
24
24
  <li>
25
25
  <a href="/kontakt" aria-label="Anschrift"><i class="bi bi-geo-alt-fill "></i><span class="d-none d-xl-block"> {{ site.data.general.street }}, {{ site.data.general.city }}</span></a>
@@ -8,8 +8,15 @@
8
8
  @import "@nextrap/nte-nav";
9
9
 
10
10
  nte-navbar-line {
11
+ &.topbar {
12
+ nte-nav {
13
+ --text-color: var(--nt-primary) !important;
14
+ }
15
+ }
11
16
  --background: white;
12
17
  nte-nav {
13
18
  --text-color: black;
14
19
  }
15
20
  }
21
+
22
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@leuffen/themejs1",
3
3
 
4
- "version": "9.0.1",
4
+ "version": "9.0.3",
5
5
  "description": "",
6
6
  "license": "proprietary",
7
7
  "main": "./index.js",