Skip to content

Commit

Permalink
fix(grid): grid item hover animation changed
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Jan 27, 2019
1 parent fd22e72 commit f216deb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Expand Up @@ -31,13 +31,16 @@ mat-grid-tile {
mat-card {
width: calc(100% - 70px);
height: calc(100% - 70px);

@include mat-elevation-transition;
@include mat-elevation(2);

//@include mat-elevation-transition;
transition: transform 0.25s ease;

&:hover {
cursor: pointer;
@include mat-elevation(6);
//box-shadow: 0 15px 37px 0 #dbe2eb;
transform: translateY(-1rem);
}

&.active {
Expand Down
6 changes: 6 additions & 0 deletions stories/awesome.md
Expand Up @@ -74,6 +74,12 @@ type `ng.profiler.timeChangeDetection();` in console.
> Read [The ultimate guide to proper use of animation in UX](https://uxdesign.cc/the-ultimate-guide-to-proper-use-of-animation-in-ux-10bd98614fa9)
> Read [Microinteractions: small details matter](https://uxdesign.cc/microinteractions-detailed-design-9113c88946d0)
* UI Kits
1. [Material](https://material.angular.io/)
2. [Nebular](https://akveo.github.io/nebular/)
3. [Clarity](https://clarity.design/)


* Animations
> Read [Hierarchical Route Animations](https://fluin.io/blog/hierarchical-route-animations)
Expand Down

0 comments on commit f216deb

Please sign in to comment.