mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
Merge pull request #2086 from HabitRPG/sabe/tweak2
Remove sliding effect on avatar mouseover
This commit is contained in:
commit
61dfb8d129
1 changed files with 4 additions and 4 deletions
|
|
@ -15,12 +15,12 @@ future re: pets and whatnot, this is just temporary.
|
||||||
width: 10em
|
width: 10em
|
||||||
max-width: 10em
|
max-width: 10em
|
||||||
margin: 0 // need this b/c of bootstrap, remove or reset later
|
margin: 0 // need this b/c of bootstrap, remove or reset later
|
||||||
padding: 0 // push down the sprite
|
|
||||||
position: relative
|
position: relative
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
background: #f5f5f5
|
background: #f5f5f5
|
||||||
transition: padding 0.13s ease-out, border 0.25s ease-out, background 0.25s ease-out
|
transition: border 0.25s ease-out, background 0.25s ease-out//, padding 0.13s ease-out
|
||||||
outline: 1px solid rgba(0,0,0,0.1)
|
outline: 1px solid rgba(0,0,0,0.1)
|
||||||
|
// padding: 0 // push down the sprite
|
||||||
|
|
||||||
// the hero's info frame
|
// the hero's info frame
|
||||||
.herobox:after
|
.herobox:after
|
||||||
|
|
@ -74,12 +74,12 @@ future re: pets and whatnot, this is just temporary.
|
||||||
background: desaturate(lighten($better, 30%), 10%)
|
background: desaturate(lighten($better, 30%), 10%)
|
||||||
&:after
|
&:after
|
||||||
opacity: 1
|
opacity: 1
|
||||||
.herobox.hasPet
|
/* .herobox.hasPet
|
||||||
&:hover, &:focus
|
&:hover, &:focus
|
||||||
padding-top: 3.25em
|
padding-top: 3.25em
|
||||||
.herobox:not(.hasPet)
|
.herobox:not(.hasPet)
|
||||||
&:hover, &:focus
|
&:hover, &:focus
|
||||||
padding-top: 2.5em
|
padding-top: 2.5em */
|
||||||
|
|
||||||
|
|
||||||
// positioning the sprites, etc
|
// positioning the sprites, etc
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue