diff --git a/lms/static/sass/course/base/_base.scss b/lms/static/sass/course/base/_base.scss index 62237fd7a9..4439b5b290 100644 --- a/lms/static/sass/course/base/_base.scss +++ b/lms/static/sass/course/base/_base.scss @@ -132,7 +132,81 @@ img { } .site-status { + display: block; +} + +.course-status { + display: none; + padding: 20px 10px; + background: #fffcf0; + border-bottom: 1px solid #999; + @include linear-gradient(#f2dfbe, #fffcf0); + @include box-shadow(0 -2px 0 #fff inset); + + .inner-wrapper { + margin: auto; + max-width: 1180px; + @include clearfix(); + + .message-copy { + display: inline-block; + margin-right: 20px; + + .grade-value { + font-size: 1.4rem; + font-weight: bold; + } + } + + .actions { + display: inline-block; + margin: 0; + padding: 0; + list-style: none; + + .action { + display: inline-block; + margin-right: 10px; + + &:last-child { + margin-right: 0; + } + + .btn { + padding: 6px 12px; + @include box-sizing(border-box); + @include button(shiny, $blue); + @include border-radius(3px); + font: normal 0.8rem/1.2rem $sans-serif; + letter-spacing: 1px; + text-align: center; + + &.disabled { + @include button(shiny, #eee); + cursor: default !important; + + &:hover { + background: #eee; + background-image: -webkit-linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); + background-image: -moz-linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); + background-image: -ms-linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); + background-image: -o-linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); + background-image: linear-gradient(top, #EEE 0%, #C2C2C2 50%, #ABABAB 50%, #B0B0B0 100%); + } + } + } + + .cta { + font-size: 0.8rem; + font-weight: bold; + } + } + } + } + + &.is-shown { display: block; + } } .toast-notification { diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index d574bc3f6e..dfce6d3e90 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -91,6 +91,47 @@ site_status_msg = get_site_status_msg(course_id)
% endif +% if course: + + + + + + + +% endif + %if not user.is_authenticated(): <%include file="login_modal.html" /> <%include file="signup_modal.html" />