0
0
Fork 0

Hide sensitive image in default on the public pages (#5009)

Additionally, this restores previous background / text color for media spoiler.
This commit is contained in:
unarist 2017-09-19 23:03:45 +09:00 committed by Eugen Rochko
parent 41e6c8b151
commit 4aea3f88a6
3 changed files with 15 additions and 2 deletions

View file

@ -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);