mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Fix up style of Notifications
Move Notification Sass to its own file
This commit is contained in:
parent
7605e5ab40
commit
4efd9a04ee
4 changed files with 138 additions and 97 deletions
|
@ -131,10 +131,15 @@
|
|||
div.appendChild(icon);
|
||||
|
||||
// Create text element and append to notification
|
||||
var gwagwa = document.createElement('span');
|
||||
gwagwa.classList.add('sniffle__notification-text');
|
||||
gwagwa.innerHTML = text;
|
||||
div.appendChild(gwagwa);
|
||||
var description = document.createElement('span');
|
||||
description.classList.add('sniffle__notification-text');
|
||||
description.innerHTML = text;
|
||||
div.appendChild(description);
|
||||
|
||||
// Create span to show time remaining
|
||||
var timer = document.createElement('span');
|
||||
timer.classList.add('sniffle__notification-time');
|
||||
div.appendChild(timer);
|
||||
|
||||
// Append notification to container
|
||||
container.appendChild(div);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue