diff --git a/lms/djangoapps/teams/templates/teams/teams.html b/lms/djangoapps/teams/templates/teams/teams.html
index 81b207d3f8..a0691e9342 100644
--- a/lms/djangoapps/teams/templates/teams/teams.html
+++ b/lms/djangoapps/teams/templates/teams/teams.html
@@ -5,7 +5,7 @@
<%namespace name='static' file='/static_content.html'/>
<%inherit file="/main.html" />
-<%block name="bodyclass">view-teams is-in-course course js%block>
+<%block name="bodyclass">view-teams view-in-course course js%block>
<%block name="pagetitle">${_("Teams")}%block>
<%block name="headextra">
diff --git a/lms/static/sass/base/_layouts.scss b/lms/static/sass/base/_layouts.scss
index c828111589..6694e23db0 100644
--- a/lms/static/sass/base/_layouts.scss
+++ b/lms/static/sass/base/_layouts.scss
@@ -3,8 +3,7 @@
// overriding existing styles on the body element
// .view-incourse scopes these rules to be specific to student being in a course
-body.view-incourse,
-body.is-in-course {
+body.view-in-course {
background-color: $body-bg;
// keep application of widths to window-wrap
@@ -59,12 +58,17 @@ body.is-in-course {
.profile-wrapper,
.instructor-dashboard-wrapper-2,
.wiki-wrapper,
- .teams-wrapper {
+ .teams-wrapper,
+ .static_tab_wrapper {
max-width: 1180px;
margin: 0 auto;
padding: 0;
}
+ .static_tab_wrapper {
+ padding: 2em 2.5em;
+ }
+
// post-container footer (creative commons)
.container-footer {
max-width: none;
@@ -81,12 +85,16 @@ body.is-in-course {
// site footer
.wrapper-footer {
- margin-top: $baseline;
+ margin-top: ($baseline*2);
padding-right: 2%;
padding-left: 2%;
- footer#footer-openedx { // TODO check edX footer when it launches
+ footer#footer-openedx { // shame selector to match existing
min-width: auto;
}
}
+
+ footer#footer-edx-v3 { // shame selector to match existing
+ margin-top: ($baseline*2);
+ }
}
diff --git a/lms/static/sass/shared/_footer.scss b/lms/static/sass/shared/_footer.scss
index 6608f96b83..2e78ce3541 100644
--- a/lms/static/sass/shared/_footer.scss
+++ b/lms/static/sass/shared/_footer.scss
@@ -5,6 +5,7 @@
.wrapper-footer {
@extend %ui-print-excluded;
+ margin-top: ($baseline*2);
box-shadow: 0 -1px 5px 0 $shadow-l1;
border-top: 1px solid tint($m-gray, 50%);
padding: 25px ($baseline/2) ($baseline*1.5) ($baseline/2);
diff --git a/lms/templates/courseware/courseware-chromeless.html b/lms/templates/courseware/courseware-chromeless.html
index 943a92cc51..dc4a5d8994 100644
--- a/lms/templates/courseware/courseware-chromeless.html
+++ b/lms/templates/courseware/courseware-chromeless.html
@@ -10,7 +10,7 @@ from edxnotes.helpers import is_feature_enabled as is_edxnotes_enabled
<% return _("{course_number} Courseware").format(course_number=course.display_number_with_default) %>
%def>
-<%block name="bodyclass">view-incourse view-courseware courseware ${course.css_class or ''}%block>
+<%block name="bodyclass">view-in-course view-courseware courseware ${course.css_class or ''}%block>
<%block name="title">
% if section_title:
${page_title_breadcrumbs(section_title, course_name())}
diff --git a/lms/templates/courseware/courseware.html b/lms/templates/courseware/courseware.html
index 224a4efcf7..08676e583d 100644
--- a/lms/templates/courseware/courseware.html
+++ b/lms/templates/courseware/courseware.html
@@ -14,7 +14,7 @@ from edxnotes.helpers import is_feature_enabled as is_edxnotes_enabled
<% return _("{course_number} Courseware").format(course_number=course.display_number_with_default) %>
%def>
-<%block name="bodyclass">view-incourse view-courseware courseware ${course.css_class or ''}%block>
+<%block name="bodyclass">view-in-course view-courseware courseware ${course.css_class or ''}%block>
<%block name="title">
% if section_title:
${page_title_breadcrumbs(section_title, course_name())}
diff --git a/lms/templates/courseware/info.html b/lms/templates/courseware/info.html
index 346332819b..fb19cc1339 100644
--- a/lms/templates/courseware/info.html
+++ b/lms/templates/courseware/info.html
@@ -42,7 +42,7 @@ $(document).ready(function(){
%block>
-<%block name="bodyclass">view-incourse view-course-info ${course.css_class or ''}%block>
+<%block name="bodyclass">view-in-course view-course-info ${course.css_class or ''}%block>
% if user.is_authenticated():
diff --git a/lms/templates/courseware/progress.html b/lms/templates/courseware/progress.html
index 564ded6c8c..b1fe59fd91 100644
--- a/lms/templates/courseware/progress.html
+++ b/lms/templates/courseware/progress.html
@@ -7,7 +7,7 @@ from util.date_utils import get_time_display, DEFAULT_SHORT_DATE_FORMAT
from django.conf import settings
from django.utils.http import urlquote_plus
%>
-<%block name="bodyclass">view-incourse view-progress%block>
+<%block name="bodyclass">view-in-course view-progress%block>
<%block name="headextra">
<%static:css group='style-course-vendor'/>
diff --git a/lms/templates/courseware/static_tab.html b/lms/templates/courseware/static_tab.html
index b080dfda85..bf199c398f 100644
--- a/lms/templates/courseware/static_tab.html
+++ b/lms/templates/courseware/static_tab.html
@@ -1,5 +1,5 @@
<%inherit file="/main.html" />
-<%block name="bodyclass">view-incourse view-statictab ${course.css_class or ''}%block>
+<%block name="bodyclass">view-in-course view-statictab ${course.css_class or ''}%block>
<%namespace name='static' file='/static_content.html'/>
<%block name="headextra">
diff --git a/lms/templates/instructor/instructor_dashboard_2/instructor_dashboard_2.html b/lms/templates/instructor/instructor_dashboard_2/instructor_dashboard_2.html
index 4d38718253..5b47c98c12 100644
--- a/lms/templates/instructor/instructor_dashboard_2/instructor_dashboard_2.html
+++ b/lms/templates/instructor/instructor_dashboard_2/instructor_dashboard_2.html
@@ -4,7 +4,7 @@
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
%>
-<%block name="bodyclass">view-incourse view-instructordash%block>
+<%block name="bodyclass">view-in-course view-instructordash%block>
## ----- Tips on adding something to the new instructor dashboard -----
## 1. add your input element, e.g. in instructor_dashboard2/data_download.html
diff --git a/lms/templates/wiki/base.html b/lms/templates/wiki/base.html
index 9493b92868..7191443c32 100644
--- a/lms/templates/wiki/base.html
+++ b/lms/templates/wiki/base.html
@@ -3,7 +3,7 @@
{% block title %}
{% block pagetitle %}{% endblock %} | {% trans "Wiki" %} | {% platform_name %}{% endblock %}
-{% block bodyclass %}view-incourse view-wiki{% endblock %}
+{% block bodyclass %}view-in-course view-wiki{% endblock %}
{% block headextra %}