style fixes

This commit is contained in:
albert
2012-09-21 16:34:21 -04:00
parent 964f74d6cd
commit aea7f938b8
4 changed files with 73 additions and 57 deletions

View File

@@ -41,43 +41,41 @@ div#c-users {
max-width: 40em; max-width: 40em;
font-size: 1.2em; font-size: 1.2em;
form {
input {
font-size: 20pt;
}
}
div#feature-comparison { div#feature-comparison {
overflow: hidden; overflow: hidden;
margin-bottom: 1em; margin-bottom: 1em;
div.column { table {
width: 11em; width: 100%;
float: left;
border: 1px solid #666;
@include border-radius(4px);
padding: 0.25em 0.5em;
margin: 0.5em;
h1 { colgroup#basic {
font-size: $h3_size; background-color: #ddd;
} }
li { colgroup#gold {
margin-left: 1.5em; background-color: #ffe;
list-style-type: disc;
} }
&#basic-account { colgroup#platinum {
background: rgb(240, 255, 240); background-color: #eee;
} }
&#privileged-account { td, th {
background: rgb(255, 255, 240); text-align: center;
vertical-align: top;
padding: 0.5em 0;
} }
&#contributor-account { tbody {
background: rgb(240, 240, 240); tr {
border-bottom: 2px solid black;
}
}
p.cost-footnote {
font-size: 80%;
color: gray;
margin: 0;
} }
} }
} }

View File

@@ -1 +1 @@
<p>You can upgrade your account by sending $10 USD via Paypal to <%= mail_to Danbooru.config.upgrade_account_email %>. Be sure to include your username.</p> <p>You can upgrade your account by sending $20 USD via Paypal to <%= mail_to Danbooru.config.upgrade_account_email %>. Be sure to include your username.</p>

View File

@@ -1,4 +1,4 @@
<div class="ui-corner-all ui-state-highlight" id="upgrade-account-notice"> <div class="ui-corner-all ui-state-highlight" id="upgrade-account-notice">
<h1><%= link_to "Upgrade your account for only $10!", upgrade_information_users_path %></h1> <h1><%= link_to "Upgrade your account for only $20!", upgrade_information_users_path %></h1>
<p><%= link_to "No thanks", "#", :id => "hide-upgrade-account-notice" %></p> <p><%= link_to "No thanks", "#", :id => "hide-upgrade-account-notice" %></p>
</div> </div>

View File

@@ -1,39 +1,57 @@
<div id="c-users"> <div id="c-users">
<div id="a-upgrade-information"> <div id="a-upgrade-information">
<h1>Upgrade Account</h1> <h1>Upgrade Your Account</h1>
<p class="copy">Annoyed by ads? Want more searching power? Upgrade your account for only $10 and become a power user of the best database of anime artwork on the internet.</p> <p class="copy">Annoyed by ads? Want more searching power? Upgrade your account and become a power user of the best database of anime artwork on the internet.</p>
<div id="feature-comparison"> <div id="feature-comparison">
<div class="column" id="basic-account"> <table>
<h1>Basic</h1> <thead>
<ul> <tr>
<li>Free</li> <th></th>
<li>Ad supported</li> <th>Basic</th>
<li>Search 2 tags at a time</li> <th>Gold</th>
</ul> <th>Platinum</th>
</div> </tr>
</thead>
<div class="column" id="privileged-account"> <tbody>
<h1>Privileged</h1> <colgroup></colgroup>
<ul> <colgroup id="basic"></colgroup>
<li>One time $10 fee</li> <colgroup id="gold"></colgroup>
<li>No ads</li> <colgroup id="platinum"></colgroup>
<li>Search 8 tags at a time</li> <tr>
<li>Subscribe to tags</li> <td>Cost</td>
<li>Warm fuzzy feeling</li> <td>Free</td>
</ul> <td>$20<p class="cost-footnote">One time fee</p></td>
</div> <td>$40<p class="cost-footnote">One time fee</p></td>
</tr>
<div class="column" id="contributor-account"> <tr>
<h1>Contributor</h1> <td>Ads</td>
<ul> <td>Yes</td>
<li>Invite only</li> <td>None</td>
<li>Unlimited uploads</li> <td>None</td>
</ul> </tr>
</div> <tr>
<td>Tag Limit</td>
<td>2</td>
<td>6</td>
<td>12</td>
</tr>
<tr>
<td>Favorite Limit</td>
<td>1,000</td>
<td>5,000</td>
<td>Unlimited</td>
</tr>
<tr>
<td>Bookmark Tags</td>
<td>No</td>
<td>Yes</td>
<td>Yes</td>
</tr>
</tbody>
</table>
</div> </div>
<p>Just provide your email address and details for upgrading your account will be sent to you. If you have any further questions or concerns, feel free to contact me at <%= mail_to Danbooru.config.contact_email, nil, :encode => :javascript %>.</p> <p>Just provide your email address and details for upgrading your account will be sent to you. If you have any further questions or concerns, feel free to contact me at <%= mail_to Danbooru.config.contact_email, nil, :encode => :javascript %>.</p>
<%= form_tag(upgrade_user_path(CurrentUser.user)) do %> <%= form_tag(upgrade_user_path(CurrentUser.user)) do %>