about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorM Somerville <dracos@users.noreply.github.com>2018-08-30 22:53:30 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-08-30 23:53:30 +0200
commit1bfe735d574fdbb01b1aea07db6c69fb3a32b90f (patch)
treed0cc0f08fe0b60d0a1b5fc7c9c320168c945f624 /app/javascript/styles
parent11658d8653c7caadddfb0e3fe27272107c2e87b1 (diff)
Inactive header in main profile to match column. (#8520)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/containers.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss
index 8ecedd2cb..2c2ce5d3b 100644
--- a/app/javascript/styles/mastodon/containers.scss
+++ b/app/javascript/styles/mastodon/containers.scss
@@ -345,6 +345,23 @@
     margin-bottom: 10px;
     box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
 
+    &.inactive {
+      opacity: 0.5;
+
+      .public-account-header__image,
+      .avatar {
+        filter: grayscale(100%);
+      }
+
+      .logo-button {
+        background-color: $secondary-text-color;
+
+        svg path:last-child {
+          fill: $secondary-text-color;
+        }
+      }
+    }
+
     &__image {
       border-radius: 4px 4px 0 0;
       overflow: hidden;
@@ -582,6 +599,10 @@
               border-bottom: 4px solid $highlight-text-color;
               opacity: 1;
             }
+
+            &.inactive::after {
+              border-bottom-color: $secondary-text-color;
+            }
           }
 
           &:hover {