Skip to content
Permalink
Browse files
Merge branch 'MDL-63698-master' of https://github.com/lucaboesch/moodle
  • Loading branch information
David Monllao committed Oct 29, 2018
2 parents 4bd78d7 + fe149a9 commit 4af7cf6bdb379cdfd0beffb3055a23c10931153e
Showing with 13 additions and 10 deletions.
  1. +3 −2 blocks/myoverview/templates/view-summary.mustache
  2. +6 −5 theme/boost/scss/moodle/blocks.scss
  3. +4 −3 theme/boost/style/moodle.css
@@ -42,8 +42,9 @@
<div class="position-absolute">
{{> block_myoverview/favourite-icon }}
</div>
<img src="{{{courseimage}}}" class="summaryimage img-fluid" alt="{{#str}}aria:courseimage, block_myoverview{{/str}}">

<div class="card-img-top summaryimage" style='background-image: url("{{{courseimage}}}");'>
<span class="sr-only">{{#str}}aria:courseimage, block_myoverview{{/str}}</span>
</div>
</a>
<div class="col-sm-8 col-xl-9 span8 align-self-stretch d-flex flex-column">
<div class="d-flex">
@@ -108,11 +108,12 @@ $card-gutter : $card-deck-margin * 2;
background-color: $gray-200;
}
}
@include media-breakpoint-down(sm) {
.summaryimage {
max-height: 7rem;
}
}
}

.summaryimage {
height: 7rem;
background-position: center;
background-size: cover;
}

.dashboard-card-deck .dashboard-card {
@@ -11162,9 +11162,10 @@ div.editor_atto_toolbar button .icon {
.block_myoverview .btn.btn-link.btn-icon:hover, .block_myoverview #page-grade-grading-manage .actions .btn-link.btn-icon.action:hover, #page-grade-grading-manage .actions .block_myoverview .btn-link.btn-icon.action:hover, .block_myoverview #rubric-rubric.gradingform_rubric #rubric-criteria .criterion .addlevel input.btn-link.btn-icon:hover, #rubric-rubric.gradingform_rubric #rubric-criteria .criterion .addlevel .block_myoverview input.btn-link.btn-icon:hover, .block_myoverview #rubric-rubric.gradingform_rubric .btn-link.btn-icon.addcriterion:hover, #rubric-rubric.gradingform_rubric .block_myoverview .btn-link.btn-icon.addcriterion:hover, .block_myoverview .btn.btn-link.btn-icon:focus, .block_myoverview #page-grade-grading-manage .actions .btn-link.btn-icon.action:focus, #page-grade-grading-manage .actions .block_myoverview .btn-link.btn-icon.action:focus, .block_myoverview #rubric-rubric.gradingform_rubric #rubric-criteria .criterion .addlevel input.btn-link.btn-icon:focus, #rubric-rubric.gradingform_rubric #rubric-criteria .criterion .addlevel .block_myoverview input.btn-link.btn-icon:focus, .block_myoverview #rubric-rubric.gradingform_rubric .btn-link.btn-icon.addcriterion:focus, #rubric-rubric.gradingform_rubric .block_myoverview .btn-link.btn-icon.addcriterion:focus {
background-color: #e9ecef; }

@media (max-width: 767.98px) {
.block_myoverview .summaryimage {
max-height: 7rem; } }
.summaryimage {
height: 7rem;
background-position: center;
background-size: cover; }

.dashboard-card-deck .dashboard-card {
margin-bottom: 0.5rem;

0 comments on commit 4af7cf6

Please sign in to comment.