Merge pull request #689 from MITx/bug/kfiedler/more-ie
One more IE fix and added comments so there is some explination of what ...
This commit is contained in:
@@ -2,12 +2,14 @@
|
|||||||
@import "base/variables";
|
@import "base/variables";
|
||||||
|
|
||||||
// These are all quick solutions for IE please rewrite
|
// These are all quick solutions for IE please rewrite
|
||||||
|
//Make overlay white because ie doesn't like rgba
|
||||||
.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,
|
||||||
header.global {
|
header.global {
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// hide all actions
|
||||||
.home > header .title .actions,
|
.home > header .title .actions,
|
||||||
.home > header .title:hover .actions {
|
.home > header .title:hover .actions {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -34,10 +36,12 @@ header.global {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// because ie doesn't like :last
|
||||||
.last {
|
.last {
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// make partners not animate
|
||||||
.home .university-partners .partners a {
|
.home .university-partners .partners a {
|
||||||
.name {
|
.name {
|
||||||
position: static;
|
position: static;
|
||||||
@@ -61,7 +65,6 @@ header.global {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.home .university-partners .partners {
|
.home .university-partners .partners {
|
||||||
width: 660px;
|
width: 660px;
|
||||||
|
|
||||||
@@ -74,6 +77,7 @@ header.global {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// make animations on homepage not animate and show everything
|
||||||
.highlighted-courses .courses .course, .find-courses .courses .course {
|
.highlighted-courses .courses .course, .find-courses .courses .course {
|
||||||
.meta-info {
|
.meta-info {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -126,17 +130,24 @@ header.global {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// make overlay flat black since IE cant handle rgba
|
||||||
#lean_overlay {
|
#lean_overlay {
|
||||||
background: #000;
|
background: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// active navigation
|
||||||
nav.course-material ol.course-tabs li a.active, nav.course-material .xmodule_SequenceModule nav.sequence-nav ol.course-tabs li a.seq_video.active, .xmodule_SequenceModule nav.sequence-nav nav.course-material ol.course-tabs li a.seq_video.active {
|
nav.course-material ol.course-tabs li a.active, nav.course-material .xmodule_SequenceModule nav.sequence-nav ol.course-tabs li a.seq_video.active, .xmodule_SequenceModule nav.sequence-nav nav.course-material ol.course-tabs li a.seq_video.active {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
background-color: rgba(0, 0, 0, .4);
|
background-color: rgba(0, 0, 0, .4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// make dropdown user consistent size
|
||||||
header.global ol.user > li.primary a.dropdown {
|
header.global ol.user > li.primary a.dropdown {
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// always hide arrow in IE
|
||||||
|
.dashboard .my-courses .my-course .cover .arrow {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user