Commit e206bf2f by Calen Pennington

Merge pull request #505 from MITx/feature/tomg/fall-design

Feature/tomg/fall design
parents 3b24ae10 a05cf054
...@@ -73,6 +73,11 @@ nav.sequence-nav { ...@@ -73,6 +73,11 @@ nav.sequence-nav {
padding: 0; padding: 0;
position: relative; position: relative;
@include transition(); @include transition();
outline: 0;
&:focus {
outline: 0;
}
&:hover { &:hover {
background-color: #fff; background-color: #fff;
...@@ -211,7 +216,7 @@ nav.sequence-nav { ...@@ -211,7 +216,7 @@ nav.sequence-nav {
ul { ul {
position: absolute; position: absolute;
top: 0; top: 0;
list-style: none; list-style: none !important;
height: 100%; height: 100%;
right: 0; right: 0;
top: 0; top: 0;
...@@ -238,6 +243,11 @@ nav.sequence-nav { ...@@ -238,6 +243,11 @@ nav.sequence-nav {
width: 40px; width: 40px;
text-indent: -9999px; text-indent: -9999px;
@include transition(all, .2s, $ease-in-out-quad); @include transition(all, .2s, $ease-in-out-quad);
outline: 0;
&:focus {
outline: 0;
}
&:hover { &:hover {
opacity: .5; opacity: .5;
......
...@@ -101,6 +101,11 @@ div.video { ...@@ -101,6 +101,11 @@ div.video {
@include transition(background-color, opacity); @include transition(background-color, opacity);
width: 14px; width: 14px;
background: url('../images/vcr.png') 15px 15px no-repeat; background: url('../images/vcr.png') 15px 15px no-repeat;
outline: 0;
&:focus {
outline: 0;
}
&:empty { &:empty {
height: 46px; height: 46px;
...@@ -171,6 +176,11 @@ div.video { ...@@ -171,6 +176,11 @@ div.video {
@include transition(); @include transition();
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
width: 116px; width: 116px;
outline: 0;
&:focus {
outline: 0;
}
h3 { h3 {
color: #999; color: #999;
......
body { body {
min-width: 980px; min-width: 980px;
min-height: 100%; min-height: 100%;
background: url(../images/bg-texture.png) #ddd; background: url(../images/bg-texture.png) #d6d6d6;
} }
body, h1, h2, h3, h4, h5, h6, p, p a:link, p a:visited, a, label { body, h1, h2, h3, h4, h5, h6, p, p a:link, p a:visited, a, label {
......
...@@ -32,15 +32,20 @@ nav.course-material { ...@@ -32,15 +32,20 @@ nav.course-material {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
text-decoration: none; text-decoration: none;
// text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
&:hover { &:hover {
color: #333; color: #333;
background: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .6);
} }
&.active { &.active {
color: $blue; // background: rgba(0, 0, 0, .2);
background: rgba(255, 255, 255, .8); @include linear-gradient(top, rgba(0, 0, 0, .4), rgba(0, 0, 0, .25));
background-color: transparent;
@include box-shadow(0 1px 0 rgba(255, 255, 255, .5), 0 1px 1px rgba(0, 0, 0, .3) inset);
color: #fff;
text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
} }
} }
} }
......
...@@ -38,22 +38,26 @@ section.wiki { ...@@ -38,22 +38,26 @@ section.wiki {
float: left; float: left;
margin-right: 10px; margin-right: 10px;
font-size: 0.9em; font-size: 0.9em;
line-height: 31px;
a { a {
display: inline-block; float: left;
max-width: 200px; display: block;
overflow: hidden; overflow: hidden;
height: 30px; height: 30px;
line-height: 31px;
max-width: 200px;
height: 100%;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
&:after { &:after {
content: '›'; content: '›';
display: inline-block; display: inline;
margin-left: 10px; margin-left: 10px;
color: $base-font-color; color: $base-font-color;
height: 30px;
line-height: 31px;
} }
} }
} }
......
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