Skip to content

Commit

Permalink
Schedule: Update showcase styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Aug 19, 2024
1 parent 7d28d48 commit 78e90f3
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 77 deletions.
72 changes: 35 additions & 37 deletions css/includes/schedule.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,36 +110,6 @@ body.single-wcb_session {
}
}

/* Showcase category */
&.has-category-showcase {
background: var(--wp--preset--color--contrast);
color: var(--wp--preset--color--accent-3);
outline: 1px solid var(--wp--preset--color--accent-2);

& .wordcamp-schedule__session-title,
& a:where(:not(.wp-element-button)) {
color: var(--wp--preset--color--base);
}

& .wcb-session-favourite-icon a {
background-image: url(https://wc-us.org/wp-content/uploads/2024/07/star-outline-light.svg);
}

&:where(.is-type-session):hover,
&:where(.is-type-session):focus-within {
background: #05191d !important;
color: var(--wp--preset--color--accent-3) !important;

& a:where(:not(.wp-element-button)) {
color: var(--wp--preset--color--base) !important;
}

& .wcb-session-favourite-icon a {
background-image: url(https://wc-us.org/wp-content/uploads/2024/07/star-outline-light.svg);
}
}
}

&.wcb-favourite-session {
outline: 5px solid var(--wp--preset--color--accent);
outline-offset: -5px;
Expand Down Expand Up @@ -185,6 +155,7 @@ body.single-wcb_session {
}

/* Showcase day ID */
& #wordcamp-schedule__day-2023-08-25-tracks-all,
& #wordcamp-schedule__day-2024-09-18-tracks-47-48-49 {
background-color: var(--wp--preset--color--contrast);

Expand All @@ -194,6 +165,40 @@ body.single-wcb_session {
outline: 1px solid var(--wp--preset--color--accent-2);
color: var(--wp--preset--color--base);
}

& .wordcamp-schedule__session {
background: var(--wp--preset--color--contrast);
color: var(--wp--preset--color--accent-3);
outline: 1px solid var(--wp--preset--color--accent-2);

& .wordcamp-schedule__session-title,
& a:where(:not(.wp-element-button)) {
color: var(--wp--preset--color--base);
}

&.wcb-favourite-session {
outline: 5px solid var(--wp--preset--color--accent);
outline-offset: -5px;

& .wcb-session-favourite-icon a {
background-image: url(https://wc-us.org/wp-content/uploads/2024/07/star-filled.svg);
}
}

& .wcb-session-favourite-icon a {
background-image: url(https://wc-us.org/wp-content/uploads/2024/07/star-outline-light.svg);
}

&:where(.is-type-session):hover,
&:where(.is-type-session):focus-within {
background: #05191d !important;
color: var(--wp--preset--color--accent-3) !important;

& a:where(:not(.wp-element-button)) {
color: var(--wp--preset--color--base) !important;
}
}
}
}

@media (max-width: 1000px) {
Expand Down Expand Up @@ -221,13 +226,6 @@ body.single-wcb_session {
background-color: var(--wp--preset--color--base-2);
}

/* Showcase day ID */
& #wordcamp-schedule__day-2024-09-18-tracks-47-48-49 .wordcamp-schedule__time-slot-header {
background-color: var(--wp--preset--color--contrast);
outline: 1px solid var(--wp--preset--color--accent-2);
color: var(--wp--preset--color--base);
}

& .wordcamp-schedule__session::before {
display: inline-block;
margin-block-end: 4px;
Expand Down
83 changes: 43 additions & 40 deletions style.css

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

0 comments on commit 78e90f3

Please sign in to comment.