mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [AAE-4529] Refactor Notification History Component * Improve code * Add maxNotifications * More changes * Add documentation * Rebase branch * Fix build * Update notification-history.component.md * Fix e2e tests Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
77 lines
1.8 KiB
SCSS
77 lines
1.8 KiB
SCSS
@mixin adf-notification-history-theme($theme) {
|
|
$background: map-get($theme, background);
|
|
$accent: map-get($theme, accent);
|
|
|
|
.adf {
|
|
&-notification-history-menu_button.mat-button {
|
|
margin-right: 0;
|
|
border-radius: 90%;
|
|
padding: 0;
|
|
min-width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
&-notification-history-list .mat-subheader {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&-notification-history-menu {
|
|
&-item {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&-item:focus {
|
|
outline: none;
|
|
background: mat-color($background, 'hover');
|
|
}
|
|
|
|
&-item:hover {
|
|
background-color: mat-color($background, 'hover');
|
|
}
|
|
|
|
&-message, &-no-message {
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
&-date {
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
&-initiator {
|
|
margin: 4px;
|
|
}
|
|
|
|
}
|
|
|
|
&-notification-initiator-pic {
|
|
min-width: 40px;
|
|
background: mat-color($accent);
|
|
display: inline-block;
|
|
height: 40px;
|
|
border-radius: 100px;
|
|
text-align: center;
|
|
font-weight: bolder;
|
|
font-size: 18px;
|
|
text-transform: uppercase;
|
|
vertical-align: middle;
|
|
line-height: 40px;
|
|
color: mat-color($mat-grey, 50);
|
|
}
|
|
|
|
&-notification-history-load-more {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
|
|
.mat-menu-panel.adf-notification-history-menu {
|
|
min-width: 320px;
|
|
max-height: 500px;
|
|
|
|
.mat-menu-content {
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|