diff --git a/assets/css/masteriyo.css b/assets/css/masteriyo.css index 5955872..2e73108 100644 --- a/assets/css/masteriyo.css +++ b/assets/css/masteriyo.css @@ -24,6 +24,9 @@ --masteriyo-text-color: var(--wp--custom--color--text-strong); --masteriyo-color-border: var(--wp--custom--color--stroke-weak); --masteriyo-color-white: var(--wp--custom--color--background-base); + + /* The checkout's wire-transfer box and the Immersive curriculum hover read this near-white. */ + --masteriyo-color-grey-lighter: var(--wp--custom--color--fill-weaker); --masteriyo-color-danger: var(--wp--custom--color--fill-error-strong); --masteriyo-color-info: var(--wp--custom--color--fill-info-strong); --masteriyo-color-success: var(--wp--custom--color--fill-success-strong); @@ -540,7 +543,7 @@ body.masteriyo-courses-page { max-width: var(--wp--style--global--wide-size); } -/* masteriyo/courses-archive: the title leads the row Masteriyo prints after the search, and shrinks so the search and switch fit. */ +/* masteriyo/courses-archive: the title leads the row Masteriyo prints after the search; narrower than its longest word, the search and switch wrap under it instead. */ .masteriyo-w-100.masteriyo-container:has(> .masteriyo-courses-header) > .masteriyo-courses-header { display: flex; flex: 1 1 0; @@ -548,7 +551,7 @@ body.masteriyo-courses-page { float: none; justify-content: center; min-height: var(--wp--custom--control--md); - min-width: 0; + min-width: min-content; order: -1; width: auto; } @@ -560,7 +563,7 @@ body.masteriyo-courses-page { flex-direction: row; gap: var(--wp--preset--spacing--25); justify-content: flex-end; - margin: 0; + margin: 0 0 0 auto; min-width: 0; padding-bottom: 0; row-gap: var(--wp--preset--spacing--20); @@ -1041,6 +1044,11 @@ body.masteriyo-courses-page { border-radius: 0; } +/* masteriyo/single-course-immersive: a hovered closed header on the soft fill; Masteriyo's near-white hides a dark palette's title. */ +.masteriyo-single-course--wrapper[data-layout="immersive"] .masteriyo-immersive-curriculum .masteriyo-single-body__main--curriculum-content-bottom__accordion--header:hover { + background: var(--wp--custom--color--fill-weak); +} + /* masteriyo/single-course-immersive, masteriyo/course-author: the instructor card on the vibe's card face and inset. */ .masteriyo-single-course--wrapper[data-layout="immersive"] .masteriyo-immersive-instructor__card { background: var(--wp--custom--store-card--background);