Commit 305b555d by cahrens

Merge branch 'feature/christina/metadata-ui' of github.com:edx/edx-platform into…

Merge branch 'feature/christina/metadata-ui' of github.com:edx/edx-platform into feature/christina/metadata-ui
parents 06d31548 b3e41d19
...@@ -31,38 +31,23 @@ body.course.static-pages { ...@@ -31,38 +31,23 @@ body.course.static-pages {
@include edit-box; @include edit-box;
@include box-shadow(none); @include box-shadow(none);
display: none; display: none;
padding: 20px; padding: 0;
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
.metadata_edit { //Overrides general edit-box mixin
margin-bottom: 20px; .row {
font-size: 13px; margin-bottom: 0px;
li {
margin-bottom: 10px;
}
label {
display: inline-block;
margin-right: 10px;
}
} }
h3 { // This duplicates the styling from Unit page editing
margin-bottom: 10px; .module-actions {
font-size: 18px; @include box-shadow(inset 0 1px 1px $shadow);
font-weight: 700; padding: 0px 0 10px 10px;
} background-color: $gray-l6;
h5 {
margin-bottom: 8px;
color: #fff;
font-weight: 700;
}
.save-button { .save-button {
margin-top: 10px;
margin: 15px 8px 0 0; margin: 15px 8px 0 0;
}
} }
} }
} }
......
...@@ -457,7 +457,7 @@ body.course.unit { ...@@ -457,7 +457,7 @@ body.course.unit {
margin-bottom: 0px; margin-bottom: 0px;
} }
// Module Actions // Module Actions, also used for Static Pages
.module-actions { .module-actions {
@include box-shadow(inset 0 1px 1px $shadow); @include box-shadow(inset 0 1px 1px $shadow);
padding: 0px 0 10px 10px; padding: 0px 0 10px 10px;
...@@ -477,7 +477,7 @@ body.course.unit { ...@@ -477,7 +477,7 @@ body.course.unit {
.component-edit-header { .component-edit-header {
@include box-sizing(border-box); @include box-sizing(border-box);
padding: 15px 0 15px 20px; padding: 18px 0 18px 20px;
top: 0; top: 0;
right: 0; right: 0;
background-color: $blue; background-color: $blue;
...@@ -502,10 +502,11 @@ body.course.unit { ...@@ -502,10 +502,11 @@ body.course.unit {
right: 0; right: 0;
top: 0; top: 0;
position: absolute; position: absolute;
padding: 10px; padding: 15px;
.mode { .mode {
display: inline-block; display: inline-block;
margin-left: 8px;
&.inactive-mode{ &.inactive-mode{
display: none; display: none;
...@@ -518,13 +519,13 @@ body.course.unit { ...@@ -518,13 +519,13 @@ body.course.unit {
&.is-set { &.is-set {
@include linear-gradient($blue, $blue); @include linear-gradient($blue, $blue);
color: $blue-d1; color: $blue-d1;
box-shadow: inset 1px 1px 1px $shadow-d1; box-shadow: inset 0 1px 2px 2px $shadow;
background-color: $blue; background-color: $blue-d4;
cursor: default; cursor: default;
&:hover { &:hover {
box-shadow: inset 1px 1px 1px $shadow-d1; box-shadow: inset 0 1px 2px 2px $shadow;
background-color: $blue; background-color: $blue-d4;
} }
} }
} }
...@@ -676,7 +677,6 @@ body.course.unit { ...@@ -676,7 +677,6 @@ body.course.unit {
select { select {
@include box-shadow(0 1px 2px $shadow-l1 inset); @include box-shadow(0 1px 2px $shadow-l1 inset);
background: none repeat scroll #F2F2F2;
&:focus { &:focus {
@include box-shadow(0 0 1px $shadow); @include box-shadow(0 0 1px $shadow);
...@@ -691,7 +691,6 @@ body.course.unit { ...@@ -691,7 +691,6 @@ body.course.unit {
.action.setting-clear { .action.setting-clear {
@include font-size(11); @include font-size(11);
background-color: $gray-l4;
color: $gray; color: $gray;
width: 25px; width: 25px;
height: 25px; height: 25px;
...@@ -701,7 +700,7 @@ body.course.unit { ...@@ -701,7 +700,7 @@ body.course.unit {
margin: 0 10px; margin: 0 10px;
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
border: 1px solid $gray-l4; border: 1px solid $gray-l1;
&:hover { &:hover {
@include box-shadow(0 1px 1px $shadow); @include box-shadow(0 1px 1px $shadow);
......
...@@ -2,5 +2,4 @@ ...@@ -2,5 +2,4 @@
background: #fff; background: #fff;
font-size: 13px; font-size: 13px;
color: #3c3c3c; color: #3c3c3c;
padding: 15px;
} }
\ No newline at end of file
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
.row { .row {
position: relative; position: relative;
//testing
.CodeMirror {
padding: 15px;
}
} }
.editor-bar { .editor-bar {
......
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