visual hint for #9536
parent
c92a4ef760
commit
732cabaf17
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue