From 022c65a6b40d572afeefea27fa69475413343267 Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Fri, 10 Aug 2012 11:40:16 -0400 Subject: [PATCH 1/2] fixed class name header bug --- lms/static/sass/base/_extends.scss | 19 +++++++++++++++++++ lms/static/sass/course/base/_base.scss | 4 ++++ lms/static/sass/course/base/_extends.scss | 5 +++++ lms/templates/courseware.html | 1 - lms/templates/navigation.html | 8 ++++---- 5 files changed, 32 insertions(+), 5 deletions(-) diff --git a/lms/static/sass/base/_extends.scss b/lms/static/sass/base/_extends.scss index 9dc10aed5f..0161610a28 100644 --- a/lms/static/sass/base/_extends.scss +++ b/lms/static/sass/base/_extends.scss @@ -89,3 +89,22 @@ border: 1px solid rgb(6, 65, 18); color: rgb(255, 255, 255); } + +.global { + h2 { + display: none; + float: left; + font-size: 0.9em; + font-weight: 600; + line-height: 40px; + letter-spacing: 0; + text-transform: none; + text-shadow: 0 1px 0 #fff; + + .provider { + font: inherit; + font-weight: bold; + color: #6d6d6d; + } + } +} \ No newline at end of file diff --git a/lms/static/sass/course/base/_base.scss b/lms/static/sass/course/base/_base.scss index 8d952b5040..cd68b4bbaf 100644 --- a/lms/static/sass/course/base/_base.scss +++ b/lms/static/sass/course/base/_base.scss @@ -1,3 +1,7 @@ +body { + min-width: 980px; +} + body, h1, h2, h3, h4, h5, h6, p, p a:link, p a:visited, a { font-family: $sans-serif; } diff --git a/lms/static/sass/course/base/_extends.scss b/lms/static/sass/course/base/_extends.scss index 62a6b25393..418074ee01 100644 --- a/lms/static/sass/course/base/_extends.scss +++ b/lms/static/sass/course/base/_extends.scss @@ -187,7 +187,12 @@ h1.top-header { } .global { + .find-courses-button { + display: none; + } + h2 { + display: block; float: left; font-size: 0.9em; font-weight: 600; diff --git a/lms/templates/courseware.html b/lms/templates/courseware.html index a14f35d154..8811509088 100644 --- a/lms/templates/courseware.html +++ b/lms/templates/courseware.html @@ -1,6 +1,5 @@ <%inherit file="main.html" /> <%namespace name='static' file='static_content.html'/> -<%block name="bodyclass">courseware <%block name="title">Courseware – MITx 6.002x <%block name="headextra"> diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index f0242f995b..7ba5cca8d0 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -7,16 +7,16 @@