Permalink
Browse files

Correct active state appearance. Fix #5

  • Loading branch information...
1 parent b62c4ea commit bbd5dc8067fccbc90289c3de057583bb3a9ffc08 @necolas necolas committed May 3, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 gh-buttons.css
View
@@ -40,13 +40,14 @@ http://github.com/necolas/css3-github-buttons
.button:hover,
.button:focus,
-.button:active {
+.button:active,
+.button.active {
border-color: #3072b3;
border-bottom-color: #2a65a0;
text-decoration: none;
text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
color: #fff;
- background-color: #3072b3;
+ background-color: #3C8DDE;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#3072b3));
background-image: -moz-linear-gradient(#599bdc, #3072b3);
background-image: -o-linear-gradient(#599bdc, #3072b3);
@@ -57,7 +58,6 @@ http://github.com/necolas/css3-github-buttons
.button.active {
border-color: #2a65a0;
border-bottom-color: #3884CF;
- color: #fff;
background-color: #3072b3;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3072b3), to(#599bdc));
background-image: -moz-linear-gradient(#3072b3, #599bdc);

0 comments on commit bbd5dc8

Please sign in to comment.