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
74dec7f1
Commit
74dec7f1
authored
Nov 16, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings - wip
parent
6014a7a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
182 additions
and
181 deletions
+182
-181
cms/static/sass/_settings.scss
+182
-181
cms/templates/settings.html
+0
-0
No files found.
cms/static/sass/_settings.scss
View file @
74dec7f1
...
@@ -522,185 +522,185 @@
...
@@ -522,185 +522,185 @@
//
h3 {
h3
{
//
margin-bottom: 30px;
margin-bottom
:
30px
;
//
font-size: 15px;
font-size
:
15px
;
//
font-weight: 700;
font-weight
:
700
;
//
color: $blue;
color
:
$blue
;
//
}
}
//
.grade-controls {
.grade-controls
{
//
@include clearfix;
@include
clearfix
;
//
}
}
//
.new-grade-button {
.new-grade-button
{
//
position: relative;
position
:
relative
;
//
float: left;
float
:
left
;
//
display: block;
display
:
block
;
//
width: 29px;
width
:
29px
;
//
height: 29px;
height
:
29px
;
//
margin: 4px 10px 0 0;
margin
:
4px
10px
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
));
//
background-color: #d1dae3;
background-color
:
#d1dae3
;
//
@include box-shadow(0 1px 0 rgba(255, 255, 255, .3) inset);
@include
box-shadow
(
0
1px
0
rgba
(
255
,
255
,
255
,
.3
)
inset
);
//
color: #6d788b;
color
:
#6d788b
;
//
.plus-icon {
.plus-icon
{
//
position: absolute;
position
:
absolute
;
//
top: 50%;
top
:
50%
;
//
left: 50%;
left
:
50%
;
//
margin-left: -6px;
margin-left
:
-6px
;
//
margin-top: -6px;
margin-top
:
-6px
;
//
}
}
//
}
}
//
.grade-slider {
.grade-slider
{
//
float: left;
float
:
left
;
//
width: 560px;
width
:
560px
;
//
height: 60px;
height
:
60px
;
//
.grade-bar {
.grade-bar
{
//
position: relative;
position
:
relative
;
//
width: 100%;
width
:
100%
;
//
height: 40px;
height
:
40px
;
//
background: $lightGrey;
background
:
$lightGrey
;
//
.increments {
.increments
{
//
position: relative;
position
:
relative
;
//
li {
li
{
//
position: absolute;
position
:
absolute
;
//
top: 42px;
top
:
42px
;
//
width: 30px;
width
:
30px
;
//
margin-left: -15px;
margin-left
:
-15px
;
//
font-size: 9px;
font-size
:
9px
;
//
text-align: center;
text-align
:
center
;
//
&.increment-0 {
&
.increment-0
{
//
left: 0;
left
:
0
;
//
}
}
//
&.increment-10 {
&
.increment-10
{
//
left: 10%;
left
:
10%
;
//
}
}
//
&.increment-20 {
&
.increment-20
{
//
left: 20%;
left
:
20%
;
//
}
}
//
&.increment-30 {
&
.increment-30
{
//
left: 30%;
left
:
30%
;
//
}
}
//
&.increment-40 {
&
.increment-40
{
//
left: 40%;
left
:
40%
;
//
}
}
//
&.increment-50 {
&
.increment-50
{
//
left: 50%;
left
:
50%
;
//
}
}
//
&.increment-60 {
&
.increment-60
{
//
left: 60%;
left
:
60%
;
//
}
}
//
&.increment-70 {
&
.increment-70
{
//
left: 70%;
left
:
70%
;
//
}
}
//
&.increment-80 {
&
.increment-80
{
//
left: 80%;
left
:
80%
;
//
}
}
//
&.increment-90 {
&
.increment-90
{
//
left: 90%;
left
:
90%
;
//
}
}
//
&.increment-100 {
&
.increment-100
{
//
left: 100%;
left
:
100%
;
//
}
}
//
}
}
//
}
}
//
.grades {
.grades
{
//
position: relative;
position
:
relative
;
//
li {
li
{
//
position: absolute;
position
:
absolute
;
//
top: 0;
top
:
0
;
//
height: 40px;
height
:
40px
;
//
text-align: right;
text-align
:
right
;
//
&:hover,
&
:hover
,
//
&.is-dragging {
&
.is-dragging
{
//
.remove-button {
.remove-button
{
//
display: block;
display
:
block
;
//
}
}
//
}
}
//
.remove-button {
.remove-button
{
//
display: none;
display
:
none
;
//
position: absolute;
position
:
absolute
;
//
top: -17px;
top
:
-17px
;
//
right: 1px;
right
:
1px
;
//
height: 17px;
height
:
17px
;
//
font-size: 10px;
font-size
:
10px
;
//
}
}
//
&:nth-child(1) {
&
:nth-child
(
1
)
{
//
background: #4fe696;
background
:
#4fe696
;
//
}
}
//
&:nth-child(2) {
&
:nth-child
(
2
)
{
//
background: #ffdf7e;
background
:
#ffdf7e
;
//
}
}
//
&:nth-child(3) {
&
:nth-child
(
3
)
{
//
background: #ffb657;
background
:
#ffb657
;
//
}
}
//
&:nth-child(4) {
&
:nth-child
(
4
)
{
//
background: #fb336c;
background
:
#fb336c
;
//
}
}
//
&:nth-child(5) {
&
:nth-child
(
5
)
{
//
background: #ef54a1;
background
:
#ef54a1
;
//
}
}
//
.letter-grade {
.letter-grade
{
//
display: block;
display
:
block
;
//
margin: 7px 5px 0 0;
margin
:
7px
5px
0
0
;
//
font-size: 14px;
font-size
:
14px
;
//
font-weight: 700;
font-weight
:
700
;
//
line-height: 14px;
line-height
:
14px
;
//
}
}
//
.range {
.range
{
//
display: block;
display
:
block
;
//
margin-right: 5px;
margin-right
:
5px
;
//
font-size: 9px;
font-size
:
9px
;
//
line-height: 12px;
line-height
:
12px
;
//
}
}
//
.drag-bar {
.drag-bar
{
//
position: absolute;
position
:
absolute
;
//
top: 0;
top
:
0
;
//
right: -1px;
right
:
-1px
;
//
height: 40px;
height
:
40px
;
//
width: 2px;
width
:
2px
;
//
background-color: #fff;
background-color
:
#fff
;
//
cursor: ew-resize;
cursor
:
ew-resize
;
//
@include transition(none);
@include
transition
(
none
);
//
&:hover {
&
:hover
{
//
width: 4px;
width
:
4px
;
//
right: -2px;
right
:
-2px
;
//
}
}
//
}
}
//
}
}
//
}
}
//
}
}
//
}
}
}
}
\ No newline at end of file
cms/templates/settings.html
View file @
74dec7f1
This diff is collapsed.
Click to expand it.
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