1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Fix transitions on buttons.

This commit is contained in:
Dan Barber 2014-03-07 10:52:42 +00:00
parent a079c05e11
commit 1cdaf4b5a4
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ header
float: left
padding: 7px 1em 7px
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5)
@include transition(all 0.15s 0s ease)
@include transition(background 0.15s 0s ease)
&:hover, &:focus
@include v-linear-grad(rgba(0,0,0,0), rgba(0,0,0,0.2))
@include box-shadow("0 1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.5)")
@ -47,4 +47,4 @@ header
background-color: #999
color: white
&:hover
background-color: #aaa
background-color: #aaa

View File

@ -15,7 +15,7 @@
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5)
font-weight: bold
cursor: pointer
@include transition(all 0.15s 0s ease)
@include transition(background 0.15s 0s ease)
@include round-corners(3px)
&:hover, &:focus
background-color: #eee