Permalink
Browse files

remove ::selection

  • Loading branch information...
nov committed May 15, 2011
1 parent b668d8b commit 3ffa5af9b7fb447177a53138929aa725c09050e6
@@ -26,16 +26,16 @@ body > header h1 {
font-weight: normal;
line-height: 33px;
}
+body > header p {
+ color: #616161;
+}
body > header a {
color: #333;
text-decoration: none;
}
body > header a:hover {
color: #666;
}
-body > header p {
- color: #616161;
-}
body > header .money {
opacity: 0.6;
}
@@ -67,15 +67,6 @@ body {
line-height: 18px;
}
-/* Selection colours (easy to forget) */
-
-::selection {background: rgb(255,255,158);}
-::-moz-selection {background: rgb(255,255,158);}
-img::selection {background: transparent;}
-img::-moz-selection {background: transparent;}
-body {-webkit-tap-highlight-color: rgb(255,255,158);}
-
-
/* Default Layout: 992px.
Gutters: 24px.
@@ -4,8 +4,20 @@
You can use Sass (SCSS) here: http://sass-lang.com/
*/
-.payments dl {
- padding: 15px;
- border: 1px solid #ddd;
- border-radius: 6px;
+.payments {
+ dl {
+ padding: 15px;
+ border: 1px solid #ddd;
+ border-radius: 6px;
+ }
+ .unsubscribe {
+ font-size: 12px;
+ }
+ .unsubscribe a {
+ color: #900;
+ text-decoration: none;
+ }
+ .unsubscribe a:hover {
+ color: #d00;
+ }
}
@@ -1,4 +1,4 @@
-<header id="masthead">
+<header>
<h1><%= link_to t('title'), root_path %></h1>
<p><%= t 'description' %></p>
<div class="money">
@@ -9,7 +9,12 @@
<dd><%= t 'payment_types.real_goods.description' %></dd>
<% end %>
<% if @payment.recurring? %>
- <dt><%= t 'payment_types.recurring.title' %> (<%= link_to 'Unsubscribe', payment_path(@payment.identifier), method: :delete %>)</dt>
+ <dt>
+ <%= t 'payment_types.recurring.title' %>
+ <span class="unsubscribe">
+ (<%= link_to 'Unsubscribe', payment_path(@payment.identifier), method: :delete %>)
+ </span>
+ </dt>
<dd><%= t 'payment_types.recurring.description' %></dd>
<dt>Profile ID</dt>
<dd><%= @payment.identifier %></dd>

0 comments on commit 3ffa5af

Please sign in to comment.