Commit 4cd2114f by Brian Talbot

grading - finalized style/states for grading UI on courseware overview

parent bdebc602
...@@ -66,13 +66,13 @@ input.courseware-unit-search-input { ...@@ -66,13 +66,13 @@ input.courseware-unit-search-input {
min-height: 75px; min-height: 75px;
@include clearfix(); @include clearfix();
.item-details, .section-published-date, .gradable-status { .item-details, .section-published-date {
float: left; display: inline-block;
} }
.item-details { .item-details {
padding: 20px 0 10px 0; padding: 20px 0 10px 0;
width: 800px; @include clearfix();
.section-name { .section-name {
float: left; float: left;
...@@ -110,6 +110,7 @@ input.courseware-unit-search-input { ...@@ -110,6 +110,7 @@ input.courseware-unit-search-input {
} }
.section-published-date { .section-published-date {
float: left;
width: 265px; width: 265px;
margin-right: 10px; margin-right: 10px;
padding: 4px 10px; padding: 4px 10px;
...@@ -139,10 +140,12 @@ input.courseware-unit-search-input { ...@@ -139,10 +140,12 @@ input.courseware-unit-search-input {
padding: 3px 15px 5px; padding: 3px 15px 5px;
} }
} }
}
.gradable-status { .gradable-status {
position: relative; position: absolute;
top: 1px; top: 20px;
right: 70px;
width: 145px; width: 145px;
.status-label { .status-label {
...@@ -150,7 +153,7 @@ input.courseware-unit-search-input { ...@@ -150,7 +153,7 @@ input.courseware-unit-search-input {
top: 0; top: 0;
right: 2px; right: 2px;
display: none; display: none;
width: 100px; width: 105px;
padding: 10px 20px 10px 10px; padding: 10px 20px 10px 10px;
@include border-radius(3px); @include border-radius(3px);
background: $lightGrey; background: $lightGrey;
...@@ -241,7 +244,6 @@ input.courseware-unit-search-input { ...@@ -241,7 +244,6 @@ input.courseware-unit-search-input {
} }
} }
} }
}
.item-actions { .item-actions {
margin-top: 21px; margin-top: 21px;
...@@ -324,20 +326,20 @@ input.courseware-unit-search-input { ...@@ -324,20 +326,20 @@ input.courseware-unit-search-input {
} }
.gradable-status { .gradable-status {
float: left; float: right;
position: relative; position: relative;
top: -4px; top: -4px;
right: 50px;
width: 145px; width: 145px;
.status-label { .status-label {
position: absolute; position: absolute;
top: 0; top: 2px;
right: 2px; right: -5px;
display: none; display: none;
width: 100px; width: 110px;
padding: 10px 20px 10px 10px; padding: 5px 20px 5px 10px;
@include border-radius(3px); @include border-radius(3px);
background: $lightGrey;
color: $lightGrey; color: $lightGrey;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
...@@ -392,6 +394,7 @@ input.courseware-unit-search-input { ...@@ -392,6 +394,7 @@ input.courseware-unit-search-input {
} }
a { a {
color: $blue;
&.is-selected { &.is-selected {
font-weight: bold; font-weight: bold;
......
...@@ -169,6 +169,7 @@ ...@@ -169,6 +169,7 @@
<a href="#" class="edit-button" data-date="${start_date_str}" data-time="${start_time_str}" data-id="${section.location}">Edit</a> <a href="#" class="edit-button" data-date="${start_date_str}" data-time="${start_time_str}" data-id="${section.location}">Edit</a>
%endif %endif
</div> </div>
</div>
<div class="gradable-status"> <div class="gradable-status">
<h4 class="status-label">Not Graded</h4> <h4 class="status-label">Not Graded</h4>
...@@ -186,7 +187,6 @@ ...@@ -186,7 +187,6 @@
<li><a class="gradable-status-notgraded" href="#">Not Graded</a></li> <li><a class="gradable-status-notgraded" href="#">Not Graded</a></li>
</ul> </ul>
</div> </div>
</div>
<div class="item-actions"> <div class="item-actions">
<a href="#" data-tooltip="Delete this section" class="delete-button delete-section-button"><span class="delete-icon"></span></a> <a href="#" data-tooltip="Delete this section" class="delete-button delete-section-button"><span class="delete-icon"></span></a>
......
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