jekyll-theme-conference 5.0.0 → 5.2.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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +95 -15
  3. data/_data/conference_assets.yml +4 -4
  4. data/_data/lang.yml +53 -1
  5. data/_includes/checks.html +1 -1
  6. data/_includes/conference_config.json +4 -0
  7. data/_includes/embed_consent.html +1 -1
  8. data/_includes/footer.html +1 -0
  9. data/_includes/get_day_time.html +11 -2
  10. data/_includes/get_link.html +1 -1
  11. data/_includes/get_link_active.html +17 -0
  12. data/_includes/get_talk_overview_talk.html +3 -3
  13. data/_includes/get_track_properties.html +2 -0
  14. data/_includes/header.html +1 -0
  15. data/_includes/infobox.html +19 -4
  16. data/_includes/list_speakers.html +2 -2
  17. data/_includes/list_tags.html +1 -1
  18. data/_includes/modal_link.html +2 -2
  19. data/_includes/modal_live.html +2 -2
  20. data/_includes/navbar.html +1 -9
  21. data/_includes/navbar_pwa.html +1 -9
  22. data/_includes/navbar_rooms.html +3 -3
  23. data/_includes/pwa_banner.html +29 -0
  24. data/_includes/pwa_install.html +26 -0
  25. data/_includes/show_link_buttons.html +53 -0
  26. data/_includes/show_room.html +2 -2
  27. data/_includes/show_talk.html +2 -2
  28. data/_includes/show_talk_duration.html +2 -2
  29. data/_includes/show_talk_listed.html +2 -2
  30. data/_includes/show_talk_time.html +2 -2
  31. data/_layouts/home.html +2 -47
  32. data/_layouts/location.html +3 -3
  33. data/_layouts/program.html +54 -7
  34. data/_layouts/room.html +5 -11
  35. data/_layouts/speaker-overview.html +1 -1
  36. data/_layouts/speaker.html +8 -8
  37. data/_layouts/stream-overview.html +1 -1
  38. data/_layouts/talk-overview.html +4 -4
  39. data/_layouts/talk.html +12 -12
  40. data/_sass/bootstrap.scss +1 -0
  41. data/_sass/theme.scss +285 -3
  42. data/assets/css/conference-only.bundle.css +1 -1
  43. data/assets/css/conference.bundle.css +1 -1
  44. data/assets/css/map.bundle.css +1 -1
  45. data/assets/js/conference.bundle.js +2 -2
  46. metadata +5 -1
@@ -24,15 +24,7 @@
24
24
 
25
25
  {%- else %}
26
26
  <div class="px-2">
27
- {% assign link_url = nil -%}
28
- {%- if link.relative_url -%}
29
- {%- assign link_url = link.relative_url | prepend: edition_base -%}
30
- {%- endif -%}
31
- {% if page.url == link_url or link.relative_url != "/" and page.url contains link_url %}
32
- {% assign is_active = true %}
33
- {% else %}
34
- {% assign is_active = false %}
35
- {% endif %}
27
+ {%- include get_link_active.html -%}
36
28
  {%- include get_link.html class="nav-link icon-link flex-column flex-md-row text-center" is_active=is_active -%}
37
29
  {{ link_tag }}
38
30
  {% assign link_icon_name = link_icon | default: 'link-45deg' %}{% include icon.html name=link_icon_name %}
@@ -11,7 +11,7 @@
11
11
 
12
12
  {% unless all_hidden %}
13
13
  <nav aria-label="{{ site.data.lang[site.conference.lang].location.navigation | default: 'Room navigation' }}">
14
- <ul class="nav nav-pills d-print-none mb-3" role="list">
14
+ <ul class="nav nav-pills d-print-none mb-1" role="list">
15
15
  <li class="nav-item">
16
16
  <a class="nav-link {% if page.name contains 'index' %}active{% endif %}" href="{{ location_url | prepend: site.baseurl }}"{% if page.name contains 'index' %} aria-current="page"{% endif %}>
17
17
  {% if location_page.title -%}
@@ -24,11 +24,11 @@
24
24
  {% for room in edition_rooms -%}
25
25
  <li class="nav-item">
26
26
  {% if room.hide or location_hide -%}
27
- <span class="nav-item nav-link disabled" aria-disabled="true">
27
+ <span class="room-name nav-item nav-link disabled" aria-disabled="true">
28
28
  {{ room.name | escape }}
29
29
  </span>
30
30
  {%- else -%}
31
- <a class="nav-link {% if this_room.name == room.name %}active{% endif %}" href="{{ room.url | prepend: site.baseurl }}"{% if this_room.name == room.name %} aria-current="page"{% endif %}>
31
+ <a class="room-name nav-link {% if this_room.name == room.name %}active{% endif %}" href="{{ room.url | prepend: site.baseurl }}"{% if this_room.name == room.name %} aria-current="page"{% endif %}>
32
32
  {{ room.name | escape }}
33
33
  </a>
34
34
  {%- endif %}
