snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit a18e06d3c765db62b636ff40638e958255591c83
parent 9ef6abebc167b540fe25860f37f750f6ee786fed
Author: RobinLinus <robinlinus@users.noreply.github.com>
Date:   Thu,  1 Nov 2018 01:35:18 +0100

Fix bug in info page animation

Diffstat:
Mclient/service-worker.js | 2+-
Mclient/styles.css | 6+++++-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/client/service-worker.js b/client/service-worker.js @@ -1,4 +1,4 @@ -var CACHE_NAME = 'my-site-cache-v1'; +var CACHE_NAME = 'snapdrop-cache-v1.0'; var urlsToCache = [ '/', '/styles.css', diff --git a/client/styles.css b/client/styles.css @@ -497,9 +497,13 @@ input { border-radius: 50%; background: var(--primary-color); transform: scale(0); + z-index: -1; +} + +/* Hack such that initial scale(0) isn't animated */ +#about x-background{ will-change: transform; transition: transform 800ms cubic-bezier(0.77, 0, 0.175, 1); - z-index: -1; } #about:target x-background {