diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-01 19:43:35 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-09-05 13:06:41 +0200 |
commit | 23c513846a3f829c81d98de1f6d274fc261aea3e (patch) | |
tree | 49f2d06a110b7c80669ddbb0207b958b42264531 /app/javascript/flavours/glitch/styles/components/index.scss | |
parent | 5088eb8388fbfcb210a518f918ae5332e6d3979e (diff) |
[Glitch] Add "not available" label on unknown media attachments
Port d3442894310022062debc4c6ed6b117f8bc3904b to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/index.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/index.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss index 3e224ac63..7af80dd74 100644 --- a/app/javascript/flavours/glitch/styles/components/index.scss +++ b/app/javascript/flavours/glitch/styles/components/index.scss @@ -1267,6 +1267,14 @@ background: rgba($base-overlay-background, 0.8); } } + + &:disabled { + cursor: not-allowed; + + .spoiler-button__overlay__label { + background: rgba($base-overlay-background, 0.5); + } + } } } |