Commit aaa67b28 by Brian Talbot

Studio: revises template logic, html, and styling for Dashboard UI states

parent 135d10d4
...@@ -446,6 +446,24 @@ p, ul, ol, dl { ...@@ -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 // navigation
.nav-related, .nav-page { .nav-related, .nav-page {
......
...@@ -104,6 +104,22 @@ ...@@ -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 // particular notice - warnings around a workflow for something
...@@ -128,11 +144,11 @@ ...@@ -128,11 +144,11 @@
background-color: $gray-l4; background-color: $gray-l4;
.title { .title {
color: $gray-d1; color: $gray-d3;
} }
.copy { .copy {
color: $gray; color: $gray-d2;
} }
&.has-actions { &.has-actions {
......
...@@ -36,7 +36,7 @@ body.dashboard { ...@@ -36,7 +36,7 @@ body.dashboard {
width: flexgrid(9, 9); width: flexgrid(9, 9);
// CASE: notice has actions { // CASE: notice has actions {
&.has-actions { &.has-actions, &.list-notices .notice-item.has-actions {
.msg, .list-actions { .msg, .list-actions {
display: inline-block; display: inline-block;
...@@ -59,6 +59,7 @@ body.dashboard { ...@@ -59,6 +59,7 @@ body.dashboard {
.action-create-course { .action-create-course {
@extend .btn-primary-green; @extend .btn-primary-green;
@extend .t-action3;
} }
} }
} }
...@@ -66,8 +67,8 @@ body.dashboard { ...@@ -66,8 +67,8 @@ body.dashboard {
// elements - authorship controls // elements - course creation rights controls
.wrapper-authorshiprights { .wrapper-creationrights {
overflow: hidden; overflow: hidden;
.ui-toggle-control { .ui-toggle-control {
...@@ -129,8 +130,8 @@ body.dashboard { ...@@ -129,8 +130,8 @@ body.dashboard {
} }
// elements - authorship controls // elements - course creation rights controls
.status-authorship { .status-creationrights {
margin-top: $baseline; margin-top: $baseline;
.title { .title {
...@@ -144,7 +145,7 @@ body.dashboard { ...@@ -144,7 +145,7 @@ body.dashboard {
} }
.list-actions { .list-actions, .form-actions {
margin-top: ($baseline*0.75); margin-top: ($baseline*0.75);
.action-item { .action-item {
...@@ -253,10 +254,10 @@ body.dashboard { ...@@ -253,10 +254,10 @@ body.dashboard {
} }
.class-list { .class-list {
margin-top: 20px; margin-top: $baseline;
border-radius: 3px; border-radius: 3px;
border: 1px solid $darkGrey; border: 1px solid $gray-d2;
background: #fff; background: $white;
box-shadow: 0 1px 2px rgba(0, 0, 0, .1); box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
li { li {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment