Commit 5baee348 by Brian Talbot

Merge pull request #60 from edx/fix/btalbot/lms-header

LMS Slim Header Visual Clean-Up
parents fda44422 7c4e20f9
...@@ -62,7 +62,8 @@ nav.course-material { ...@@ -62,7 +62,8 @@ nav.course-material {
header.global.slim { header.global.slim {
@include box-shadow(0 1px 2px rgba(0, 0, 0, .1)); @include box-shadow(0 1px 2px rgba(0, 0, 0, .1));
height: 50px; height: auto;
padding: 5px 0 10px 0;
border-bottom: 1px solid $outer-border-color; border-bottom: 1px solid $outer-border-color;
background: $white; background: $white;
...@@ -106,16 +107,15 @@ header.global.slim { ...@@ -106,16 +107,15 @@ header.global.slim {
padding-top: 5px; padding-top: 5px;
} }
h1.logo { h1.logo {
margin-left: 13px; margin: 0 10px 0 13px;
margin-right: 20px;
padding-right: 20px; padding-right: 20px;
&:before { &:before {
@extend .faded-vertical-divider; @extend .faded-vertical-divider;
content: ""; content: "";
display: block; display: block;
height: 40px; height: 35px;
position: absolute; position: absolute;
right: 3px; right: 3px;
top: 0; top: 0;
...@@ -126,12 +126,16 @@ header.global.slim { ...@@ -126,12 +126,16 @@ header.global.slim {
@extend .faded-vertical-divider-light; @extend .faded-vertical-divider-light;
content: ""; content: "";
display: block; display: block;
height: 40px; height: 35px;
position: absolute; position: absolute;
right: 0px; right: 0;
top: 0; top: 0;
width: 1px; width: 1px;
} }
img {
height: 30px;
}
} }
.nav-global { .nav-global {
...@@ -147,6 +151,7 @@ header.global.slim { ...@@ -147,6 +151,7 @@ header.global.slim {
color: #777; color: #777;
letter-spacing: 0; letter-spacing: 0;
margin-top: 9px; margin-top: 9px;
margin-bottom: 0;
text-transform: none; text-transform: none;
text-shadow: 0 1px 0 #fff; text-shadow: 0 1px 0 #fff;
white-space: nowrap; white-space: nowrap;
...@@ -168,4 +173,4 @@ header.global.slim { ...@@ -168,4 +173,4 @@ header.global.slim {
font-weight: bold; font-weight: bold;
letter-spacing: 0; letter-spacing: 0;
} }
} }
\ No newline at end of file
...@@ -39,7 +39,7 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -39,7 +39,7 @@ site_status_msg = get_site_status_msg(course_id)
<h1 class="logo"> <h1 class="logo">
<a href="${marketing_link('ROOT')}"> <a href="${marketing_link('ROOT')}">
<img src="${static.url(branding.get_logo_url(request.META.get('HTTP_HOST')))}"/> <img src="${static.url(branding.get_logo_url(request.META.get('HTTP_HOST')))}" alt="edX home" />
</a></h1> </a></h1>
% if course: % if course:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment