From b82473b2dd0f2fa52cea4cbc221e08a052edcbef Mon Sep 17 00:00:00 2001 From: Rohit yadav <151960291+rohir1132yadav@users.noreply.github.com> Date: Fri, 31 May 2024 14:17:53 +0530 Subject: [PATCH 1/2] change in cursor:pointer in style.css --- index.html | 4 ++-- script.js | 2 +- style.css | 12 ++++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 85adfcb..567eecf 100644 --- a/index.html +++ b/index.html @@ -41,8 +41,8 @@

Double tap to start
-
- 0:00 +
Time limit + 05:00
Complete! diff --git a/script.js b/script.js index f122628..0575481 100644 --- a/script.js +++ b/script.js @@ -51,7 +51,7 @@ const animationEngine = ( () => { this.ids.splice( index, 1 ); delete this.animations[ animation.id ]; - animation = null; + animation =newGame; } diff --git a/style.css b/style.css index 661f98b..eb2e848 100644 --- a/style.css +++ b/style.css @@ -9,7 +9,7 @@ -moz-user-select: none; user-select: none; box-sizing: border-box; - cursor: inherit; + cursor:pointer; margin: 0; padding: 0; outline: none; @@ -21,6 +21,7 @@ } *:focus { outline: none; + cursor:pointer; } html { @@ -39,7 +40,7 @@ body { font-weight: normal; font-style: normal; line-height: 1; - cursor: default; + cursor: pointer; overflow: hidden; height: 100%; font-size: 5rem; @@ -183,6 +184,7 @@ body { .stats { position: relative; width: 14em; + cursor:pointer; z-index: 1; display: flex; justify-content: space-between; @@ -256,14 +258,16 @@ body { border-radius: 0; border-width: 0; position: absolute; - pointer-events: none; + pointer-events:none; + cursor: pointer; font-size: 1.5em; color: rgba(0, 0, 0, 0.25); opacity: 0; } .btn:hover { - color: rgba(0, 0, 0, 0.5); + color: rgba(203, 18, 18, 0.5); transition: color 400ms ease-out; + cursor:pointer; } .btn:after { cursor: pointer; From 84394f7b8b15ecdb1d2d7351ae3a9131d9e963c6 Mon Sep 17 00:00:00 2001 From: Rohit yadav <151960291+rohir1132yadav@users.noreply.github.com> Date: Mon, 3 Jun 2024 00:32:46 +0530 Subject: [PATCH 2/2] change in cursor pointer in css --- style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/style.css b/style.css index eb2e848..b51f72a 100644 --- a/style.css +++ b/style.css @@ -47,6 +47,7 @@ body { } .icon { + cursor:pointer; display: inline-block; font-size: inherit; overflow: visible; @@ -55,6 +56,7 @@ body { } .range { + cursor:pointer; position: relative; width: 14em; z-index: 1; @@ -64,6 +66,7 @@ body { margin-bottom: 2em; } .range__label { + cursor:pointer; position: relative; font-size: 0.9em; line-height: 0.75em; @@ -71,6 +74,7 @@ body { z-index: 2; } .range__track { + cursor:pointer; position: relative; height: 1em; margin-left: 0.5em; @@ -78,6 +82,7 @@ body { z-index: 3; } .range__track-line { + cursor:pointer; position: absolute; background: rgba(0, 0, 0, 0.2); height: 2px; @@ -88,6 +93,7 @@ body { transform-origin: left center; } .range__handle { + cursor:pointer; position: absolute; width: 0; height: 0; @@ -97,6 +103,7 @@ body { z-index: 1; } .range__handle div { + cursor:pointer; transition: background 500ms ease; position: absolute; left: 0; @@ -123,6 +130,7 @@ body { margin-top: -1.5em; } .range__list { + cursor:pointer; display: flex; flex-flow: row nowrap; justify-content: space-between; @@ -152,6 +160,7 @@ body { height: 100%; content: ""; opacity: 0.5; + cursor:pointer; } .range--color-hue .range__handle { color: red; @@ -182,6 +191,7 @@ body { } .stats { + cursor:pointer; position: relative; width: 14em; cursor:pointer; @@ -210,6 +220,7 @@ body { } .text { + cursor:pointer; position: absolute; left: 0; right: 0;