@@ -0,0 +1,29 @@
1
+ {%- comment -%}
2
+ Banner asking visitors on phones and tablets to install the app (PWA).
3
+ Hidden until _js/modules/pwa.js detects the platform, styled like the
4
+ platform's own install banners. Its button opens _includes/pwa_install.html.
5
+ {%- endcomment -%}
6
+ {%- if site.conference.pwa.enable and site.conference.pwa.install_banner != false and edition_current -%}
7
+ {%- assign lang = site.data.lang[site.conference.lang] -%}
8
+ {%- assign pwa_icon = site.conference.pwa.icons | first -%}
9
+ {%- if pwa_icon.first == nil -%}
10
+ {%- assign pwa_icon_src = pwa_icon -%}
11
+ {%- else -%}
12
+ {%- assign pwa_icon_src = pwa_icon.img -%}
13
+ {%- endif %}
14
+ <aside class="pwa-banner d-print-none" id="pwa-banner" aria-label="{{ lang.pwa.title | default: 'Install the app' }}" hidden>
15
+ <button type="button" class="pwa-banner-close" aria-label="{{ lang.close | default: 'Close' }}">
16
+ {%- include icon.html name="x-lg" -%}
17
+ </button>
18
+ {%- if pwa_icon_src %}
19
+ <img class="pwa-banner-icon" src="{{ pwa_icon_src | prepend: '/assets/images/' | prepend: site.baseurl }}" alt="" width="48" height="48" />
20
+ {%- endif %}
21
+ <div class="pwa-banner-text">
22
+ <strong>{{ edition_title }}</strong>
23
+ <span>{{ lang.pwa.subtitle | default: "Program offline on your home screen" }}</span>
24
+ </div>
25
+ <button type="button" class="pwa-banner-install" data-bs-toggle="offcanvas" data-bs-target="#pwa-install" aria-controls="pwa-install">
26
+ {{- lang.pwa.install | default: "Install" -}}
27
+ </button>
28
+ </aside>
29
+ {%- endif -%}
@@ -0,0 +1,26 @@
1
+ {%- comment -%}
2
+ Steps to install the app (PWA), opened by _includes/pwa_banner.html.
3
+ _js/modules/pwa.js shows the steps of the visitor's platform.
4
+ {%- endcomment -%}
5
+ {%- if site.conference.pwa.enable and site.conference.pwa.install_banner != false and edition_current -%}
6
+ {%- assign lang = site.data.lang[site.conference.lang] %}
7
+ <div class="offcanvas offcanvas-bottom h-auto rounded-top-4 d-print-none" tabindex="-1" id="pwa-install" aria-labelledby="pwa-install-label">
8
+ <div class="offcanvas-header">
9
+ <h2 class="offcanvas-title h5" id="pwa-install-label">{{ lang.pwa.title | default: "Install the app" }}</h2>
10
+ <button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="{{ lang.close | default: 'Close' }}"></button>
11
+ </div>
12
+ <div class="offcanvas-body pt-0">
13
+ <ol class="pwa-install-steps list-unstyled" data-pwa-steps="ios">
14
+ <li><span>{{ lang.pwa.ios.share | default: "Tap the Share button in the browser's toolbar (if hidden, behind “⋯”)." }}</span>{% include icon.html name="box-arrow-up" %}</li>
15
+ <li><span>{{ lang.pwa.ios.add | default: "Scroll down and tap “Add to Home Screen”." }}</span>{% include icon.html name="plus-square" %}</li>
16
+ <li><span>{{ lang.pwa.ios.confirm | default: "Tap “Add”." }}</span>{% include icon.html name="check2" %}</li>
17
+ </ol>
18
+ <ol class="pwa-install-steps list-unstyled" data-pwa-steps="android">
19
+ <li><span>{{ lang.pwa.android.menu | default: "Tap the menu button “⋮” in the browser's toolbar." }}</span>{% include icon.html name="three-dots-vertical" %}</li>
20
+ <li><span>{{ lang.pwa.android.add | default: "Tap “Install app” or “Add to Home screen”." }}</span>{% include icon.html name="download" %}</li>
21
+ <li><span>{{ lang.pwa.android.confirm | default: "Tap “Install”." }}</span>{% include icon.html name="check2" %}</li>
22
+ </ol>
23
+ <p class="text-body-secondary mb-0">{{ lang.pwa.done | default: "Then open the app from its icon, also offline." }}</p>
24
+ </div>
25
+ </div>
26
+ {%- endif -%}
@@ -0,0 +1,53 @@
1
+ {%- comment -%}
2
+ Buttons of the links `include.links`, e.g. {% include show_link_buttons.html
3
+ links=page.links class="btn btn-outline-primary" id="main" %}. Menus become
4
+ dropdowns with the ids "<id>-dropdown<n>", unique per page. With
5
+ popper="fixed", they may exceed a container clipping its content (e.g. a
6
+ modal).
7
+ {%- endcomment -%}
8
+ {%- assign btn_default = include.class -%}
9
+ {% for link in include.links %}
10
+
11
+ {% if link.menu %}
12
+ {% include get_menu.html %}
13
+ {% unless menu_empty %}
14
+ <div class="dropdown d-inline">
15
+ <a class="{{ btn_default }} dropdown-toggle" href="#" role="button" id="{{ include.id }}-dropdown{{ forloop.index0 }}" data-bs-toggle="dropdown"{% if include.popper %} data-bs-popper-config='{"strategy":"{{ include.popper }}"}'{% endif %} aria-expanded="false"{% if menu_label %} aria-label="{{ menu_label }}"{% endif %}>
16
+ {{ menu_name }}
17
+ </a>
18
+ <div class="dropdown-menu" aria-labelledby="{{ include.id }}-dropdown{{ forloop.index0 }}">
19
+ {% include show_menu_items.html %}
20
+ </div>
21
+ </div>
22
+ {% endunless %}
23
+
24
+ {% elsif link.live %}
25
+ {% if edition_live %}
26
+ {%- include get_live_timestamps.html -%}
27
+
28
+ <span class="live-show d-none d-print-none" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
29
+ {%- include get_link.html class=btn_default -%}
30
+ {{ link_tag }}
31
+ {%- if link.name -%}
32
+ {{ link.name }}
33
+ {%- else -%}
34
+ {% include get_live_icon.html %}
35
+ {%- endif -%}
36
+ </a>
37
+ </span>
38
+
39
+ {%- if link.name_inactive -%}
40
+ <span class="live-hide d-print-inline {{ btn_default }} disabled" aria-disabled="true" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
41
+ {{ link.name_inactive }}
42
+ </span>
43
+ {%- endif -%}
44
+
45
+ {%- endif -%}
46
+
47
+ {% else %}
48
+ {% include get_link.html class=btn_default %}
49
+ {{ link_tag }}
50
+ {{ link.name }}
51
+ </a>
52
+ {% endif %}
53
+ {% endfor %}
@@ -1,6 +1,6 @@
1
1
  {%- include get_location_config.html -%}
2
2
  {%- if room.hide or location_hide -%}
3
- <span class="badge fw-normal bg-body-secondary text-reset">{% include icon.html name="square" %}&nbsp;{{ room.name | escape }}</span>
3
+ <span class="room-name badge fw-normal bg-body-secondary text-reset">{% include icon.html name="square" class="me-1" %}{{ room.name | escape }}</span>
4
4
  {%- else -%}
5
- <a href="{{ room.url | prepend: site.baseurl }}" class="badge fw-normal bg-body-secondary text-reset link-underline-{{ track_color }} link-underline-opacity-0 link-underline-opacity-100-hover">{% include icon.html name="square" %}&nbsp;{{ room.name | escape }}</a>
5
+ <a href="{{ room.url | prepend: site.baseurl }}" class="room-name badge fw-normal bg-body-secondary text-reset link-underline-{{ track_color }} link-underline-opacity-0 link-underline-opacity-100-hover">{% include icon.html name="square" class="me-1" %}{{ room.name | escape }}</a>
6
6
  {%- endif -%}
@@ -1,5 +1,5 @@
1
1
  {%- if talk.hide -%}
2
- {%- if talk.lang -%}<span lang="{{ talk.lang | escape }}">{{ talk.name | escape }}</span>{%- else -%}{{ talk.name | escape }}{%- endif -%}
2
+ <span {% if talk.lang %}lang="{{ talk.lang | escape }}" {% endif %}class="talk-title">{{ talk.name | escape }}</span>
3
3
  {%- else -%}
4
- <a {% if talk.lang %}lang="{{ talk.lang | escape }}" {% endif %}class="text-reset link-underline-{{ track_color }} link-underline-opacity-0 link-underline-opacity-100-hover" href="{{ talk.url | prepend: site.baseurl }}">{{ talk.name | escape }}</a>
4
+ <a {% if talk.lang %}lang="{{ talk.lang | escape }}" {% endif %}class="talk-title text-reset link-underline-{{ track_color }} link-underline-opacity-0 link-underline-opacity-100-hover" href="{{ talk.url | prepend: site.baseurl }}">{{ talk.name | escape }}</a>
5
5
  {%- endif -%}
@@ -1,3 +1,3 @@
1
- <span class="badge fw-normal bg-body-secondary text-reset text-start">
2
- {% include icon.html name="stopwatch" %}&nbsp;{{ talk_length_min }}min
1
+ <span class="talk-duration badge fw-normal bg-body-secondary text-reset text-start">
2
+ {% include icon.html name="stopwatch" class="me-1" %}{{ talk_length_min }}min
3
3
  </span>
@@ -8,12 +8,12 @@
8
8
  </div>
9
9
  </td>
10
10
  <td>
11
- <div class="ps-2 mb-2 border-4 border-start border-{{ track_color }}-subtle">
11
+ <div class="talk-item border-{{ track_color }}-subtle">
12
12
  <p class="mb-0">
