From 7422a82956e246d9b1c057bc837f4ad4157711a1 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 7 Sep 2020 10:40:30 +0200 Subject: [PATCH] Improved popup animation. --- css/popup.css | 19 +++++++++++-------- js/popup.js | 2 +- manifest.json | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/css/popup.css b/css/popup.css index 44aedff..7aad6a6 100644 --- a/css/popup.css +++ b/css/popup.css @@ -84,13 +84,16 @@ input:checked+.slider:before { border-radius: 50%; } -.text-cursor { - border-right: .05em solid; - animation: caret 1s steps(1) infinite; +.wavy { + display: inline-block; + position: relative; } - -@keyframes caret { - 50% { - border-color: transparent; - } + +.wavy:before { + content: "~"; + color: red; + width: 100%; + position: absolute; + top: 12px; + overflow: hidden; } \ No newline at end of file diff --git a/js/popup.js b/js/popup.js index 256fde7..a0f69a4 100644 --- a/js/popup.js +++ b/js/popup.js @@ -1,4 +1,4 @@ -let texts = ["what's up?","What's up?"] +let texts = ["what's up?","What's up?"] var typewriter = new Typewriter(document.getElementById('text')); diff --git a/manifest.json b/manifest.json index eab3271..a41867f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "WhatsUpper?", - "version": "1.1.1", + "version": "1.1.2", "description": "Auto-capitalize the first letter in WhatsApp's chats.", "manifest_version": 2, "applications": {