diff --git a/src/_includes/today.liquid b/src/_includes/today.liquid index 0f50aa4d..b0af51f3 100644 --- a/src/_includes/today.liquid +++ b/src/_includes/today.liquid @@ -140,33 +140,64 @@ {% endif %} {% if event.description %} -
+
Description

{{ event.description }}

- {% endif %} - {% if event.cpacc or event.was or event.cpwa %} - - - Credits pre-approved for - {% if event.cpacc %} - CPACC - {% endif %} - {% if event.was %} - WAS - {% endif %} - {% if event.cpwa %} - CPWA - {% endif %} - - {% endif %} + {% if event.children %} +
+
+ + {% assign childCount = event.children | size %} + {% if childCount == 1 %} + {{ childCount }} accessibility highlight + {% else %} + {{ childCount }} accessibility highlights + {% endif %} + +
+ +
    + {% for child in event.children %} +
  • + {{ child.title }} +
    + {% assign parentStartDate = event.dateStart | date: "%Y-%m-%d" %} + {% assign parentEndDate = event.dateEnd | date: "%Y-%m-%d" %} + {% if parentStartDate == parentEndDate %} + + {% else %} + Starts + + + Ends + + {% endif %} + + {% if child.attendanceMode == "online" %} + + {% endif %} + {% if child.attendanceMode == "offline" %} + + + {% endif %} + {% if child.attendanceMode == "mixed" %} + + + {% endif %} +
    +
  • + {% endfor %} +
+
+
+
+ {% endif %} + {% endfor %} diff --git a/src/styles/_disclosure.scss b/src/styles/_disclosure.scss index b014daa8..cab543e9 100644 --- a/src/styles/_disclosure.scss +++ b/src/styles/_disclosure.scss @@ -1,4 +1,5 @@ details { + --flow-space: var(--space-3xs-2xs); > summary { list-style: none; .icon { @@ -9,9 +10,9 @@ details { } } &[open] { - summary:first-of-type { - margin-bottom: var(--space-3xs); - } + // summary:first-of-type { + // margin-bottom: var(--space-3xs); + // } .icon { transform: rotate(90deg); } diff --git a/src/styles/_events.scss b/src/styles/_events.scss index d1fa6f26..16293c48 100644 --- a/src/styles/_events.scss +++ b/src/styles/_events.scss @@ -1,5 +1,5 @@ .event { - border: 1px solid #ddd; + border: 1px solid rgba(0,0,0,.15); border-radius: $border-radius; display: flex; flex-direction: column; @@ -36,7 +36,7 @@ order: 4; } &__children { - border-top: 1px solid #ddd; + border-top: 1px solid rgba(0,0,0,.15); order: 5; padding: var(--space-s-m); --flow-space: var(--space-3xs-2xs); diff --git a/src/styles/_today.scss b/src/styles/_today.scss index e46a84a1..fc51fe01 100644 --- a/src/styles/_today.scss +++ b/src/styles/_today.scss @@ -22,5 +22,8 @@ &__description-container { order: 4; } + &__children { + border-top-color: var(--color-primary); + } } }