Commit ee72543c by Calen Pennington

Merge pull request #70 from MITx/kf-minor-ui

Kf minor ui
parents 1ce7d98b fb7b13f1
...@@ -16,6 +16,11 @@ ...@@ -16,6 +16,11 @@
div.table-wrapper { div.table-wrapper {
display: table; display: table;
width: flex-grid(12); width: flex-grid(12);
overflow: hidden;
@media screen and (min-width: 1400px) {
@include border-radius(4px);
}
} }
} }
...@@ -83,6 +88,7 @@ h1.top-header { ...@@ -83,6 +88,7 @@ h1.top-header {
padding: lh(); padding: lh();
vertical-align: top; vertical-align: top;
width: flex-grid(9) + flex-gutter(); width: flex-grid(9) + flex-gutter();
overflow: hidden;
@media print { @media print {
@include box-shadow(none); @include box-shadow(none);
...@@ -196,7 +202,8 @@ h1.top-header { ...@@ -196,7 +202,8 @@ h1.top-header {
@extend .clearfix; @extend .clearfix;
background: $cream; background: $cream;
border-bottom: 1px solid darken($cream, 10%); border-bottom: 1px solid darken($cream, 10%);
@include box-shadow(inset 0 1px 0 #fff, inset 1px 0 0 #fff); border-top: 1px solid #fff;
// @include box-shadow(inset 0 1px 0 #fff, inset 1px 0 0 #fff);
font-size: 12px; font-size: 12px;
height:46px; height:46px;
line-height: 46px; line-height: 46px;
......
...@@ -17,9 +17,7 @@ div.course-wrapper { ...@@ -17,9 +17,7 @@ div.course-wrapper {
section.course-content { section.course-content {
@extend .content; @extend .content;
overflow: hidden; @include border-radius(0 4px 4px 0);
@include border-top-right-radius(4px);
@include border-bottom-right-radius(4px);
h1 { h1 {
margin: 0 0 lh(); margin: 0 0 lh();
...@@ -129,11 +127,20 @@ div.course-wrapper { ...@@ -129,11 +127,20 @@ div.course-wrapper {
> span { > span {
display: block; display: block;
margin-bottom: lh(.5); margin-bottom: lh(.5);
&[answer] {
border-top: 1px solid #ededed;
border-bottom: 1px solid #ededed;
background: #f3f3f3;
margin: 0 (-(lh()));
padding: lh(.5) lh();
}
} }
} }
input[type="text"] { input[type="text"] {
display: inline-block; display: inline-block;
width: 50%;
} }
center { center {
...@@ -145,6 +152,11 @@ div.course-wrapper { ...@@ -145,6 +152,11 @@ div.course-wrapper {
section.action { section.action {
margin-top: lh(); margin-top: lh();
input[type="button"] {
padding: lh(.4) lh();
text-shadow: 0 -1px 0 #666;
}
} }
} }
...@@ -181,6 +193,7 @@ div.course-wrapper { ...@@ -181,6 +193,7 @@ div.course-wrapper {
header { header {
@extend h1.top-header; @extend h1.top-header;
@include border-radius(0 4px 0 0);
margin-bottom: -16px; margin-bottom: -16px;
h1 { h1 {
...@@ -193,6 +206,7 @@ div.course-wrapper { ...@@ -193,6 +206,7 @@ div.course-wrapper {
margin-top: 8px; margin-top: 8px;
text-align: right; text-align: right;
padding-right: 0; padding-right: 0;
border-right: 0;
} }
} }
...@@ -302,9 +316,11 @@ div.course-wrapper { ...@@ -302,9 +316,11 @@ div.course-wrapper {
&.closed { &.closed {
section.course-index { section.course-index {
width: flex-grid(.6); width: flex-grid(.6);
overflow: hidden;
header#open_close_accordion { header#open_close_accordion {
padding: 0; padding: 0;
min-height: 47px;
a { a {
background-image: url('../images/slide-right-icon.png'); background-image: url('../images/slide-right-icon.png');
...@@ -313,7 +329,6 @@ div.course-wrapper { ...@@ -313,7 +329,6 @@ div.course-wrapper {
h2 { h2 {
visibility: hidden; visibility: hidden;
width: 10px; width: 10px;
padding: 0;
} }
} }
...@@ -321,6 +336,16 @@ div.course-wrapper { ...@@ -321,6 +336,16 @@ div.course-wrapper {
visibility: hidden; visibility: hidden;
width: 10px; width: 10px;
padding: 0; padding: 0;
nav {
white-space: pre;
overflow: hidden;
ul {
overflow: hidden;
white-space: nowrap;
}
}
} }
} }
......
...@@ -171,7 +171,7 @@ nav.sequence-nav { ...@@ -171,7 +171,7 @@ nav.sequence-nav {
} }
ul { ul {
list-style: none !important; list-style: none;
height: 100%; height: 100%;
position: absolute; position: absolute;
right: 0; right: 0;
...@@ -194,12 +194,10 @@ nav.sequence-nav { ...@@ -194,12 +194,10 @@ nav.sequence-nav {
cursor: pointer; cursor: pointer;
display: block; display: block;
text-indent: -9999px; text-indent: -9999px;
@include transition(all, .2s, $ease-in-out-quad);
&:hover { &:hover {
background-color: none; opacity: .5;
color: darken($cream, 60%);
text-decoration: none;
text-decoration: none;
} }
&.disabled { &.disabled {
...@@ -214,7 +212,7 @@ nav.sequence-nav { ...@@ -214,7 +212,7 @@ nav.sequence-nav {
background-image: url('../images/sequence-nav/previous-icon.png'); background-image: url('../images/sequence-nav/previous-icon.png');
&:hover { &:hover {
background-color: none; background-color: $cream;
} }
} }
} }
...@@ -222,10 +220,9 @@ nav.sequence-nav { ...@@ -222,10 +220,9 @@ nav.sequence-nav {
&.next { &.next {
a { a {
background-image: url('../images/sequence-nav/next-icon.png'); background-image: url('../images/sequence-nav/next-icon.png');
@include border-top-right-radius(4px);
&:hover { &:hover {
background-color: none; background-color: $cream;
} }
} }
} }
...@@ -241,6 +238,13 @@ nav.sequence-nav { ...@@ -241,6 +238,13 @@ nav.sequence-nav {
section.course-content { section.course-content {
position: relative; position: relative;
ol.vert-mod {
nav.sequence-nav {
margin-top: -15px;
@include border-radius(0);
}
}
nav.sequence-bottom { nav.sequence-bottom {
margin: lh(2) 0 0; margin: lh(2) 0 0;
text-align: center; text-align: center;
...@@ -267,11 +271,11 @@ section.course-content { ...@@ -267,11 +271,11 @@ section.course-content {
display: block; display: block;
padding: lh(.5) 4px; padding: lh(.5) 4px;
text-indent: -9999px; text-indent: -9999px;
@include transition(all, .4s, $ease-in-out-quad); @include transition(all, .2s, $ease-in-out-quad);
width: 45px; width: 45px;
&:hover { &:hover {
background-color: darken($cream, 10%); background-color: $cream;
color: darken($cream, 60%); color: darken($cream, 60%);
opacity: .5; opacity: .5;
text-decoration: none; text-decoration: none;
......
...@@ -2,6 +2,14 @@ section.course-index { ...@@ -2,6 +2,14 @@ section.course-index {
@extend .sidebar; @extend .sidebar;
@extend .tran; @extend .tran;
header {
max-height: 47px;
h2 {
white-space: nowrap;
}
}
div#accordion { div#accordion {
h3 { h3 {
......
...@@ -17,7 +17,6 @@ html { ...@@ -17,7 +17,6 @@ html {
@include box-shadow(0 0 4px #dfdfdf); @include box-shadow(0 0 4px #dfdfdf);
@include box-sizing(border-box); @include box-sizing(border-box);
margin-top: 3px; margin-top: 3px;
overflow: hidden;
@media print { @media print {
border-bottom: 0; border-bottom: 0;
...@@ -27,6 +26,7 @@ html { ...@@ -27,6 +26,7 @@ html {
@media screen and (min-width: 1400px) { @media screen and (min-width: 1400px) {
@include border-radius(4px); @include border-radius(4px);
margin-top: lh(.5); margin-top: lh(.5);
overflow: hidden;
} }
} }
......
...@@ -5,12 +5,14 @@ div.wiki-wrapper { ...@@ -5,12 +5,14 @@ div.wiki-wrapper {
section.wiki-body { section.wiki-body {
@extend .clearfix; @extend .clearfix;
@extend .content; @extend .content;
@include border-radius(0 4px 4px 0);
position: relative; position: relative;
header { header {
@extend .topbar; @extend .topbar;
@include box-shadow(inset 0 1px 0 white); @include border-radius(0 4px 0 0);
height:46px; height:46px;
overflow: hidden;
&:empty { &:empty {
border-bottom: 0; border-bottom: 0;
......
<div id="wiki_edit_instructions"> <div id="wiki_edit_instructions">
This wiki uses <strong>Markdown</strong> for styling. There are several <a href="http://daringfireball.net/projects/markdown/basics">useful</a> <a href="http://greg.vario.us/doc/markdown.txt">guides</a> <a href="http://www.lowendtalk.com/discussion/6/miniature-markdown-guide">online</a>. This wiki uses <strong>Markdown</strong> for styling.
<br> <h2> MITx Additions: </h2>
<br>MITx Additions:
<p class="markdown-example">circuit-schematic:</p> <p class="markdown-example">circuit-schematic:</p>
<p class="markdown-example"><span>$</span>LaTeX Math Expression<span>$</span></p> <p class="markdown-example"><span>$</span>LaTeX Math Expression<span>$</span></p>
To create a new wiki article, create a link to it. Clicking the link gives you the creation page. To create a new wiki article, create a link to it. Clicking the link gives you the creation page.
<p class="markdown-example">[Article Name](wiki:ArticleName)</p> <p class="markdown-example">[Article Name](wiki:ArticleName)</p>
Other useful examples:<br>
<h2>Useful examples: </h2>
<p class="markdown-example">[Link](http://google.com)</p> <p class="markdown-example">[Link](http://google.com)</p>
<p class="markdown-example">Huge Header <p class="markdown-example">Huge Header
<br>====</p> <br>====</p>
...@@ -19,4 +19,6 @@ ...@@ -19,4 +19,6 @@
<br>&nbsp&nbsp- Sub Item 2</p> <br>&nbsp&nbsp- Sub Item 2</p>
<p class="markdown-example">1. Ordered <p class="markdown-example">1. Ordered
<br>2. List</p> <br>2. List</p>
<p>Need more help? There are several <a href="http://daringfireball.net/projects/markdown/basics">useful</a> <a href="http://greg.vario.us/doc/markdown.txt">guides</a> <a href="http://www.lowendtalk.com/discussion/6/miniature-markdown-guide">online</a>.</p>
</div> </div>
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