From 1bfe735d574fdbb01b1aea07db6c69fb3a32b90f Mon Sep 17 00:00:00 2001 From: M Somerville Date: Thu, 30 Aug 2018 22:53:30 +0100 Subject: Inactive header in main profile to match column. (#8520) --- app/javascript/styles/mastodon/containers.scss | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'app/javascript/styles') 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 { -- cgit From f5c052b5e6b96ed7ac503ec26e9596fb11fdd34e Mon Sep 17 00:00:00 2001 From: takayamaki Date: Fri, 31 Aug 2018 10:43:02 +0900 Subject: refactor: getting-started__wrapper should contained in getting-started (#8532) --- .../mastodon/features/getting_started/index.js | 58 +++++++++++----------- app/javascript/styles/mastodon/components.scss | 44 ++++++++-------- 2 files changed, 52 insertions(+), 50 deletions(-) (limited to 'app/javascript/styles') diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index f34ac6b8a..97c726f62 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -126,34 +126,36 @@ export default class GettingStarted extends ImmutablePureComponent { } -
- {!multiColumn && } - {navItems} -
- - {!multiColumn &&
} - -
-
    -
  • ·
  • - {invitesEnabled &&
  • ·
  • } - {multiColumn &&
  • ·
  • } -
  • ·
  • -
  • ·
  • -
  • ·
  • -
  • ·
  • -
  • ·
  • -
  • ·
  • -
  • -
- -

- tootsuite/mastodon (v{version}) }} - /> -

+
+
+ {!multiColumn && } + {navItems} +
+ + {!multiColumn &&
} + +
+
    +
  • ·
  • + {invitesEnabled &&
  • ·
  • } + {multiColumn &&
  • ·
  • } +
  • ·
  • +
  • ·
  • +
  • ·
  • +
  • ·
  • +
  • ·
  • +
  • ·
  • +
  • +
+ +

+ tootsuite/mastodon (v{version}) }} + /> +

+
); diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index db9c166a2..c2965a5d7 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -2279,28 +2279,6 @@ a.account__display-name { .getting-started { color: $dark-text-color; - p { - color: $dark-text-color; - font-size: 13px; - margin-bottom: 20px; - - a { - color: $dark-text-color; - text-decoration: underline; - } - } - - a { - text-decoration: none; - color: $darker-text-color; - - &:hover, - &:focus, - &:active { - text-decoration: underline; - } - } - &__footer { flex: 0 0 auto; padding: 10px; @@ -2313,6 +2291,28 @@ a.account__display-name { ul li { display: inline; } + + p { + color: $dark-text-color; + font-size: 13px; + margin-bottom: 20px; + + a { + color: $dark-text-color; + text-decoration: underline; + } + } + + a { + text-decoration: none; + color: $darker-text-color; + + &:hover, + &:focus, + &:active { + text-decoration: underline; + } + } } &__trends { -- cgit