diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-06-08 15:30:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-08 15:30:06 +0200 |
commit | 20dda5cca0a4015a743250b4e584a3101e7675f2 (patch) | |
tree | 073f47da50b828cf05a08a46e68ee78006751b9d /app/javascript/styles | |
parent | f4bc77f2908a193ef164b4b4fe68b584d71aaa2c (diff) |
Change full logo to use primary text color of the given theme (#10994)
* Change full logo to use primary text color of the given theme * Fix colors of public layout header in light theme
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon-light/diff.scss | 15 | ||||
-rw-r--r-- | app/javascript/styles/mastodon/about.scss | 3 | ||||
-rw-r--r-- | app/javascript/styles/mastodon/containers.scss | 6 |
3 files changed, 9 insertions, 15 deletions
diff --git a/app/javascript/styles/mastodon-light/diff.scss b/app/javascript/styles/mastodon-light/diff.scss index 21b762182..b6c95fe6a 100644 --- a/app/javascript/styles/mastodon-light/diff.scss +++ b/app/javascript/styles/mastodon-light/diff.scss @@ -531,23 +531,14 @@ html { } .header { - background: lighten($ui-base-color, 24%); - - .nav-link { - color: $white; - - &:hover, - &:focus, - &:active { - color: $white; - } - } + background: $ui-base-color; + border: 1px solid lighten($ui-base-color, 8%); .brand { &:hover, &:focus, &:active { - background: lighten($ui-base-color, 28%); + background: lighten($ui-base-color, 4%); } } } diff --git a/app/javascript/styles/mastodon/about.scss b/app/javascript/styles/mastodon/about.scss index d3b4a5909..61637ce96 100644 --- a/app/javascript/styles/mastodon/about.scss +++ b/app/javascript/styles/mastodon/about.scss @@ -659,7 +659,8 @@ $small-breakpoint: 960px; align-items: center; padding: 50px; - img { + svg { + fill: $primary-text-color; height: 52px; } diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss index 2d68d2b70..3564bf07b 100644 --- a/app/javascript/styles/mastodon/containers.scss +++ b/app/javascript/styles/mastodon/containers.scss @@ -21,7 +21,8 @@ justify-content: center; align-items: center; - img { + svg { + fill: $primary-text-color; height: 42px; margin-right: 10px; } @@ -256,12 +257,13 @@ display: block; padding: 15px; - img { + svg { display: block; height: 18px; width: auto; position: relative; bottom: -2px; + fill: $primary-text-color; @media screen and (max-width: $no-gap-breakpoint) { height: 20px; |