Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
072a66e1
Commit
072a66e1
authored
Aug 31, 2015
by
frances botsford
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9468 from edx/frances/teams-padding-responsive-followup
updated responsive body class to .is-view-in-course
parents
9ff620de
44d3cb44
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
22 additions
and
13 deletions
+22
-13
lms/djangoapps/teams/templates/teams/teams.html
+1
-1
lms/static/sass/base/_layouts.scss
+13
-5
lms/static/sass/shared/_footer.scss
+1
-0
lms/templates/courseware/courseware-chromeless.html
+1
-1
lms/templates/courseware/courseware.html
+1
-1
lms/templates/courseware/info.html
+1
-1
lms/templates/courseware/progress.html
+1
-1
lms/templates/courseware/static_tab.html
+1
-1
lms/templates/instructor/instructor_dashboard_2/instructor_dashboard_2.html
+1
-1
lms/templates/wiki/base.html
+1
-1
No files found.
lms/djangoapps/teams/templates/teams/teams.html
View file @
072a66e1
...
...
@@ -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"
>
...
...
lms/static/sass/base/_layouts.scss
View file @
072a66e1
...
...
@@ -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
);
}
}
lms/static/sass/shared/_footer.scss
View file @
072a66e1
...
...
@@ -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
);
...
...
lms/templates/courseware/courseware-chromeless.html
View file @
072a66e1
...
...
@@ -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"
><title>
% if section_title:
${page_title_breadcrumbs(section_title, course_name())}
...
...
lms/templates/courseware/courseware.html
View file @
072a66e1
...
...
@@ -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"
><title>
% if section_title:
${page_title_breadcrumbs(section_title, course_name())}
...
...
lms/templates/courseware/info.html
View file @
072a66e1
...
...
@@ -42,7 +42,7 @@ $(document).ready(function(){
</script>
</
%
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>
<section
class=
"container"
>
<div
class=
"info-wrapper"
>
% if user.is_authenticated():
...
...
lms/templates/courseware/progress.html
View file @
072a66e1
...
...
@@ -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'
/>
...
...
lms/templates/courseware/static_tab.html
View file @
072a66e1
<
%
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"
>
...
...
lms/templates/instructor/instructor_dashboard_2/instructor_dashboard_2.html
View file @
072a66e1
...
...
@@ -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
...
...
lms/templates/wiki/base.html
View file @
072a66e1
...
...
@@ -3,7 +3,7 @@
{% block title %}
<title>
{% block pagetitle %}{% endblock %} | {% trans "Wiki" %} | {% platform_name %}
</title>
{% endblock %}
{% block bodyclass %}view-incourse view-wiki{% endblock %}
{% block bodyclass %}view-in
-
course view-wiki{% endblock %}
{% block headextra %}
<script
type=
"text/javascript"
src=
"/i18n.js"
></script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment