Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
1fde3c5e
Commit
1fde3c5e
authored
Jan 31, 2013
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make rubric cleaner and visually simpler
parent
7e345ce5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
lms/static/sass/course/_rubric.scss
+8
-9
lms/templates/open_ended_rubric.html
+3
-3
No files found.
lms/static/sass/course/_rubric.scss
View file @
1fde3c5e
.rubric
{
padding
:
40px
0px
;
margin
:
40px
0px
;
tr
{
margin
:
10px
0px
;
height
:
100%
;
...
...
@@ -8,6 +8,7 @@
padding
:
20px
0px
25px
0px
;
height
:
100%
;
border
:
1px
black
solid
;
text-align
:
center
;
}
th
{
padding
:
5px
;
...
...
@@ -17,13 +18,11 @@
.points-header
th
{
padding
:
0px
;
}
label
,
.view-only
{
margin
:
2px
;
.rubric-label
{
position
:
relative
;
padding
:
15px
15px
25px
15px
;
padding
:
15px
15px
25px
;
width
:
130px
;
height
:
100%
;
min-height
:
50px
;
min-width
:
50px
;
font-size
:
.9em
;
...
...
@@ -40,9 +39,9 @@
background
:
#666
;
color
:
white
;
}
input
[
type
=
radio
]
:checked
+
label
{
background
:
#666
;
color
:
white
;
}
input
[
type
=
radio
]
:checked
+
.rubric-
label
{
background
:
white
;
color
:
$base-font-color
;
}
input
[
class
=
'score-selection'
]
{
position
:
relative
;
margin-left
:
10px
;
...
...
lms/templates/open_ended_rubric.html
View file @
1fde3c5e
...
...
@@ -26,15 +26,15 @@
% if view_only:
## if this is the selected rubric block, show it highlighted
% if option['selected']:
<div
class=
"
view-only
selected-grade"
>
<div
class=
"
rubric-label
selected-grade"
>
% else:
<div
class=
"
view-only
"
>
<div
class=
"
rubric-label
"
>
% endif
${option['text']}
</div>
% else:
<input
type=
"radio"
class=
"score-selection"
name=
"score-selection-${i}"
id=
"score-${i}-${j}"
value=
"${option['points']}"
/>
<label
for=
"score-${i}-${j}"
>
${option['text']}
</label>
<label
class=
"rubric-label"
for=
"score-${i}-${j}"
>
${option['text']}
</label>
% endif
</td>
% endfor
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment