From 8d5ae2aaee7afcdd6bd3dafa67e4b4b203c30827 Mon Sep 17 00:00:00 2001 From: Sandro Costa Date: Wed, 26 Jun 2024 13:52:27 +0000 Subject: [PATCH] fix: content module links and timed exams Place a text underline on links that are created in the content area. Fix the styling of the start button on timed exams. --- .../sass/partials/lms/theme/_overrides.scss | 26 +++++++++++++++++++ .../sass/partials/lms/theme/_variables.scss | 1 + 2 files changed, 27 insertions(+) diff --git a/edx-platform/nau-basic/lms/static/sass/partials/lms/theme/_overrides.scss b/edx-platform/nau-basic/lms/static/sass/partials/lms/theme/_overrides.scss index df32e6b..ec00a15 100644 --- a/edx-platform/nau-basic/lms/static/sass/partials/lms/theme/_overrides.scss +++ b/edx-platform/nau-basic/lms/static/sass/partials/lms/theme/_overrides.scss @@ -783,6 +783,20 @@ article.course>section.details>div.wrapper-course-details>div.course-info>span.i border: 2px solid $header-bar-color !important; } +.xmodule_display.xmodule_HtmlBlock a { + &:link, + &:visited, + &:active, + &:focus { + text-decoration: underline; + } + + &:hover, + &:focus { + color: $primary-hover !important; + } +} + .view-profile .wrapper-profile { background: none; } @@ -795,4 +809,16 @@ article.course>section.details>div.wrapper-course-details>div.course-info>span.i // fix horizontal scroll on course page .course-outline .block-tree .section { margin-right: 0px; +} + +.course-wrapper .course-content div.timed-exam button.gated-sequence, +.course-wrapper .course-content div.proctored-exam button.gated-sequence, +.course-wrapper .courseware-results-wrapper div.timed-exam button.gated-sequence, +.course-wrapper .courseware-results-wrapper div.proctored-exam button.gated-sequence { + text-align: center !important; + + a { + color: white; + text-shadow: none !important; + } } \ No newline at end of file diff --git a/edx-platform/nau-basic/lms/static/sass/partials/lms/theme/_variables.scss b/edx-platform/nau-basic/lms/static/sass/partials/lms/theme/_variables.scss index 6c45ef3..d6da20a 100644 --- a/edx-platform/nau-basic/lms/static/sass/partials/lms/theme/_variables.scss +++ b/edx-platform/nau-basic/lms/static/sass/partials/lms/theme/_variables.scss @@ -3,6 +3,7 @@ // Make a new primary color $primary: #074CE1; +$primary-hover: #0640bf; //$blue-pr: #074CE1; // Primary blue $blue: $primary;