From 4a7781f1e788dd175778b9af5c2751297442b530 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Thu, 19 Mar 2015 02:46:25 +0100 Subject: [PATCH] Unify invite code and contacts page link style --- app/assets/stylesheets/invitations.scss | 1 + app/assets/stylesheets/sidebar.scss | 1 - app/views/contacts/_sidebar.html.haml | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/invitations.scss b/app/assets/stylesheets/invitations.scss index 79d7db5ec..366b0caf4 100644 --- a/app/assets/stylesheets/invitations.scss +++ b/app/assets/stylesheets/invitations.scss @@ -1,4 +1,5 @@ #invite_code { + background-color: $white; cursor: text; display: block; margin-top: 5px; diff --git a/app/assets/stylesheets/sidebar.scss b/app/assets/stylesheets/sidebar.scss index 57f4fe105..ac96c0bf2 100644 --- a/app/assets/stylesheets/sidebar.scss +++ b/app/assets/stylesheets/sidebar.scss @@ -34,7 +34,6 @@ } & > #invite_code { - background-color: $white; box-sizing: border-box; font-size: 11px; height: 30px; diff --git a/app/views/contacts/_sidebar.html.haml b/app/views/contacts/_sidebar.html.haml index ddee38176..45d14e1ce 100644 --- a/app/views/contacts/_sidebar.html.haml +++ b/app/views/contacts/_sidebar.html.haml @@ -4,7 +4,7 @@ %hr - if AppConfig.settings.community_spotlight.enable? .text-center.spotlight - = link_to t('contacts.spotlight.community_spotlight'), community_spotlight_path, :class => "element_selector" + = link_to t('contacts.spotlight.community_spotlight'), community_spotlight_path, :class => "btn btn-link" .text-center .btn.btn-link{ 'data-toggle' => 'modal', 'data-target' => '#invitationsModal'} = t('invitations.new.invite_someone_to_join')