mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixing notify on themes impacted styles
This commit is contained in:
parent
1748147d30
commit
c65e054276
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user