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:
evazion
2019-09-17 00:28:41 -05:00
parent 31ebfa0a82
commit e3406d1bc7
6 changed files with 16 additions and 61 deletions

View File

@@ -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);
}
}

View File

@@ -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);
}
}
}

View File

@@ -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;
}
}

View File

@@ -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 {

View File

@@ -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 {