13
13
  {%- include show_talk.html -%}
14
14
  </p>
15
15
  {% unless include.hide_speakers %}
16
- <p class="fw-light mb-0">
16
+ <p class="talk-speakers mb-0">
17
17
  {%- include list_speakers.html -%}
18
18
  </p>
19
19
  {% endunless %}
@@ -11,8 +11,8 @@
11
11
  {%- if nbr_days > 1 and day_hash -%}
12
12
  #{{ day_hash }}
13
13
  {%- endif -%}
14
- " class="badge fw-normal bg-body-secondary text-reset link-underline-{{ track_color }} link-underline-opacity-0 link-underline-opacity-100-hover {{ include.class }}">
15
- {% include icon.html name="clock" %}&nbsp;
14
+ " class="talk-time badge fw-normal bg-body-secondary text-reset link-underline-{{ track_color }} link-underline-opacity-0 link-underline-opacity-100-hover {{ include.class }}">
15
+ {% include icon.html name="clock" class="me-1" %}
16
16
  {%- if nbr_days > 1 and day_abbr -%}
17
17
  {%- unless include.hide_day -%} {{ day_abbr | escape }}, {% endunless -%}
18
18
  {% endif -%}
data/_layouts/home.html CHANGED
@@ -1,6 +1,6 @@
1
1
  {% include header.html %}
2
2
 
3
- <div class="bg-body-tertiary text-body-primary rounded p-4 p-md-5 mb-4">
3
+ <div class="home-header bg-body-tertiary rounded p-4 p-md-5 mb-4">
4
4
  <h1 class="display-3 text-break">
5
5
  {% if page.header.img %}
6
6
  {%- comment -%} One image, the dark variant only downloaded in dark mode {%- endcomment %}
@@ -26,52 +26,7 @@
26
26
 
27
27
  {% if page.links %}
28
28
  <div class="lead d-print-none">
29
- {% assign btn_default = 'btn btn-outline-primary btn-lg mt-2 ms-1' %}
30
- {% for link in page.links %}
31
-
32
- {% if link.menu %}
33
- {% include get_menu.html %}
34
- {% unless menu_empty %}
35
- <div class="dropdown d-inline">
36
- <a class="{{ btn_default }} dropdown-toggle" href="#" role="button" id="main-dropdown{{ forloop.index0 }}" data-bs-toggle="dropdown" aria-expanded="false"{% if menu_label %} aria-label="{{ menu_label }}"{% endif %}>
37
- {{ menu_name }}
38
- </a>
39
- <div class="dropdown-menu" aria-labelledby="main-dropdown{{ forloop.index0 }}">
40
- {% include show_menu_items.html %}
41
- </div>
42
- </div>
43
- {% endunless %}
44
-
45
- {% elsif link.live %}
46
- {% if edition_live %}
47
- {%- include get_live_timestamps.html -%}
48
-
49
- <span class="live-show d-none d-print-none" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
50
- {%- include get_link.html class=btn_default -%}
51
- {{ link_tag }}
52
- {%- if link.name -%}
53
- {{ link.name }}
54
- {%- else -%}
55
- {% include get_live_icon.html %}
56
- {%- endif -%}
57
- </a>
58
- </span>
59
-
60
- {%- if link.name_inactive -%}
61
- <span class="live-hide d-print-inline {{ btn_default }} disabled" aria-disabled="true" data-start="{{ live_starts }}" data-end="{{ live_ends }}">
62
- {{ link.name_inactive }}
63
- </span>
64
- {%- endif -%}
65
-
66
- {%- endif -%}
67
-
68
- {% else %}
69
- {% include get_link.html class=btn_default %}
70
- {{ link_tag }}
71
- {{ link.name }}
72
- </a>
73
- {% endif %}
74
- {% endfor %}
29
+ {% include show_link_buttons.html links=page.links class="btn btn-outline-primary btn-lg mt-2 ms-1" id="main" %}
75
30
  </div>
76
31
  {% endif %}
77
32
 
@@ -3,6 +3,8 @@
3
3
 
4
4
  {% assign this_room = page %}
5
5
 
6
+ {% include navbar_rooms.html %}
7
+
6
8
  <h1 class="display-5 mb-3 text-break">
7
9
  {% if page.title %}
8
10
  {{ page.title }}
@@ -11,8 +13,6 @@
11
13
  {% endif %}
12
14
  </h1>
13
15
 
14
- {% include navbar_rooms.html %}
15
-
16
16
  {% if page.postal_address %}
17
17
  <address>
18
18
  {%- if page.postal_address.name %}
@@ -47,7 +47,7 @@
47
47
  {{ map_lang.map_privacy | default: "The map is loaded from an external provider, which receives your IP address:" }}
48
48
  {{ page.map.map_provider | default: "OpenStreetMap.Mapnik" | split: "." | first | escape }}
49
49
  </p>
50
- <button type="button" class="btn btn-primary" data-map-load>
50
+ <button type="button" class="consent-button btn btn-primary" data-map-load>
51
51
  {% include icon.html name="map" %}
52
52
  {{ map_lang.map_load | default: "Load map" }}
53
53
  </button>
@@ -1,8 +1,16 @@
1
1
  {%- include get_edition.html -%}
2
2
  {%- include get_location_config.html -%}
3
3
  {% include header.html %}
4
+ {%- comment -%} Line at the current time (_js/modules/nowline.js) {%- endcomment -%}
5
+ {%- assign now_line = false -%}
6
+ {%- if edition_live and edition_live.now_line.enable != false -%}
7
+ {%- assign now_line = true -%}
8
+ {%- endif %}
4
9
  {% assign nbr_days = edition_program.days | size -%}
5
10
 
11
+ {%- comment -%} Track icons, besides colour (e.g. for colour blind visitors), if any track has one {%- endcomment -%}
12
+ {%- assign track_icons = edition_tracks | where_exp: "track_prop", "track_prop.icon" | size -%}
13
+
6
14
  <h1 class="display-5 {% if nbr_days > 1 -%} mb-2 {%- else -%} mb-4 {%- endif %} text-break">
7
15
  {%- if page.title -%}
8
16
  {{- page.title -}}
@@ -42,13 +50,20 @@
42
50
  {%- for r in d.rooms -%}
43
51
  {%- assign room = edition_rooms | where: 'name', r.name | first %}
44
52
  <th scope="col" class="program-talk text-center" id="room-{{ day_hash }}-{{ forloop.index }}">
53
+ {%- comment -%} Shown and operated by _js/modules/program.js, a visual aid only {%- endcomment -%}
54
+ <button type="button" class="program-arrow program-arrow-prev btn btn-link text-reset p-1" tabindex="-1" aria-hidden="true" hidden>
55
+ {%- include icon.html name="chevron-left" -%}
56
+ </button>
45
57
  {%- if room.hide or location_hide -%}
46
- {{- room.name | escape -}}
58
+ <span class="room-name">{{- room.name | escape -}}</span>
47
59
  {%- else -%}
48
- <a class="text-reset link-underline-primary link-underline-opacity-0 link-underline-opacity-100-hover" href="{{ room.url | prepend: site.baseurl }}">
60
+ <a class="room-name text-reset link-underline-primary link-underline-opacity-0 link-underline-opacity-100-hover" href="{{ room.url | prepend: site.baseurl }}">
49
61
  {{- room.name | escape -}}
50
62
  </a>
51
63
  {%- endif -%}
64
+ <button type="button" class="program-arrow program-arrow-next btn btn-link text-reset p-1" tabindex="-1" aria-hidden="true" hidden>
65
+ {%- include icon.html name="chevron-right" -%}
66
+ </button>
52
67
  </th>
53
68
  {%- endfor %}
54
69
  </tr>
@@ -57,6 +72,16 @@
57
72
  <tbody>
58
73
  {%- include get_day_time.html -%}
59
74
 
75
+ {%- if now_line and d.date -%}
76
+ {%- comment -%} End of the day's last row, e.g. 01:00 the next day (minutes may be 60 after rounding) {%- endcomment -%}
77
+ {%- assign now_hour = day_end_hour | prepend: "0" | slice: -2, 2 -%}
78
+ {%- assign now_offset = day_end_day | times: 1440 | plus: day_end_min | times: 60 -%}
79
+ {%- assign now_end = d.date | append: "T" | append: now_hour | append: ":00:00" | date: "%s" | plus: now_offset -%}
80
+
81
+ {%- comment -%} Rows before the day's start lie after midnight {%- endcomment -%}
82
+ {%- assign now_start_min = day_start_hour | times: 60 | plus: day_start_min -%}
83
+ {%- endif -%}
84
+
60
85
  {%- if day_end_day > day_start_day -%}
61
86
  {%- assign day_end_hour = day_end_day | minus: day_start_day | times: 24 | plus: day_end_hour -%}
62
87
  {%- endif -%}
@@ -85,7 +110,20 @@
85
110
  {% assign current_min = current_time | split: ":" | last | plus: 0 %}
86
111
  {%- endunless -%}
87
112
 
88
- <tr class="h-100">
113
+ {%- if now_line and d.date -%}
114
+ {%- comment -%} Start of the row, e.g. 09:15 {%- endcomment -%}
115
+ {%- assign now_hour = current_hour | prepend: "0" | slice: -2, 2 -%}
116
+ {%- assign now_min = current_min | prepend: "0" | slice: -2, 2 -%}
117
+ {%- assign now_row_min = current_hour | times: 60 | plus: current_min -%}
118
+ {%- assign now_days = day_start_day -%}
119
+ {%- if now_row_min < now_start_min -%}
120
+ {%- assign now_days = now_days | plus: 1 -%}
121
+ {%- endif -%}
122
+ {%- assign now_offset = now_days | times: 86400 -%}
123
+ {%- assign now_row = d.date | append: "T" | append: now_hour | append: ":" | append: now_min | append: ":00" | date: "%s" | plus: now_offset -%}
124
+ {%- endif %}
125
+
126
+ <tr class="h-100" {%- if now_line and d.date %} data-time="{{ now_row }}" {%- endif %}>
89
127
 
90
128
  {%- if current_min == 0 or page.time_steps == "start" -%}
91
129
  <th scope="row" class="program-time text-end">
@@ -114,7 +152,7 @@
114
152
  {%- endif -%}
115
153
  </th>
116
154
  {%- else -%}
117
- <th scope="row">
155
+ <th scope="row" class="program-time">
118
156
  {%- comment -%} Time for screen readers only {%- endcomment -%}
119
157
  <span class="visually-hidden">
120
158
  {%- if current_min < 10 -%}
@@ -184,7 +222,7 @@
184
222
 
185
223
  {%- include get_track_properties.html -%}
186
224
  {%- comment -%} Colour on the cell itself: a child cannot stretch over all spanned rows {%- endcomment %}
187
- <td rowspan="{{ talk_nbr_steps }}" class="program-talk p-2 bg-{{ track_color }}-subtle text-{{ track_color }}-emphasis border-start border-{{ track_color }}-subtle shadow-sm">
225
+ <td rowspan="{{ talk_nbr_steps }}" class="program-talk p-2 {%- if track_icons > 0 %} program-talk-icon{% endif %} bg-{{ track_color }}-subtle text-{{ track_color }}-emphasis border-start border-{{ track_color }}-subtle shadow-sm">
188
226
  <div class="overflow-hidden">
189
227
  {%- comment -%} Time and track for screen readers: visually given by row and colour {%- endcomment %}
190
228
  <span class="visually-hidden">
@@ -199,13 +237,16 @@
199
237
  <p class="mb-2">
200
238
  {%- include show_talk.html %}
201
239
  </p>
202
- <p class="fw-light mb-2">
240
+ <p class="talk-speakers mb-2">
203
241
  {%- include list_speakers.html %}
204
242
  </p>
205
243
  <p class="mb-1">
206
244
  {%- include list_tags.html class="text-reset" %}
207
245
  </p>
208
246
  </div>
247
+ {%- if track_icon %}
248
+ {%- include icon.html name=track_icon class="program-track-icon" %}
249
+ {%- endif %}
209
250
  </td>
210
251
  {%- assign active_talk = true %}
211
252
 
@@ -223,6 +264,9 @@
223
264
  {%- endfor %}
224
265
  </tbody>
225
266
  </table>
267
+ {%- if now_line and d.date %}
268
+ <div class="program-now bg-{{ edition_live.now_line.color | default: 'danger' }} d-none" data-end="{{ now_end }}" aria-hidden="true"></div>
269
+ {%- endif %}
226
270
  </div>
227
271
 
228
272
  {%- if nbr_days > 1 %}
@@ -237,7 +281,10 @@
237
281
  {%- unless page.hide_legend -%}
238
282
  <h2 class="h5 mt-4">{{ site.data.lang[site.conference.lang].program.legend | default: "Caption" }}</h2>
239
283
  {%- for track_prop in edition_tracks %}
240
- <div class="d-block d-sm-inline-block m-1 p-1 ps-2 pe-2 bg-{{ track_prop.color | default: 'light' }}-subtle text-{{ track_prop.color | default: 'light' }}-emphasis border-start border-4 border-{{ track_prop.color | default: 'light' }}-subtle fw-normal">
284
+ <div class="track-name d-sm-inline-block m-1 bg-{{ track_prop.color | default: 'light' }}-subtle text-{{ track_prop.color | default: 'light' }}-emphasis border-{{ track_prop.color | default: 'light' }}-subtle">
285
+ {%- if track_prop.icon -%}
286
+ {%- include icon.html name=track_prop.icon class="me-1" -%}
287
+ {%- endif -%}
241
288
  {{- track_prop.name | escape -}}
242
289
  </div>
243
290
  {%- endfor -%}
data/_layouts/room.html CHANGED
@@ -5,18 +5,12 @@
5
5
  {%- unless this_room.hide or location_hide -%}
6
6
  {%- include header.html -%}
7
7
 
8
- <!-- title for print: -->
9
- <h1 class="display-5 mb-3 d-none d-print-inline">
10
- {{ this_room.name | escape }}
11
- </h1>
8
+ {% include navbar_rooms.html %}
12
9
 
13
- <!-- title shown in browser: -->
14
- <h1 class="display-5 mb-3 d-print-none text-break">
15
- {{ site.data.lang[site.conference.lang].location.rooms | default: "Rooms" }}
10
+ <h1 class="room-name display-5 mb-3 text-break">
11
+ {{ this_room.name | escape }}
16
12
  </h1>
17
13
 
18
- {% include navbar_rooms.html %}
19
-
20
14
  {{ content }}
