diff --git a/app/helpers/accounts_helper.rb b/app/helpers/accounts_helper.rb index db3da2b05..fe2d33c90 100644 --- a/app/helpers/accounts_helper.rb +++ b/app/helpers/accounts_helper.rb @@ -102,7 +102,4 @@ module AccountsHelper content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo'), 'viewBox' => '0 0 216.4144 232.00976') end - def svg_logo_full - content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo-full'), 'viewBox' => '0 0 713.35878 175.8678') - end end diff --git a/app/javascript/images/logo_full.svg b/app/javascript/images/logo_full.svg deleted file mode 100644 index 03bcf93e3..000000000 --- a/app/javascript/images/logo_full.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss index bfcdbd312..e6e0dd74b 100644 --- a/app/javascript/styles/mastodon/containers.scss +++ b/app/javascript/styles/mastodon/containers.scss @@ -278,9 +278,10 @@ div#auth-bground > img { } .header { - background: lighten($ui-base-color, 8%); + background: transparent !important; box-shadow: 0 0 15px rgba($base-shadow-color, 0.2); - border-radius: 4px; + border-radius: 0; + border: none !important; height: 48px; margin: 10px 0; display: flex; @@ -324,6 +325,20 @@ div#auth-bground > img { align-items: stretch; justify-content: flex-end; flex-wrap: nowrap; + + a { + font-weight: bold; + font-size: 1.1em; + } + + a[href*="/sign_in"] { + color: #f20595 !important; + background: none !important; + } + a[href*="/sign_up"] { + color: #fff !important; + background: #f73699 !important; + } } .brand { diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml index 62716ab1e..9dab91a6f 100644 --- a/app/views/layouts/admin.html.haml +++ b/app/views/layouts/admin.html.haml @@ -13,7 +13,7 @@ .sidebar__toggle .sidebar__toggle__logo = link_to root_path do - = svg_logo_full + %span='logo here' = link_to '#', class: 'sidebar__toggle__icon' do = fa_icon 'bars' diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index f5a963e00..028145d62 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -40,4 +40,3 @@ .logo-resources = raw render file: Rails.root.join('app', 'javascript', 'images', 'logo_transparent.svg') - = raw render file: Rails.root.join('app', 'javascript', 'images', 'logo_full.svg') diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index f81454ab2..cecdf1db8 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -9,7 +9,7 @@ %nav.header .nav-left = link_to root_url, class: 'brand' do - = svg_logo_full + %span='logo here' - unless whitelist_mode? = link_to t('directories.directory'), explore_path, class: 'nav-link optional' if Setting.profile_directory