From 8e4dd058b6b6a6e9a8e66dfb80a4a82808e0295b Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sat, 22 Apr 2017 19:15:03 +0200 Subject: [PATCH] Site name text improved --- app/assets/stylesheets/customisations.scss | 7 ++++--- app/views/devise/sessions/new.slim | 12 +++++++++--- app/views/layouts/_topbar.slim | 5 ++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/customisations.scss b/app/assets/stylesheets/customisations.scss index b0589c6..d2c86ed 100644 --- a/app/assets/stylesheets/customisations.scss +++ b/app/assets/stylesheets/customisations.scss @@ -342,7 +342,8 @@ a.black width: inherit !important; } -/* Badges in the topbar seem a bit too high */ -nav.top-bar .badge { - padding-bottom: 0.2em; +.top-bar-title a { + font-size: 1.8rem; + // font-weight: bold; + line-height: 1; } diff --git a/app/views/devise/sessions/new.slim b/app/views/devise/sessions/new.slim index cf9ba23..d9efc4e 100644 --- a/app/views/devise/sessions/new.slim +++ b/app/views/devise/sessions/new.slim @@ -2,11 +2,17 @@ .row .small-8.columns.small-centered - div.callout.primary + div.callout p ' You are not required to log in to upload new screenshots. - ' It makes it easier to keep track of your uploads though. - ' And others can see how much you contributed already. + ' Without logging in all your uploads will have to be moderated + ' by the website's staff to avoid inappropriate images getting published. + ' This may take up to a day. + p + ' If you decide to login you will be able to manage your own + ' uploads later. And others can see how much you contributed already. + ' In addition once your first screenshot is approved you will be able + ' to upload further screenshots without moderation. ' Please use any of the below services to log you in. ' You do not need to create an account at this site. diff --git a/app/views/layouts/_topbar.slim b/app/views/layouts/_topbar.slim index 2b3b571..afcdccf 100644 --- a/app/views/layouts/_topbar.slim +++ b/app/views/layouts/_topbar.slim @@ -1,13 +1,12 @@ nav.top-bar .row .top-bar-left - ul.menu - li.menu.sitename + .top-bar-title a href='/' // TODO: Make the logo depend on the virtual host img src="/images/logos/debian.svg" width="35" alt="Debian logo" // TODO: Use proper distribution name - ' Debian Screenshots > + ' Debian Screenshots > .top-bar-right ul.dropdown.menu data-dropdown-menu=true