From b402cde65014f1d078e85505622bd4389c7fdced Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Tue, 24 Jul 2012 13:48:20 -0400 Subject: [PATCH] Added some style for the dashboard message --- lms/static/sass/multicourse/_dashboard.scss | 21 +++++++++++++++++++++ lms/templates/dashboard.html | 1 - 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/multicourse/_dashboard.scss b/lms/static/sass/multicourse/_dashboard.scss index a3d21cb1b3..9c2b71f5c0 100644 --- a/lms/static/sass/multicourse/_dashboard.scss +++ b/lms/static/sass/multicourse/_dashboard.scss @@ -2,6 +2,27 @@ @include clearfix; padding: 60px 0px 120px; + .dashboard-banner { + background: $yellow; + border: 1px solid rgb(200,200,200); + @include box-shadow(0 1px 0 0 rgba(255,255,255, 0.6)); + padding: 10px; + margin-bottom: 30px; + + &:empty { + display: none; + background-color: #FFF; + } + + h2 { + margin-bottom: 0; + } + + p { + margin-bottom: 0; + } + } + .profile-sidebar { background: transparent; float: left; diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index b0d4308253..f1e19b6e5f 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -36,7 +36,6 @@
${message} -