From 0536ea0abfe8f947bbc1e34a20ac1d281237feae Mon Sep 17 00:00:00 2001 From: Amir Qayyum khan Date: Mon, 16 Mar 2015 13:21:11 +0500 Subject: [PATCH] Design changes in sga settings page, added a settings tab and style in css file, added some classes --- edx_sga/static/css/edx_sga.css | 63 +++++++++++++++++++ .../staff_graded_assignment/edit.html | 4 ++ 2 files changed, 67 insertions(+) diff --git a/edx_sga/static/css/edx_sga.css b/edx_sga/static/css/edx_sga.css index de645591..ca290f2b 100644 --- a/edx_sga/static/css/edx_sga.css +++ b/edx_sga/static/css/edx_sga.css @@ -60,3 +60,66 @@ .sga-block .error { color: red; } + +.modal-type-edx_sga .wrapper-comp-settings .list-input.settings-list .field.comp-setting-entry { + padding: 10px; +} + +.modal-type-edx_sga .comp-setting-entry { + padding: 10px; + margin-right: 10px; + overflow: auto; + margin: 0; + font-size: 11px; + float: right; + width: 100%; + height: auto; + resize: none; + box-sizing: border-box; + border-bottom: 1px #e5e5e5; + box-shadow: inset 0 1px 2px 0 rgba(0,0,0,0.1); + font-family:'Open Sans', sans-serif; + color: #4c4c4c; + outline: 0; +} + +.modal-type-edx_sga .setting-label{ + font-weight: bold; + margin-left: 5px; +} + +.modal-type-edx_sga .setting-input{ + margin-left: 15px; + width: 30%; +} + +.modal-type-edx_sga .setting-help{ + margin-top: 10px; + margin-left: 5px; +} + +.modal-type-edx_sga ul.editor-modes.action-list.action-modes { + top: 4px; + position: relative; +} + +.modal-type-edx_sga ul.editor-modes.action-list.action-modes li { + background-color: #646464; + display: block; + padding: 5px 10px; + border-radius: 4px; + color: #FFF; + text-transform: uppercase; + font-size: 15px; + text-shadow: 0px 0px 2px #333; + width: 90px; + text-align: center; + margin-left: auto; + height: auto; +} + +.modal-type-edx_sga ul.editor-modes.action-list.action-modes li a:hover { + background: #777; + color: #FFF; +} + diff --git a/edx_sga/templates/staff_graded_assignment/edit.html b/edx_sga/templates/staff_graded_assignment/edit.html index 57dfc9be..4ef3d34a 100644 --- a/edx_sga/templates/staff_graded_assignment/edit.html +++ b/edx_sga/templates/staff_graded_assignment/edit.html @@ -16,3 +16,7 @@ {% endfor %} + +