diff --git a/lms/static/images/textbook/textbook-left.png b/lms/static/images/textbook/textbook-left.png new file mode 100644 index 0000000000..52cb58efe7 Binary files /dev/null and b/lms/static/images/textbook/textbook-left.png differ diff --git a/lms/static/images/textbook/textbook-right.png b/lms/static/images/textbook/textbook-right.png new file mode 100644 index 0000000000..8779df5df5 Binary files /dev/null and b/lms/static/images/textbook/textbook-right.png differ diff --git a/lms/static/sass/course/_info.scss b/lms/static/sass/course/_info.scss index 5c19ea42d4..b574eab48e 100644 --- a/lms/static/sass/course/_info.scss +++ b/lms/static/sass/course/_info.scss @@ -76,27 +76,14 @@ div.info-wrapper { h1 { @extend .bottom-border; padding: lh(.5) lh(.5); - } - - header { - - // h1 { - // font-weight: 100; - // font-style: italic; - // } - - p { - color: #666; - font-size: 12px; - margin-bottom: 0; - margin-top: 4px; - } + margin-bottom: 0; } ol { background: none; list-style: none; padding-left: 0; + margin: 0; li { @extend .clearfix; diff --git a/lms/static/sass/course/base/_extends.scss b/lms/static/sass/course/base/_extends.scss index a2280adaac..9f8cb9fa35 100644 --- a/lms/static/sass/course/base/_extends.scss +++ b/lms/static/sass/course/base/_extends.scss @@ -74,7 +74,7 @@ h1.top-header { } .bottom-border { - border-bottom: 1px solid #d3d3d3; + border-bottom: 1px solid $border-color; } @media print { diff --git a/lms/static/sass/course/wiki/_sidebar.scss b/lms/static/sass/course/wiki/_sidebar.scss index 90bc654e08..ccaed19a17 100644 --- a/lms/static/sass/course/wiki/_sidebar.scss +++ b/lms/static/sass/course/wiki/_sidebar.scss @@ -4,78 +4,70 @@ div#wiki_panel { h2 { @extend .bottom-border; - font-size: 18px; margin: 0 ; - padding: lh(.5) lh(); - } - - input[type="button"] { - background: transparent; - border: none; - @include box-shadow(none); - color: #666; - font-size: 14px; - font-weight: bold; - margin: 0px; - padding: 7px lh(); - text-align: left; - @include transition(); - width: 100%; + padding: lh(.5) lh() lh(.5) 0; + color: #000; } ul { + padding-left: 0; + margin: 0; + li { - @include box-shadow(inset 0 1px 0 0 #eee); - border-top: 1px solid #d3d3d3; - - &:hover { - background: #efefef; - @include background-image(linear-gradient(-90deg, rgb(245,245,245), rgb(225,225,225))); - } - - &:first-child { - border: none; - } + @extend .bottom-border; &.search { - padding: 10px lh(); + padding: 10px lh() 10px 0; label { display: none; } } - &.create-article { - h3 { - } - } - a { color: #666; font-size: 14px; - padding: 7px lh(); + padding: 7px lh() 7px 0; + + &:hover { + background: #efefef; + } + + } + } + + form { + input[type="submit"]{ + @extend .light-button; + text-transform: none; + text-shadow: none; } } } div#wiki_create_form { @extend .clearfix; - background: #dadada; - border-bottom: 1px solid #d3d3d3; - padding: 15px; + padding: lh(.5) lh() lh(.5) 0; + + label { + font-family: $sans-serif; + margin-bottom: lh(.5); + } input[type="text"] { @include box-sizing(border-box); display: block; - margin-bottom: 6px; width: 100%; + margin-bottom: lh(.5); } ul { list-style: none; + margin: 0; li { float: left; + border-bottom: 0; &#cancel { float: right; diff --git a/lms/templates/main.html b/lms/templates/main.html index fb502bfe22..891d770637 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -25,9 +25,9 @@ <%include file="navigation.html" />
${self.body()} + <%block name="bodyextra"/>
- <%block name="bodyextra"/> <%include file="footer.html" /> <%static:js group='application'/> diff --git a/lms/templates/simplewiki/simplewiki_base.html b/lms/templates/simplewiki/simplewiki_base.html index 6777af1b82..04a239b6c3 100644 --- a/lms/templates/simplewiki/simplewiki_base.html +++ b/lms/templates/simplewiki/simplewiki_base.html @@ -71,9 +71,9 @@ }); - + <%block name="wiki_head"/> - + <%block name="bodyextra"> @@ -86,7 +86,7 @@
<%block name="wiki_panel">
-

Course Wiki

+

Course Wiki