Commit b3e41d19 by marco

styling for static pages updated

parent 0422350e
...@@ -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;
......
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
.row { .row {
position: relative; position: relative;
//testing
.CodeMirror {
padding: 15px;
}
} }
.editor-bar { .editor-bar {
......
.CodeMirror { .CodeMirror {
line-height: 1em; line-height: 1em;
font-family: monospace; font-family: monospace;
padding: 15px;
} }
.CodeMirror-scroll { .CodeMirror-scroll {
......
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