Browse files

selectors in sass

  • Loading branch information...
1 parent ded77d7 commit 1bafb83282b09c8a48a6966bf08a30472298b877 @nov committed May 15, 2011
Showing with 9 additions and 9 deletions.
  1. +3 −3 app/assets/stylesheets/payments.css.scss
  2. +6 −6 app/assets/stylesheets/top.css.scss
View
6 app/assets/stylesheets/payments.css.scss
@@ -12,9 +12,9 @@
a {
color: $dark_red;
text-decoration: none;
- }
- a:hover {
- color: $red;
+ &:hover {
+ color: $red;
+ }
}
}
}
View
12 app/assets/stylesheets/top.css.scss
@@ -23,12 +23,12 @@ $article_padding: 2%;
height: 33px;
border: none;
background: url(https://www.paypal.com/en_US/i/btn/btn_dg_pay_w_paypal.gif);
- }
- input[type=submit]:hover {
- opacity: 1;
- }
- input[type=submit]:active {
- opacity: 0.8;
+ &:hover {
+ opacity: 1;
+ }
+ &:active {
+ opacity: 0.8;
+ }
}
}
.boxes article:first-child {

0 comments on commit 1bafb83

Please sign in to comment.