-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1cfd975
commit d7d2be3
Showing
12 changed files
with
281 additions
and
322 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
dist/bundled/ | ||
dist/inlined/ | ||
dist/zipped/ | ||
dist/ | ||
!dist/index.html | ||
node_modules/ | ||
.npm | ||
.eslintcache | ||
.node_repl_history | ||
.env | ||
.env.test | ||
.cache | ||
*.bak |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,50 +1,46 @@ | ||
game-board | ||
display: grid | ||
overflow: hidden | ||
overflow: hidden // TODO: hidden | ||
box-sizing: border-box | ||
width: calc(100vmin - 30px) | ||
height: calc(100vmin - 30px) | ||
border: 3px solid #3339 | ||
border-radius: 5px | ||
cursor: pointer | ||
border: 5px solid #3335 | ||
border-radius: 10px | ||
cursor: default | ||
box-shadow: inset 0 5px 30px #0007 | ||
// backdrop-filter: blur(20px) | ||
&[grabbing] | ||
cursor: grabbing !important | ||
&[animating] | ||
cursor: default !important | ||
|
||
.prod game-board | ||
transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1) | ||
|
||
.dev game-board | ||
transition: all .1s cubic-bezier(0.645, 0.045, 0.355, 1) | ||
&:not([animating]) board-slot:not(:empty) | ||
cursor: pointer !important | ||
|
||
board-slot | ||
position: relative | ||
display: grid | ||
padding: 10px | ||
box-sizing: border-box | ||
outline: 5px solid #3690 | ||
outline: 5px solid transparent | ||
transition: all .5s ease | ||
&:empty | ||
cursor: default | ||
&:nth-child(even) | ||
background: #11111177 | ||
&:nth-child(odd) | ||
background: #00000077 | ||
&[locked] | ||
border: 3px solid #3333 | ||
border: 3px solid #3335 | ||
background: transparent | ||
cursor: default | ||
&[selected] | ||
outline-color: #3699 | ||
outline-offset: -7px | ||
background: #11336699 | ||
background: #3697 | ||
cursor: grabbing | ||
animation: slot-selected .3s ease-in infinite alternate forwards | ||
jewel-piece | ||
z-index: 2 | ||
&.exploding | ||
animation: slot-exploding .25s ease both | ||
animation: slot-exploding .3s ease both | ||
|
||
.dev board-slot[targetable] | ||
background: #c805 | ||
board-slot.first-row.first-column | ||
border-radius: 4px 0 0 0 | ||
board-slot.first-row.last-column | ||
border-radius: 0 4px 0 0 | ||
board-slot.last-row.first-column | ||
border-radius: 0 0 0 4px | ||
board-slot.last-row.last-column | ||
border-radius: 0 0 4px 0 |
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
Oops, something went wrong.