Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
DalaScript committed Sep 15, 2024
1 parent 9607ce8 commit 1accc74
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
13 changes: 2 additions & 11 deletions assets/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,22 +279,13 @@ main {
text-align: center;

pointer-events: none;

&::placeholder {
color: $very-dark-cyan;
mix-blend-mode: normal;
opacity: 0.35;
}
color: rgb(0, 71, 75, 0.35);


&--active {
pointer-events: auto;
background-color: #26C2AE;

&::placeholder {
color: #00474B;
opacity: 1;
}
color: $very-dark-cyan;
}
}
}
Expand Down
9 changes: 1 addition & 8 deletions assets/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,19 +226,12 @@ main {
line-height: 30px;
text-align: center;
pointer-events: none;
}
.splitter__reset-btn::placeholder {
color: #00474B;
mix-blend-mode: normal;
opacity: 0.35;
color: rgba(0, 71, 75, 0.35);
}
.splitter__reset-btn--active {
pointer-events: auto;
background-color: #26C2AE;
}
.splitter__reset-btn--active::placeholder {
color: #00474B;
opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h6 class="splitter__amount-title">Total</h6>
<p class="splitter__sum-result">$<span id="sum-result">0.00</span></p>
</div>
</section>
<input class="splitter__reset-btn" id="reset-btn" placeholder="RESET">
<input class="splitter__reset-btn" type="reset" id="reset-btn" placeholder="RESET">
</section>
</article>
</main>
Expand Down

0 comments on commit 1accc74

Please sign in to comment.