Commit 73455ac3 by Harry Rein

Updating bookmarks and updates pages to be responsive.

parent ed2e6dc8
...@@ -9,14 +9,17 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark ...@@ -9,14 +9,17 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark
} }
// Rules for Bookmarks Results // Rules for Bookmarks Results
.bookmarks-results-list { .course-bookmarks {
flex-grow: 1;
.bookmarks-results-list {
padding-top: ($baseline/2); padding-top: ($baseline/2);
.bookmarks-results-list-item { .bookmarks-results-list-item {
@include padding(0, $baseline, ($baseline/4), $baseline); @include padding(0, $baseline, ($baseline/4), $baseline);
display: block; display: block;
border: 1px solid $lms-border-color; border: 1px solid theme-color("light");
margin-bottom: $baseline; margin-bottom: $baseline;
&:hover { &:hover {
...@@ -36,7 +39,7 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark ...@@ -36,7 +39,7 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark
.list-item-date { .list-item-date {
margin-top: ($baseline/4); margin-top: ($baseline/4);
color: $lms-gray; color: theme-color("dark");
font-size: font-size(small); font-size: font-size(small);
} }
...@@ -50,6 +53,7 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark ...@@ -50,6 +53,7 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark
.list-item-content { .list-item-content {
overflow: hidden; overflow: hidden;
position: relative;
} }
.list-item-left-section { .list-item-left-section {
...@@ -59,7 +63,10 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark ...@@ -59,7 +63,10 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark
} }
.list-item-right-section { .list-item-right-section {
display: inline-block; @include right(0);
bottom: $baseline*-0.75;
position: absolute;
vertical-align: middle; vertical-align: middle;
.fa-arrow-right { .fa-arrow-right {
...@@ -68,6 +75,19 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark ...@@ -68,6 +75,19 @@ $bookmarked-icon: "\f02e"; // .fa-bookmark
} }
} }
} }
}
// Override the search count styling
.search-results .search-count {
font-size: $font-size-base;
font-weight: $font-weight-bold;
}
// Override the pagination behavior
.pagination.pagination-full {
width: 100%;
text-align: center;
}
} }
// Rules for empty bookmarks list // Rules for empty bookmarks list
......
...@@ -438,6 +438,8 @@ ...@@ -438,6 +438,8 @@
// Course Updates Page // Course Updates Page
.course-updates { .course-updates {
.all-updates { .all-updates {
flex-grow: 1;
.updates-article { .updates-article {
margin: ($baseline*6/5) 0; margin: ($baseline*6/5) 0;
padding-bottom: ($baseline*6/5); padding-bottom: ($baseline*6/5);
......
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