From 1b25be655c16cab2c9c0be75ade5904e7404d381 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Tue, 8 Jul 2014 14:48:47 -0400 Subject: [PATCH] revising markup and styling for listing header on LMS course dashboard --- lms/static/sass/multicourse/_dashboard.scss | 22 +++++++++++++++++++++ lms/templates/dashboard.html | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/multicourse/_dashboard.scss b/lms/static/sass/multicourse/_dashboard.scss index 9569ea13ca..486704af1f 100644 --- a/lms/static/sass/multicourse/_dashboard.scss +++ b/lms/static/sass/multicourse/_dashboard.scss @@ -308,6 +308,28 @@ margin-bottom: 30px; } + // my courses title + .my-courses-title { + @include clearfix(); + } + + .my-courses-title-label { + display: inline-block; + vertical-align: middle; + width: flex-grid(6, 9); + } + + .my-courses-title-description { + @extend %t-title7; + display: inline-block; + vertical-align: middle; + width: flex-grid(3, 9); + text-transform: lowercase; + text-align: right; + letter-spacing: 0; + color: $lighter-base-font-color; + } + .empty-dashboard-message { padding: 60px 0px; text-align: center; diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 837d800051..0e8d950ba2 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -291,7 +291,10 @@
-

${_("Courses")}

${_("ordered by recent activity")}
+

+ ${_("Courses")} + ${_("ordered by recent activity")} +

% if len(course_enrollment_pairs) > 0: