From 309d7d99ad29ff1e404efdf291bbee6f9ab6b362 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 17 Oct 2013 11:52:45 -0400 Subject: [PATCH 1/4] LMS: removes overkill/turbo :invalid pseudo class style for form inputs --- lms/static/sass/base/_reset.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lms/static/sass/base/_reset.scss b/lms/static/sass/base/_reset.scss index e774e7a59b..879f805689 100644 --- a/lms/static/sass/base/_reset.scss +++ b/lms/static/sass/base/_reset.scss @@ -54,7 +54,6 @@ input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-s button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } textarea { overflow: auto; vertical-align: top; resize: vertical; } input:valid, textarea:valid { } -input:invalid, textarea:invalid { background-color: #f0dddd; } table { border-collapse: collapse; border-spacing: 0; } td { vertical-align: top; } @@ -70,7 +69,7 @@ td { vertical-align: top; } @media only screen and (min-width: 35em) { - + } @@ -85,13 +84,13 @@ td { vertical-align: top; } .clearfix { *zoom: 1; } @media print { - * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } + * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } - .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } + .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } - thead { display: table-header-group; } + thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } From 1c7882a6bbb3fb61561424b512b02094cc291b43 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 17 Oct 2013 12:52:42 -0400 Subject: [PATCH 2/4] LMS: syncs up edge-based view with new pipeline CSS assets --- lms/templates/stripped-main.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lms/templates/stripped-main.html b/lms/templates/stripped-main.html index d092c47ee1..28166dbd97 100644 --- a/lms/templates/stripped-main.html +++ b/lms/templates/stripped-main.html @@ -14,6 +14,8 @@ <%static:css group='style-vendor'/> <%static:css group='style-app'/> + <%static:css group='style-app-extend1'/> + <%static:css group='style-app-extend2'/> <%static:js group='main_vendor'/> <%block name="headextra"/> From 73f2cdf67058a92407ac58b17ddfe3649bf53dae Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 17 Oct 2013 12:53:16 -0400 Subject: [PATCH 3/4] LMS: syncs up IE warning banner UI with new IE detection technique --- lms/static/sass/ie.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lms/static/sass/ie.scss b/lms/static/sass/ie.scss index 9ba7e612c1..8bf57df593 100644 --- a/lms/static/sass/ie.scss +++ b/lms/static/sass/ie.scss @@ -154,10 +154,6 @@ display: none; } - .ie-banner { - display: block !important; - } - div.course-wrapper { display: block !important; @@ -186,4 +182,14 @@ } } + .course-wrapper { + clear: both !important; + } +} + +.lte8 { + + .ie-banner { + display: block !important; + } } From 25b24bef2b61b20bade776edd69e7e7dd9d2e5b0 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 17 Oct 2013 13:07:50 -0400 Subject: [PATCH 4/4] LMS: revises IE banner logic to show for IE9 as well --- lms/static/sass/ie.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/static/sass/ie.scss b/lms/static/sass/ie.scss index 8bf57df593..258707a497 100644 --- a/lms/static/sass/ie.scss +++ b/lms/static/sass/ie.scss @@ -187,7 +187,7 @@ } } -.lte8 { +.lte9 { .ie-banner { display: block !important;