Compare commits
5 Commits
fd09458ee9
...
5bacff51fc
Author | SHA1 | Date | |
---|---|---|---|
5bacff51fc | |||
0a491b89be | |||
b4a241b3a9 | |||
ec5ed9425e | |||
fa5c5fb33b |
8
app.js
8
app.js
@ -455,7 +455,7 @@ class Settings {
|
||||
if (localStorage[element.name]) element.value = localStorage[element.name]
|
||||
}
|
||||
}
|
||||
document.selectedStyleSheetSet = stylesheetSelect.value
|
||||
window.document.selectedStyleSheetSet = stylesheetSelect.value
|
||||
}
|
||||
|
||||
save() {
|
||||
@ -499,6 +499,10 @@ class Settings {
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = function (event) {
|
||||
window.document.selectedStyleSheetSet = stylesheetSelect.value
|
||||
}
|
||||
|
||||
function changeKey(input) {
|
||||
prevValue = input.value
|
||||
input.value = ""
|
||||
@ -835,10 +839,10 @@ let playerActions = {
|
||||
scheduler.clearTimeout(lockDown)
|
||||
|
||||
let heldPiece = holdQueue.piece
|
||||
matrix.piece.facing = FACING.NORTH
|
||||
holdQueue.piece = matrix.piece
|
||||
holdQueue.piece.holdEnabled = false
|
||||
holdQueue.piece.locked = false
|
||||
holdQueue.piece.facing = FACING.NORTH
|
||||
generate(heldPiece)
|
||||
}
|
||||
},
|
||||
|
@ -1,9 +1,24 @@
|
||||
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 {
|
||||
background-image: radial-gradient(
|
||||
farthest-corner at 4px 6px,
|
||||
background-image: radial-gradient(farthest-corner at 4px 6px,
|
||||
rgba(204, 238, 247, 0.3) 0%,
|
||||
rgba(106, 197, 220, 0.3) 100%
|
||||
);
|
||||
rgba(106, 197, 220, 0.3) 100%);
|
||||
border: 1px solid rgba(127, 229, 255, 0.7);
|
||||
border-radius: 0.3vmin;
|
||||
box-shadow: -1px -1px 4px rgba(128, 128, 128, 25%),
|
||||
|
BIN
css/electro/bg.png
Normal file
BIN
css/electro/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 444 KiB |
@ -102,8 +102,14 @@ td {
|
||||
background-image: url("retro/Z-mino.png")
|
||||
}
|
||||
|
||||
@keyframes blinker {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.locked.mino {
|
||||
filter: saturate(60%) brightness(200%);
|
||||
animation: blinker 0.15s step-start infinite;
|
||||
}
|
||||
|
||||
.ghost.mino {
|
||||
|
Loading…
x
Reference in New Issue
Block a user