Commit 12a4bafd by Brian Talbot

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

parent ea91f657
...@@ -71,13 +71,13 @@ input.courseware-unit-search-input { ...@@ -71,13 +71,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;
...@@ -115,6 +115,7 @@ input.courseware-unit-search-input { ...@@ -115,6 +115,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;
...@@ -144,10 +145,12 @@ input.courseware-unit-search-input { ...@@ -144,10 +145,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 {
...@@ -155,7 +158,7 @@ input.courseware-unit-search-input { ...@@ -155,7 +158,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;
...@@ -246,7 +249,6 @@ input.courseware-unit-search-input { ...@@ -246,7 +249,6 @@ input.courseware-unit-search-input {
} }
} }
} }
}
.item-actions { .item-actions {
margin-top: 21px; margin-top: 21px;
...@@ -303,20 +305,20 @@ input.courseware-unit-search-input { ...@@ -303,20 +305,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;
...@@ -371,6 +373,7 @@ input.courseware-unit-search-input { ...@@ -371,6 +373,7 @@ input.courseware-unit-search-input {
} }
a { a {
color: $blue;
&.is-selected { &.is-selected {
font-weight: bold; font-weight: bold;
......
...@@ -146,6 +146,7 @@ ...@@ -146,6 +146,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>
...@@ -163,7 +164,6 @@ ...@@ -163,7 +164,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="#" class="delete-button delete-section-button"><span class="delete-icon"></span></a> <a href="#" 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