jekyll-theme-conference 5.2.0 → 5.3.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d3cea0a1eceaa2191779f067821a31fc4e7ea81e741fffed6fd52c87b5f9e74
4
- data.tar.gz: 1306c10b3e6d35e2463c140c21c8750e35aa36c6db14780c49ee8aa3a6d77056
3
+ metadata.gz: '08a729920aef186eadeacd3b047c375b7106a31978903de09948822ec8fdf239'
4
+ data.tar.gz: 0c10d4402eedee27e699cee35c88c80d8cf73430e4e64d2ec6a087b6b5c7a756
5
5
  SHA512:
6
- metadata.gz: 62b40d9701f51e1cfbd747a80851820f27627635d6c42435354055a047d2307c8dcffcc02716b6dc63e96f6d76e9178e5c8de2006ebe7dbaf6a6c7e608603abc
7
- data.tar.gz: 4d5b0671ac5db19c78f6bf0003886402fbc41ee3cc07ffc969f9807d4ad0536522e172bf683e491b0c87fe64ad5792e01c7b16640810c3aada5ba7051b1427f8
6
+ metadata.gz: 379c5dd122844c9082f6ca425d67ac9ccac647d9a9e63f3b9dafd6d887bcd24c031ae072fe32e9e09ebb8c6707266d2953ef1e0fb80fd096283616a8758bb3c4
7
+ data.tar.gz: e292569dcaa7a49a5d0efb1a78f821591e305ad694eeccda86e87634c246dd1cb8a6a6b3da41c896eccc6a9e452f09ae8d5e6d727613838c912274187312dfcc
data/README.md CHANGED
@@ -131,15 +131,15 @@ To install:
131
131
  bundle
132
132
  ```
133
133
 
134
- 4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.2.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
134
+ 4. Add `remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.3.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
135
135
 
136
136
  ```yaml
137
- remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.2.0"
137
+ remote_theme: "DigitaleGesellschaft/jekyll-theme-conference@v5.3.0"
138
138
  ```
139
139
 
