Skip to content

Commit

Permalink
Merge branch 'MDL-80364-402' of https://github.com/pedrojordao/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_402_STABLE
  • Loading branch information
HuongNV13 committed Feb 29, 2024
2 parents 82fa5ad + da41805 commit 147605b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
Expand Up @@ -36,6 +36,6 @@
}

}}
<div class="image-container"><img src="{{{iconurl}}}" alt="{{#str}}notificationimage, message{{/str}}"/></div>
<div class="image-container">{{#pix}} e/text_highlight, core, {{#str}} notificationimage, message {{/str}} {{/pix}}</div>
<div class="subject-container">{{subject}}</div>
<div class="timestamp">{{timecreatedpretty}}</div>
Expand Up @@ -65,7 +65,7 @@

<div class="content-item-body">
<div class="notification-image">
<img src="{{{iconurl}}}" alt="{{#str}}notificationimage, message{{/str}}"/>
{{#pix}} e/text_highlight, core, {{#str}} notificationimage, message {{/str}} {{/pix}}
</div>
<div class="notification-message">{{shortenedsubject}}</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions theme/boost/scss/moodle/popover-region.scss
Expand Up @@ -5,8 +5,8 @@ $region-container-z-index: 1;
$region-header-height: 25px;
$region-footer-height: 30px;
$content-item-hover-colour-bg: $primary;
$content-item-hover-colour-text: #fff;
$content-item-selected-colour-bg: #4f94cd;
$content-item-hover-colour-text: $white;
$content-item-selected-colour-bg: #3279b3;
$content-item-unread-colour: #f4f4f4;
$content-header-footer-height: $region-header-height + $region-footer-height;

Expand Down Expand Up @@ -178,6 +178,11 @@ $content-header-footer-height: $region-header-height + $region-footer-height;
.icon {
font-weight: bolder;
}
.notification-image {
.icon {
font-weight: 400;
}
}
}
}

Expand Down
7 changes: 5 additions & 2 deletions theme/boost/style/moodle.css
Expand Up @@ -35667,6 +35667,9 @@ body {
.navbar-nav .popover-region .icon {
font-weight: bolder;
}
.navbar-nav .popover-region .notification-image .icon {
font-weight: 400;
}

.navbar .popover-region.collapsed .popover-region-container {
opacity: 0;
Expand Down Expand Up @@ -35766,9 +35769,9 @@ body {
width: calc(100% - 24px);
}
.content-item-container.selected {
background-color: #4f94cd;
background-color: #3279b3;
color: #fff;
border-color: #4f94cd;
border-color: #3279b3;
}
.content-item-container.selected .content-item-footer .timestamp {
color: #fff;
Expand Down
7 changes: 5 additions & 2 deletions theme/classic/style/moodle.css
Expand Up @@ -35601,6 +35601,9 @@ body {
.navbar-nav .popover-region .icon {
font-weight: bolder;
}
.navbar-nav .popover-region .notification-image .icon {
font-weight: 400;
}

.navbar .popover-region.collapsed .popover-region-container {
opacity: 0;
Expand Down Expand Up @@ -35700,9 +35703,9 @@ body {
width: calc(100% - 24px);
}
.content-item-container.selected {
background-color: #4f94cd;
background-color: #3279b3;
color: #fff;
border-color: #4f94cd;
border-color: #3279b3;
}
.content-item-container.selected .content-item-footer .timestamp {
color: #fff;
Expand Down

0 comments on commit 147605b

Please sign in to comment.