about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-01 19:43:35 +0200
committerGitHub <noreply@github.com>2019-09-01 19:43:35 +0200
commitd3442894310022062debc4c6ed6b117f8bc3904b (patch)
tree25fe830350190b6c725e63ff5eccf760a0783ab9 /app/javascript/styles
parent59b013df5f736de2ab959dbf139c2b961539cc71 (diff)
Add "not available" label on unknown media attachments (#11715)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index d7e90fcaf..0b569bb8f 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -3477,6 +3477,14 @@ a.status-card.compact:hover {
         background: rgba($base-overlay-background, 0.8);
       }
     }
+
+    &:disabled {
+      cursor: not-allowed;
+
+      .spoiler-button__overlay__label {
+        background: rgba($base-overlay-background, 0.5);
+      }
+    }
   }
 }