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
66a8735a
Commit
66a8735a
authored
Mar 13, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - Checklists: initial design and front end proofing/firming up - WIP
parent
1b5f0400
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
277 additions
and
1 deletions
+277
-1
cms/static/sass/_base.scss
+2
-1
cms/static/sass/_checklists.scss
+274
-0
cms/static/sass/_variables.scss
+1
-0
cms/templates/ux-checklists.html
+0
-0
No files found.
cms/static/sass/_base.scss
View file @
66a8735a
...
@@ -327,7 +327,8 @@ h1 {
...
@@ -327,7 +327,8 @@ h1 {
}
}
}
}
.nav-related
{
// navigation
.nav-related
,
.nav-page
{
.nav-item
{
.nav-item
{
margin-bottom
:
(
$baseline
/
4
);
margin-bottom
:
(
$baseline
/
4
);
...
...
cms/static/sass/_checklists.scss
0 → 100644
View file @
66a8735a
// Studio - Course Settings
// ====================
body
.course.checklists
{
.content-primary
,
.content-supplementary
{
@include
box-sizing
(
border-box
);
float
:
left
;
}
.content-primary
{
width
:
flex-grid
(
9
,
12
);
margin-right
:
flex-gutter
();
}
// checklists - general
.course-checklist
{
@extend
.window
;
margin
:
0
0
(
$baseline
*
2
)
0
;
&
:last-child
{
margin-bottom
:
0
;
}
header
{
@include
clearfix
();
margin-bottom
:
0
;
padding
:
$baseline
(
$baseline
*
1
.5
);
.checklist-title
{
@include
transition
(
color
.15s
.25s
ease-in-out
);
width
:
flex-grid
(
7
,
9
);
margin
:
0
flex-gutter
()
0
0
;
float
:
left
;
&
.is-selectable
{
cursor
:
pointer
;
&
:hover
{
color
:
$blue
;
}
}
}
.checklist-status
{
@include
font-size
(
13
);
width
:
flex-grid
(
2
,
9
);
float
:
right
;
margin-top
:
(
$baseline
/
2
);
text-align
:
right
;
color
:
$gray-l2
;
.status-count
{
@include
font-size
(
16
);
margin-left
:
(
$baseline
/
4
);
margin-right
:
(
$baseline
/
4
);
color
:
$gray-d3
;
font-weight
:
600
;
}
.status-amount
{
@include
font-size
(
16
);
margin-left
:
(
$baseline
/
4
);
color
:
$gray-d3
;
font-weight
:
600
;
}
}
}
// checklist actions
.course-checklist-actions
{
@include
clearfix
();
@include
box-shadow
(
inset
0
1px
1px
$shadow-l1
);
@include
transition
(
border
.15s
ease-in-out
.25s
);
border-top
:
1px
solid
$gray-l2
;
padding
:
$baseline
(
$baseline
*
1
.5
);
background
:
$gray-l4
;
.action-primary
{
@include
green-button
();
float
:
left
;
.icon-add
{
@include
font-size
(
12
);
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
(
$baseline
/
4
);
}
}
.action-secondary
{
@include
font-size
(
14
);
@include
grey-button
();
font-weight
:
400
;
float
:
right
;
.icon-delete
{
@include
font-size
(
12
);
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
(
$baseline
/
4
);
}
}
}
// state - collapsed
&
.is-collapsed
{
.list-tasks
{
height
:
0
;
}
}
// state - completed
&
.is-completed
{
header
{
.checklist-title
{
color
:
$gray-l1
;
}
.checklist-status
{
.status-count
,
.status-amount
,
.icon-confirm
{
color
:
$green
;
}
}
.checklist-status
.icon-confirm
{
@include
font-size
(
12
);
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
(
$baseline
/
4
);
}
}
}
// state - not available
.is-not-available
{
}
}
// list of tasks
.list-tasks
{
height
:
auto
;
overflow
:
hidden
;
.task
{
@include
transition
(
background
.15s
ease-in-out
.25s
,
border
.15s
ease-in-out
.25s
);
@include
clearfix
();
position
:
relative
;
border-top
:
1px
solid
$white
;
border-bottom
:
1px
solid
$gray-l5
;
padding
:
$baseline
(
$baseline
*
1
.5
);
background
:
$white
;
opacity
:
1
.0
;
&
:last-child
{
margin-bottom
:
0
;
border-bottom
:
none
;
}
label
{
float
:
left
;
width
:
flex-grid
(
7
,
9
);
font-weight
:
500
;
.task-input
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
flex-gutter
();
}
.task-details
{
display
:
inline-block
;
vertical-align
:
middle
;
width
:
flex-grid
(
6
,
7
);
.task-name
{
@include
transition
(
color
.15s
.25s
ease-in-out
);
vertical-align
:
baseline
;
cursor
:
pointer
;
margin-bottom
:
0
;
}
.task-description
{
@include
transition
(
color
.15s
.25s
ease-in-out
);
@include
font-size
(
14
);
color
:
$gray-l2
;
}
.task-support
{
@include
transition
(
opacity
.15s
.25s
ease-in-out
);
@include
font-size
(
12
);
opacity
:
0
;
pointer-events
:
none
;
}
}
}
.task-actions
{
@include
transition
(
opacity
.15s
.25s
ease-in-out
);
@include
clearfix
();
display
:
inline-block
;
vertical-align
:
middle
;
float
:
left
;
width
:
flex-grid
(
2
,
9
);
margin
:
(
$baseline
/
2
)
0
0
flex-gutter
();
opacity
:
0
;
pointer-events
:
none
;
text-align
:
right
;
.action-primary
{
@include
blue-button
;
@include
transition
(
all
.15s
);
@include
font-size
(
12
);
font-weight
:
600
;
text-align
:
center
;
}
.action-secondary
{
@include
font-size
(
13
);
margin-top
:
(
$baseline
/
2
);
}
}
// state - hover
&
:hover
{
background
:
$blue-l5
;
border-bottom-color
:
$blue-l4
;
border-top-color
:
$blue-l4
;
opacity
:
1
.0
;
.task-details
{
.task-support
{
opacity
:
1
.0
;
pointer-events
:
auto
;
}
}
.task-actions
{
opacity
:
1
.0
;
pointer-events
:
auto
;
}
}
// state - completed
&
.is-completed
{
background
:
$gray-l6
;
border-top-color
:
$gray-l5
;
border-bottom-color
:
$gray-l5
;
.task-details
{
opacity
:
0
.50
;
}
&
:hover
{
.task-details
{
opacity
:
1
.0
;
}
}
}
}
}
.content-supplementary
{
width
:
flex-grid
(
3
,
12
);
}
}
\ No newline at end of file
cms/static/sass/_variables.scss
View file @
66a8735a
...
@@ -24,6 +24,7 @@ $gray-l2: tint($gray,40%);
...
@@ -24,6 +24,7 @@ $gray-l2: tint($gray,40%);
$gray-l3
:
tint
(
$gray
,
60%
);
$gray-l3
:
tint
(
$gray
,
60%
);
$gray-l4
:
tint
(
$gray
,
80%
);
$gray-l4
:
tint
(
$gray
,
80%
);
$gray-l5
:
tint
(
$gray
,
90%
);
$gray-l5
:
tint
(
$gray
,
90%
);
$gray-l6
:
tint
(
$gray
,
95%
);
$gray-d1
:
shade
(
$gray
,
20%
);
$gray-d1
:
shade
(
$gray
,
20%
);
$gray-d2
:
shade
(
$gray
,
40%
);
$gray-d2
:
shade
(
$gray
,
40%
);
$gray-d3
:
shade
(
$gray
,
60%
);
$gray-d3
:
shade
(
$gray
,
60%
);
...
...
cms/templates/ux-checklists.html
View file @
66a8735a
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