21
15
 
22
16
  {% assign room_talks = false %}
@@ -31,11 +25,11 @@
31
25
  {% assign room_talks = true %}
32
26
  {% endunless %}
33
27
 
34
- <h3 class="h6 mt-1 mb-2">
28
+ <h3 class="h6 mb-2">
35
29
  {{- day_name | escape -}}
36
30
  </h3>
37
31
 
38
- <table class="mw-100">
32
+ <table class="talk-list mw-100">
39
33
  {%- for t in r.talks -%}
40
34
  {%- assign talk = edition_talks | where: 'name', t.name | first -%}
41
35
  {%- include show_talk_listed.html hide_day=true -%}
@@ -28,7 +28,7 @@
28
28
  <ul class="list-unstyled">
29
29
  {% endif %}
30
30
 
31
- <li class="fw-light">
31
+ <li class="speaker-name">
32
32
  {% if speaker.hide %}
33
33
  {{ speaker.first_name | escape }} {{ speaker.last_name | escape }}
34
34
  {% else %}
@@ -3,11 +3,11 @@
3
3
  {%- unless speaker.hide -%}
4
4
  {%- include header.html -%}
5
5
 
6
- <p class="h6">
6
+ <p class="page-label h6">
7
7
  {{ site.data.lang[site.conference.lang].speaker.title | default: "Speaker" }}
8
8
  </p>
9
9
 
10
- <h1 class="fw-light mb-3 text-break">
10
+ <h1 class="speaker-name mb-3 text-break">
11
11
  {{ speaker.first_name | escape }} {{ speaker.last_name | escape }}
12
12
  </h1>
13
13
 
@@ -16,7 +16,7 @@
16
16
  {% include get_link_types.html context="speaker" %}
17
17
 
18
18
  {% if has_icon_links > 0 %}
19
- <ul class="list-unstyled">
19
+ <ul class="links-icon list-unstyled">
20
20
  {% for link in speaker.links %}
21
21
  {% include get_link.html type="icon" context="speaker" %}
22
22
  {% if link_valid %}
@@ -29,7 +29,7 @@
29
29
  {% if has_regular_links > 0 %}
30
30
  <h2 class="h5 mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information | default: "More Information" }}:</h2>
31
31
 
32
- <ul class="list-unstyled">
32
+ <ul class="links-more list-unstyled">
33
33
  {% for link in speaker.links %}
34
34
  {% include get_link.html context="speaker" %}
35
35
  {% if link_valid %}
@@ -52,7 +52,7 @@
52
52
  {% if active_speaker %}
53
53
  <h2 class="h5 mt-4 mb-2">{{ site.data.lang[site.conference.lang].speaker.talks | default: "Talks at this conference" }}:</h2>
54
54
 
55
- <table class="mw-100">
55
+ <table class="talk-list mw-100">
56
56
  {%- for d in edition_program.days -%}
57
57
  {%- include get_day_hash.html -%}
58
58
  {%- for r in d.rooms -%}
@@ -73,9 +73,9 @@
73
73
 
74
74
  {%- include get_overview_url.html layout="speaker-overview" -%}
75
75
  {%- if overview_url %}
