Changing UI on public pages
This commit is contained in:
parent
866ff4e799
commit
db7efe00de
|
@ -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
|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 5.6 KiB |
|
@ -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 {
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue