Permalink
Browse files

fixed button hover effect

  • Loading branch information...
1 parent 9ac2405 commit 7a273ae2be17ac74c098bf67fa162704e0e44da8 @blindgaenger committed Dec 18, 2011
Showing with 4 additions and 6 deletions.
  1. +3 −4 views/index.haml
  2. +1 −2 views/stylesheets/switch.sass
View
@@ -36,10 +36,9 @@
= yield_content :navigation
#switch
%p.label Turn the lights off?
- .buttons
- %a(href='http://blindgaenger.net/')
- .button.first.active On
- .button.last Off
+ %a.buttons(href='http://blindgaenger.net/')
+ .button.first.active On
+ .button.last Off
- if production?
%script(src='assets/all.js')
@@ -6,16 +6,15 @@
color: $gray
.buttons
+ float: left
font-size: 0.65em
margin: 0 0 0 1em
padding: 0
@include border-radius(0.2em)
-
&:hover
@include box-shadow("0 0 0.5em 0 #{$gray}")
.button
- display: block
float: left
padding: 0.2em 0.4em
line-height: 1em

0 comments on commit 7a273ae

Please sign in to comment.