140
140
  5. Continue with the [_Setup_](#setup) section below to customize the theme and add content for your conference.
141
141
 
142
- To update the theme, change the version tag in the `remote_theme` value (e.g., `@v5.1.0` to `@v5.2.0`).
142
+ To update the theme, change the version tag in the `remote_theme` value (e.g., `@v5.2.0` to `@v5.3.0`).
143
143
 
144
144
 
145
145
  ## Setup
@@ -347,7 +347,7 @@ conference:
347
347
 
348
348
  The navigation bar automatically collapses when the available space is too small (e.g., on a smaller screen). The breakpoints are given by [Bootstrap](https://getbootstrap.com/docs/5.3/layout/breakpoints/). The default breakpoint is `md` (collapsing if the screen width is smaller than 768px). It can be adapted by setting the `breakpoint` property under the `navigation` property to either `sm`, `md`, `lg`, or `xl`.
349
349
 
350
- When installed as a progressive web application (see the [_Progressive Web App (PWA)_](#progressive-web-app-pwa) section below), the navigation bar moves to the bottom. In PWA mode, it displays link icons and ignores links with `live: true`. Please note that the navigation bar has a limited width and no vertical scrolling. To hide an entry in this mode, set `pwa_hide: true` on its link.
350
+ When installed as a progressive web application (see the [_Progressive Web App (PWA)_](#progressive-web-app-pwa) section below), the navigation bar moves to the bottom. In PWA mode, it displays link icons. A link with `live: true` appears while live before the "More" button, with the live icon above its name (default: "Live"), and outside live as a disabled entry named `name_inactive` if given. Without `name_inactive`, it takes no place outside live: while live, the last entries move into "More" to make room. The bar holds up to five entries, four on screens narrower than 390px (e.g. iPhone mini); with more, it shows one less and a "More" button opening the others in a sheet from the bottom. Menus open as such sheets too. The current page's entry is coloured and its icon switches to the filled variant if there is one (e.g. `people-fill` for `people`). To hide an entry in this mode, set `pwa_hide: true` on its link.
351
351
 
352
352
  ```yaml
353
353
  conference:
@@ -567,6 +567,9 @@ The theme includes built-in support for Progressive Web App (PWA) functionality,
567
567
  # Theme color for the PWA (default: Bootstrap primary color, #0d6efd)
568
568
  theme_color: "#0d6efd"
569
569
 
570
+ # Theme color in dark mode (default: theme_color)
571
+ theme_color_dark: "#0a58ca"
572
+
570
573
  # Background color for the PWA (default: white, #ffffff)
571
574
  background_color: "#ffffff"
572
575
 
@@ -1,5 +1,5 @@
1
1
  # Generated by `npm run build`: content hashes of the bundles
2
- css/conference-only.bundle.css: "9c325bb92e"
3
- css/conference.bundle.css: "287c290988"
2
+ css/conference-only.bundle.css: "0f2b955414"
3
+ css/conference.bundle.css: "092fd2d2b1"
4
4
  css/map.bundle.css: "3104fafcdf"
5
5
  js/conference.bundle.js: "102f0af456"
data/_data/lang.yml CHANGED
@@ -1,4 +1,4 @@
1
- version: 14
1
+ version: 15
2
2
 
3
3
  en:
4
4
  pronoun:
@@ -15,6 +15,7 @@ en:
15
15
  main: Main navigation
16
16
  toggle: Toggle navigation menu
17
17
  skip_to_content: Skip to content
18
+ more: More
18
19
  live:
19
20
  live: Live
20
21
  stream: Live Stream
@@ -93,6 +94,7 @@ de:
93
94
  main: Hauptnavigation
94
95
  toggle: Navigationsmenü umschalten
95
96
  skip_to_content: Zum Inhalt springen
97
+ more: Mehr
96
98
  live:
97
99
  live: Live
98
100
  stream: Live Stream
@@ -171,6 +173,7 @@ fr:
171
173
  main: Navigation principale
172
174
  toggle: Basculer le menu de navigation
173
175
  skip_to_content: Aller au contenu
176
+ more: Plus
174
177
  live:
175
178
  live: En direct
176
179
  stream: Diffusion en direct
@@ -249,6 +252,7 @@ pt:
249
252
  main: Navegação principal
250
253
  toggle: Alternar menu de navegação
251
254
  skip_to_content: Ir para o conteúdo
255
+ more: Mais
252
256
  live:
253
257
  live: Ao vivo
254
258
  stream: Transmissão ao vivo
@@ -1,6 +1,6 @@
1
1
  {%- assign errors = '' | split: ',' -%}
2
2
 
3
- {%- if site.data.lang.version != 14 -%}
3
+ {%- if site.data.lang.version != 15 -%}
4
4
  {%- assign errors = errors | push: "The internationalization file in `_data/lang.yml` seems to be outdated and does not correspond to the current version of the theme. Grab the current version from the [theme's repository](https://github.com/DigitaleGesellschaft/jekyll-theme-conference/blob/main/_data/lang.yml)." -%}
5
5
  {%- endif -%}
6
6
  {%- unless site.conference.lang == "en" or site.conference.lang == "de" or site.conference.lang == "fr" or site.conference.lang == "pt" -%}
@@ -4,6 +4,7 @@
4
4
  <footer class="footer-pwa">
5
5
  {%- include navbar_pwa.html -%}
6
6
  </footer>
7
+ {{- pwa_sheets }}
7
8
 
8
9
  {%- include modal_link.html -%}
9
10
  {%- include pwa_install.html -%}
@@ -1,5 +1,7 @@
1
1
  {%- assign live_label = site.data.lang[site.conference.lang].live.live | default: "Live" -%}
2
+ {%- unless include.icon_only -%}
2
3
  <span class="live-button py-1 px-2 rounded {{ include.class }}">
4
+ {%- endunless -%}
3
5
  <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 11 11" class="live-icon align-baseline bi" aria-hidden="true" focusable="false" role="img">
4
6
  <!--
5
7
  The following SVG icon is based on https://github.com/twbs/icons/blob/main/icons/rss.svg
@@ -10,5 +12,7 @@
10
12
  <path class="live-icon-arc-medium" d="M 0,5 C 0,4.4477153 0.4477153,4 1,4 4.3137085,4 7,6.6862915 7,10 7,11.333333 5,11.333333 5,10 5,7.790861 3.209139,6 1,6 0.4477153,6 0,5.5522847 0,5" />
11
13
  <path class="live-icon-arc-large" d="M 0,1 C 0,0.4477153 0.4477153,0 1,0 6.523,0 11,4.477 11,10 11,11.333333 9,11.333333 9,10 9,5.581722 5.418278,2 1,2 0.4477153,2 0,1.5522847 0,1" />
12
14
  </svg>
15
+ {%- unless include.icon_only -%}
13
16
  <span>{{ live_label }}</span>
14
- </span>
17
+ </span>
18
+ {%- endunless -%}
@@ -0,0 +1,26 @@
1
+ {%- comment -%}
2
+ States of the app's tab bar (pwa_states, e.g. "4-live": four tabs, during
3
+ live) in which the entry at pwa_index is a tab or in "More", given the
4
+ tabs per state (pwa_counts), as attributes: pwa_tab_attr and
5
+ pwa_more_attr, e.g. ' data-pwa-in="5 5-live"' and ' data-pwa-in="4
6
+ 4-live"'; empty where it is in all states.
7
+ {%- endcomment -%}
8
+ {%- assign pwa_tab_in = "" | split: "" -%}
9
+ {%- assign pwa_more_in = "" | split: "" -%}
10
+ {%- for pwa_count in pwa_counts -%}
11
+ {%- if pwa_index < pwa_count -%}
12
+ {%- assign pwa_tab_in = pwa_tab_in | push: pwa_states[forloop.index0] -%}
13
+ {%- else -%}
14
+ {%- assign pwa_more_in = pwa_more_in | push: pwa_states[forloop.index0] -%}
15
+ {%- endif -%}
16
+ {%- endfor -%}
17
+
18
+ {%- assign pwa_tab_attr = "" -%}
19
+ {%- if pwa_more_in.size > 0 -%}
20
+ {%- assign pwa_tab_attr = pwa_tab_in | join: " " | prepend: ' data-pwa-in="' | append: '"' -%}
21
+ {%- endif -%}
22
+
23
+ {%- assign pwa_more_attr = "" -%}
24
+ {%- if pwa_tab_in.size > 0 -%}
25
+ {%- assign pwa_more_attr = pwa_more_in | join: " " | prepend: ' data-pwa-in="' | append: '"' -%}
26
+ {%- endif -%}
@@ -4,7 +4,7 @@
4
4
 
5
5
  <head>
6
6
  <meta charset="utf-8" />
7
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
8
8
 
9
9
  {% include get_page_title.html -%}
10
10
  <title>
data/_includes/icon.html CHANGED
@@ -1,17 +1,26 @@
1
1
  {%- comment -%}
2
2
  Inline Bootstrap Icon as SVG, rendered at build time (no icon font), e.g.
3
3
  {% include icon.html name="clock" class="me-1" %}. Unknown names render nothing.
4
+ With fill=true, its filled variant where there is one (e.g. clock-fill).
4
5
  {%- endcomment -%}
5
6
  {%- unless icon_names -%}
6
7
  {%- capture icon_names -%}{%- include icons/_names.txt -%}{%- endcapture -%}
7
8
  {%- endunless -%}
8
9
 
9
- {%- assign icon_key = include.name | prepend: "," | append: "," -%}
10
- {%- if include.name and icon_names contains icon_key -%}
10
+ {%- assign icon_name = include.name -%}
11
+ {%- if include.fill -%}
12
+ {%- assign icon_key = include.name | append: "-fill" | prepend: "," | append: "," -%}
13
+ {%- if icon_names contains icon_key -%}
14
+ {%- assign icon_name = include.name | append: "-fill" -%}
15
+ {%- endif -%}
16
+ {%- endif -%}
17
+
18
+ {%- assign icon_key = icon_name | prepend: "," | append: "," -%}
19
+ {%- if icon_name and icon_names contains icon_key -%}
11
20
  {%- if include.class -%}
12
21
  {%- assign icon_class = include.class | prepend: " " -%}
13
22
  {%- else -%}
14
23
  {%- assign icon_class = "" -%}
15
24
  {%- endif -%}
16
- {%- include icons/{{ include.name }}.svg -%}
25
+ {%- include icons/{{ icon_name }}.svg -%}
17
26
  {%- endif -%}
@@ -4,7 +4,12 @@
4
4
 
5
5
  <link rel="manifest" href="{{ site.baseurl }}/manifest.json" />
6
6
  <meta name="mobile-web-app-capable" content="yes" />
7
+ {%- if site.conference.pwa.theme_color_dark %}
8
+ <meta name="theme-color" content="{{ pwa_theme_color }}" media="(prefers-color-scheme: light)" />
9
+ <meta name="theme-color" content="{{ site.conference.pwa.theme_color_dark }}" media="(prefers-color-scheme: dark)" />
10
+ {%- else %}
7
11
  <meta name="theme-color" content="{{ pwa_theme_color }}" />
12
+ {%- endif %}
8
13
  <meta name="apple-mobile-web-app-capable" content="yes" />
9
14
  <meta name="apple-mobile-web-app-status-bar-style" content="default" />
10
15
  <meta name="apple-mobile-web-app-title" content="{{ edition_title }}" />
@@ -1,39 +1,217 @@
1
+ {%- comment -%}
2
+ Tab bar of the installed app (PWA), at most five tabs (four on narrow
3
+ phones, e.g. iPhone mini): beyond, the first four (three) and "More" with
4
+ the others, e.g. "Program · Talks · Speakers · Location · More". A link
5
+ with `live: true` adds a tab before "More" while live, outside live its
6
+ `name_inactive` if given (disabled). Without, the tab takes no slot
7
+ outside live: while live, the last tabs give way to it and move into
8
+ "More". Menus open as sheets from the bottom, captured in
9
+ pwa_sheets: footer.html places them outside the bar, whose stacking
10
+ context would keep them below the backdrop. Entries not a tab in every
11
+ state of the bar (width, live) name the states they are one in
12
+ (data-pwa-in, see theme.scss).
13
+ {%- endcomment -%}
14
+ {%- assign pwa_sheets = "" -%}
1
15
  {%- if site.conference.pwa and site.conference.pwa.enable -%}
2
- <nav class="navbar navbar-expand-sm navbar-pwa d-pwa-block bg-body-secondary pb-4" aria-label="{{ site.data.lang[site.conference.lang].navigation.main | default: 'Main navigation' }}">
3
- <div class="container">
4
- <div class="navbar-nav flex-row w-100 align-items-end justify-content-around">
5
- {%- for link in edition_nav_links -%}
6
- {%- if link.pwa_hide %}
7
- {% comment %} Skip hidden entries {% endcomment %}
16
+ {%- assign lang = site.data.lang[site.conference.lang] -%}
17
+
18
+ {%- comment -%} Entries: links and non-empty menus, except hidden ones and the live one (shown separately) {%- endcomment -%}
19
+ {%- assign pwa_entries = "" | split: "" -%}
20
+ {%- assign pwa_live = nil -%}
21
+ {%- for link in edition_nav_links -%}
22
+ {%- if link.pwa_hide -%}
23
+ {%- continue -%}
24
+ {%- endif -%}
25
+
26
+ {%- if link.live -%}
27
+ {%- if edition_live and pwa_live == nil -%}
28
+ {%- assign pwa_live = link -%}
29
+ {%- endif -%}
30
+ {%- continue -%}
31
+ {%- endif -%}
32
+
33
+ {%- if link.menu -%}
34
+ {%- include get_menu.html -%}
35
+ {%- if menu_empty -%}
36
+ {%- continue -%}
37
+ {%- endif -%}
38
+ {%- endif -%}
39
+ {%- assign pwa_entries = pwa_entries | push: link -%}
40
+ {%- endfor -%}
8
41
 
9
- {%- elsif link.live -%}
10
- {% comment %} Live links are not shown in app like menu to keep it static {% endcomment %}
42
+ {%- comment -%}
43
+ Tabs besides Live and More per state (pwa_states, pwa_counts): four or
44
+ five slots, outside live or during ("-live"), less one where Live shows
45
+ (outside live: name_inactive), less one for More if not all fit. E.g.
46
+ five entries and Live without name_inactive: 3 (4), 2 (4-live), 5 (5)
47
+ and 3 (5-live)
48
+ {%- endcomment -%}
49
+ {%- assign pwa_states = "" | split: "" -%}
50
+ {%- assign pwa_counts = "" | split: "" -%}
51
+ {%- assign pwa_suffixes = "|-live" | split: "|" -%}
52
+ {%- for pwa_max_tabs in (4..5) -%}
53
+ {%- for pwa_suffix in pwa_suffixes -%}
54
+ {%- assign pwa_live_tab = pwa_live.name_inactive -%}
55
+ {%- if pwa_suffix == "-live" -%}
56
+ {%- assign pwa_live_tab = pwa_live -%}
57
+ {%- endif -%}
11
58
 
12
- {%- elsif link.menu -%}
59
+ {%- assign pwa_slots = pwa_max_tabs -%}
60
+ {%- if pwa_live_tab -%}
61
+ {%- assign pwa_slots = pwa_max_tabs | minus: 1 -%}
62
+ {%- endif -%}
63
+ {%- assign pwa_count = pwa_entries.size -%}
64
+ {%- if pwa_count > pwa_slots -%}
65
+ {%- assign pwa_count = pwa_slots | minus: 1 -%}
66
+ {%- endif -%}
67
+
68
+ {%- assign pwa_state = pwa_max_tabs | append: pwa_suffix -%}
69
+ {%- assign pwa_states = pwa_states | push: pwa_state -%}
70
+ {%- assign pwa_counts = pwa_counts | push: pwa_count -%}
71
+ {%- endfor -%}
72
+ {%- endfor -%}
73
+
74
+ {%- comment -%} Entries a tab in any state, and in "More" in any {%- endcomment -%}
75
+ {%- assign pwa_tab_count = pwa_counts | sort | last -%}
76
+ {%- assign pwa_more_from = pwa_counts | sort | first -%}
77
+
78
+ {%- comment -%} Times when live, for .live-show and .live-hide (Live and name_inactive) {%- endcomment -%}
79
+ {%- if pwa_live -%}
80
+ {%- include get_live_timestamps.html -%}
81
+ {%- capture pwa_live_range %}data-start="{{ live_starts }}" data-end="{{ live_ends }}"{% endcapture -%}
82
+ {%- endif %}
83
+ <nav class="navbar navbar-expand-sm navbar-pwa d-pwa-block bg-body-secondary" aria-label="{{ lang.navigation.main | default: 'Main navigation' }}">
84
+ <div class="container">
85
+ <div class="navbar-nav flex-row w-100 align-items-end justify-content-around">
86
+ {%- for link in pwa_entries limit: pwa_tab_count -%}
87
+ {%- assign pwa_index = forloop.index0 -%}
88
+ {%- include get_pwa_in.html -%}
89
+ {%- if link.menu -%}
13
90
  {%- include get_menu.html -%}
14
- {%- unless menu_empty %}
15
- <div class="dropup px-2">
16
- <a class="nav-link dropdown-toggle" href="#" id="navbar-dropup{{ forloop.index0 }}" role="button" data-bs-toggle="dropdown" aria-expanded="false"{% if menu_label %} aria-label="{{ menu_label }}"{% endif %}>
17
- {{ menu_name }}
18
- </a>
19
- <div class="dropdown-menu" aria-labelledby="navbar-dropup{{ forloop.index0 }}">
20
- {%- include show_menu_items.html %}
21
- </div>
91
+ {%- assign sheet_id = "navbar-pwa-sheet" | append: forloop.index0 %}
92
+ <div class="px-2"{{ pwa_tab_attr }}>
93
+ <button type="button" class="nav-link icon-link d-flex flex-column flex-md-row align-items-center text-center" data-bs-toggle="offcanvas" data-bs-target="#{{ sheet_id }}" aria-controls="{{ sheet_id }}"{% if menu_label %} aria-label="{{ menu_label }}"{% endif %}>
94
+ {% assign link_icon_name = link.icon | default: 'list' %}{% include icon.html name=link_icon_name %}
95
+ <span>{{ menu_name }}</span>
96
+ </button>
22
97
  </div>
23
- {%- endunless -%}
98
+
99
+ {%- capture pwa_sheet %}
100
+ <div class="offcanvas offcanvas-bottom h-auto rounded-top-4 d-print-none navbar-pwa-sheet" tabindex="-1" id="{{ sheet_id }}" aria-labelledby="{{ sheet_id }}-label">
101
+ <div class="offcanvas-header">
102
+ <h2 class="offcanvas-title h5" id="{{ sheet_id }}-label">{{ menu_name }}</h2>
103
+ <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="{{ lang.close | default: 'Close' }}"></button>
104
+ </div>
105
+ <div class="offcanvas-body pt-0">
106
+ <div class="list-group list-group-flush">
107
+ {%- include show_menu_items.html item_class="list-group-item list-group-item-action" %}
108
+ </div>
109
+ </div>
110
+ </div>
111
+ {%- endcapture -%}
112
+ {%- assign pwa_sheets = pwa_sheets | append: pwa_sheet -%}
24
113
 
25
114
  {%- else %}
26
- <div class="px-2">
115
+ <div class="px-2"{{ pwa_tab_attr }}>
27
116
  {%- include get_link_active.html -%}
28
- {%- include get_link.html class="nav-link icon-link flex-column flex-md-row text-center" is_active=is_active -%}
117
+ {%- include get_link.html class="nav-link icon-link d-flex flex-column flex-md-row align-items-center text-center" is_active=is_active -%}
29
118
  {{ link_tag }}
30
- {% assign link_icon_name = link_icon | default: 'link-45deg' %}{% include icon.html name=link_icon_name %}
119
+ {% assign link_icon_name = link_icon | default: 'link-45deg' %}{% include icon.html name=link_icon_name fill=is_active %}
31
120
  <span>{{ link.name }}</span>
32
121
  </a>
33
122
  </div>
34
123
  {%- endif -%}
35
124
  {%- endfor %}
125
+
126
+ {%- comment -%} Live while live, otherwise name_inactive if given (as in navbar.html) {%- endcomment -%}
127
+ {%- if pwa_live -%}
128
+ {%- assign link = pwa_live %}
129
+ <div class="px-2 navbar-pwa-live live-show d-none" {{ pwa_live_range }}>
130
+ {%- include get_link.html class="nav-link icon-link d-flex flex-column flex-md-row align-items-center text-center" -%}
131
+ {{ link_tag }}
132
+ {% include get_live_icon.html icon_only=true %}
133
+ <span>{{ link.name | default: lang.live.live | default: "Live" }}</span>
134
+ </a>
135
+ </div>
136
+
137
+ {%- if link.name_inactive %}
138
+ <div class="px-2 live-hide" {{ pwa_live_range }}>
139
+ <a class="nav-link icon-link d-flex flex-column flex-md-row align-items-center text-center disabled" href="#" tabindex="-1" aria-disabled="true">
140
+ {% include get_live_icon.html icon_only=true %}
141
+ <span>{{ link.name_inactive }}</span>
142
+ </a>
143
+ </div>
144
+ {%- endif -%}
145
+ {%- endif %}
146
+
147
+ {%- comment -%} More, in the states its last entry is in it {%- endcomment -%}
148
+ {%- if pwa_more_from < pwa_entries.size -%}
149
+ {%- assign pwa_index = pwa_entries.size | minus: 1 -%}
150
+ {%- include get_pwa_in.html %}
151
+ <div class="px-2"{{ pwa_more_attr }}>
152
+ <button type="button" class="nav-link icon-link d-flex flex-column flex-md-row align-items-center text-center" data-bs-toggle="offcanvas" data-bs-target="#navbar-pwa-more" aria-controls="navbar-pwa-more">
153
+ {% include icon.html name="three-dots" %}
154
+ <span>{{ lang.navigation.more | default: "More" }}</span>
155
+ </button>
156
+ </div>
157
+ {%- endif %}
36
158
  </div>
37
159
  </div>
38
160
  </nav>
161
+
162
+ {%- comment -%}
163
+ More: the remaining links, then the remaining menus under their name,
164
+ each in the states it is no tab in
165
+ {%- endcomment -%}
166
+ {%- if pwa_more_from < pwa_entries.size -%}
167
+ {%- capture pwa_sheet %}
168
+ <div class="offcanvas offcanvas-bottom h-auto rounded-top-4 d-print-none navbar-pwa-sheet" tabindex="-1" id="navbar-pwa-more" aria-labelledby="navbar-pwa-more-label">
169
+ <div class="offcanvas-header">
170
+ <h2 class="offcanvas-title h5" id="navbar-pwa-more-label">{{ lang.navigation.more | default: "More" }}</h2>
171
+ <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="{{ lang.close | default: 'Close' }}"></button>
172
+ </div>
173
+ <div class="offcanvas-body pt-0">
174
+ {%- capture pwa_more_links -%}
175
+ {%- for link in pwa_entries offset: pwa_more_from -%}
176
+ {%- if link.menu -%}
177
+ {%- continue -%}
178
+ {%- endif -%}
179
+
180
+ {%- assign pwa_index = forloop.index0 | plus: pwa_more_from -%}
181
+ {%- include get_pwa_in.html -%}
182
+ {%- assign pwa_link_open = "<a" | append: pwa_more_attr -%}
183
+ {%- include get_link_active.html -%}
184
+ {%- include get_link.html class="list-group-item list-group-item-action icon-link" is_active=is_active %}
185
+ {{ link_tag | replace_first: "<a", pwa_link_open }}
186
+ {% assign link_icon_name = link_icon | default: 'link-45deg' %}{% include icon.html name=link_icon_name %}
187
+ {{ link.name }}
188
+ </a>
189
+ {%- endfor -%}
190
+ {%- endcapture -%}
191
+ {%- unless pwa_more_links == "" %}
192
+ <div class="list-group list-group-flush">
193
+ {{- pwa_more_links }}
194
+ </div>
195
+ {%- endunless -%}
196
+
197
+ {%- for link in pwa_entries offset: pwa_more_from -%}
198
+ {%- unless link.menu -%}
199
+ {%- continue -%}
200
+ {%- endunless -%}
201
+
202
+ {%- assign pwa_index = forloop.index0 | plus: pwa_more_from -%}
203
+ {%- include get_pwa_in.html -%}
204
+ {%- include get_menu.html %}
205
+ <div{{ pwa_more_attr }}>
206
+ <h3 class="h6 mt-3 mb-1 px-3 text-body-secondary">{{ menu_name }}</h3>
207
+ <div class="list-group list-group-flush">
208
+ {%- include show_menu_items.html item_class="list-group-item list-group-item-action" %}
209
+ </div>
210
+ </div>
211
+ {%- endfor %}
212
+ </div>
213
+ </div>
214
+ {%- endcapture -%}
215
+ {%- assign pwa_sheets = pwa_sheets | append: pwa_sheet -%}
216
+ {%- endif -%}
39
217
  {%- endif -%}
@@ -1,17 +1,19 @@
1
1
  {%- comment -%}
2
2
  Items of a dropdown menu (see get_menu.html, sets menu_links): its links,
3
- or each edition's home page, marking the page's edition
3
+ or each edition's home page, marking the page's edition. The class of an
4
+ item (item_class) defaults to "dropdown-item", e.g. item_class="list-group-item".
4
5
  {%- endcomment -%}
6
+ {%- assign menu_item_class = include.item_class | default: "dropdown-item" -%}
5
7
  {%- if menu_links == "editions" -%}
6
8
  {%- for e in site.conference.editions -%}
7
9
  {%- assign e_id = e.id | append: "" %}
8
- <a class="dropdown-item{% if e_id == edition %} active{% endif %}" href="{{ site.baseurl }}/{{ e_id }}/"{% if e_id == edition %} aria-current="true"{% endif %}>
10
+ <a class="{{ menu_item_class }}{% if e_id == edition %} active{% endif %}" href="{{ site.baseurl }}/{{ e_id }}/"{% if e_id == edition %} aria-current="true"{% endif %}>
9
11
  {{ e.name | default: e_id }}
10
12
  </a>
11
13
  {%- endfor -%}
12
14
  {%- else -%}
13
15
  {%- for link in menu_links -%}
14
- {%- include get_link.html class="dropdown-item" %}
16
+ {%- include get_link.html class=menu_item_class %}
15
17
  {{ link_tag }}
16
18
  {{ link.name }}
17
19
  </a>
data/_sass/theme.scss CHANGED
@@ -284,6 +284,16 @@ h1.room-name,
284
284
  z-index: $zindex-fixed;
285
285
  margin-top: auto;
286
286
  }
287
+
288
+ // Clear the system's areas (viewport-fit=cover), e.g. the home indicator
289
+ // below and the notch beside in landscape; 0 where there are none. The
290
+ // bar stays in place while pages change (see @view-transition below)
291
+ .navbar-pwa {
292
+ view-transition-name: pwa-tabs;
293
+ padding-right: env(safe-area-inset-right);
294
+ padding-bottom: calc(var(--#{$prefix}navbar-padding-y) + env(safe-area-inset-bottom));
295
+ padding-left: env(safe-area-inset-left);
296
+ }
287
297
  }
288
298
 
289
299
  .d-pwa-block {
@@ -298,6 +308,66 @@ h1.room-name,
298
308
  @include pwa-mode;
299
309
  }
300
310
 
311
+ // No bounce beyond the page's ends (iOS) or stretch (Android) in the app:
312
+ // it would move the sticky tab bar along. On the root, outside the mixin,
313
+ // as data-pwa is set on it
314
+ @media (display-mode: standalone), (display-mode: fullscreen) {
315
+ :root {
316
+ overscroll-behavior-y: none;
317
+ }
318
+ }
319
+
320
+ [data-pwa="true"] {
321
+ overscroll-behavior-y: none;
322
+ }
323
+
324
+ // Pages of the app cross-fade like native screens instead of flashing
325
+ @media (display-mode: standalone) and (prefers-reduced-motion: no-preference) {
326
+ @view-transition {
327
+ navigation: auto;
328
+ }
329
+ }
330
+
331
+ // Tab bar of the app: the current tab in the primary colour
332
+ .navbar-pwa {
333
+ --#{$prefix}navbar-active-color: var(--#{$prefix}primary-text-emphasis);
334
+ }
335
+
336
+ // States of the app's tab bar (_includes/navbar_pwa.html): four tabs on
337
+ // narrow phones (e.g. iPhone mini, 375 px), five from 390 px, "-live"
338
+ // while the Live tab shows. Tabs and "More" entries with data-pwa-in show
339
+ // only in the states listed, e.g. data-pwa-in="5 5-live"
340
+ $pwa-five-tabs: 390px;
341
+
342
+ $pwa-live: ".navbar-pwa-live:not(.d-none)";
343
+
344
+ @each $suffix, $state in ("": ":not(:has(#{$pwa-live}))", "-live": ":has(#{$pwa-live})") {
345
+ :root#{$state} {
346
+ @media (max-width: #{$pwa-five-tabs - 0.02px}) {
347
+ [data-pwa-in]:not([data-pwa-in~="4#{$suffix}"]) {
348
+ display: none;
349
+ }
350
+ }
351
+
352
+ @media (min-width: $pwa-five-tabs) {
353
+ [data-pwa-in]:not([data-pwa-in~="5#{$suffix}"]) {
354
+ display: none;
355
+ }
356
+ }
357
+ }
358
+ }
359
+
360
+ // Disabled live tab (name_inactive): the icon without its pulse
361
+ .navbar-pwa .disabled .live-icon path {
362
+ animation: none;
363
+ }
364
+
365
+ // Sheets of the app's tab bar (_includes/navbar_pwa.html): items across
366
+ // the full width, above the home indicator
367
+ .navbar-pwa-sheet .offcanvas-body {
368
+ padding: 0 0 calc(var(--#{$prefix}offcanvas-padding-y) + env(safe-area-inset-bottom));
369
+ }
370
+
301
371
  // PWA install banner (_includes/pwa_banner.html): above the page, styled
302
372
  // like the platform's own banners rather than the site, e.g. iOS: light
303
373
  // grey with a pill button (App Store), Android: Material surface and button
@@ -1 +1 @@
1
- .bi{vertical-align:-.125em;width:1em;height:1em}.speaker-name,h1.room-name,.talk-speakers,.talk-item .talk-info{font-weight:300}.talk-title:-webkit-any(h1,h2){font-weight:300}.talk-title:is(h1,h2){font-weight:300}.track-name,.page-label{border-left:.25rem solid;padding:.25rem .5rem;font-weight:400;display:block}@media (min-width:576px){.track-name,.page-label{display:inline}}.page-label{background-color:var(--bs-tertiary-bg);border-left-color:var(--bs-border-color);display:table}.talk-item{border-left:.25rem solid;margin-bottom:.5rem;padding-left:.5rem}.talk-list+h3{margin-top:1rem}.program-table{border-collapse:separate!important;border-spacing:1rem 0!important}.program-table .program-time{z-index:900;width:4rem;min-width:4rem;max-width:4rem;position:sticky;left:0}.program-table .program-talk{width:15rem;min-width:15rem;max-width:15rem}@media (max-width:21rem){.program-table .program-talk{width:calc(100vw - 6rem);min-width:calc(100vw - 6rem);max-width:calc(100vw - 6rem)}}.program-table td.program-talk[rowspan]{z-index:1;position:relative;border-width:0 0 0 .25rem!important}.program-table td.program-talk[rowspan]:before,.program-table td.program-talk[rowspan]:after{content:"";background-color:var(--bs-body-bg);position:absolute;left:-.25rem;right:0}.program-table td.program-talk[rowspan]:before{top:calc(-1 * var(--bs-border-width));height:var(--bs-border-width)}.program-table td.program-talk[rowspan]:after{height:2px;bottom:0}.program-table .program-talk-icon{padding-bottom:1.75rem!important}.program-table .program-track-icon{position:absolute;bottom:.5rem;right:.5rem}.program-table th.program-talk{position:relative}.program-arrows .program-table th.program-talk{padding-inline-start:1.75rem;padding-inline-end:1.75rem}.program-table .program-arrow{line-height:1;position:absolute;top:50%;transform:translateY(-50%)}@media print{.program-table .program-arrow{display:none}}.program-table .program-arrow-prev{left:0}.program-table .program-arrow-next{right:0}.program-table-container{scroll-snap-type:x mandatory;scroll-padding-left:4rem;position:relative}.program-table-container tbody .program-talk{scroll-snap-align:start}.program-now{pointer-events:none;height:2px;margin-top:-1px;position:absolute}@media print{.program-now{display:none}}.program-now-cell:after{content:"";top:var(--program-now-top);z-index:-1;height:var(--program-now-height);background-color:var(--program-now-color);pointer-events:none;position:absolute;left:0;right:0}@media print{.program-now-cell:after{display:none}}.col-count-1{column-count:1}.col-count-2{column-count:2}.col-count-3{column-count:3}.col-count-4{column-count:4}.col-count-5{column-count:5}.col-count-6{column-count:6}@media (min-width:576px){.col-count-sm-1{column-count:1}.col-count-sm-2{column-count:2}.col-count-sm-3{column-count:3}.col-count-sm-4{column-count:4}.col-count-sm-5{column-count:5}.col-count-sm-6{column-count:6}}@media (min-width:768px){.col-count-md-1{column-count:1}.col-count-md-2{column-count:2}.col-count-md-3{column-count:3}.col-count-md-4{column-count:4}.col-count-md-5{column-count:5}.col-count-md-6{column-count:6}}@media (min-width:992px){.col-count-lg-1{column-count:1}.col-count-lg-2{column-count:2}.col-count-lg-3{column-count:3}.col-count-lg-4{column-count:4}.col-count-lg-5{column-count:5}.col-count-lg-6{column-count:6}}@media (min-width:1200px){.col-count-xl-1{column-count:1}.col-count-xl-2{column-count:2}.col-count-xl-3{column-count:3}.col-count-xl-4{column-count:4}.col-count-xl-5{column-count:5}.col-count-xl-6{column-count:6}}@media (min-width:1400px){.col-count-xxl-1{column-count:1}.col-count-xxl-2{column-count:2}.col-count-xxl-3{column-count:3}.col-count-xxl-4{column-count:4}.col-count-xxl-5{column-count:5}.col-count-xxl-6{column-count:6}}.col-count{break-inside:avoid-column}.alert>p:last-of-type{margin-bottom:0}.home-header-img{width:100%}@media (min-width:768px){.home-header-img{width:75%}}.mode-light{display:initial}.mode-dark,[data-bs-theme=dark] .mode-light{display:none}[data-bs-theme=dark] .mode-dark{display:initial}.d-pwa-block{display:none}@media (display-mode:standalone),(display-mode:fullscreen){.d-pwa-none{display:none}.d-pwa-block{display:block}body{flex-direction:column;display:flex}.footer-pwa{z-index:1030;margin-top:auto;position:sticky;bottom:0}}[data-pwa=true] .d-pwa-none{display:none}[data-pwa=true] .d-pwa-block{display:block}[data-pwa=true] body{flex-direction:column;display:flex}[data-pwa=true] .footer-pwa{z-index:1030;margin-top:auto;position:sticky;bottom:0}.pwa-banner{--pwa-banner-bg:#f2f2f7;--pwa-banner-color:#000;--pwa-banner-muted:#6c6c70;--pwa-banner-border:#c6c6c8;--pwa-banner-button-bg:#e3e3e8;--pwa-banner-button-color:#005ecb;border-bottom:1px solid var(--pwa-banner-border);background:var(--pwa-banner-bg);color:var(--pwa-banner-color);align-items:center;gap:.75rem;padding:.75rem 1rem .75rem .5rem;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;line-height:1.25;display:flex}[data-bs-theme=dark] .pwa-banner{--pwa-banner-bg:#1c1c1e;--pwa-banner-color:#fff;--pwa-banner-muted:#98989f;--pwa-banner-border:#38383a;--pwa-banner-button-bg:#2c2c2e;--pwa-banner-button-color:#409cff}.pwa-banner[data-platform=android]{--pwa-banner-bg:#fff;--pwa-banner-color:#1f1f1f;--pwa-banner-muted:#444746;--pwa-banner-border:transparent;--pwa-banner-button-bg:#0b57d0;--pwa-banner-button-color:#fff;font-family:Roboto,Noto Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 1px 3px #0000004d}[data-bs-theme=dark] .pwa-banner[data-platform=android]{--pwa-banner-bg:#1e1f20;--pwa-banner-color:#e3e3e3;--pwa-banner-muted:#c4c7c5;--pwa-banner-button-bg:#a8c7fa;--pwa-banner-button-color:#062e6f}.pwa-banner-close{color:var(--pwa-banner-muted);background:0 0;border:0;flex-shrink:0;padding:.5rem;line-height:1}.pwa-banner-icon{border-radius:.75rem;flex-shrink:0;width:3rem;height:3rem}.pwa-banner-text{flex-direction:column;flex-grow:1;min-width:0;display:flex}.pwa-banner-text strong{font-size:.9375rem}.pwa-banner-text span{color:var(--pwa-banner-muted);font-size:.8125rem}.pwa-banner-install{background:var(--pwa-banner-button-bg);color:var(--pwa-banner-button-color);border:0;border-radius:1rem;flex-shrink:0;padding:.375rem 1rem;font-weight:600}[data-platform=android] .pwa-banner-install{border-radius:1.25rem;padding:.5rem 1.25rem;font-weight:500}.pwa-install-steps{counter-reset:pwa-step}.pwa-install-steps li{counter-increment:pwa-step;align-items:center;gap:.75rem;padding:.5rem 0;display:flex}.pwa-install-steps li:before{content:counter(pwa-step);background:var(--bs-secondary-bg);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1.75rem;height:1.75rem;font-weight:600;display:flex}.pwa-install-steps li span{flex-grow:1}.pwa-install-steps li .bi{color:var(--bs-primary);flex-shrink:0;font-size:1.5rem}#map,#map .map-consent{min-height:400px}.live-button{color:#fff;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity,1))}.live-button:hover{color:#ccc}.btn-outline-primary{--bs-btn-color:var(--bs-primary-text-emphasis)}[data-bs-theme=dark] .btn-outline-secondary{--bs-btn-color:var(--bs-secondary-color);--bs-btn-border-color:var(--bs-border-color)}[data-bs-theme=dark] .live-button{color:#000;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity,1))}[data-bs-theme=dark] .live-button:hover{color:#000}.live-icon{width:.75em;height:.75em}@keyframes live-icon-pulse{0%,6%{opacity:0}8%,to{opacity:1}}@keyframes live-icon-arc-small{0%,8%{opacity:0}10%,to{opacity:1}}@keyframes live-icon-arc-large{0%,10%{opacity:0}12%,to{opacity:1}}.live-icon .live-icon-arc-small{animation:8s infinite live-icon-pulse}.live-icon .live-icon-arc-medium{animation:8s infinite live-icon-arc-small}.live-icon .live-icon-arc-large{animation:8s infinite live-icon-arc-large}@media (prefers-reduced-motion:reduce){.live-icon .live-icon-arc-small,.live-icon .live-icon-arc-medium,.live-icon .live-icon-arc-large{animation:none}}
1
+ .bi{vertical-align:-.125em;width:1em;height:1em}.speaker-name,h1.room-name,.talk-speakers,.talk-item .talk-info{font-weight:300}.talk-title:-webkit-any(h1,h2){font-weight:300}.talk-title:is(h1,h2){font-weight:300}.track-name,.page-label{border-left:.25rem solid;padding:.25rem .5rem;font-weight:400;display:block}@media (min-width:576px){.track-name,.page-label{display:inline}}.page-label{background-color:var(--bs-tertiary-bg);border-left-color:var(--bs-border-color);display:table}.talk-item{border-left:.25rem solid;margin-bottom:.5rem;padding-left:.5rem}.talk-list+h3{margin-top:1rem}.program-table{border-collapse:separate!important;border-spacing:1rem 0!important}.program-table .program-time{z-index:900;width:4rem;min-width:4rem;max-width:4rem;position:sticky;left:0}.program-table .program-talk{width:15rem;min-width:15rem;max-width:15rem}@media (max-width:21rem){.program-table .program-talk{width:calc(100vw - 6rem);min-width:calc(100vw - 6rem);max-width:calc(100vw - 6rem)}}.program-table td.program-talk[rowspan]{z-index:1;position:relative;border-width:0 0 0 .25rem!important}.program-table td.program-talk[rowspan]:before,.program-table td.program-talk[rowspan]:after{content:"";background-color:var(--bs-body-bg);position:absolute;left:-.25rem;right:0}.program-table td.program-talk[rowspan]:before{top:calc(-1 * var(--bs-border-width));height:var(--bs-border-width)}.program-table td.program-talk[rowspan]:after{height:2px;bottom:0}.program-table .program-talk-icon{padding-bottom:1.75rem!important}.program-table .program-track-icon{position:absolute;bottom:.5rem;right:.5rem}.program-table th.program-talk{position:relative}.program-arrows .program-table th.program-talk{padding-inline-start:1.75rem;padding-inline-end:1.75rem}.program-table .program-arrow{line-height:1;position:absolute;top:50%;transform:translateY(-50%)}@media print{.program-table .program-arrow{display:none}}.program-table .program-arrow-prev{left:0}.program-table .program-arrow-next{right:0}.program-table-container{scroll-snap-type:x mandatory;scroll-padding-left:4rem;position:relative}.program-table-container tbody .program-talk{scroll-snap-align:start}.program-now{pointer-events:none;height:2px;margin-top:-1px;position:absolute}@media print{.program-now{display:none}}.program-now-cell:after{content:"";top:var(--program-now-top);z-index:-1;height:var(--program-now-height);background-color:var(--program-now-color);pointer-events:none;position:absolute;left:0;right:0}@media print{.program-now-cell:after{display:none}}.col-count-1{column-count:1}.col-count-2{column-count:2}.col-count-3{column-count:3}.col-count-4{column-count:4}.col-count-5{column-count:5}.col-count-6{column-count:6}@media (min-width:576px){.col-count-sm-1{column-count:1}.col-count-sm-2{column-count:2}.col-count-sm-3{column-count:3}.col-count-sm-4{column-count:4}.col-count-sm-5{column-count:5}.col-count-sm-6{column-count:6}}@media (min-width:768px){.col-count-md-1{column-count:1}.col-count-md-2{column-count:2}.col-count-md-3{column-count:3}.col-count-md-4{column-count:4}.col-count-md-5{column-count:5}.col-count-md-6{column-count:6}}@media (min-width:992px){.col-count-lg-1{column-count:1}.col-count-lg-2{column-count:2}.col-count-lg-3{column-count:3}.col-count-lg-4{column-count:4}.col-count-lg-5{column-count:5}.col-count-lg-6{column-count:6}}@media (min-width:1200px){.col-count-xl-1{column-count:1}.col-count-xl-2{column-count:2}.col-count-xl-3{column-count:3}.col-count-xl-4{column-count:4}.col-count-xl-5{column-count:5}.col-count-xl-6{column-count:6}}@media (min-width:1400px){.col-count-xxl-1{column-count:1}.col-count-xxl-2{column-count:2}.col-count-xxl-3{column-count:3}.col-count-xxl-4{column-count:4}.col-count-xxl-5{column-count:5}.col-count-xxl-6{column-count:6}}.col-count{break-inside:avoid-column}.alert>p:last-of-type{margin-bottom:0}.home-header-img{width:100%}@media (min-width:768px){.home-header-img{width:75%}}.mode-light{display:initial}.mode-dark,[data-bs-theme=dark] .mode-light{display:none}[data-bs-theme=dark] .mode-dark{display:initial}.d-pwa-block{display:none}@media (display-mode:standalone),(display-mode:fullscreen){.d-pwa-none{display:none}.d-pwa-block{display:block}body{flex-direction:column;display:flex}.footer-pwa{z-index:1030;margin-top:auto;position:sticky;bottom:0}.navbar-pwa{view-transition-name:pwa-tabs;padding-right:env(safe-area-inset-right);padding-bottom:calc(var(--bs-navbar-padding-y) + env(safe-area-inset-bottom));padding-left:env(safe-area-inset-left)}}[data-pwa=true] .d-pwa-none{display:none}[data-pwa=true] .d-pwa-block{display:block}[data-pwa=true] body{flex-direction:column;display:flex}[data-pwa=true] .footer-pwa{z-index:1030;margin-top:auto;position:sticky;bottom:0}[data-pwa=true] .navbar-pwa{view-transition-name:pwa-tabs;padding-right:env(safe-area-inset-right);padding-bottom:calc(var(--bs-navbar-padding-y) + env(safe-area-inset-bottom));padding-left:env(safe-area-inset-left)}@media (display-mode:standalone),(display-mode:fullscreen){:root{overscroll-behavior-y:none}}[data-pwa=true]{overscroll-behavior-y:none}@media (display-mode:standalone) and (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}.navbar-pwa{--bs-navbar-active-color:var(--bs-primary-text-emphasis)}@media (max-width:389.98px){:root:not(:has(.navbar-pwa-live:not(.d-none))) [data-pwa-in]:not([data-pwa-in~="4"]){display:none}}@media (min-width:390px){:root:not(:has(.navbar-pwa-live:not(.d-none))) [data-pwa-in]:not([data-pwa-in~="5"]){display:none}}@media (max-width:389.98px){:root:has(.navbar-pwa-live:not(.d-none)) [data-pwa-in]:not([data-pwa-in~="4-live"]){display:none}}@media (min-width:390px){:root:has(.navbar-pwa-live:not(.d-none)) [data-pwa-in]:not([data-pwa-in~="5-live"]){display:none}}.navbar-pwa .disabled .live-icon path{animation:none}.navbar-pwa-sheet .offcanvas-body{padding:0 0 calc(var(--bs-offcanvas-padding-y) + env(safe-area-inset-bottom))}.pwa-banner{--pwa-banner-bg:#f2f2f7;--pwa-banner-color:#000;--pwa-banner-muted:#6c6c70;--pwa-banner-border:#c6c6c8;--pwa-banner-button-bg:#e3e3e8;--pwa-banner-button-color:#005ecb;border-bottom:1px solid var(--pwa-banner-border);background:var(--pwa-banner-bg);color:var(--pwa-banner-color);align-items:center;gap:.75rem;padding:.75rem 1rem .75rem .5rem;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;line-height:1.25;display:flex}[data-bs-theme=dark] .pwa-banner{--pwa-banner-bg:#1c1c1e;--pwa-banner-color:#fff;--pwa-banner-muted:#98989f;--pwa-banner-border:#38383a;--pwa-banner-button-bg:#2c2c2e;--pwa-banner-button-color:#409cff}.pwa-banner[data-platform=android]{--pwa-banner-bg:#fff;--pwa-banner-color:#1f1f1f;--pwa-banner-muted:#444746;--pwa-banner-border:transparent;--pwa-banner-button-bg:#0b57d0;--pwa-banner-button-color:#fff;font-family:Roboto,Noto Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Ubuntu,Cantarell,Helvetica Neue,sans-serif;box-shadow:0 1px 3px #0000004d}[data-bs-theme=dark] .pwa-banner[data-platform=android]{--pwa-banner-bg:#1e1f20;--pwa-banner-color:#e3e3e3;--pwa-banner-muted:#c4c7c5;--pwa-banner-button-bg:#a8c7fa;--pwa-banner-button-color:#062e6f}.pwa-banner-close{color:var(--pwa-banner-muted);background:0 0;border:0;flex-shrink:0;padding:.5rem;line-height:1}.pwa-banner-icon{border-radius:.75rem;flex-shrink:0;width:3rem;height:3rem}.pwa-banner-text{flex-direction:column;flex-grow:1;min-width:0;display:flex}.pwa-banner-text strong{font-size:.9375rem}.pwa-banner-text span{color:var(--pwa-banner-muted);font-size:.8125rem}.pwa-banner-install{background:var(--pwa-banner-button-bg);color:var(--pwa-banner-button-color);border:0;border-radius:1rem;flex-shrink:0;padding:.375rem 1rem;font-weight:600}[data-platform=android] .pwa-banner-install{border-radius:1.25rem;padding:.5rem 1.25rem;font-weight:500}.pwa-install-steps{counter-reset:pwa-step}.pwa-install-steps li{counter-increment:pwa-step;align-items:center;gap:.75rem;padding:.5rem 0;display:flex}.pwa-install-steps li:before{content:counter(pwa-step);background:var(--bs-secondary-bg);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:1.75rem;height:1.75rem;font-weight:600;display:flex}.pwa-install-steps li span{flex-grow:1}.pwa-install-steps li .bi{color:var(--bs-primary);flex-shrink:0;font-size:1.5rem}#map,#map .map-consent{min-height:400px}.live-button{color:#fff;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity,1))}.live-button:hover{color:#ccc}.btn-outline-primary{--bs-btn-color:var(--bs-primary-text-emphasis)}[data-bs-theme=dark] .btn-outline-secondary{--bs-btn-color:var(--bs-secondary-color);--bs-btn-border-color:var(--bs-border-color)}[data-bs-theme=dark] .live-button{color:#000;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity,1))}[data-bs-theme=dark] .live-button:hover{color:#000}.live-icon{width:.75em;height:.75em}@keyframes live-icon-pulse{0%,6%{opacity:0}8%,to{opacity:1}}@keyframes live-icon-arc-small{0%,8%{opacity:0}10%,to{opacity:1}}@keyframes live-icon-arc-large{0%,10%{opacity:0}12%,to{opacity:1}}.live-icon .live-icon-arc-small{animation:8s infinite live-icon-pulse}.live-icon .live-icon-arc-medium{animation:8s infinite live-icon-arc-small}.live-icon .live-icon-arc-large{animation:8s infinite live-icon-arc-large}@media (prefers-reduced-motion:reduce){.live-icon .live-icon-arc-small,.live-icon .live-icon-arc-medium,.live-icon .live-icon-arc-large{animation:none}}