visual hint for #9536

andresrcom-add-students-to-teams
Thibault Duplessis 2021-08-06 19:18:19 +02:00
parent c92a4ef760
commit 732cabaf17
2 changed files with 12 additions and 1 deletions

View File

@ -44,6 +44,8 @@ $(function () {
const username = $('#communication').find('.title').text().split(' ')[0];
const message = $(this).find('.message').text();
const storedNote = noteStore.get();
noteStore.set((storedNote ? storedNote + ', ' : '') + `${username}: "${message}"`);
noteStore.set((storedNote ? storedNote + '\n' : '') + `${username}: "${message}"`);
const notes = $('#inquiry .notes span').addClass('flash');
setTimeout(() => notes.removeClass('flash'), 100);
});
});

View File

@ -373,4 +373,13 @@ body.no-inquiry {
transform: scale(0.7);
}
}
.notes span {
transition: all 1s ease-out;
&.flash {
background: $c-primary !important;
box-shadow: 0 0px 15px $c-primary;
transition: none;
}
}
}