fixed ie banner showing outside of courseware bug

This commit is contained in:
Tom Giannattasio
2012-10-04 15:50:02 -04:00
parent 49bd3ac905
commit 1804d5410c
3 changed files with 19 additions and 17 deletions

View File

@@ -185,5 +185,22 @@ mark {
}
}
.ie-banner {
display: none;
max-width: 1140px;
min-width: 720px;
margin: auto;
@include border-radius(0 0 3px 3px);
background: #f4f4e0;
color: #3c3c3c;
padding: 5px 20px 8px;
font-size: 13px;
text-align: center;
strong {
font-weight: 700;
}
}

View File

@@ -168,21 +168,4 @@ header.global.slim {
font-weight: bold;
letter-spacing: 0;
}
}
.ie-banner {
display: none;
max-width: 1140px;
min-width: 720px;
margin: auto;
@include border-radius(0 0 3px 3px);
background: #f4f4e0;
color: #3c3c3c;
padding: 5px 20px 8px;
font-size: 13px;
text-align: center;
strong {
font-weight: 700;
}
}

View File

@@ -82,7 +82,9 @@ site_status_msg = get_site_status_msg()
%endif
</nav>
</header>
% if course:
<div class="ie-banner"><strong>Warning:</strong> Your browser is not fully supported. We strongly recommend using <a href="https://www.google.com/intl/en/chrome/browser/" target="_blank">Chrome</a> or <a href="http://www.mozilla.org/en-US/firefox/new/" target="_blank">Firefox</a>.</div>
% endif
%if not user.is_authenticated():
<%include file="login_modal.html" />