fix(web): polish work detail interactions
This commit is contained in:
1 parent
5f90ac119e
commit
ae1cf3106b
42 files changed
+356
-127
No files matched your search
@@ -4,30 +4,33 @@
|
||||
background-image:
|
||||
linear-gradient(
|
||||
90deg,
|
||||
transparent calc(50% - var(--dsh-text-shimmer-spread)),
|
||||
var(--dsh-text-shimmer-base-color) calc(50% - var(--dsh-text-shimmer-spread)),
|
||||
var(--dsh-text-shimmer-color),
|
||||
transparent calc(50% + var(--dsh-text-shimmer-spread))
|
||||
),
|
||||
linear-gradient(var(--dsh-text-shimmer-base-color), var(--dsh-text-shimmer-base-color));
|
||||
background-position: 100% center, 0 0;
|
||||
background-repeat: no-repeat, no-repeat;
|
||||
background-size: 250% 100%, auto;
|
||||
var(--dsh-text-shimmer-base-color) calc(50% + var(--dsh-text-shimmer-spread))
|
||||
);
|
||||
background-position: 100% center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 250% 100%;
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
animation: dsh-text-shimmer var(--dsh-text-shimmer-duration) linear infinite;
|
||||
animation-name: dsh-text-shimmer;
|
||||
animation-duration: var(--dsh-text-shimmer-duration);
|
||||
animation-timing-function: cubic-bezier(0.33, 0, 0.67, 1);
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@keyframes dsh-text-shimmer {
|
||||
to {
|
||||
background-position: 0% center, 0 0;
|
||||
66.6667%,
|
||||
100% {
|
||||
background-position: 0% center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.root {
|
||||
background-image: linear-gradient(var(--dsh-text-shimmer-base-color), var(--dsh-text-shimmer-base-color));
|
||||
background-size: auto;
|
||||
background-size: 100% 100%;
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user