Commit 5239dcc9 by Brian Talbot

gradable sections - adding in assets and markup - wip

parent fbc0dfae
...@@ -47,6 +47,20 @@ ...@@ -47,6 +47,20 @@
} }
} }
@mixin green-button {
@include button;
border: 1px solid #0d7011;
border-radius: 3px;
@include linear-gradient(top, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0));
background-color: $green;
color: #fff;
&:hover {
background-color: #129416;
color: #fff;
}
}
@mixin white-button { @mixin white-button {
@include button; @include button;
border: 1px solid $darkGrey; border: 1px solid $darkGrey;
......
...@@ -68,6 +68,21 @@ input.courseware-unit-search-input { ...@@ -68,6 +68,21 @@ input.courseware-unit-search-input {
} }
} }
.section-gradable-status {
position: absolute;
top: 25px;
right: 330px;
input[type=checkbox] {
position: absolute;
top: -9999px;
left: -9999px;
}
label {
cursor: pointer;
}
}
.datepair .date, .datepair .date,
.datepair .time { .datepair .time {
padding-left: 0; padding-left: 0;
......
...@@ -15,6 +15,7 @@ $error-red: rgb(253, 87, 87); ...@@ -15,6 +15,7 @@ $error-red: rgb(253, 87, 87);
$blue: #5597dd; $blue: #5597dd;
$orange: #edbd3c; $orange: #edbd3c;
$green: #108614;
$lightGrey: #edf1f5; $lightGrey: #edf1f5;
$mediumGrey: #ced2db; $mediumGrey: #ced2db;
$darkGrey: #8891a1; $darkGrey: #8891a1;
......
...@@ -129,6 +129,10 @@ ...@@ -129,6 +129,10 @@
<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 class="section-gradable-status">
<input type="checkbox" id="section-gradable-status-true">
<label for="section-gradable-status-true">Gradable</label>
</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