styling for static pages updated

This commit is contained in:
marco
2013-05-15 13:29:35 -04:00
parent 0422350e8c
commit b3e41d19f6
4 changed files with 17 additions and 28 deletions

View File

@@ -31,38 +31,23 @@ body.course.static-pages {
@include edit-box;
@include box-shadow(none);
display: none;
padding: 20px;
padding: 0;
border-radius: 2px 2px 0 0;
.metadata_edit {
margin-bottom: 20px;
font-size: 13px;
li {
margin-bottom: 10px;
}
label {
display: inline-block;
margin-right: 10px;
}
//Overrides general edit-box mixin
.row {
margin-bottom: 0px;
}
h3 {
margin-bottom: 10px;
font-size: 18px;
font-weight: 700;
}
// This duplicates the styling from Unit page editing
.module-actions {
@include box-shadow(inset 0 1px 1px $shadow);
padding: 0px 0 10px 10px;
background-color: $gray-l6;
h5 {
margin-bottom: 8px;
color: #fff;
font-weight: 700;
}
.save-button {
margin-top: 10px;
.save-button {
margin: 15px 8px 0 0;
}
}
}
}

View File

@@ -457,7 +457,7 @@ body.course.unit {
margin-bottom: 0px;
}
// Module Actions
// Module Actions, also used for Static Pages
.module-actions {
@include box-shadow(inset 0 1px 1px $shadow);
padding: 0px 0 10px 10px;

View File

@@ -4,6 +4,11 @@
.row {
position: relative;
//testing
.CodeMirror {
padding: 15px;
}
}
.editor-bar {

View File

@@ -1,7 +1,6 @@
.CodeMirror {
line-height: 1em;
font-family: monospace;
padding: 15px;
}
.CodeMirror-scroll {