Fixing notify on themes impacted styles

This commit is contained in:
Silversthorn 2024-07-28 19:09:10 +02:00
parent 1748147d30
commit c65e054276
2 changed files with 20 additions and 2 deletions

View File

@ -349,6 +349,24 @@ noscript.noscript-warning {
font-family: 'Sarabun', 'roboto', sans-serif; font-family: 'Sarabun', 'roboto', sans-serif;
} }
/**************************************************************/
/**************************************************************/
/* CSS for Annoucements Displays */
/**************************************************************/
.annoucement-item>p {
float: right;
}
.annoucement-title {
color: var(--info);
}
.annoucement-item:hover>a .annoucement-title {
color: var(--purple);
}
/**************************************************************/ /**************************************************************/
div.form-group.reset-secret { div.form-group.reset-secret {
background: rgba(243, 21, 6, 0.3); background: rgba(243, 21, 6, 0.3);

View File

@ -96,7 +96,7 @@
console.log(data); console.log(data);
let text = ""; let text = "";
for (let value of data) { for (let value of data) {
text += `<li class="card-header header-sm justify-content-between align-items-center" id="${value.id}"><p style="float: right;"><i data-id="${value.id}"class="clear-button fa-regular fa-x"></i></p><a style="color: var(--purple);" href=${value.link} target="_blank"><h6>${value.title}</h6><small><p>${value.date}</p></small><p>${value.desc}</p></li></a>` text += `<li class="card-header header-sm justify-content-between align-items-center annoucement-item" id="${value.id}"><p><i data-id="${value.id}" class="clear-button fa-regular fa-x"></i></p><a href=${value.link} target="_blank"><h6 class="annoucement-title">${value.title}</h6><small><p>${value.date}</p></small><p>${value.desc}</p></li></a>`
} }
if (data.length > 0) { if (data.length > 0) {
localStorage.setItem("notif-count", data.length); localStorage.setItem("notif-count", data.length);