Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change in cursor:pointer in style.css #197

Merged
merged 3 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@

<div class="ui__background"></div>

<div class="ui__texts">
<h1 class="text text--title">
<span>Let's</span>
<span>Solve!</span>
</h1>
<div class="text text--note">
Double tap to start
</div>
<div class="text text--timer">Time limit
05:00

<div class="ui__game"></div>


Expand Down Expand Up @@ -135,6 +146,7 @@ <h1> TIME START NOW</h1>
<span>Best Time!</span>
</div>


</div>

<div class="ui__prefs">
Expand Down
5 changes: 5 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ const animationEngine = (() => {

if (index < 0) return;


this.ids.splice( index, 1 );
delete this.animations[ animation.id ];
animation =newGame;

this.ids.splice(index, 1);
delete this.animations[animation.id];
animation = null;
Expand Down
24 changes: 21 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ body.colorful-theme {
-moz-user-select: none;
user-select: none;
box-sizing: border-box;
cursor: inherit;
cursor:pointer;
margin: 0;
padding: 0;
outline: none;
Expand All @@ -80,6 +80,7 @@ body.colorful-theme {

*:focus {
outline: none;
cursor:pointer;
}

html {
Expand All @@ -99,14 +100,15 @@ body {
font-weight: normal;
font-style: normal;
line-height: 1;
cursor: default;
cursor: pointer;
overflow: hidden;
height: 100%;
font-size: 5rem;

}

.icon {
cursor:pointer;
display: inline-block;
font-size: inherit;
overflow: visible;
Expand All @@ -115,6 +117,7 @@ body {
}

.range {
cursor:pointer;
position: relative;
width: 14em;
z-index: 1;
Expand All @@ -126,6 +129,7 @@ body {
}

.range__label {
cursor:pointer;
position: relative;
font-size: 0.9em;
line-height: 0.75em;
Expand All @@ -134,6 +138,7 @@ body {
}

.range__track {
cursor:pointer;
position: relative;
height: 1em;
margin-left: 0.5em;
Expand All @@ -142,6 +147,7 @@ body {
}

.range__track-line {
cursor:pointer;
position: absolute;
background: rgba(0, 0, 0, 0.2);
height: 2px;
Expand All @@ -153,6 +159,7 @@ body {
}

.range__handle {
cursor:pointer;
position: absolute;
width: 0;
height: 0;
Expand All @@ -163,6 +170,7 @@ body {
}

.range__handle div {
cursor:pointer;
transition: background 500ms ease;
position: absolute;
left: 0;
Expand Down Expand Up @@ -192,6 +200,7 @@ body {
}

.range__list {
cursor:pointer;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
Expand Down Expand Up @@ -227,6 +236,7 @@ body {
height: 100%;
content: "";
opacity: 0.5;
cursor:pointer;
}

.range--color-hue .range__handle {
Expand Down Expand Up @@ -275,8 +285,10 @@ body {
}

.stats {
cursor:pointer;
position: relative;
width: 14em;
cursor:pointer;
z-index: 1;
display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -313,6 +325,7 @@ body {
}

.text {
cursor:pointer;
position: absolute;
left: 0;
right: 0;
Expand Down Expand Up @@ -371,13 +384,18 @@ 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(203, 18, 18, 0.5);
transition: color 400ms ease-out;
cursor:pointer;

color: rgb(245, 245, 245);
transition: color 400ms ease-out;
background-color: #541a8be7;
Expand Down