up
This commit is contained in:
parent
977f9cc7eb
commit
54ce3e5e7a
@ -88,4 +88,6 @@ body {
|
|||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
background-image: url("@/assets/forest.png");
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
src/assets/forest.png
Normal file
BIN
src/assets/forest.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 MiB |
@ -9,6 +9,11 @@ body {
|
|||||||
src: url('@/assets/a_OldTyper.ttf');
|
src: url('@/assets/a_OldTyper.ttf');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: main;
|
||||||
|
src: url('@/assets/main.ttf');
|
||||||
|
}
|
||||||
|
|
||||||
.center-message {
|
.center-message {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center; /* горизонтальное центрирование */
|
justify-content: center; /* горизонтальное центрирование */
|
||||||
|
|||||||
BIN
src/assets/main.ttf
Normal file
BIN
src/assets/main.ttf
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 11 MiB After Width: | Height: | Size: 859 KiB |
@ -149,7 +149,6 @@ onMounted(() => {
|
|||||||
.body-custom {
|
.body-custom {
|
||||||
font-size: medium;
|
font-size: medium;
|
||||||
height: calc(100vh - 100px);
|
height: calc(100vh - 100px);
|
||||||
background-color: gray;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-input-form-shadow {
|
.game-input-form-shadow {
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { Action } from './models';
|
import type { Action } from './models';
|
||||||
import { apiLetsgo } from './client';
|
import { apiLetsgo } from './client';
|
||||||
|
import MetalPlate from './MetalPlate.vue';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
action: Action
|
action: Action
|
||||||
@ -37,10 +38,12 @@ async function letsgo(place: string) {
|
|||||||
</div>{{ props.action.text }}
|
</div>{{ props.action.text }}
|
||||||
</div>
|
</div>
|
||||||
<hr class="hr" v-if="props.action.buttons?.length" />
|
<hr class="hr" v-if="props.action.buttons?.length" />
|
||||||
<button v-for="door in props.action.buttons" :key="door.code" class="button-dialog" v-on:click="letsgo(door.code)"
|
<MetalPlate v-for="door in props.action.buttons" :key="door.code" class="button-dialog"
|
||||||
:disabled="gameState !== 'RUN' || !door.show">
|
v-on:click="letsgo(door.code)" :disabled="gameState !== 'RUN' || !door.show">
|
||||||
{{ door.name }}
|
<div class="button-dialog-text">
|
||||||
</button>
|
{{ door.name }}
|
||||||
|
</div>
|
||||||
|
</MetalPlate>
|
||||||
<hr class="hr" v-if="props.action.applications.length" />
|
<hr class="hr" v-if="props.action.applications.length" />
|
||||||
<div class="message-footer" v-for="application in props.action.applications" :key="application.name">
|
<div class="message-footer" v-for="application in props.action.applications" :key="application.name">
|
||||||
{{ application.number }} Приложение: {{ application.name }}
|
{{ application.number }} Приложение: {{ application.name }}
|
||||||
@ -51,22 +54,27 @@ async function letsgo(place: string) {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.hr {
|
.hr {
|
||||||
margin: 7px 0;
|
margin: 10px 0;
|
||||||
|
border: dashed 1px;
|
||||||
|
border-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-cloud {
|
.message-cloud {
|
||||||
border: 1px solid #444444;
|
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
margin: 12px 10px;
|
margin: 12px 10px;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
display: flow-root;
|
display: flow-root;
|
||||||
background-image: url("@/assets/paper.jpg");
|
background-image: url("@/assets/paper.jpg");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
font-family: main;
|
||||||
|
color: black;
|
||||||
|
line-height: 20px;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-header {
|
.message-header {
|
||||||
font-size: large;
|
font-size: 24px;
|
||||||
font-weight: 200;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.collapse-icon {
|
.collapse-icon {
|
||||||
@ -87,15 +95,11 @@ async function letsgo(place: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.button-dialog {
|
.button-dialog {
|
||||||
background-color: var(--main-color);
|
display: inline-block;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: white;
|
border-radius: 5px;
|
||||||
|
|
||||||
padding: 6px 14px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 15px;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin-right: 6px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-dialog:hover {
|
.button-dialog:hover {
|
||||||
@ -107,6 +111,10 @@ async function letsgo(place: string) {
|
|||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.button-dialog-text {
|
||||||
|
padding: 5px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.message-footer {
|
.message-footer {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: var(--second-color);
|
color: var(--second-color);
|
||||||
|
|||||||
@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.plate-block {
|
.plate-block {
|
||||||
border-radius: 4px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
box-shadow: 0px 0px 10px black;
|
box-shadow: 0px 0px 10px black;
|
||||||
}
|
}
|
||||||
@ -26,6 +25,7 @@
|
|||||||
background-image: url("@/assets/metal.png");
|
background-image: url("@/assets/metal.png");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pin {
|
.pin {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user