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:
parent
a079c05e11
commit
1cdaf4b5a4
@ -31,7 +31,7 @@ header
|
|||||||
float: left
|
float: left
|
||||||
padding: 7px 1em 7px
|
padding: 7px 1em 7px
|
||||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5)
|
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
|
&:hover, &:focus
|
||||||
@include v-linear-grad(rgba(0,0,0,0), rgba(0,0,0,0.2))
|
@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)")
|
@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
|
background-color: #999
|
||||||
color: white
|
color: white
|
||||||
&:hover
|
&:hover
|
||||||
background-color: #aaa
|
background-color: #aaa
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5)
|
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5)
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
@include transition(all 0.15s 0s ease)
|
@include transition(background 0.15s 0s ease)
|
||||||
@include round-corners(3px)
|
@include round-corners(3px)
|
||||||
&:hover, &:focus
|
&:hover, &:focus
|
||||||
background-color: #eee
|
background-color: #eee
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user