mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Disabled button look for "Current Plan"
This commit is contained in:
parent
a9af3d7707
commit
ecd4312d72
2 changed files with 10 additions and 2 deletions
|
@ -1092,9 +1092,17 @@ a.tag:hover {
|
|||
font-size: .8em;
|
||||
margin-top: -.6em;
|
||||
}
|
||||
.plan-overview .btn-Action {
|
||||
.plan-overview .btn-Action, .plan-overview .current-plan {
|
||||
margin: .9em 0 1.4em 0;
|
||||
}
|
||||
.plans .current-plan {
|
||||
@extend %btn;
|
||||
background: #777;
|
||||
&:hover{
|
||||
background: #777;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
.plan-overview .col {
|
||||
padding-bottom:1.5em;
|
||||
padding-left: 0;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
if !parent_site
|
||||
%{<a href="/#new" class="btn-Action">Sign Up</a>}
|
||||
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
|
||||
if plan_type == 'supporter'
|
||||
plan_price = "$#{Site::PLAN_FEATURES[plan_type.to_sym][:price]*12}, once per year"
|
||||
|
|
Loading…
Add table
Reference in a new issue