From 738b848d28da021d9b700787a2ad36f413b5c395 Mon Sep 17 00:00:00 2001 From: Jonathan Kolyer Date: Sun, 11 May 2014 07:18:02 +0000 Subject: [PATCH] VRFS-736 positioning share links on right --- web/app/assets/stylesheets/web/welcome.css.scss | 6 ++++++ web/app/views/users/welcome.html.haml | 10 ++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/web/app/assets/stylesheets/web/welcome.css.scss b/web/app/assets/stylesheets/web/welcome.css.scss index e78d9df34..c7ac49fbb 100644 --- a/web/app/assets/stylesheets/web/welcome.css.scss +++ b/web/app/assets/stylesheets/web/welcome.css.scss @@ -13,6 +13,12 @@ body.web { } } } + .share_links { + position: absolute; + top: 116px; + left: 1100px; + z-index: 10; + } .buzz { width: 300px; diff --git a/web/app/views/users/welcome.html.haml b/web/app/views/users/welcome.html.haml index 69df20f0c..5555bc50d 100644 --- a/web/app/views/users/welcome.html.haml +++ b/web/app/views/users/welcome.html.haml @@ -5,12 +5,10 @@ = link_to image_tag("web/cta_button.png", :alt => "Sign up now for your free account!"), signup_path, class: "signup", id: "signup" .clearleft = link_to "Already have an account?", signin_path, class: "signin", id: "signin" - - %div{:style => "width:100%; text-align:center"} - %div{:style => "margin:0 auto; display: inline-block"} - - [:twitter, :facebook, :google].each do |site| - = link_to(image_tag("content/icon_#{site}.png", :style => "vertical-align:top"), "javascript:void(0)", {'data-site' => site, :class => 'like-link'}) - = ' ' +.share_links + - [:twitter, :facebook, :google].each do |site| + = link_to(image_tag("content/icon_#{site}.png", :style => "vertical-align:top"), "javascript:void(0)", {'data-site' => site, :class => 'like-link'}) + = ' ' - content_for :after_black_bar do - if @jamfest_2014