Skip to content

Commit

Permalink
fix(mail(css)): add bold font to mailboxes with positive unseen count
Browse files Browse the repository at this point in the history
Fixes #4277
  • Loading branch information
cgx committed Oct 19, 2021
1 parent e5dbebb commit 270bc2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
' ng-click="$ctrl.selectFolder($event)"',
' ng-dblclick="$ctrl.editFolder($event)">',
' <md-icon ng-class="{ \'sg-opacity-70\': $ctrl.mailbox.isNoSelect() }">{{$ctrl.mailbox.$icon}}</md-icon>',
' <span ng-bind="$ctrl.mailbox.$displayName"></span>',
' <span ng-class="{ \'sg-font-medium\': $ctrl.mailbox.unseenCount }" ng-bind="$ctrl.mailbox.$displayName"></span>',
' <span class="sg-counter-badge ng-hide"',
' ng-show="$ctrl.mailbox.unseenCount"',
' ng-bind="$ctrl.mailbox.unseenCount"></span>',
Expand Down
4 changes: 4 additions & 0 deletions UI/WebServerResources/scss/core/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@ html p {
text-transform: uppercase;
}

.sg-font-medium {
font-weight: $sg-font-medium;
}

// Date bloc in use on the toolbar
// ----------------------------------------------------------------------------
$today-font-size: 72px; // Visualy adjusted
Expand Down

0 comments on commit 270bc2e

Please sign in to comment.