From 99fccdb4e449642cbf81f00d12e07d19e18b7cc3 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Fri, 18 May 2018 17:24:11 +0200 Subject: [PATCH] Add preference to hide following/followers lists Port SCSS from aeceb63275bc50a15a423102d2aa7ce9cb1a85cf --- app/javascript/flavours/glitch/styles/accounts.scss | 13 +++++++++++-- app/javascript/flavours/glitch/styles/footer.scss | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/accounts.scss b/app/javascript/flavours/glitch/styles/accounts.scss index eff964e504..efff59ff68 100644 --- a/app/javascript/flavours/glitch/styles/accounts.scss +++ b/app/javascript/flavours/glitch/styles/accounts.scss @@ -326,6 +326,15 @@ z-index: 2; position: relative; + &.empty img { + position: absolute; + opacity: 0.2; + height: 200px; + left: 0; + bottom: 0; + pointer-events: none; + } + @media screen and (max-width: 740px) { border-radius: 0; box-shadow: none; @@ -445,8 +454,8 @@ font-size: 14px; font-weight: 500; text-align: center; - padding: 60px 0; - padding-top: 55px; + padding: 130px 0; + padding-top: 125px; margin: 0 auto; cursor: default; } diff --git a/app/javascript/flavours/glitch/styles/footer.scss b/app/javascript/flavours/glitch/styles/footer.scss index ba2a06954e..dd3c1b6884 100644 --- a/app/javascript/flavours/glitch/styles/footer.scss +++ b/app/javascript/flavours/glitch/styles/footer.scss @@ -4,7 +4,7 @@ font-size: 12px; color: $darker-text-color; - .domain { + .footer__domain { font-weight: 500; a {