Skip to content

Commit

Permalink
Merge branch 'MDL-74513-master' of https://github.com/lucaboesch/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Jul 12, 2022
2 parents 782a3fb + 84f5903 commit 0e3929a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/recentlyaccesseditems/templates/view-cards.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
{{{icon}}}
</div>
<div class="w-100 line-height-3 text-truncate ml-2">
<h6 class="mb-0 text-truncate">{{{name}}}</h6>
<small class="text-muted text-truncate mb-0">{{{coursename}}}</small>
<h6 class="mb-0 text-truncate"><span class="clickable">{{{name}}}</span></h6>
<small class="text-truncate mb-0">{{{coursename}}}</small>
</div>
</div>
</div>
Expand Down
12 changes: 12 additions & 0 deletions theme/boost/scss/moodle/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,18 @@ $card-gutter : $card-deck-margin * 2;
#block-region-content & [data-region="more-items-button-container"] {
display: none;
}

a.dashboard-card {
@include hover-focus {
text-decoration: none;
h6 {
text-decoration: underline;
}
}
small {
color: $body-color;
}
}
}

.block_myoverview {
Expand Down
8 changes: 8 additions & 0 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -13137,6 +13137,14 @@ aside[id^="block-region-side-"] .block_recentlyaccesseditems .dashboard-card-dec
#block-region-content .block_recentlyaccesseditems [data-region="more-items-button-container"] {
display: none; }

.block_recentlyaccesseditems a.dashboard-card:hover, .block_recentlyaccesseditems a.dashboard-card:focus {
text-decoration: none; }
.block_recentlyaccesseditems a.dashboard-card:hover h6, .block_recentlyaccesseditems a.dashboard-card:focus h6 {
text-decoration: underline; }

.block_recentlyaccesseditems a.dashboard-card small {
color: #1d2125; }

.block_myoverview .content {
min-height: 19.35rem; }

Expand Down
8 changes: 8 additions & 0 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -13137,6 +13137,14 @@ aside[id^="block-region-side-"] .block_recentlyaccesseditems .dashboard-card-dec
#block-region-content .block_recentlyaccesseditems [data-region="more-items-button-container"] {
display: none; }

.block_recentlyaccesseditems a.dashboard-card:hover, .block_recentlyaccesseditems a.dashboard-card:focus {
text-decoration: none; }
.block_recentlyaccesseditems a.dashboard-card:hover h6, .block_recentlyaccesseditems a.dashboard-card:focus h6 {
text-decoration: underline; }

.block_recentlyaccesseditems a.dashboard-card small {
color: #1d2125; }

.block_myoverview .content {
min-height: 19.35rem; }

Expand Down

0 comments on commit 0e3929a

Please sign in to comment.