Skip to content

Commit

Permalink
Merge branch 'MDL-80364' of https://github.com/pedrojordao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 committed Feb 29, 2024
2 parents 3020fac + 25125bb commit 1c11531
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 7 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
7 changes: 6 additions & 1 deletion theme/boost/scss/moodle/popover-region.scss
Expand Up @@ -6,7 +6,7 @@ $region-header-height: 25px;
$region-footer-height: 30px;
$content-item-hover-colour-bg: $primary;
$content-item-hover-colour-text: $white;
$content-item-selected-colour-bg: #4f94cd;
$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 @@ -36340,6 +36340,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 @@ -36439,9 +36442,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 @@ -36274,6 +36274,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 @@ -36373,9 +36376,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 1c11531

Please sign in to comment.