Commit d41f5042 by Brian Talbot

studio - resolving margin-top issue with views that don't have a masthead

parent 1a68d516
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
body.course.subsection { body.course.subsection {
.main-wrapper {
margin-top: ($baseline*2);
}
.unit-settings { .unit-settings {
.window-contents { .window-contents {
padding: 10px 20px; padding: 10px 20px;
...@@ -100,7 +104,7 @@ body.course.subsection { ...@@ -100,7 +104,7 @@ body.course.subsection {
} }
.window-contents { .window-contents {
display: none; display: none;
} }
} }
...@@ -286,7 +290,7 @@ body.course.subsection { ...@@ -286,7 +290,7 @@ body.course.subsection {
background-position: 0 -50px; background-position: 0 -50px;
.hidden { .hidden {
background-position: 0 -5px; background-position: 0 -5px;
} }
} }
} }
...@@ -396,4 +400,4 @@ body.course.subsection { ...@@ -396,4 +400,4 @@ body.course.subsection {
} }
} }
} }
} }
\ No newline at end of file
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
body.course.unit { body.course.unit {
.unit .main-wrapper { .main-wrapper {
@include clearfix(); margin-top: ($baseline*2);
margin: 40px;
} }
//Problem Selector tab menu requirements //Problem Selector tab menu requirements
...@@ -31,7 +30,7 @@ body.course.unit { ...@@ -31,7 +30,7 @@ body.course.unit {
} }
.unit-body { .unit-body {
.unit-name-input { .unit-name-input {
padding: 20px 40px; padding: 20px 40px;
...@@ -44,7 +43,7 @@ body.course.unit { ...@@ -44,7 +43,7 @@ body.course.unit {
font-size: 20px; font-size: 20px;
} }
} }
.breadcrumbs { .breadcrumbs {
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
border-bottom: 1px solid #cbd1db; border-bottom: 1px solid #cbd1db;
...@@ -189,10 +188,10 @@ body.course.unit { ...@@ -189,10 +188,10 @@ body.course.unit {
@include clearfix; @include clearfix;
a { a {
position: relative; position: relative;
border: 1px solid $darkGreen; border: 1px solid $darkGreen;
background: tint($green,20%); background: tint($green,20%);
color: #fff; color: #fff;
&:hover { &:hover {
background: $brightGreen; background: $brightGreen;
...@@ -254,8 +253,8 @@ body.course.unit { ...@@ -254,8 +253,8 @@ body.course.unit {
@include transition (none); @include transition (none);
&:hover { &:hover {
background: tint($green,30%); background: tint($green,30%);
color: #fff; color: #fff;
@include transition(background-color .15s); @include transition(background-color .15s);
} }
} }
...@@ -263,7 +262,7 @@ body.course.unit { ...@@ -263,7 +262,7 @@ body.course.unit {
li { li {
border:none; border:none;
border-bottom: 1px dashed $lightGrey; border-bottom: 1px dashed $lightGrey;
color: #fff; color: #fff;
} }
li:first-child { li:first-child {
...@@ -326,7 +325,7 @@ body.course.unit { ...@@ -326,7 +325,7 @@ body.course.unit {
} }
} }
// specific editor types // specific editor types
.empty { .empty {
a { a {
...@@ -337,20 +336,20 @@ body.course.unit { ...@@ -337,20 +336,20 @@ body.course.unit {
&:hover { &:hover {
background: tint($green,30%); background: tint($green,30%);
color: #fff; color: #fff;
} }
} }
} }
} }
.new-component { .new-component {
text-align: center; text-align: center;
h5 { h5 {
color: $darkGreen; color: $darkGreen;
} }
} }
} }
} }
...@@ -374,7 +373,7 @@ body.course.unit { ...@@ -374,7 +373,7 @@ body.course.unit {
&.editing { &.editing {
border: 1px solid $lightBluishGrey2; border: 1px solid $lightBluishGrey2;
z-index: auto; z-index: auto;
.drag-handle, .drag-handle,
.component-actions { .component-actions {
display: none; display: none;
...@@ -434,7 +433,7 @@ body.course.unit { ...@@ -434,7 +433,7 @@ body.course.unit {
label { label {
display: inline-block; display: inline-block;
margin-right: 10px; margin-right: 10px;
} }
} }
...@@ -528,7 +527,7 @@ body.course.unit { ...@@ -528,7 +527,7 @@ body.course.unit {
} }
.window-contents { .window-contents {
display: none; display: none;
} }
} }
...@@ -678,4 +677,4 @@ body.unit { ...@@ -678,4 +677,4 @@ body.unit {
padding-top: 0; padding-top: 0;
} }
} }
} }
\ No newline at end of file
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