From 3094471efc039b3a17a3ed52fe63a53cf6244656 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Wed, 24 Jul 2013 11:40:37 -0400 Subject: [PATCH] edx.org: revises iframe-based register/status buttons to match revised styles --- lms/static/sass/_shame.scss | 11 +++++++++-- lms/templates/courseware/mktg_course_about.html | 2 +- lms/templates/mktg_iframe.html | 9 +-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lms/static/sass/_shame.scss b/lms/static/sass/_shame.scss index 041c42a66f..f67683afe4 100644 --- a/lms/static/sass/_shame.scss +++ b/lms/static/sass/_shame.scss @@ -43,9 +43,14 @@ text-align: center; text-shadow: none; font-weight: 500; + letter-spacing: 0; - &.disabled, &[disabled] { + &.disabled, &[disabled], &.is-disabled { background: $m-gray-d3; + + &:hover { + background: $m-gray-d3 !important; // needed for IE currently + } } } @@ -73,6 +78,7 @@ &.disabled, &[disabled] { box-shadow: none; + background: $m-gray-d3; // needed for IE currently } } @@ -100,6 +106,7 @@ &.disabled, &[disabled] { box-shadow: none; + background: $m-gray-d3; // needed for IE currently } } @@ -142,7 +149,7 @@ } .action { - @include font-size(16); + font-size: 16px; font-weight: 500; // register or access courseware diff --git a/lms/templates/courseware/mktg_course_about.html b/lms/templates/courseware/mktg_course_about.html index dc667c850c..8dedc70337 100644 --- a/lms/templates/courseware/mktg_course_about.html +++ b/lms/templates/courseware/mktg_course_about.html @@ -53,7 +53,7 @@ %elif allow_registration: Register for ${course.number} %else: -
Registration Is Closed
+
Registration Is Closed
%endif diff --git a/lms/templates/mktg_iframe.html b/lms/templates/mktg_iframe.html index 6d02f3fcc5..abaf466785 100644 --- a/lms/templates/mktg_iframe.html +++ b/lms/templates/mktg_iframe.html @@ -27,14 +27,7 @@