From b917e59613e58ae6f38464a9eadf7bd10a1a3e89 Mon Sep 17 00:00:00 2001 From: Ren <18050944+renintw@users.noreply.github.com> Date: Sat, 7 Sep 2024 00:18:29 +0800 Subject: [PATCH] Theme: Polish the design of the single Lesson (#2862) * Align sidebar nav with design. * Add separator for sensei-course-theme__header__info * Align progress bar style with design * Fix tablet/mobile toggled menu progress bar * Update the copy for take quiz * Align lesson actions style with design * Reposition sign-in block * Always display next/prev lesson * Reposition suggestions block * Fix layout for standalone lesson * Add completed notice --- .../wporg-learn-2024/assets/icon-check.svg | 3 + .../patterns/sensei-lesson-actions.php | 47 ++--- .../patterns/sensei-lesson-columns.php | 64 ++++-- .../patterns/sensei-lesson-header.php | 4 +- .../patterns/sensei-lesson-standalone.php | 32 +-- .../wporg-learn-2024/src/style/_sensei.scss | 198 ++++++++++++++---- 6 files changed, 249 insertions(+), 99 deletions(-) create mode 100644 wp-content/themes/pub/wporg-learn-2024/assets/icon-check.svg diff --git a/wp-content/themes/pub/wporg-learn-2024/assets/icon-check.svg b/wp-content/themes/pub/wporg-learn-2024/assets/icon-check.svg new file mode 100644 index 000000000..c70f8a3e3 --- /dev/null +++ b/wp-content/themes/pub/wporg-learn-2024/assets/icon-check.svg @@ -0,0 +1,3 @@ + diff --git a/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php b/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php index 59ffb7673..3d78e5df6 100644 --- a/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php +++ b/wp-content/themes/pub/wporg-learn-2024/patterns/sensei-lesson-actions.php @@ -17,43 +17,42 @@