Skip to content

Commit

Permalink
Schedule: Update track display
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Aug 19, 2024
1 parent 78e90f3 commit 6f3435f
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 12 deletions.
27 changes: 21 additions & 6 deletions css/includes/schedule.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ body.single-wcb_session {
background-image: url(https://wc-us.org/wp-content/uploads/2024/07/star-filled.svg);
}
}

&.is-spanning-all-tracks:not(.is-type-custom)::before {
display: inline-block;
margin-block-end: 4px;
font-size: 1em;
content: "Mt Hood";
}
}

& .wordcamp-schedule__session-title {
Expand Down Expand Up @@ -176,6 +183,10 @@ body.single-wcb_session {
color: var(--wp--preset--color--base);
}

& .wordcamp-schedule__session-category {
display: none;
}

&.wcb-favourite-session {
outline: 5px solid var(--wp--preset--color--accent);
outline-offset: -5px;
Expand Down Expand Up @@ -232,19 +243,23 @@ body.single-wcb_session {
font-size: 1em;
}

& .has-track-1-woodrow-wilson::before {
content: "Woodrow Wilson";
& .has-track-2-stumptown::before {
content: "Stumptown";
}

& .has-track-2-annapolis::before {
content: "Annapolis";
& .has-track-3-rose-city::before {
content: "Rose City";
}

& .has-track-3-cherry-blossom::before {
content: "Cherry Blossom";
& .has-track-4-timbers::before {
content: "Timbers";
}

& .is-spanning-all-tracks::before {
content: "Mt Hood";
}

& .is-spanning-all-tracks.is-type-custom::before {
content: "All tracks" !important;
}
}
Expand Down
27 changes: 21 additions & 6 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f3435f

Please sign in to comment.