studio - added in manual policy editor CodeMirror styles and removed unused classes on CodeMirror instance in other settings tabs

This commit is contained in:
Brian Talbot
2013-02-12 13:13:37 -05:00
parent 75ceed7f69
commit e5c0bdf7a1
2 changed files with 21 additions and 11 deletions

View File

@@ -551,15 +551,25 @@
.settings-advanced {
//.CodeMirror {
// border: 1px solid #eee;
// height: auto;
//}
//.CodeMirror-scroll {
// overflow-y: hidden;
// overflow-x: auto;
//}
// specific to code mirror instance in JSON policy editing, need to sync up with other similar code mirror UIs
.CodeMirror {
padding: 6px 8px 8px;
@include box-sizing(border-box);
border: 1px solid $mediumGrey;
border-radius: 2px;
@include linear-gradient($lightGrey, tint($lightGrey, 90%));
background-color: $lightGrey;
@include box-shadow(0 1px 2px rgba(0, 0, 0, .1) inset);
font-family: 'Open Sans', sans-serif;
color: $baseFontColor;
outline: 0;
.CodeMirror-scroll {
height: auto;
min-height: 50px;
max-height: 200px;
}
}
// messages - should be synced up with global messages in the future
.message {

View File

@@ -225,7 +225,7 @@ from contentstore import utils
<label for="course-overview">Course Overview:</label>
<div class="field">
<div class="input">
<textarea class="long tall tinymce text-editor" id="course-overview"></textarea>
<textarea class="long tall text-editor" id="course-overview"></textarea>
<span class="tip tip-stacked">Introductions, prerequisites, FAQs that are used on <a href="${utils.get_lms_link_for_about_page(context_course.location)}">your course summary page</a></span>
</div>
</div>
@@ -311,7 +311,7 @@ from contentstore import utils
<div class="row">
<label for="course-faculty-1-bio">Faculty Bio:</label>
<div class="field">
<textarea class="long tall edit-box tinymce" id="course-faculty-1-bio"></textarea>
<textarea class="long tall edit-box" id="course-faculty-1-bio"></textarea>
<span class="tip tip-stacked">A brief description of your education, experience, and expertise</span>
</div>
</div>
@@ -350,7 +350,7 @@ from contentstore import utils
<label for="course-faculty-2-bio">Faculty Bio:</label>
<div class="field">
<div clas="input">
<textarea class="long tall edit-box tinymce" id="course-faculty-2-bio"></textarea>
<textarea class="long tall edit-box" id="course-faculty-2-bio"></textarea>
<span class="tip tip-stacked">A brief description of your education, experience, and expertise</span>
</div>
</div>