Compare commits
No commits in common. "5bacff51fc764edf4180b07dbca308629e23892c" and "fd09458ee9f9fdec8a8b2c0e19de43d0a0dd1627" have entirely different histories.
5bacff51fc
...
fd09458ee9
8
app.js
8
app.js
@ -455,7 +455,7 @@ class Settings {
|
|||||||
if (localStorage[element.name]) element.value = localStorage[element.name]
|
if (localStorage[element.name]) element.value = localStorage[element.name]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
window.document.selectedStyleSheetSet = stylesheetSelect.value
|
document.selectedStyleSheetSet = stylesheetSelect.value
|
||||||
}
|
}
|
||||||
|
|
||||||
save() {
|
save() {
|
||||||
@ -499,10 +499,6 @@ class Settings {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onload = function (event) {
|
|
||||||
window.document.selectedStyleSheetSet = stylesheetSelect.value
|
|
||||||
}
|
|
||||||
|
|
||||||
function changeKey(input) {
|
function changeKey(input) {
|
||||||
prevValue = input.value
|
prevValue = input.value
|
||||||
input.value = ""
|
input.value = ""
|
||||||
@ -839,10 +835,10 @@ let playerActions = {
|
|||||||
scheduler.clearTimeout(lockDown)
|
scheduler.clearTimeout(lockDown)
|
||||||
|
|
||||||
let heldPiece = holdQueue.piece
|
let heldPiece = holdQueue.piece
|
||||||
matrix.piece.facing = FACING.NORTH
|
|
||||||
holdQueue.piece = matrix.piece
|
holdQueue.piece = matrix.piece
|
||||||
holdQueue.piece.holdEnabled = false
|
holdQueue.piece.holdEnabled = false
|
||||||
holdQueue.piece.locked = false
|
holdQueue.piece.locked = false
|
||||||
|
holdQueue.piece.facing = FACING.NORTH
|
||||||
generate(heldPiece)
|
generate(heldPiece)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1,24 +1,9 @@
|
|||||||
body {
|
|
||||||
background-image: url("electro/bg.png");
|
|
||||||
background-size: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
|
||||||
background-color: rgba(37, 41, 45, 50%);
|
|
||||||
}
|
|
||||||
|
|
||||||
@supports (backdrop-filter: blur()) {
|
|
||||||
.card {
|
|
||||||
background-color: rgba(33, 37, 41, 20%);
|
|
||||||
backdrop-filter: blur(3px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.mino {
|
.mino {
|
||||||
background-image: radial-gradient(farthest-corner at 4px 6px,
|
background-image: radial-gradient(
|
||||||
rgba(204, 238, 247, 0.3) 0%,
|
farthest-corner at 4px 6px,
|
||||||
rgba(106, 197, 220, 0.3) 100%);
|
rgba(204, 238, 247, 0.3) 0%,
|
||||||
|
rgba(106, 197, 220, 0.3) 100%
|
||||||
|
);
|
||||||
border: 1px solid rgba(127, 229, 255, 0.7);
|
border: 1px solid rgba(127, 229, 255, 0.7);
|
||||||
border-radius: 0.3vmin;
|
border-radius: 0.3vmin;
|
||||||
box-shadow: -1px -1px 4px rgba(128, 128, 128, 25%),
|
box-shadow: -1px -1px 4px rgba(128, 128, 128, 25%),
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 444 KiB |
@ -102,14 +102,8 @@ td {
|
|||||||
background-image: url("retro/Z-mino.png")
|
background-image: url("retro/Z-mino.png")
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes blinker {
|
|
||||||
50% {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.locked.mino {
|
.locked.mino {
|
||||||
animation: blinker 0.15s step-start infinite;
|
filter: saturate(60%) brightness(200%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ghost.mino {
|
.ghost.mino {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user