diff --git a/lms/static/sass/_shame.scss b/lms/static/sass/_shame.scss index 1c3da1c0f8..2fc6669fcd 100644 --- a/lms/static/sass/_shame.scss +++ b/lms/static/sass/_shame.scss @@ -230,3 +230,15 @@ footer .references { @include footer_references_style; } + +// ==================== + +// modal semantic button resetting - overriding the poorly scoped button mixin styling +.close-modal, button.close-modal { + @extend %ui-reset-button; + + &:focus { + border: none !important; + outline: thin dotted !important; + } +} diff --git a/lms/static/sass/base/_extends.scss b/lms/static/sass/base/_extends.scss index 5c87548127..ebd5ae806e 100644 --- a/lms/static/sass/base/_extends.scss +++ b/lms/static/sass/base/_extends.scss @@ -84,3 +84,19 @@ display: none; } } + +// ==================== + +// needed utility extend for resetting poor basic +

${_('Email Settings for {course_number}').format(course_number='')}


@@ -207,13 +209,13 @@ - - - diff --git a/lms/templates/forgot_password_modal.html b/lms/templates/forgot_password_modal.html index 411b863e00..72ba0f2faa 100644 --- a/lms/templates/forgot_password_modal.html +++ b/lms/templates/forgot_password_modal.html @@ -3,6 +3,8 @@ <%! from django.core.urlresolvers import reverse %> diff --git a/lms/templates/help_modal.html b/lms/templates/help_modal.html index f4f1c4ea15..dea4b7e8b9 100644 --- a/lms/templates/help_modal.html +++ b/lms/templates/help_modal.html @@ -15,7 +15,7 @@ @@ -64,7 +60,7 @@ $('#login_error').html(json.value).stop().css("display", "block"); } }); - + // removing close link's default behavior $('#login-modal .close-modal').click(function(e) { e.preventDefault(); diff --git a/lms/templates/signup_modal.html b/lms/templates/signup_modal.html index 0416eea82b..4b13bebb04 100644 --- a/lms/templates/signup_modal.html +++ b/lms/templates/signup_modal.html @@ -9,6 +9,8 @@