From b4321931a08a1199081aaa1aac0525f6383bea9b Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Wed, 12 Dec 2012 16:59:38 -0500 Subject: [PATCH 1/3] pearson ie7 bugs fixed (ish) --- lms/static/sass/bourbon/css3/_box-sizing.scss | 1 + lms/static/sass/ie.scss | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/lms/static/sass/bourbon/css3/_box-sizing.scss b/lms/static/sass/bourbon/css3/_box-sizing.scss index 3f3f7cca9a..42aaaf6fc7 100644 --- a/lms/static/sass/bourbon/css3/_box-sizing.scss +++ b/lms/static/sass/bourbon/css3/_box-sizing.scss @@ -3,4 +3,5 @@ -webkit-box-sizing: $box; -moz-box-sizing: $box; box-sizing: $box; + box-sizing: $box; *behavior: url(/static/scripts/boxsizing.htc); } diff --git a/lms/static/sass/ie.scss b/lms/static/sass/ie.scss index a873a1fd02..d661315fb1 100644 --- a/lms/static/sass/ie.scss +++ b/lms/static/sass/ie.scss @@ -154,4 +154,36 @@ header.global ol.user > li.primary a.dropdown { .ie-banner { display: block !important; +} + +div.course-wrapper { + display: block !important; + + section.course-content, + section.course-index { + display: block !important; + float: left; + } + + section.course-index { + // width: 250px; + } + + section.course-content { + width: 71.27%; + } +} + +.sidebar { + float: left !important; + display: block !important; +} + +.sequence-nav ol { + display: block !important; + + li { + float: left !important; + width: 50px; + } } \ No newline at end of file From d1520792b8e5056faa8c81560d83f0f85a528a1c Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Wed, 12 Dec 2012 17:00:54 -0500 Subject: [PATCH 2/3] removed extra width --- lms/static/sass/ie.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lms/static/sass/ie.scss b/lms/static/sass/ie.scss index d661315fb1..11072570ec 100644 --- a/lms/static/sass/ie.scss +++ b/lms/static/sass/ie.scss @@ -165,10 +165,6 @@ div.course-wrapper { float: left; } - section.course-index { - // width: 250px; - } - section.course-content { width: 71.27%; } From bf9f9c1c48627ddce7fc836f1b1968fd63794043 Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Wed, 12 Dec 2012 17:03:12 -0500 Subject: [PATCH 3/3] added boxsizing polyfill --- lms/static/scripts/boxsizing.htc | 501 +++++++++++++++++++++++++++++++ 1 file changed, 501 insertions(+) create mode 100644 lms/static/scripts/boxsizing.htc diff --git a/lms/static/scripts/boxsizing.htc b/lms/static/scripts/boxsizing.htc new file mode 100644 index 0000000000..43bd86fae1 --- /dev/null +++ b/lms/static/scripts/boxsizing.htc @@ -0,0 +1,501 @@ +/** +* box-sizing Polyfill +* +* A polyfill for box-sizing: border-box for IE6 & IE7. +* +* JScript +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License for more details. +* +* See +* +* @category JScript +* @package box-sizing-polyfill +* @author Christian Schepp Schaefer +* @copyright 2012 Christian Schepp Schaefer +* @license http://www.gnu.org/copyleft/lesser.html The GNU LESSER GENERAL PUBLIC LICENSE, Version 3.0 +* @link http://github.com/Schepp/box-sizing-polyfill +* +* PREFACE: +* +* This box-sizing polyfill is based on previous work done by Erik Arvidsson, +* which he published in 2002 on http://webfx.eae.net/dhtml/boxsizing/boxsizing.html. +* +* USAGE: +* +* Add the behavior/HTC after every `box-sizing: border-box;` that you assign: +* +* box-sizing: border-box; +* *behavior: url(/scripts/boxsizing.htc);` +* +* Prefix the `behavior` property with a star, like seen above, so it will only be seen by +* IE6 & IE7, not by IE8+ who already implement box-sizing. +* +* The URL to the HTC file must be relative to your HTML(!) document, not relative to your CSS. +* That's why I'd advise you to use absolute paths like in the example. +* +*/ + + + + + + \ No newline at end of file