diff --git a/cms/static/sass/_cms_mixins.scss b/cms/static/sass/_cms_mixins.scss index 0360fe5d37..2f0309a451 100644 --- a/cms/static/sass/_cms_mixins.scss +++ b/cms/static/sass/_cms_mixins.scss @@ -157,7 +157,8 @@ } .draft-item, - .hidden-item { + .hidden-item, + .private-item { color: #a4aab7; } diff --git a/cms/static/sass/_dashboard.scss b/cms/static/sass/_dashboard.scss index 395c9f6a2c..2abf769923 100644 --- a/cms/static/sass/_dashboard.scss +++ b/cms/static/sass/_dashboard.scss @@ -24,7 +24,7 @@ .class-name { display: block; - font-size: 22px; + font-size: 19px; font-weight: 300; } diff --git a/cms/static/sass/_graphics.scss b/cms/static/sass/_graphics.scss index 1ee1313073..4a4af6b018 100644 --- a/cms/static/sass/_graphics.scss +++ b/cms/static/sass/_graphics.scss @@ -111,6 +111,7 @@ .draft-tag, .hidden-tag, +.private-tag, .has-new-draft-tag { margin-left: 3px; font-size: 9px; diff --git a/cms/static/sass/_unit.scss b/cms/static/sass/_unit.scss index e563d93a4e..0cc855a56f 100644 --- a/cms/static/sass/_unit.scss +++ b/cms/static/sass/_unit.scss @@ -226,9 +226,20 @@ padding: 20px; border-radius: 0 0 3px 3px; background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .1)) $blue; + color: #fff; - .module-editor { - background: white; + .metadata_edit { + margin-bottom: 20px; + font-size: 13px; + } + + .CodeMirror { + border: 1px solid #3c3c3c; + } + + h3 { + font-size: 18px; + font-weight: 700; } h5 { @@ -238,7 +249,8 @@ } .save-button { - margin-right: 8px; + margin-top: 10px; + margin: 15px 8px 0 0; } } } @@ -266,19 +278,8 @@ } } - .visibility-options .option { - margin-right: 10px; - padding: 3px 13px 6px; - border-radius: 3px; - background: #edf1f5; - - &.checked { - background: #d1dae3; - } - - input[type="radio"] { + input[type="radio"] { margin-right: 7px; - } } .status { diff --git a/cms/templates/overview.html b/cms/templates/overview.html index 89d8c3d387..a24dc6b8ab 100644 --- a/cms/templates/overview.html +++ b/cms/templates/overview.html @@ -49,12 +49,11 @@ % for unit in subsection.get_children():
  • - - ${unit.display_name} – hidden + + ${unit.display_name} – private
    - - +
    diff --git a/common/lib/xmodule/xmodule/css/codemirror/codemirror.scss b/common/lib/xmodule/xmodule/css/codemirror/codemirror.scss new file mode 100644 index 0000000000..0dc07919ae --- /dev/null +++ b/common/lib/xmodule/xmodule/css/codemirror/codemirror.scss @@ -0,0 +1,5 @@ +.CodeMirror { + background: #fff; + font-size: 13px; + color: #3c3c3c; +} \ No newline at end of file diff --git a/common/lib/xmodule/xmodule/editing_module.py b/common/lib/xmodule/xmodule/editing_module.py index 5799689b0e..e025179b63 100644 --- a/common/lib/xmodule/xmodule/editing_module.py +++ b/common/lib/xmodule/xmodule/editing_module.py @@ -30,6 +30,8 @@ class XMLEditingDescriptor(EditingDescriptor): any validation of its definition """ + css = {'scss': [resource_string(__name__, 'css/codemirror/codemirror.scss')]} + js = {'coffee': [resource_string(__name__, 'js/src/raw/edit/xml.coffee')]} js_module_name = "XMLEditingDescriptor" @@ -40,5 +42,7 @@ class JSONEditingDescriptor(EditingDescriptor): any validation of its definition """ + css = {'scss': [resource_string(__name__, 'css/codemirror/codemirror.scss')]} + js = {'coffee': [resource_string(__name__, 'js/src/raw/edit/json.coffee')]} js_module_name = "JSONEditingDescriptor"