Permalink
Browse files

nicer card images

  • Loading branch information...
1 parent a1705f1 commit 49b0904e814f517f75ebabb512b748fbbb571c78 @em em committed Jul 20, 2011
Showing with 16 additions and 16 deletions.
  1. +8 −8 recurly.css
  2. +8 −8 recurly.styl
View
@@ -482,30 +482,30 @@
margin: 0;
padding: 0;
margin-right: 160px;
- width: 204px;
+ width: 160px;
list-style-type: none;
}
.recurly_subscribe ul.accepted_cards li {
- background-position: 0px 0px;
+ background-position: right 0px;
background-repeat: no-repeat;
text-indent: -3000px;
- width: 50px;
+ width: 40px;
height: 30px;
- margin: 0 0 10px 1px;
+ margin: 0;
padding: 0;
float: left;
}
.recurly_subscribe ul.accepted_cards li.mastercard {
- background-image: url("images/creditcards/mastercard.gif");
+ background-image: url("images/credit_cards/mastercard.png");
}
.recurly_subscribe ul.accepted_cards li.american_express {
- background-image: url("images/creditcards/amex.gif");
+ background-image: url("images/credit_cards/amex.png");
}
.recurly_subscribe ul.accepted_cards li.visa {
- background-image: url("images/creditcards/visa.gif");
+ background-image: url("images/credit_cards/visa.png");
}
.recurly_subscribe ul.accepted_cards li.discover {
- background-image: url("images/creditcards/discover.gif");
+ background-image: url("images/credit_cards/discover.png");
}
.recurly_subscribe ul.accepted_cards li.no_match {
opacity: 0.5;
View
@@ -486,27 +486,27 @@ hstack(cols)
margin 0
padding 0
margin-right columns(4) + column_space
- width 204px
+ width 160px
list-style-type none
li
- background-position 0px 0px
+ background-position right 0px
background-repeat no-repeat
text-indent -3000px
- width 50px
+ width 40px
height 30px
- margin 0 0 10px 1px
+ margin 0
padding 0
float left
&.mastercard
- background-image url(images/creditcards/mastercard.gif)
+ background-image url(images/credit_cards/mastercard.png)
&.american_express
- background-image url(images/creditcards/amex.gif)
+ background-image url(images/credit_cards/amex.png)
&.visa
- background-image url(images/creditcards/visa.gif)
+ background-image url(images/credit_cards/visa.png)
&.discover
- background-image url(images/creditcards/discover.gif)
+ background-image url(images/credit_cards/discover.png)
&.match
// nothing

0 comments on commit 49b0904

Please sign in to comment.