css: fix references to data-user attributes on <body> tag.

Fixup for 5e03c3d84.
This commit is contained in:
evazion
2020-01-05 16:41:42 -06:00
parent 4b33d5a1c9
commit ee212f8ebb
2 changed files with 2 additions and 2 deletions

View File

@@ -214,7 +214,7 @@
} }
/* variables that aren't defined in the dark theme fall back to the :root theme */ /* variables that aren't defined in the dark theme fall back to the :root theme */
body[data-user-theme="dark"] { body[data-current-user-theme="dark"] {
--grey-1: #1f202c; /* hsluv(265, 15, 12.50); */ --grey-1: #1f202c; /* hsluv(265, 15, 12.50); */
--grey-2: #2c2c3c; /* hsluv(265, 15, 18.75); */ --grey-2: #2c2c3c; /* hsluv(265, 15, 18.75); */
--grey-3: #393a4d; /* hsluv(265, 15, 25.00); */ --grey-3: #393a4d; /* hsluv(265, 15, 25.00); */

View File

@@ -140,7 +140,7 @@ table article.post-preview {
} }
/* Flagged posts have red borders for approvers. */ /* Flagged posts have red borders for approvers. */
body[data-user-can-approve-posts="true"] .post-preview { body[data-current-user-can-approve-posts="true"] .post-preview {
&.post-status-flagged img { &.post-status-flagged img {
border-color: var(--preview-flagged-color); border-color: var(--preview-flagged-color);
} }