Skip to content

Commit

Permalink
Change Studio background color for self-paced openedx#1240 (openedx#1534
Browse files Browse the repository at this point in the history
)

* Change Studio background color for self-paced openedx#1240

* Fix review
  • Loading branch information
hachiyanagi-ks committed Dec 20, 2016
1 parent 2474ca5 commit dcf0f23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cms/static/sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,9 @@ p, ul, ol, dl {

// +UI - Misc
// ====================
body.self-paced {
background: #e9f3eb;
}
hr.divide {
@extend %cont-text-sr;
}
Expand Down
2 changes: 1 addition & 1 deletion cms/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<%block name="header_extras"></%block>
</head>

<body class="${static.dir_rtl()} <%block name='bodyclass'></%block> lang_${LANGUAGE_CODE}">
<body class="${static.dir_rtl()} <%block name='bodyclass'></%block> lang_${LANGUAGE_CODE} ${'self-paced' if context_course and context_course.self_paced else ''}">
<%block name="view_notes"></%block>

<a class="nav-skip" href="#content">${_("Skip to main content")}</a>
Expand Down

0 comments on commit dcf0f23

Please sign in to comment.