diff --git a/common/lib/xmodule/xmodule/css/capa/display.scss b/common/lib/xmodule/xmodule/css/capa/display.scss index 3270c6bcde..9fb644bce9 100644 --- a/common/lib/xmodule/xmodule/css/capa/display.scss +++ b/common/lib/xmodule/xmodule/css/capa/display.scss @@ -970,21 +970,26 @@ div.problem .action { } .problem-action-button-wrapper { - @include border-right(1px solid $light-gray1); + @include border-right(1px solid $gray-300); + @include padding(0, 13px); // to create a 26px gap, which is an a11y recommendation display: inline-block; &:last-child { border: none; + padding-right: 0; } } .problem-action-btn { - @include margin-right($baseline / 5); - + border: none; max-width: 110px; - text-decoration: underline; - text-transform: none; + + &:hover, + &:focus, + &:active { + color: $primary !important; + } .icon { margin-bottom: $baseline / 10; @@ -994,12 +999,13 @@ div.problem .action { @media print { display: none; } - } .submit-attempt-container { padding-bottom: $baseline; flex-grow: 1; + display: flex; + align-items: center; @media (max-width: $bp-screen-lg) { max-width: 100%; @@ -1013,19 +1019,14 @@ div.problem .action { white-space: nowrap; } - .submit-cta { - display: inline-block; - } .submit-cta-description { - color: $blue; + color: $primary; font-size: small; padding-right: $baseline / 2; } .submit-cta-link-button { - border: none; + color: $primary; padding-right: $baseline / 4; - text-decoration: underline; - text-transform: none; } } diff --git a/lms/static/sass/course/_dates.scss b/lms/static/sass/course/_dates.scss index 9fa6b3753f..e89262f25a 100644 --- a/lms/static/sass/course/_dates.scss +++ b/lms/static/sass/course/_dates.scss @@ -40,7 +40,7 @@ background-color: #f5f5f5; &.past-due { - background-color: #d1d2d4; + background-color: #475b65; } } @@ -147,13 +147,12 @@ padding: 2px 8px; border-radius: 5px; margin-left: 8px; - font-style: italic; - font-weight: bold; + font-weight: normal; vertical-align: top; &.completed { - background-color: #f3f3f4; - color: #2d323e; + background-color: #f0f2f2; + color: #212529; } &.due-next { @@ -170,7 +169,8 @@ } &.past-due { - background-color: #d1d2d4; + background-color: #475b65; + color: #fff; } &.today { diff --git a/lms/static/sass/course/courseware/_courseware.scss b/lms/static/sass/course/courseware/_courseware.scss index de9df3eb3d..67a5a70405 100644 --- a/lms/static/sass/course/courseware/_courseware.scss +++ b/lms/static/sass/course/courseware/_courseware.scss @@ -534,22 +534,22 @@ html.video-fullscreen { .pill { font-size: 12px; - max-height: 20px; + line-height: 14px; + max-height: 16px; padding: 2px 8px; border-radius: 5px; + margin-top: 4px; margin-left: 8px; - font-style: italic; - font-weight: bold; vertical-align: top; &.completed { - background-color: #f3f3f4; - color: #2d323e; + background-color: #f0f2f2; + color: #212529; } &.past-due { - background-color: #d1d2d4; - color: black; + background-color: #475b65; + color: #fff; } } } diff --git a/lms/static/sass/course/layout/_banner_cta.scss b/lms/static/sass/course/layout/_banner_cta.scss index bad337c9c2..b6ac4ca609 100644 --- a/lms/static/sass/course/layout/_banner_cta.scss +++ b/lms/static/sass/course/layout/_banner_cta.scss @@ -4,7 +4,6 @@ border-radius: 2px; border: solid 1px #0175b4; font-size: 14px; - font-weight: bold; line-height: 24px; padding: 7px 18px; diff --git a/lms/templates/dates_banner.html b/lms/templates/dates_banner.html index 8e95f78df7..594fb7991c 100644 --- a/lms/templates/dates_banner.html +++ b/lms/templates/dates_banner.html @@ -30,7 +30,7 @@ additional_styling_class = 'on-mobile' if is_mobile_app else 'has-button'
% endif diff --git a/lms/templates/problem.html b/lms/templates/problem.html index 7ed8b4a16e..60d27b4ff5 100644 --- a/lms/templates/problem.html +++ b/lms/templates/problem.html @@ -29,12 +29,12 @@ from openedx.core.djangolib.markup import HTML @@ -58,7 +58,7 @@ from openedx.core.djangolib.markup import HTML % if submit_disabled_cta: % if submit_disabled_cta.get('event_data'): -