diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-08 08:57:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-08 08:57:21 +0100 |
commit | b79ab15859e7f8383526afd147e8416d2df2f7a7 (patch) | |
tree | e6c36733d86008899ac59eedc28a6d2ac511ee20 /app/javascript/styles | |
parent | 77406d3a092db48250a85984dde2f2cc81386146 (diff) |
When enabled, always display media in gallery. Also: click to reveal (#6692)
Fix #6677
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index c35cc9d75..5c2e5713d 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -4680,7 +4680,7 @@ a.status-card { background-size: cover; background-position: center; position: absolute; - color: inherit; + color: $ui-primary-color; text-decoration: none; border-radius: 4px; @@ -4688,6 +4688,7 @@ a.status-card { &:active, &:focus { outline: 0; + color: $ui-secondary-color; &::before { content: ""; @@ -4699,6 +4700,14 @@ a.status-card { } } } + + &__icons { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + font-size: 24px; + } } .account__section-headline { |