Disabled button look for "Current Plan"

This commit is contained in:
Victoria Wang 2014-10-27 17:18:09 -07:00
parent a9af3d7707
commit ecd4312d72
2 changed files with 10 additions and 2 deletions

View file

@ -1092,9 +1092,17 @@ a.tag:hover {
font-size: .8em; font-size: .8em;
margin-top: -.6em; margin-top: -.6em;
} }
.plan-overview .btn-Action { .plan-overview .btn-Action, .plan-overview .current-plan {
margin: .9em 0 1.4em 0; margin: .9em 0 1.4em 0;
} }
.plans .current-plan {
@extend %btn;
background: #777;
&:hover{
background: #777;
cursor: default;
}
}
.plan-overview .col { .plan-overview .col {
padding-bottom:1.5em; padding-bottom:1.5em;
padding-left: 0; padding-left: 0;

View file

@ -5,7 +5,7 @@
if !parent_site if !parent_site
%{<a href="/#new" class="btn-Action">Sign Up</a>} %{<a href="/#new" class="btn-Action">Sign Up</a>}
elsif parent_site && parent_site.plan_type == plan_type elsif parent_site && parent_site.plan_type == plan_type
%{<p style="padding-top: 15px; padding-bottom: 14px"><strong>Current Plan</strong></p>} %{<div class="current-plan">Current Plan</div>}
else else
if plan_type == 'supporter' if plan_type == 'supporter'
plan_price = "$#{Site::PLAN_FEATURES[plan_type.to_sym][:price]*12}, once per year" plan_price = "$#{Site::PLAN_FEATURES[plan_type.to_sym][:price]*12}, once per year"