Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed button hover effect

  • Loading branch information...
commit 7a273ae2be17ac74c098bf67fa162704e0e44da8 1 parent 9ac2405
@blindgaenger authored
Showing with 4 additions and 6 deletions.
  1. +3 −4 views/index.haml
  2. +1 −2  views/stylesheets/switch.sass
View
7 views/index.haml
@@ -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')
View
3  views/stylesheets/switch.sass
@@ -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.
Something went wrong with that request. Please try again.