diff --git a/lms/static/sass/course/wiki/_wiki.scss b/lms/static/sass/course/wiki/_wiki.scss index a5cc307152..4173165f1f 100644 --- a/lms/static/sass/course/wiki/_wiki.scss +++ b/lms/static/sass/course/wiki/_wiki.scss @@ -1,7 +1,7 @@ section.wiki { padding-top: 25px; - header { + > header { height: 33px; margin-bottom: 36px; padding-bottom: 26px; @@ -406,6 +406,7 @@ section.wiki { letter-spacing: 0 !important; &:hover { + color: $base-font-color; text-decoration: none; } @@ -436,6 +437,44 @@ section.wiki { margin-left: -480px; top: 150px; + &.upload-modal, + &.search-file-modal { + width: 400px; + min-height: 0; + margin-left: -200px; + + h4 { + margin-bottom: 20px; + font-weight: bold; + } + + .help-block { + font-size: 0.8em; + } + } + + &.search-file-modal { + width: 500px; + margin-left: -250px; + + p { + font-size: 0.8em; + line-height: 1.4em; + } + + .form-search { + margin: 30px 0 15px; + + input { + width: 350px; + } + + button { + height: 35px; + } + } + } + .modal-header { h1, p { color: #fff; @@ -472,10 +511,17 @@ section.wiki { } } + .modal-inner-wrapper { + background: #fff; + padding: 20px; + } + #previewWindow body { background: #f00 !important; } + + @@ -542,6 +588,41 @@ section.wiki { + /*----------------- + + Settings + + -----------------*/ + + #settings_form { + .well { + margin-bottom: 15px; + @include clearfix; + } + + .control-group { + float: left; + margin-bottom: 0; + clear: both; + } + + label { + margin-left: 15px; + } + + .controls { + padding-top: 4px; + } + + label, + .controls { + float: right; + } + } + + + + /*----------------- New @@ -568,6 +649,71 @@ section.wiki { + /*----------------- + + Attachments + + -----------------*/ + + .attachment-options { + height: 40px; + margin: 40px 0 30px; + } + + .attachment-list { + ul { + list-style: none; + padding: 0; + } + + li { + margin-bottom: 15px; + border: 1px solid #DDD; + background: #F9F9F9; + @include border-radius(5px); + } + + header, + .attachment-details { + padding: 12px 15px; + } + + .attachment-details { + background: #eee; + @include border-radius(0 0 5px 5px); + } + + h3 { + a { + font-weight: bold; + font-size: 0.9em; + } + + .badge { + float: right; + font-size: 0.6em; + line-height: 20px; + color: #aaa; + } + } + + .attachment-description { + font-size: 0.8em; + } + + table { + width: 100%; + font-size: 0.8em; + } + + .attachment-actions .btn { + float: right; + } + } + + + + /*----------------- diff --git a/lms/templates/wiki/includes/form.html b/lms/templates/wiki/includes/form.html index c274a4d46f..2ab845a689 100644 --- a/lms/templates/wiki/includes/form.html +++ b/lms/templates/wiki/includes/form.html @@ -13,6 +13,7 @@ {% if field.is_hidden %} {{ field }} {% else %} +
{% if field.label %}