css: standardize success/error background colors.
Standardize background colors to light green or light red in several places: * Modqueue positive/negative score backgrounds. * Modqueue quality/sample warning backgrounds. * User feedback positive/negative backgrounds. * Ban expired/unexpired backgrounds. * Flag resolved/unresolved backgrounds (removed; resolved flags no longer have a grey background because of inconsistencies in what resolved means).
This commit is contained in:
@@ -1,17 +1,9 @@
|
||||
#c-bans #a-index {
|
||||
tr[data-expired="true"] {
|
||||
background-color: var(--success-color) !important;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--success-hover-color) !important;
|
||||
}
|
||||
background-color: var(--success-background-color);
|
||||
}
|
||||
|
||||
tr[data-expired="false"] {
|
||||
background-color: var(--error-color) !important;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--error-hover-color) !important;
|
||||
}
|
||||
background-color: var(--error-background-color);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
div#c-post-events {
|
||||
#a-index {
|
||||
tr.resolved-true {
|
||||
background: var(--post-events-resolved-background);
|
||||
}
|
||||
|
||||
tr.resolved-false {
|
||||
background: var(--post-events-unresolved-background);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
div#c-post-flags {
|
||||
tr.resolved-true {
|
||||
background: var(--post-events-resolved-background) !important;
|
||||
}
|
||||
|
||||
tr.resolved-false {
|
||||
background: var(--post-events-unresolved-background) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +1,10 @@
|
||||
div#c-user-feedbacks, div#c-moderator-dashboards div#col2 {
|
||||
.feedback-category-positive {
|
||||
background: var(--user-feedback-positive-background-color);
|
||||
background: var(--success-background-color);
|
||||
}
|
||||
|
||||
.feedback-category-negative {
|
||||
background: var(--user-feedback-negative-background-color);
|
||||
}
|
||||
|
||||
.feedback-category-neutral {
|
||||
background: var(--user-feedback-neutral-background-color);
|
||||
background: var(--error-background-color);
|
||||
}
|
||||
|
||||
#negative-policy {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#c-user-name-change-requests {
|
||||
.feedback-category-positive {
|
||||
background: var(--user-name-change-requests-positive-background) !important;
|
||||
background: var(--success-background-color);
|
||||
}
|
||||
|
||||
.feedback-category-negative {
|
||||
background: var(--user-name-change-requests-negative-background) !important;
|
||||
background: var(--error-background-color);
|
||||
}
|
||||
|
||||
li {
|
||||
|
||||
Reference in New Issue
Block a user