From 9ed8051961e7a43406b8c4f69b96260c20d46b0f 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 1e02dc871533de78174b48a6a527f11b0f2bc7ec --- 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 eff964e5048..efff59ff688 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 ba2a06954ec..dd3c1b68841 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 {