This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: a button for hints in tutorials
- Loading branch information
1 parent
e6dedfb
commit 3f734c3
Showing
4 changed files
with
134 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ | |
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
z-index: 15; | ||
} | ||
|
||
.modal__container { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@use "../utils/utils"; | ||
@import "../theme.scss"; | ||
|
||
.tutorial__hint-button { | ||
@include utils.base-input; | ||
@include utils.center; | ||
|
||
border-radius: 50%; | ||
z-index: 3; | ||
|
||
position: absolute; | ||
background: $secondary; | ||
|
||
height: 2.4rem; | ||
width: 2.4rem; | ||
|
||
right: 1rem; | ||
bottom: 1rem; | ||
|
||
margin: 0; | ||
padding: 0; | ||
|
||
cursor: pointer; | ||
transition: filter $transition-time, transform $transition-time; | ||
} | ||
|
||
.tutorial__hint-button .material-icons { | ||
font-size: 2.4rem; | ||
|
||
color: $primary-dark; | ||
} | ||
|
||
.tutorial__hint-button:hover { | ||
filter: brightness(1.4); | ||
transform: scale(1.1); | ||
} | ||
|
||
.tutorial__slide.tutorial__slide--active { | ||
z-index: 30; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters