Commit 779f4377 by Calen Pennington

Merge pull request #420 from MITx/feature/kfiedler/courseware-style

Added styles to grade out the top and bottom of the sidebar border and f...
parents 8fd86050 6c8e1f27
...@@ -4,7 +4,7 @@ nav.sequence-nav { ...@@ -4,7 +4,7 @@ nav.sequence-nav {
@extend .topbar; @extend .topbar;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
@include border-top-right-radius(4px); @include border-top-right-radius(4px);
margin: (-(lh())) (-(lh())) lh() (-(lh())); margin: 0 0 lh() (-(lh()));
position: relative; position: relative;
ol { ol {
......
...@@ -4,7 +4,7 @@ div.video { ...@@ -4,7 +4,7 @@ div.video {
border-bottom: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1;
border-top: 1px solid #e1e1e1; border-top: 1px solid #e1e1e1;
display: block; display: block;
margin: 0 (-(lh())); margin: 0 0 0 (-(lh()));
padding: 6px lh(); padding: 6px lh();
article.video-wrapper { article.video-wrapper {
......
...@@ -69,10 +69,15 @@ div.info-wrapper { ...@@ -69,10 +69,15 @@ div.info-wrapper {
section.handouts { section.handouts {
@extend .sidebar; @extend .sidebar;
border-left: 1px solid $border-color; border-left: 1px solid $border-color;
@include border-radius(0 4px 4px 0);
border-right: 0; border-right: 0;
@include border-radius(0 4px 4px 0);
@include box-shadow(none); @include box-shadow(none);
&:after {
left: -1px;
right: auto;
}
h1 { h1 {
@extend .bottom-border; @extend .bottom-border;
margin-bottom: 0; margin-bottom: 0;
......
...@@ -8,6 +8,11 @@ div.profile-wrapper { ...@@ -8,6 +8,11 @@ div.profile-wrapper {
@include border-radius(0px 4px 4px 0); @include border-radius(0px 4px 4px 0);
border-right: 0; border-right: 0;
&:after {
left: -1px;
right: auto;
}
header { header {
@extend .bottom-border; @extend .bottom-border;
margin: 0; margin: 0;
......
...@@ -31,6 +31,10 @@ img { ...@@ -31,6 +31,10 @@ img {
max-width: 100%; max-width: 100%;
} }
.container {
padding: em(40) 0;
}
::selection, ::-moz-selection, ::-webkit-selection { ::selection, ::-moz-selection, ::-webkit-selection {
background:#444; background:#444;
color:#fff; color:#fff;
......
...@@ -49,6 +49,18 @@ h1.top-header { ...@@ -49,6 +49,18 @@ h1.top-header {
vertical-align: top; vertical-align: top;
width: flex-grid(3); width: flex-grid(3);
&:after {
width: 1px;
height: 100%;
@include position(absolute, 0px -1px 0px 0);
content: "";
@include background-image(linear-gradient(top, #fff, rgba(#fff, 0)), linear-gradient(top, rgba(#fff, 0), #fff));
background-position: top, bottom;
@include background-size(1px 20px);
background-repeat: no-repeat;
display: block;
}
h1, h2 { h1, h2 {
font-size: em(20); font-size: em(20);
font-weight: 100; font-weight: 100;
...@@ -137,7 +149,7 @@ h1.top-header { ...@@ -137,7 +149,7 @@ h1.top-header {
position: absolute; position: absolute;
right: -1px; right: -1px;
text-indent: -9999px; text-indent: -9999px;
top: 6px; top: 12px;
width: 16px; width: 16px;
z-index: 99; z-index: 99;
......
...@@ -6,6 +6,11 @@ div.discussion-wrapper aside { ...@@ -6,6 +6,11 @@ div.discussion-wrapper aside {
border-right: 0; border-right: 0;
width: flex-grid(3); width: flex-grid(3);
&:after {
left: -1px;
right: auto;
}
&.main-sidebar { &.main-sidebar {
min-width:200px; min-width:200px;
} }
......
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