Commit 309ac7aa by Diana Huang

Refactor rubric CSS into a single file.

parent 6fe209b0
...@@ -231,47 +231,6 @@ div.result-container { ...@@ -231,47 +231,6 @@ div.result-container {
} }
} }
div.result-container, section.open-ended-child {
.rubric {
margin-bottom:25px;
tr {
margin:10px 0px;
height: 100%;
}
td {
padding: 20px 0px 25px 0px;
margin: 10px 0px;
height: 100%;
}
th {
padding: 5px;
margin: 5px;
}
label,
.view-only {
margin:2px;
position: relative;
padding: 10px 15px 25px 15px;
width: 145px;
height:100%;
display: inline-block;
min-height: 50px;
min-width: 50px;
background-color: #CCC;
font-size: .85em;
}
.grade {
position: absolute;
bottom:0px;
right:0px;
margin:10px;
}
.selected-grade {
background: #666;
color: white;
}
}
}
section.open-ended-child { section.open-ended-child {
@media print { @media print {
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
@import "course/gradebook"; @import "course/gradebook";
@import "course/tabs"; @import "course/tabs";
@import "course/staff_grading"; @import "course/staff_grading";
@import "course/rubric";
// instructor // instructor
@import "course/instructor/instructor"; @import "course/instructor/instructor";
......
.rubric {
padding: 40px 0px;
tr {
margin:10px 0px;
height: 100%;
}
td {
padding: 20px 0px 25px 0px;
height: 100%;
border: 1px black solid;
}
th {
padding: 5px;
margin: 5px;
text-align: center;
}
.points-header th {
padding: 0px;
}
label,
.view-only {
margin:2px;
position: relative;
padding: 15px 15px 25px 15px;
width: 130px;
height:100%;
min-height: 50px;
min-width: 50px;
font-size: .9em;
background-color: white;
display: block;
}
.grade {
position: absolute;
bottom:0px;
right:0px;
margin:10px;
}
.selected-grade {
background: #666;
color: white;
}
input[type=radio]:checked + label {
background: #666;
color: white; }
input[class='score-selection'] {
position: relative;
margin-left: 10px;
font-size: 16px;
}
}
...@@ -12,7 +12,7 @@ div.peer-grading{ ...@@ -12,7 +12,7 @@ div.peer-grading{
label { label {
margin: 10px; margin: 10px;
padding: 5px; padding: 5px;
display: inline-block; @include inline-block;
min-width: 50px; min-width: 50px;
background-color: #CCC; background-color: #CCC;
text-size: 1.5em; text-size: 1.5em;
...@@ -176,49 +176,4 @@ div.peer-grading{ ...@@ -176,49 +176,4 @@ div.peer-grading{
} }
} }
padding: 40px; padding: 40px;
.rubric {
tr {
margin:10px 0px;
height: 100%;
}
td {
padding: 20px 0px 25px 0px;
height: 100%;
}
th {
padding: 5px;
margin: 5px;
}
label,
.view-only {
margin:2px;
position: relative;
padding: 15px 15px 25px 15px;
width: 150px;
height:100%;
display: inline-block;
min-height: 50px;
min-width: 50px;
background-color: #CCC;
font-size: .9em;
}
.grade {
position: absolute;
bottom:0px;
right:0px;
margin:10px;
}
.selected-grade {
background: #666;
color: white;
}
input[type=radio]:checked + label {
background: #666;
color: white; }
input[class='score-selection'] {
display: none;
}
}
} }
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