Commit 0843fd50 by Calen Pennington

Include ie fixes in via django-pipeline

parent fdfca828
...@@ -294,9 +294,13 @@ PIPELINE_CSS = { ...@@ -294,9 +294,13 @@ PIPELINE_CSS = {
'source_filenames': ['sass/application.scss'], 'source_filenames': ['sass/application.scss'],
'output_filename': 'css/application.css', 'output_filename': 'css/application.css',
}, },
'ie-fixes': {
'source_filenames': ['sass/ie.scss'],
'output_filename': 'css/ie.css',
},
} }
PIPELINE_ALWAYS_RECOMPILE = ['sass/application.scss'] PIPELINE_ALWAYS_RECOMPILE = ['sass/application.scss', 'sass/ie.scss']
PIPELINE_JS = { PIPELINE_JS = {
'application': { 'application': {
......
@import "bourbon/bourbon";
@import "base/variables";
// These are all quick solutions for IE please rewrite // These are all quick solutions for IE please rewrite
.highlighted-courses .courses .course header.course-preview, .find-courses .courses .course header.course-preview, .highlighted-courses .courses .course header.course-preview, .find-courses .courses .course header.course-preview,
.home .highlighted-courses > h2, .home .highlighted-courses > section.outside-app h1, section.outside-app .home .highlighted-courses > h1, .home .highlighted-courses > h2, .home .highlighted-courses > section.outside-app h1, section.outside-app .home .highlighted-courses > h1,
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
% if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']: % if settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
<%static:css group='application'/> <%static:css group='application'/>
<!--[if lt IE 9]>
<%static:css group='ie-fixes'/>
<![endif]-->
% endif % endif
% if not settings.MITX_FEATURES['USE_DJANGO_PIPELINE']: % if not settings.MITX_FEATURES['USE_DJANGO_PIPELINE']:
......
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