studio - nav and soft landing various QA fixes

This commit is contained in:
Brian Talbot
2013-02-12 17:03:48 -05:00
parent 540710f553
commit 0a2b74110e
7 changed files with 26 additions and 13 deletions

View File

@@ -6,26 +6,26 @@
</div>
<div class="field text" id="field-course-grading-assignment-shortname">
<label for="course-grading-shortname">Abbreviation:</label>
<label for="course-grading-assignment-shortname">Abbreviation:</label>
<input type="text" class="short" id="course-grading-assignment-shortname" value="<%= model.get('short_label') %>" />
<span class="tip tip-inline">e.g. HW, Midterm</span>
</div>
<div class="field text" id="field-course-grading-assignment-gradeweight">
<label for="course-grading-gradeweight">Weight of Total Grade</label>
<label for="course-grading-assignment-gradeweight">Weight of Total Grade</label>
<input type="text" class="short" id="course-grading-assignment-gradeweight" value = "<%= model.get('weight') %>" />
<span class="tip tip-inline">e.g. 25%</span>
</div>
<div class="field text" id="field-course-grading-assignment-totalassignments">
<label for="course-grading-gradeweight">Total
<label for="course-grading-assignment-totalassignments">Total
Number</label>
<input type="text" class="short" id="course-grading-assignment-totalassignments" value = "<%= model.get('min_count') %>" />
<span class="tip tip-inline">total exercises assigned</span>
</div>
<div class="field text" id="field-course-grading-assignment-droppable">
<label for="course-grading-gradeweight">Number of
<label for="course-grading-assignment-droppable">Number of
Droppable</label>
<input type="text" class="short" id="course-grading-assignment-droppable" value = "<%= model.get('drop_count') %>" />
<span class="tip tip-inline">total exercises that won't be graded</span>

View File

@@ -145,6 +145,13 @@ body.signup, body.signin {
:-ms-input-placeholder {
color: $gray-l3;
}
&:focus {
+ .tip {
color: $gray;
}
}
}
textarea.long {
@@ -163,6 +170,7 @@ body.signup, body.signin {
}
.tip {
@include transition(color, 0.15s, ease-in-out);
@include font-size(13);
display: block;
margin-top: ($baseline/4);

View File

@@ -53,9 +53,6 @@
float: right;
}
// general nav styles
// ====================
// ====================
// specific elements - branding
@@ -515,6 +512,7 @@ body.course.export .nav-course-tools-export,
a {
color: $blue;
pointer-events: none;
}
}

View File

@@ -240,7 +240,6 @@
margin-right: flex-gutter();
padding: ($baseline*0.75) $baseline;
color: $gray-l1;
cursor: pointer;
.title {
@include font-size(16);
@@ -254,7 +253,7 @@
background: $blue-l5;
top: -($baseline/5);
.title, strong {
.title {
color: $blue;
}
}

View File

@@ -47,6 +47,7 @@ body.course.settings {
// UI hints/tips/messages
.tip {
@include transition(color, 0.15s, ease-in-out);
@include font-size(13);
display: block;
margin-top: ($baseline/4);
@@ -127,6 +128,13 @@ body.course.settings {
&.error {
border-color: $red;
}
&:focus {
+ .tip {
color: $gray;
}
}
}
textarea.long {
@@ -157,10 +165,10 @@ body.course.settings {
@include box-sizing(border-box);
@include border-radius(3px);
background: $gray-l5;
padding: ($baseline/2);
padding: $baseline;
&:last-child {
padding-bottom: ($baseline/2);
padding-bottom: $baseline;
}
.actions {