Commit 4097bc10 by Brian Talbot

settings - revised grading slider UI cosmetics

parent ef95e1d9
...@@ -588,6 +588,14 @@ ...@@ -588,6 +588,14 @@
top: 1px; top: 1px;
margin-right: 5px; margin-right: 5px;
} }
.well {
padding: 20px;
background: $lightGrey;
border: 1px solid $mediumGrey;
@include border-radius(4px);
@include box-shadow(0 1px 1px rgba(0,0,0,0.05) inset)
}
} }
...@@ -601,6 +609,7 @@ ...@@ -601,6 +609,7 @@
.grade-controls { .grade-controls {
@include clearfix; @include clearfix;
width: 642px;
} }
.new-grade-button { .new-grade-button {
...@@ -609,7 +618,7 @@ ...@@ -609,7 +618,7 @@
display: block; display: block;
width: 29px; width: 29px;
height: 29px; height: 29px;
margin: 4px 10px 0 0; margin: 10px 20px 0 0;
border-radius: 20px; border-radius: 20px;
border: 1px solid $darkGrey; border: 1px solid $darkGrey;
@include linear-gradient(top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); @include linear-gradient(top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
...@@ -627,9 +636,9 @@ ...@@ -627,9 +636,9 @@
} }
.grade-slider { .grade-slider {
float: right; float: left;
width: 95%; width: 580px;
height: 80px; margin-bottom: 10px;
.grade-bar { .grade-bar {
position: relative; position: relative;
...@@ -702,6 +711,7 @@ ...@@ -702,6 +711,7 @@
top: 0; top: 0;
height: 50px; height: 50px;
text-align: right; text-align: right;
@include border-radius(2px);
&:hover, &:hover,
&.is-dragging { &.is-dragging {
......
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
<div class="row"> <div class="row">
<div class="grade-controls course-grading-range"> <div class="grade-controls course-grading-range well">
<a href="#" class="new-grade-button"><span class="plus-icon"></span></a> <a href="#" class="new-grade-button"><span class="plus-icon"></span></a>
<div class="grade-slider"> <div class="grade-slider">
<div class="grade-bar"> <div class="grade-bar">
...@@ -419,24 +419,24 @@ ...@@ -419,24 +419,24 @@
<ol class="grades"> <ol class="grades">
<li class="bar-a" style="width: 100%;"> <li class="bar-a" style="width: 100%;">
<span class="letter-grade" contenteditable>A</span> <span class="letter-grade" contenteditable>A</span>
<span class="range">81-100</span> <span class="range">90-100</span>
<a href="#" class="remove-button">remove</a> <a href="#" class="remove-button">remove</a>
</li> </li>
<li class="bar-b" style="width: 80%;"> <li class="bar-b" style="width: 80%;">
<span class="letter-grade" contenteditable>B</span> <span class="letter-grade" contenteditable>B</span>
<span class="range">71-80</span> <span class="range">80-89</span>
<a href="#" class="drag-bar"></a> <a href="#" class="drag-bar"></a>
<a href="#" class="remove-button">remove</a> <a href="#" class="remove-button">remove</a>
</li> </li>
<li class="bar-c" style="width: 70%;"> <li class="bar-c" style="width: 70%;">
<span class="letter-grade" contenteditable>C</span> <span class="letter-grade" contenteditable>C</span>
<span class="range">0-70</span> <span class="range">70-79</span>
<a href="#" class="drag-bar"></a> <a href="#" class="drag-bar"></a>
<a href="#" class="remove-button">remove</a> <a href="#" class="remove-button">remove</a>
</li> </li>
<li class="bar-fail" style="width: 50%;"> <li class="bar-fail" style="width: 50%;">
<span class="letter-grade" contenteditable>F</span> <span class="letter-grade" contenteditable>F</span>
<span class="range">0-50</span> <span class="range">0-69</span>
<a href="#" class="drag-bar"></a> <a href="#" class="drag-bar"></a>
<a href="#" class="remove-button">remove</a> <a href="#" class="remove-button">remove</a>
</li> </li>
......
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