forked from timber/starter-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
935d3b7
commit 2ac847d
Showing
1 changed file
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,42 @@ | ||
/* Zoom on image on hover */ | ||
.ts-hocus-scale img { | ||
transition: transform 300ms cubic-bezier(0, 1.25, 1, 1.25); | ||
transition: transform 400ms ease-in-out; | ||
} | ||
.ts-hocus-scale:hover img { | ||
transform: scale(1.02); | ||
} | ||
|
||
/* Shadow */ | ||
.hocus-card-shadow { | ||
transition: var(--transition-default); | ||
} | ||
.hocus-card-shadow:hover { | ||
box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.10); | ||
} | ||
|
||
/* Card hover/focus style */ | ||
.card-overlay-link:hover + .card-title-hocus, | ||
.card-title-hocus:focus { | ||
text-decoration: underline; | ||
text-underline-offset: var(--spacer-2xs); | ||
transition: all var(--transition-default); | ||
} | ||
|
||
/* Underline */ | ||
.hocus-underline { | ||
transition: var(--transition-default); | ||
} | ||
.hocus-underline { | ||
@apply hover:underline focus:underline underline-offset-4; | ||
} | ||
|
||
/* Action color text */ | ||
.hocus-action { | ||
transition: var(--transition-default); | ||
} | ||
.hocus-action:hover, | ||
.hocus-action:focus { | ||
color: var(--color-action); | ||
} | ||
|
||
|