76
- <p class="d-print-none d-pwa-none mt-5">
77
- <a href="{{ overview_url | prepend: site.baseurl }}" class="btn btn-outline-secondary">
78
- {% include icon.html name="people" %}&nbsp;{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
76
+ <p class="d-print-none d-pwa-none mt-4">
77
+ <a href="{{ overview_url | prepend: site.baseurl }}" class="back-link btn btn-outline-secondary">
78
+ {% include icon.html name="people" class="me-1" %}{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
79
79
  </a>
80
80
  </p>
81
81
  {%- endif %}
@@ -19,7 +19,7 @@
19
19
  {%- endif %}
20
20
 
21
21
  <div class="col-md mb-4">
22
- <h2 class="h3" id="stream-heading-{{ forloop.index }}">{{ room.name | escape }}</h2>
22
+ <h2 class="room-name h3" id="stream-heading-{{ forloop.index }}">{{ room.name | escape }}</h2>
23
23
  <div class="ratio ratio-16x9">
24
24
  {%- include get_room_live_href.html %}
25
25
  {%- comment -%} Loaded by the embed module, after consent {%- endcomment %}
@@ -12,12 +12,12 @@
12
12
 
13
13
  {% if edition_tracks %}
14
14
  {% for track_prop in edition_tracks %}
15
- <h2 class="h3 mt-4 mb-3">
16
- <span class="badge rounded-0 bg-{{ track_prop.color | default: 'light' }}-subtle text-{{ track_prop.color | default: 'light' }}-emphasis border-4 border-start border-{{ track_prop.color | default: 'light' }}-subtle d-block d-sm-inline text-wrap">
15
+ <h2 class="h5 mt-4 mb-3">
16
+ <span class="track-name bg-{{ track_prop.color | default: 'light' }}-subtle text-{{ track_prop.color | default: 'light' }}-emphasis border-{{ track_prop.color | default: 'light' }}-subtle">
17
17
  {{ track_prop.name | escape }}
18
18
  </span>
19
19
  </h2>
20
- <ul class="list-unstyled">
20
+ <ul class="talk-list list-unstyled">
21
21
  {% for talk in edition_talks -%}
22
22
  {% if talk.track == track_prop.name %}
23
23
  {% include get_talk_overview_talk.html %}
@@ -26,7 +26,7 @@
26
26
  </ul>
27
27
  {% endfor %}
28
28
  {% else %}
29
- <ul class="list-unstyled">
29
+ <ul class="talk-list list-unstyled">
30
30
  {% for talk in edition_talks -%}
31
31
  {% include get_talk_overview_talk.html %}
32
32
  {%- endfor %}
data/_layouts/talk.html CHANGED
@@ -8,7 +8,7 @@
8
8
  {% if talk.track %}
9
9
  <div class="h6 mt-2 mb-0 me-1 pe-1 pb-1">
10
10
  {% include get_track_properties.html %}
11
- <span class="d-block d-sm-inline p-1 px-2 bg-{{ track_color }}-subtle text-{{ track_color }}-emphasis border-start border-4 border-{{ track_color }}-subtle fw-normal">
11
+ <span class="track-name bg-{{ track_color }}-subtle text-{{ track_color }}-emphasis border-{{ track_color }}-subtle">
12
12
  {{ talk.track | escape }}
13
13
  </span>
14
14
  </div>
@@ -18,20 +18,20 @@
18
18
  <div class="h6 mt-2 mb-0 ms-1 pe-1 pb-1">
19
19
  {% for tag in talk.tags %}
20
20
  {%- include get_tag_icon.html -%}
21
- <span class="me-2">{{ tag_html }}</span>
21
+ <span class="talk-tag me-2">{{ tag_html }}</span>
22
22
  {% endfor %}
23
23
  </div>
24
24
  {% endif %}
25
25
  </div>
26
26
  {% endif %}
27
27
 
28
- <h1 {% if talk.lang %}lang="{{ talk.lang | escape }}" {% endif %}class="fw-light text-break">{{ talk.name | escape }}</h1>
28
+ <h1 {% if talk.lang %}lang="{{ talk.lang | escape }}" {% endif %}class="talk-title text-break">{{ talk.name | escape }}</h1>
29
29
 
30
- <p class="mb-3 fw-light">
30
+ <p class="talk-speakers mb-3">
31
31
  {% include list_speakers.html %}
32
32
  </p>
33
33
 
34
- <div class="mb-3 p-0">
34
+ <div class="talk-info mb-3 p-0">
35
35
  {% for d in edition_program.days -%}
36
36
  {%- include get_day_hash.html -%}
37
37
  {%- for r in d.rooms -%}
@@ -53,7 +53,7 @@
53
53
  {% include get_link_types.html context="talk" %}
54
54
 
55
55
  {% if has_icon_links > 0 %}
56
- <ul class="list-unstyled">
56
+ <ul class="links-icon list-unstyled">
57
57
  {% for link in talk.links %}
58
58
  {% include get_link.html type="icon" color=track_color context="talk" %}
59
59
  {% if link_valid %}
@@ -66,7 +66,7 @@
66
66
  {% if has_regular_links > 0 %}
67
67
  <h2 class="h5 mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information | default: "More information" }}:</h2>
68
68
 
69
- <ul class="list-unstyled">
69
+ <ul class="links-more list-unstyled">
70
70
  {% for link in talk.links %}
71
71
  {% include get_link.html color=track_color context="talk" %}
72
72
  {% if link_valid %}
@@ -76,17 +76,17 @@
76
76
  </ul>
77
77
  {% endif %}
78
78
 
79
- <p class="d-print-none d-pwa-none mt-5">
79
+ <p class="d-print-none d-pwa-none mt-4">
80
80
  {%- include get_overview_url.html layout="talk-overview" -%}
81
81
  {%- if overview_url %}
82
- <a href="{{ overview_url | prepend: site.baseurl }}" class="btn btn-outline-secondary me-2">
83
- {% include icon.html name="megaphone" %}&nbsp;{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
82
+ <a href="{{ overview_url | prepend: site.baseurl }}" class="back-link btn btn-outline-secondary me-2">
83
+ {% include icon.html name="megaphone" class="me-1" %}{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
84
84
  </a>
85
85
  {%- endif %}
86
86
 
87
87
  {%- include get_program_config.html -%}
88
- <a href="{{ program_url | prepend: site.baseurl }}" class="btn btn-outline-secondary">
89
- {% include icon.html name="calendar4-week" %}&nbsp;{{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
88
+ <a href="{{ program_url | prepend: site.baseurl }}" class="back-link btn btn-outline-secondary">
89
+ {% include icon.html name="calendar4-week" class="me-1" %}{{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
90
90
  </a>
91
91
  </p>
92
92