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
4097bc10
Commit
4097bc10
authored
Nov 26, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings - revised grading slider UI cosmetics
parent
ef95e1d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
cms/static/sass/_settings.scss
+14
-4
cms/templates/settings.html
+5
-5
No files found.
cms/static/sass/_settings.scss
View file @
4097bc10
...
...
@@ -588,6 +588,14 @@
top
:
1px
;
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 @@
.grade-controls
{
@include
clearfix
;
width
:
642px
;
}
.new-grade-button
{
...
...
@@ -609,7 +618,7 @@
display
:
block
;
width
:
29px
;
height
:
29px
;
margin
:
4px
1
0px
0
0
;
margin
:
10px
2
0px
0
0
;
border-radius
:
20px
;
border
:
1px
solid
$darkGrey
;
@include
linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
0
.8
)
,
rgba
(
255
,
255
,
255
,
0
));
...
...
@@ -627,9 +636,9 @@
}
.grade-slider
{
float
:
righ
t
;
width
:
95%
;
height
:
8
0px
;
float
:
lef
t
;
width
:
580px
;
margin-bottom
:
1
0px
;
.grade-bar
{
position
:
relative
;
...
...
@@ -702,6 +711,7 @@
top
:
0
;
height
:
50px
;
text-align
:
right
;
@include
border-radius
(
2px
);
&
:hover
,
&
.is-dragging
{
...
...
cms/templates/settings.html
View file @
4097bc10
...
...
@@ -399,7 +399,7 @@
<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>
<div
class=
"grade-slider"
>
<div
class=
"grade-bar"
>
...
...
@@ -419,24 +419,24 @@
<ol
class=
"grades"
>
<li
class=
"bar-a"
style=
"width: 100%;"
>
<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>
</li>
<li
class=
"bar-b"
style=
"width: 80%;"
>
<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=
"remove-button"
>
remove
</a>
</li>
<li
class=
"bar-c"
style=
"width: 70%;"
>
<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=
"remove-button"
>
remove
</a>
</li>
<li
class=
"bar-fail"
style=
"width: 50%;"
>
<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=
"remove-button"
>
remove
</a>
</li>
...
...
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