From 4447652e8191cd0f1543568813c854bfdc2c8a61 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Tue, 6 Dec 2016 08:27:42 -0600 Subject: [PATCH 1/3] Move image styles to framework --- .../stylesheets/{pages/appearances.scss => framework/images.scss} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/assets/stylesheets/{pages/appearances.scss => framework/images.scss} (100%) diff --git a/app/assets/stylesheets/pages/appearances.scss b/app/assets/stylesheets/framework/images.scss similarity index 100% rename from app/assets/stylesheets/pages/appearances.scss rename to app/assets/stylesheets/framework/images.scss From 4aaf6af3cc7970cbe5414d323f290b4a94e479d0 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Tue, 6 Dec 2016 08:29:01 -0600 Subject: [PATCH 2/3] Move award emojis to framwork --- app/assets/stylesheets/framework.scss | 2 ++ app/assets/stylesheets/{pages => framework}/awards.scss | 0 2 files changed, 2 insertions(+) rename app/assets/stylesheets/{pages => framework}/awards.scss (100%) diff --git a/app/assets/stylesheets/framework.scss b/app/assets/stylesheets/framework.scss index 4aaff7d04f1..c0ddaacd558 100644 --- a/app/assets/stylesheets/framework.scss +++ b/app/assets/stylesheets/framework.scss @@ -40,3 +40,5 @@ @import "framework/blank"; @import "framework/wells.scss"; @import "framework/page-header.scss"; +@import "framework/awards.scss"; +@import "framework/images.scss"; diff --git a/app/assets/stylesheets/pages/awards.scss b/app/assets/stylesheets/framework/awards.scss similarity index 100% rename from app/assets/stylesheets/pages/awards.scss rename to app/assets/stylesheets/framework/awards.scss From bdd1193f57a2e2e9c38f5f267179bd62a876f030 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Tue, 6 Dec 2016 09:18:17 -0600 Subject: [PATCH 3/3] Remove confirmation.scss --- .../stylesheets/pages/confirmation.scss | 32 ------------------- .../devise/confirmations/almost_there.haml | 7 ++-- 2 files changed, 4 insertions(+), 35 deletions(-) delete mode 100644 app/assets/stylesheets/pages/confirmation.scss diff --git a/app/assets/stylesheets/pages/confirmation.scss b/app/assets/stylesheets/pages/confirmation.scss deleted file mode 100644 index 8aab5e8231d..00000000000 --- a/app/assets/stylesheets/pages/confirmation.scss +++ /dev/null @@ -1,32 +0,0 @@ -.well-confirmation { - margin-bottom: 20px; - border-bottom: 1px solid $gray-darker; - - > h1, - h2, - h3, - h4, - h5, - h6 { - font-weight: 400; - } - - .lead { - margin-bottom: 20px; - } - - ul, - ol { - padding-left: 0; - } - - li { - list-style-type: none; - } -} - -.confirmation-content { - a { - color: $md-link-color; - } -} diff --git a/app/views/devise/confirmations/almost_there.haml b/app/views/devise/confirmations/almost_there.haml index 20cd7b0179d..fb70d158096 100644 --- a/app/views/devise/confirmations/almost_there.haml +++ b/app/views/devise/confirmations/almost_there.haml @@ -1,12 +1,13 @@ -.well-confirmation.text-center +.well-confirmation.text-center.append-bottom-20 %h1.prepend-top-0 Almost there... - %p.lead + %p.lead.append-bottom-20 Please check your email to confirm your account + %hr - if current_application_settings.after_sign_up_text.present? .well-confirmation.text-center = markdown_field(current_application_settings, :after_sign_up_text) -%p.confirmation-content.text-center +%p.text-center No confirmation email received? Please check your spam folder or .append-bottom-20.prepend-top-20.text-center %a.btn.btn-lg.btn-success{ href: new_user_confirmation_path }