Commit 0e8c2998 by marco

style cleanup for open ended assessments, cleaning up workflow header, style…

style cleanup for open ended assessments, cleaning up workflow header, style definitions for rubrics are commented out momentarily, and an open issue for unicode rendering on the show and hide prompt area still remains
parent 77e57448
...@@ -39,56 +39,74 @@ section.combined-open-ended { ...@@ -39,56 +39,74 @@ section.combined-open-ended {
} }
div.problemwrapper { div.problemwrapper {
padding: $baseline/4; border: 1px solid lightgray;
border: 1px solid; border-radius: $baseline/2;
border-color: lightgray;
border-radius: 10px;
.status-bar { .status-bar {
display: inline-block; background-color: #eee;
float: right; border-radius: $baseline/2 $baseline/2 0 0;
padding: 5px; border-bottom: 1px solid lightgray;
.problemtype{
display: inline;
float: left;
padding: $baseline/2;
border-radius: 5px;
background-color: #d4d4d4;
}
.statustable { .statustable {
width: 750px; width: 100%;
padding: $baseline;
} }
.status-container { .status-container {
display: inline-block; display: table-cell;
padding-bottom: $baseline/4; text-align: center;
.status-elements {
border-radius: $baseline/4;
border: 1px solid lightgray;
}
} }
.problemtype-container { .problemtype-container {
width: 40%; padding: $baseline/2;
padding-top: 12px; width: 60%;
}
.problemtype{
padding: $baseline/2;
} }
.assessments-container { .assessments-container {
width: 30%; padding: $baseline/2 $baseline $baseline/2 $baseline/2;
float: right;
.assessment-text { .assessment-text {
display: inline-block; display: inline-block;
display: table-cell;
padding-right: $baseline/2;
} }
} }
} }
.item-container { .item-container {
@clearfix padding-bottom: $baseline/2;
padding-bottom: 10px; margin: 15px;
display: inline-block;
margin: 0px 15px 0px 15px;
h4 { .visibility-control-prompt {
display: block;
height: 40px;
width: 100%;
.inner {
float: left;
height: 5px;
margin-top: 17px;
border-top: 1px dotted #ddd;
width: 85%;
}
}
a {
display: block;
text-align: center;
width: 15%;
float: right;
padding-top: $baseline/2; padding-top: $baseline/2;
border-top: 1px solid; font-size: .9em;
border-color: lightgray;
} }
} }
...@@ -101,33 +119,36 @@ div.problemwrapper { ...@@ -101,33 +119,36 @@ div.problemwrapper {
section.legend-container { section.legend-container {
margin: 15px; margin: 15px;
border-radius: $baseline/4;
.legenditem { .legenditem {
display: inline; display: inline;
padding: 2px; padding: $baseline/2;
width: 20%; width: 20%;
background-color : #d4d4d4; background-color : #eee;
font-size: .9em; font-size: .9em;
} }
} }
section.combined-open-ended-status { section.combined-open-ended-status {
padding: $baseline $baseline $baseline 0; vertical-align: center;
.statusitem { .statusitem {
display: inline; display: table-cell;
padding: $baseline/2; padding: $baseline/2;
width: 20%; width: 30px;
background-color : #d4d4d4; background-color: #eee;
color: #2c2c2c; color: #2c2c2c;
font-size: .9em; font-size: .9em;
border-right: 1px solid lightgray;
&:first-child { &:first-child {
border-bottom-left-radius: 10px; border-radius: $baseline/4 0 0 $baseline/4;
} }
&:last-child { &:last-child {
border-top-right-radius: 10px; border-radius: 0 $baseline/4 $baseline/4 0;
border-right: 0px;
} }
.show-results { .show-results {
...@@ -141,7 +162,8 @@ section.combined-open-ended-status { ...@@ -141,7 +162,8 @@ section.combined-open-ended-status {
} }
.statusitem-current { .statusitem-current {
background-color: #B2B2B2; background-color: #fff;
box-shadow: inset 0 1px 1px gray;
color: #222; color: #222;
} }
...@@ -187,15 +209,29 @@ div.combined-rubric-container { ...@@ -187,15 +209,29 @@ div.combined-rubric-container {
padding-top: 10px; padding-top: 10px;
ul.rubric-list { ul.rubric-list {
margin: 4px; margin: 0 $baseline $baseline/2 $baseline;
padding: 0; padding: 0;
list-style-type: none; list-style-type: none;
li { li {
&.rubric-list-item { &.rubric-list-item {
margin-bottom: 2px; margin-bottom: 2px;
padding: 0px; padding: 0px;
} }
} }
.score-selection {
//display: inline-block;
//padding-right: $baseline/2;
//width: 5%;
//vertical-align: center;
}
.wrappable {
//display: inline-block;
//width: 94%;
}
} }
h4 { h4 {
padding-top: 10px; padding-top: 10px;
...@@ -204,8 +240,11 @@ div.combined-rubric-container { ...@@ -204,8 +240,11 @@ div.combined-rubric-container {
} }
span.rubric-category { span.rubric-category {
font-size: .9em; display: block;
width: 100%;
border-bottom: 1px solid lightgray;
font-weight: bold; font-weight: bold;
font-size: .9em;
} }
} }
...@@ -511,6 +550,7 @@ section.open-ended-child { ...@@ -511,6 +550,7 @@ section.open-ended-child {
@include clearfix; @include clearfix;
overflow-y: auto; overflow-y: auto;
margin-bottom: 0; margin-bottom: 0;
padding: $baseline/2;
height: 200px; height: 200px;
border: 1px solid #ddd; border: 1px solid #ddd;
background: #f6f6f6; background: #f6f6f6;
...@@ -521,8 +561,8 @@ section.open-ended-child { ...@@ -521,8 +561,8 @@ section.open-ended-child {
margin-bottom: $baseline; margin-bottom: $baseline;
padding: 9px; padding: 9px;
border: 1px solid #ddd; border: 1px solid #ddd;
border-top: 0px; border-top: 0;
background: #F6F6F6; background: #f6f6f6;
span { span {
display: block; display: block;
...@@ -742,8 +782,6 @@ section.open-ended-child { ...@@ -742,8 +782,6 @@ section.open-ended-child {
} }
h4 { h4 {
padding-top: $baseline/2; padding: $baseline/2 0;
border-color: lightgray;
border-top: 1px solid;
} }
} }
...@@ -572,24 +572,24 @@ class @CombinedOpenEnded ...@@ -572,24 +572,24 @@ class @CombinedOpenEnded
@prompt_container.slideToggle() @prompt_container.slideToggle()
@prompt_container.toggleClass('open') @prompt_container.toggleClass('open')
if @question_header.text() == "(Hide)" if @question_header.text() == "(Hide)"
new_text = "(Show)" new_text = "↧ Show Prompt"
Logger.log 'oe_hide_question', {location: @location} Logger.log 'oe_hide_question', {location: @location}
else else
Logger.log 'oe_show_question', {location: @location} Logger.log 'oe_show_question', {location: @location}
new_text = "(Hide)" new_text = "↥ Hide Prompt"
@question_header.text(new_text) @question_header.text(new_text)
prompt_show: () => prompt_show: () =>
if @prompt_container.is(":hidden")==true if @prompt_container.is(":hidden")==true
@prompt_container.slideToggle() @prompt_container.slideToggle()
@prompt_container.toggleClass('open') @prompt_container.toggleClass('open')
@question_header.text("(Hide)") @question_header.text("↥ Hide Prompt")
prompt_hide: () => prompt_hide: () =>
if @prompt_container.is(":visible")==true if @prompt_container.is(":visible")==true
@prompt_container.slideToggle() @prompt_container.slideToggle()
@prompt_container.toggleClass('open') @prompt_container.toggleClass('open')
@question_header.text("(Show)") @question_header.text("↧ Show Prompt")
log_feedback_click: (event) -> log_feedback_click: (event) ->
link_text = @$(event.target).html() link_text = @$(event.target).html()
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<tr> <tr>
<td class="problemtype-container"> <td class="problemtype-container">
<div class="problemtype"> <div class="problemtype">
Open Response Assessment Open Response
</div> </div>
</td> </td>
<td class="assessments-container"> <td class="assessments-container">
...@@ -27,7 +27,11 @@ ...@@ -27,7 +27,11 @@
</div> </div>
<div class="item-container"> <div class="item-container">
<h4>Prompt <a href="#" class="question-header">(Hide)</a> </h4> <div class="visibility-control visibility-control-prompt">
<div class="inner">
</div>
<a href="" class="question-header">&#x21a5; Hide Prompt</a>
</div>
<div class="problem-container"> <div class="problem-container">
% for item in items: % for item in items:
<div class="item">${item['content'] | n}</div> <div class="item">${item['content'] | n}</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment