diff --git a/cms/static/sass/_settings.scss b/cms/static/sass/_settings.scss index 5be39e281f..b0b4f7c15f 100644 --- a/cms/static/sass/_settings.scss +++ b/cms/static/sass/_settings.scss @@ -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 { diff --git a/cms/templates/settings.html b/cms/templates/settings.html index 6dfcb1c25c..123cf2324d 100644 --- a/cms/templates/settings.html +++ b/cms/templates/settings.html @@ -225,7 +225,7 @@ from contentstore import utils
- + Introductions, prerequisites, FAQs that are used on your course summary page
@@ -311,7 +311,7 @@ from contentstore import utils
- + A brief description of your education, experience, and expertise
@@ -350,7 +350,7 @@ from contentstore import utils
- + A brief description of your education, experience, and expertise