Skip to content

Commit bbd5dc8

Browse files
committed
Correct active state appearance. Fix necolas#5
1 parent b62c4ea commit bbd5dc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gh-buttons.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ http://github.com/necolas/css3-github-buttons
4040

4141
.button:hover,
4242
.button:focus,
43-
.button:active {
43+
.button:active,
44+
.button.active {
4445
border-color: #3072b3;
4546
border-bottom-color: #2a65a0;
4647
text-decoration: none;
4748
text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
4849
color: #fff;
49-
background-color: #3072b3;
50+
background-color: #3C8DDE;
5051
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#599bdc), to(#3072b3));
5152
background-image: -moz-linear-gradient(#599bdc, #3072b3);
5253
background-image: -o-linear-gradient(#599bdc, #3072b3);
@@ -57,7 +58,6 @@ http://github.com/necolas/css3-github-buttons
5758
.button.active {
5859
border-color: #2a65a0;
5960
border-bottom-color: #3884CF;
60-
color: #fff;
6161
background-color: #3072b3;
6262
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3072b3), to(#599bdc));
6363
background-image: -moz-linear-gradient(#3072b3, #599bdc);

0 commit comments

Comments
 (0)