]> cat aescling's git repositories - mastodon.git/commitdiff
Fix regression of status colors in actions modal in web UI (#17903)
authorClaire <claire.github-309c@sitedethib.com>
Tue, 29 Mar 2022 20:55:37 +0000 (22:55 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Mar 2022 20:55:37 +0000 (22:55 +0200)
Fixes #17900

Regression in #17844 (#17851 restored the code in the wrong place…)

app/javascript/styles/mastodon/components.scss

index d627d9557cdb270c88deb3506835f70e9eb32382..3bd52eed37efa52ed7994a79406fed8cc2ea5fb9 100644 (file)
   .audio-player {
     margin-top: 8px;
   }
+
+  &.light {
+    .status__relative-time,
+    .status__visibility-icon {
+      color: $light-text-color;
+    }
+
+    .status__display-name {
+      color: $inverted-text-color;
+    }
+
+    .display-name {
+      color: $light-text-color;
+
+      strong {
+        color: $inverted-text-color;
+      }
+    }
+
+    .status__content {
+      color: $inverted-text-color;
+
+      a {
+        color: $highlight-text-color;
+      }
+
+      a.status__content__spoiler-link {
+        color: $primary-text-color;
+        background: $ui-primary-color;
+
+        &:hover,
+        &:focus {
+          background: lighten($ui-primary-color, 8%);
+        }
+      }
+    }
+  }
 }
 
 .status__relative-time,
   .audio-player {
     margin-top: 8px;
   }
-
-  &.light {
-    .status__relative-time,
-    .status__visibility-icon {
-      color: $light-text-color;
-    }
-
-    .status__display-name {
-      color: $inverted-text-color;
-    }
-
-    .display-name {
-      color: $light-text-color;
-
-      strong {
-        color: $inverted-text-color;
-      }
-    }
-
-    .status__content {
-      color: $inverted-text-color;
-
-      a {
-        color: $highlight-text-color;
-      }
-
-      a.status__content__spoiler-link {
-        color: $primary-text-color;
-        background: $ui-primary-color;
-
-        &:hover,
-        &:focus {
-          background: lighten($ui-primary-color, 8%);
-        }
-      }
-    }
-  }
 }
 
 .detailed-status__meta {