Commit a6027b21 authored by Joon Ahn's avatar Joon Ahn Committed by Chromium LUCI CQ

nearby: animate devices appearing in share target list

animation is per element without chaining as noted in the bug.

Bug: 1155674
Change-Id: I42cc7447c2552007a37ab01c0d22ab7a143a912b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575719Reviewed-by: default avatarJames Vecore <vecore@google.com>
Commit-Queue: Joon Ahn <joonbug@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834272}
parent ae146184
......@@ -119,6 +119,21 @@
line-height: 20px;
margin-inline-end: var(--nearby-page-space-large-inline);
}
nearby-device {
animation: 200ms cubic-bezier(0.4, 0, 0.2, 1) slide-up;
animation: 200ms linear fade-in;
}
@keyframes fade-in {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes slide-up {
0% { transform: translateY(2px); }
100% { transform: translateY(0); }
}
</style>
<nearby-page-template title="$i18n{nearbyShareDiscoveryPageTitle}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment