diff options
author | unarist <m.unarist@gmail.com> | 2017-09-19 23:03:45 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-19 16:03:45 +0200 |
commit | 4aea3f88a6d30f102a79c2da7fcfac96465ba1a8 (patch) | |
tree | eca4486fb4c3027f08bb92569f43a12ee1661991 /app/javascript/styles | |
parent | 41e6c8b151da937acbb73b14df74fbd230dea981 (diff) |
Hide sensitive image in default on the public pages (#5009)
Additionally, this restores previous background / text color for media spoiler.
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/stream_entries.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/javascript/styles/stream_entries.scss b/app/javascript/styles/stream_entries.scss index ba6d89107..4f323a378 100644 --- a/app/javascript/styles/stream_entries.scss +++ b/app/javascript/styles/stream_entries.scss @@ -243,6 +243,19 @@ } } + .media-spoiler { + background: $ui-primary-color; + color: $white; + transition: all 100ms linear; + + &:hover, + &:active, + &:focus { + background: darken($ui-primary-color, 5%); + color: unset; + } + } + .pre-header { padding: 14px 0; padding-left: (48px + 14px * 2); |