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
aaa67b28
Commit
aaa67b28
authored
Jul 11, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Studio: revises template logic, html, and styling for Dashboard UI states
parent
135d10d4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
11 deletions
+46
-11
cms/static/sass/_base.scss
+18
-0
cms/static/sass/elements/_system-help.scss
+18
-2
cms/static/sass/views/_dashboard.scss
+10
-9
cms/templates/index.html
+0
-0
No files found.
cms/static/sass/_base.scss
View file @
aaa67b28
...
...
@@ -446,6 +446,24 @@ p, ul, ol, dl {
}
}
// actions
.list-actions
{
@extend
.no-list
;
.action-item
{
margin-bottom
:
(
$baseline
/
4
);
border-bottom
:
1px
dotted
$gray-l4
;
padding-bottom
:
(
$baseline
/
4
);
&
:last-child
{
margin-bottom
:
0
;
border
:
none
;
padding-bottom
:
0
;
}
}
}
// navigation
.nav-related
,
.nav-page
{
...
...
cms/static/sass/elements/_system-help.scss
View file @
aaa67b28
...
...
@@ -104,6 +104,22 @@
}
}
}
// list of notices all in one
&
.list-notices
{
.notice-item
{
margin-bottom
:
$baseline
;
border-bottom
:
1px
solid
$gray-l3
;
padding-bottom
:
$baseline
;
&
:last-child
{
margin-bottom
:
0
;
border
:
none
;
padding-bottom
:
0
;
}
}
}
}
// particular notice - warnings around a workflow for something
...
...
@@ -128,11 +144,11 @@
background-color
:
$gray-l4
;
.title
{
color
:
$gray-d
1
;
color
:
$gray-d
3
;
}
.copy
{
color
:
$gray
;
color
:
$gray
-d2
;
}
&
.has-actions
{
...
...
cms/static/sass/views/_dashboard.scss
View file @
aaa67b28
...
...
@@ -36,7 +36,7 @@ body.dashboard {
width
:
flexgrid
(
9
,
9
);
// CASE: notice has actions {
&
.has-actions
{
&
.has-actions
,
&
.list-notices
.notice-item.has-actions
{
.msg
,
.list-actions
{
display
:
inline-block
;
...
...
@@ -59,6 +59,7 @@ body.dashboard {
.action-create-course
{
@extend
.btn-primary-green
;
@extend
.t-action3
;
}
}
}
...
...
@@ -66,8 +67,8 @@ body.dashboard {
// elements -
authorship
controls
.wrapper-
authorship
rights
{
// elements -
course creation rights
controls
.wrapper-
creation
rights
{
overflow
:
hidden
;
.ui-toggle-control
{
...
...
@@ -129,8 +130,8 @@ body.dashboard {
}
// elements -
authorship
controls
.status-
authorship
{
// elements -
course creation rights
controls
.status-
creationrights
{
margin-top
:
$baseline
;
.title
{
...
...
@@ -144,7 +145,7 @@ body.dashboard {
}
.list-actions
{
.list-actions
,
.form-actions
{
margin-top
:
(
$baseline
*
0
.75
);
.action-item
{
...
...
@@ -253,10 +254,10 @@ body.dashboard {
}
.class-list
{
margin-top
:
20px
;
margin-top
:
$baseline
;
border-radius
:
3px
;
border
:
1px
solid
$
darkGrey
;
background
:
#fff
;
border
:
1px
solid
$
gray-d2
;
background
:
$white
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
.1
);
li
{
...
...
cms/templates/index.html
View file @
aaa67b28
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