From 49bd3ac9058af4e092e82df845fb3503ad703d93 Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Thu, 4 Oct 2012 15:34:50 -0400 Subject: [PATCH] added ie warning banner to courseware; displayed by ie conditional stylesheet --- .../sass/course/layout/_courseware_header.scss | 17 +++++++++++++++++ lms/static/sass/ie.scss | 4 ++++ lms/templates/navigation.html | 3 ++- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/course/layout/_courseware_header.scss b/lms/static/sass/course/layout/_courseware_header.scss index 86b5fe58c5..b83b28301c 100644 --- a/lms/static/sass/course/layout/_courseware_header.scss +++ b/lms/static/sass/course/layout/_courseware_header.scss @@ -169,3 +169,20 @@ header.global.slim { 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; + } +} \ No newline at end of file diff --git a/lms/static/sass/ie.scss b/lms/static/sass/ie.scss index 1a58110563..a873a1fd02 100644 --- a/lms/static/sass/ie.scss +++ b/lms/static/sass/ie.scss @@ -151,3 +151,7 @@ header.global ol.user > li.primary a.dropdown { .dashboard .my-courses .my-course .cover .arrow { display: none; } + +.ie-banner { + display: block !important; +} \ No newline at end of file diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index 2976b347de..2c4b8863d6 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -79,9 +79,10 @@ site_status_msg = get_site_status_msg() % endif - %endif + +
Warning: Your browser is not fully supported. We strongly recommend using Chrome or Firefox.
%if not user.is_authenticated(): <%include file="login_modal.html" />