Studio: adds in specific older IE support area into Sass/CSS architecture
This commit is contained in:
21
cms/static/sass/contexts/_ie.scss
Normal file
21
cms/static/sass/contexts/_ie.scss
Normal file
@@ -0,0 +1,21 @@
|
||||
// studio - contexts - ie
|
||||
// ====================
|
||||
|
||||
// CASE: less than or equal to IE9
|
||||
.lte9 {
|
||||
|
||||
}
|
||||
|
||||
// ====================
|
||||
|
||||
// CASE: less than or equal to IE8
|
||||
.lte8 {
|
||||
|
||||
}
|
||||
|
||||
// ====================
|
||||
|
||||
// CASE: less than or equal to IE7
|
||||
.lte7 {
|
||||
|
||||
}
|
||||
@@ -56,6 +56,9 @@
|
||||
@import 'views/checklists';
|
||||
@import 'views/textbooks';
|
||||
|
||||
// base - contexts
|
||||
@import 'contexts/ie'; // ie-specific rules (mostly for known/older bugs)
|
||||
|
||||
// temp - inherited
|
||||
@import 'assets/content-types';
|
||||
|
||||
|
||||
@@ -3,7 +3,10 @@
|
||||
<%namespace name='static' file='static_content.html'/>
|
||||
|
||||
<!doctype html>
|
||||
<html>
|
||||
<!--[if IE 7]><html class="ie7 lte9 lte8 lte7"><![endif]-->
|
||||
<!--[if IE 8]><html class="ie8 lte9 lte8"><![endif]-->
|
||||
<!--[if IE 9]><html class="ie9 lte9"><![endif]-->
|
||||
<!--[if gt IE 9]><!--><html><!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
|
||||
2
common/static/css/vendor/font-awesome.css
vendored
2
common/static/css/vendor/font-awesome.css
vendored
@@ -27,7 +27,7 @@
|
||||
* -------------------------- */
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
src: url('../..fonts/vendor/fontawesome-webfont.eot?v=3.2.1');
|
||||
src: url('../../fonts/vendor/fontawesome-webfont.eot?v=3.2.1');
|
||||
src: url('../../fonts/vendor/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('../../fonts/vendor/fontawesome-webfont.woff?v=3.2.1') format('woff'), url('../../fonts/vendor/fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('../../fonts/vendor/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
||||
Reference in New Issue
Block a user