News moderation buttons directly on the home page

This commit is contained in:
imperosol committed 2025-02-15 14:04:43 +01:00
1 parent 92b2befd55
commit 6627ea417c
7 files changed
+243 -77

No files matched your search

+14
View File
@@ -244,6 +244,20 @@ body {
}
}
&.btn-green {
$bg-color: rgba(0, 210, 83, 0.4);
background-color: $bg-color;
color: $black-color;
&:not(:disabled):hover {
background-color: darken($bg-color, 15%);
}
&:disabled {
background-color: lighten($bg-color, 15%);
}
}
&.btn-red {
background-color: #fc8181;
color: black;