This commit is contained in:
Linyan
2022-09-17 17:40:45 +08:00
committed by GitHub

View File

@@ -107,6 +107,8 @@ onMounted(() => {
<style scoped> <style scoped>
.level-board { .level-board {
position: relative; position: relative;
margin: 0 calc(50% - 184px);
width: 100%;
} }
.level-block { .level-block {
@@ -114,7 +116,9 @@ onMounted(() => {
} }
.random-board { .random-board {
margin: 0 calc(50% - 184px);
margin-top: 8px; margin-top: 8px;
min-height: 100px;
} }
.random-area { .random-area {
@@ -122,8 +126,9 @@ onMounted(() => {
} }
.slot-board { .slot-board {
margin-top: 24px;
border: 10px solid saddlebrown; border: 10px solid saddlebrown;
margin: 0 calc(50% - 157px);
margin-top: 24px;
} }
.block { .block {
@@ -136,10 +141,21 @@ onMounted(() => {
text-align: center; text-align: center;
vertical-align: top; vertical-align: top;
display: inline-block; display: inline-block;
cursor: pointer;
transition: all 0.1s;
} }
.block:hover {
transform: scale(1.05);
}
.disabled { .disabled {
background: grey; background: grey;
cursor: not-allowed; cursor: not-allowed;
} }
.disabled:hover {
transform: scale(1);
}
</style> </style>