mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-22 20:10:40 +03:00
Added important color
This commit is contained in:
parent
a5cb75fbc5
commit
9e9c7be917
8 changed files with 11 additions and 10 deletions
|
@ -51,14 +51,14 @@ a {
|
||||||
|
|
||||||
.btn-danger {
|
.btn-danger {
|
||||||
color: var(--btn-clr-1);
|
color: var(--btn-clr-1);
|
||||||
background-color: #ff0000;
|
background-color: var(--important);
|
||||||
padding: 0px 10px 0px 10px;
|
padding: 0px 10px 0px 10px;
|
||||||
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 2px solid #ff0000;
|
border: 2px solid var(--important);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,8 +86,8 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-danger:hover {
|
.btn-danger:hover {
|
||||||
background-color: #d01919;
|
background-color: var(--important);
|
||||||
border: 2px solid #d01919;
|
border: 2px solid var(--important);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
--second: #747474;
|
--second: #747474;
|
||||||
--reaction-hover: #151515;
|
--reaction-hover: #151515;
|
||||||
--t-username: #555;
|
--t-username: #555;
|
||||||
|
--important: red;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
|
@ -140,7 +140,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dots-menu a:hover:nth-child(1) {
|
.dots-menu a:hover:nth-child(1) {
|
||||||
color: #e70000
|
color: var(--important);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dots-menu a:hover:nth-child(2) {
|
.dots-menu a:hover:nth-child(2) {
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.thread-box-title>span {
|
.thread-box-title>span {
|
||||||
color: #ff0000;
|
color: var(--important);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-box-title>span {
|
.user-box-title>span {
|
||||||
color: #ff0000;
|
color: var(--important);
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-box-img {
|
.user-box-img {
|
||||||
|
|
|
@ -46,7 +46,7 @@ window.delete_message = async function (id) {
|
||||||
if (response.deleted) {
|
if (response.deleted) {
|
||||||
alert("Message deleted");
|
alert("Message deleted");
|
||||||
document.getElementById("dots-" + id).innerHTML = `
|
document.getElementById("dots-" + id).innerHTML = `
|
||||||
<i class='bx bx-trash bx-sm' id="deleted-${id}" style="color: RED;"></i>
|
<i class='bx bx-trash bx-sm' id="deleted-${id}" style="color: var(--important)"></i>
|
||||||
`+ document.getElementById("dots-" + id).innerHTML;
|
`+ document.getElementById("dots-" + id).innerHTML;
|
||||||
document.getElementById("dot-" + id).innerHTML = `<a onclick="undelete_message('${id}');">UNDELETE</a>`;
|
document.getElementById("dot-" + id).innerHTML = `<a onclick="undelete_message('${id}');">UNDELETE</a>`;
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
<div class="dots" id="dots-<%=message.id %>" onclick="dots('<%=message.id %>')">
|
<div class="dots" id="dots-<%=message.id %>" onclick="dots('<%=message.id %>')">
|
||||||
<% if (message.deleted){ %>
|
<% if (message.deleted){ %>
|
||||||
<i class='bx bx-trash bx-sm' id="deleted-<%=message.id %>" style="color: RED;"></i>
|
<i class='bx bx-trash bx-sm' id="deleted-<%=message.id %>" style="color: var(--important);"></i>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (message.edited){ %>
|
<% if (message.edited){ %>
|
||||||
<i class='bx bx-pencil bx-sm' id="edited-<%=message.id %>" style="color: GREEN;"></i>
|
<i class='bx bx-pencil bx-sm' id="edited-<%=message.id %>" style="color: GREEN;"></i>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="user-box">
|
<div class="user-box">
|
||||||
<img src="<%= user.avatar %>" class="user-box-img">
|
<img src="<%= user.avatar %>" class="user-box-img">
|
||||||
<div class="user-box-title"> <a href="<%= user.getLink() %>">
|
<div class="user-box-title"> <a href="<%= user.getLink() %>">
|
||||||
<% if (user.deleted) { %> <span style="color: RED;">[DELETED]</span><% } %>
|
<% if (user.deleted) { %> <span style="color: var(--important);">[DELETED]</span><% } %>
|
||||||
<%= user.name %></a></div>
|
<%= user.name %></a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue