Commit 1b25be65 by Brian Talbot Committed by David Baumgold

revising markup and styling for listing header on LMS course dashboard

parent 19356ffd
...@@ -308,6 +308,28 @@ ...@@ -308,6 +308,28 @@
margin-bottom: 30px; 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 { .empty-dashboard-message {
padding: 60px 0px; padding: 60px 0px;
text-align: center; text-align: center;
......
...@@ -291,7 +291,10 @@ ...@@ -291,7 +291,10 @@
<section class="my-courses" id="my-courses"> <section class="my-courses" id="my-courses">
<header> <header>
<div style="display:flex"><h2>${_("Courses")} </h2><div style="flex-grow:1"></div><div style="font-size: 13px; color: #646464;">${_("ordered by recent activity")}</div></div> <h2 class="my-courses-title">
<span class="my-courses-title-label">${_("Courses")}</span>
<span class="my-courses-title-description">${_("ordered by recent activity")}</span>
</h2>
</header> </header>
% if len(course_enrollment_pairs) > 0: % if len(course_enrollment_pairs) > 0:
......
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