Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a57ab9b8a6 | |||
| e213475de5 | |||
| dc31ec1cb6 | |||
| e24fa92a84 | |||
| d1cc7875a8 |
+1
-4
@@ -4,15 +4,12 @@ const { FuseV1Options, FuseVersion } = require('@electron/fuses');
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
packagerConfig: {
|
packagerConfig: {
|
||||||
asar: true,
|
asar: true,
|
||||||
icon: './mainicon',
|
|
||||||
},
|
},
|
||||||
rebuildConfig: {},
|
rebuildConfig: {},
|
||||||
makers: [
|
makers: [
|
||||||
{
|
{
|
||||||
name: '@electron-forge/maker-squirrel',
|
name: '@electron-forge/maker-squirrel',
|
||||||
config: {
|
config: {},
|
||||||
setupIcon: './mainicon.ico',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '@electron-forge/maker-zip',
|
name: '@electron-forge/maker-zip',
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 264 KiB |
Generated
+10
-11
@@ -638,6 +638,7 @@
|
|||||||
"integrity": "sha512-zx0EIq78WlY/lBb1uXlziZmDZI4ubcCXIMJ4uGjXzZW0nS19TjSPeXPAjzzTmKQlJUZm0SbmZhPKP7tuQ1SsEw==",
|
"integrity": "sha512-zx0EIq78WlY/lBb1uXlziZmDZI4ubcCXIMJ4uGjXzZW0nS19TjSPeXPAjzzTmKQlJUZm0SbmZhPKP7tuQ1SsEw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^4.1.1",
|
"chalk": "^4.1.1",
|
||||||
"fs-extra": "^9.0.1",
|
"fs-extra": "^9.0.1",
|
||||||
@@ -1781,6 +1782,7 @@
|
|||||||
"integrity": "sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==",
|
"integrity": "sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@inquirer/checkbox": "^3.0.1",
|
"@inquirer/checkbox": "^3.0.1",
|
||||||
"@inquirer/confirm": "^4.0.1",
|
"@inquirer/confirm": "^4.0.1",
|
||||||
@@ -2963,6 +2965,7 @@
|
|||||||
"integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
|
"integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"acorn": "bin/acorn"
|
"acorn": "bin/acorn"
|
||||||
},
|
},
|
||||||
@@ -3029,6 +3032,7 @@
|
|||||||
"integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
|
"integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"fast-uri": "^3.0.1",
|
"fast-uri": "^3.0.1",
|
||||||
@@ -3253,6 +3257,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"baseline-browser-mapping": "^2.9.0",
|
"baseline-browser-mapping": "^2.9.0",
|
||||||
"caniuse-lite": "^1.0.30001759",
|
"caniuse-lite": "^1.0.30001759",
|
||||||
@@ -3769,6 +3774,7 @@
|
|||||||
"integrity": "sha512-9nF4PdUle+5ta4W5SyZdLCCmFd37uVimSjg1evcTqKJCyvCEEj12WKzOSBNak6r4im4J4iYXKH1OWpUV5LBYFg==",
|
"integrity": "sha512-9nF4PdUle+5ta4W5SyZdLCCmFd37uVimSjg1evcTqKJCyvCEEj12WKzOSBNak6r4im4J4iYXKH1OWpUV5LBYFg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/hash": "~0.8.0",
|
"@emotion/hash": "~0.8.0",
|
||||||
"csstype": "~3.0.5"
|
"csstype": "~3.0.5"
|
||||||
@@ -3793,6 +3799,7 @@
|
|||||||
"integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==",
|
"integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "github",
|
"type": "github",
|
||||||
"url": "https://github.com/sponsors/kossnocorp"
|
"url": "https://github.com/sponsors/kossnocorp"
|
||||||
@@ -4598,17 +4605,6 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/encoding": {
|
|
||||||
"version": "0.1.13",
|
|
||||||
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
|
|
||||||
"integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"dependencies": {
|
|
||||||
"iconv-lite": "^0.6.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/end-of-stream": {
|
"node_modules/end-of-stream": {
|
||||||
"version": "1.4.5",
|
"version": "1.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
|
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
|
||||||
@@ -8222,6 +8218,7 @@
|
|||||||
"integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
|
"integrity": "sha512-o5a9xKjbtuhY6Bi5S3+HvbRERmouabWbyUcpXXUA1u+GNUKoROi9byOJ8M0nHbHYHkYICiMlqxkg1KkYmm25Sw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esbuild": "^0.21.3",
|
"esbuild": "^0.21.3",
|
||||||
"postcss": "^8.4.43",
|
"postcss": "^8.4.43",
|
||||||
@@ -8294,6 +8291,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/vue/-/vue-3.5.28.tgz",
|
"resolved": "https://registry.npmjs.org/vue/-/vue-3.5.28.tgz",
|
||||||
"integrity": "sha512-BRdrNfeoccSoIZeIhyPBfvWSLFP4q8J3u8Ju8Ug5vu3LdD+yTM13Sg4sKtljxozbnuMu1NB1X5HBHRYUzFocKg==",
|
"integrity": "sha512-BRdrNfeoccSoIZeIhyPBfvWSLFP4q8J3u8Ju8Ug5vu3LdD+yTM13Sg4sKtljxozbnuMu1NB1X5HBHRYUzFocKg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/compiler-dom": "3.5.28",
|
"@vue/compiler-dom": "3.5.28",
|
||||||
"@vue/compiler-sfc": "3.5.28",
|
"@vue/compiler-sfc": "3.5.28",
|
||||||
@@ -8366,6 +8364,7 @@
|
|||||||
"integrity": "sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw==",
|
"integrity": "sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/eslint-scope": "^3.7.7",
|
"@types/eslint-scope": "^3.7.7",
|
||||||
"@types/estree": "^1.0.8",
|
"@types/estree": "^1.0.8",
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48px" height="48px"><path d="M 24 4 C 20.704135 4 18 6.7041348 18 10 L 11.746094 10 A 1.50015 1.50015 0 0 0 11.476562 9.9785156 A 1.50015 1.50015 0 0 0 11.259766 10 L 7.5 10 A 1.50015 1.50015 0 1 0 7.5 13 L 10 13 L 10 38.5 C 10 41.519774 12.480226 44 15.5 44 L 32.5 44 C 35.519774 44 38 41.519774 38 38.5 L 38 13 L 40.5 13 A 1.50015 1.50015 0 1 0 40.5 10 L 36.746094 10 A 1.50015 1.50015 0 0 0 36.259766 10 L 30 10 C 30 6.7041348 27.295865 4 24 4 z M 24 7 C 25.674135 7 27 8.3258652 27 10 L 21 10 C 21 8.3258652 22.325865 7 24 7 z M 13 13 L 35 13 L 35 38.5 C 35 39.898226 33.898226 41 32.5 41 L 15.5 41 C 14.101774 41 13 39.898226 13 38.5 L 13 13 z M 20.476562 17.978516 A 1.50015 1.50015 0 0 0 19 19.5 L 19 34.5 A 1.50015 1.50015 0 1 0 22 34.5 L 22 19.5 A 1.50015 1.50015 0 0 0 20.476562 17.978516 z M 27.476562 17.978516 A 1.50015 1.50015 0 0 0 26 19.5 L 26 34.5 A 1.50015 1.50015 0 1 0 29 34.5 L 29 19.5 A 1.50015 1.50015 0 0 0 27.476562 17.978516 z"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.0 KiB |
+75
-38
@@ -1,7 +1,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import {ref, onMounted, h} from "vue";
|
import { ref, onMounted, h } from "vue";
|
||||||
import izitoast from "@/shared/izitoast";
|
import izitoast from "@/shared/izitoast";
|
||||||
import {useEventListener} from "@vueuse/core";
|
import { useEventListener } from "@vueuse/core";
|
||||||
import MyDialog from "@/components/MyDialog.vue";
|
import MyDialog from "@/components/MyDialog.vue";
|
||||||
import MyDropMenu from "@/components/MyDropMenu.vue";
|
import MyDropMenu from "@/components/MyDropMenu.vue";
|
||||||
import copyToclipboard from "@/shared/copyToclipboard";
|
import copyToclipboard from "@/shared/copyToclipboard";
|
||||||
@@ -14,7 +14,7 @@ import Preview from "@/components/UI/svg/Preview.vue";
|
|||||||
import Save from "@/components/UI/svg/Save.vue";
|
import Save from "@/components/UI/svg/Save.vue";
|
||||||
import Trash from "@/components/UI/svg/Trash.vue";
|
import Trash from "@/components/UI/svg/Trash.vue";
|
||||||
import Back from "@/components/UI/svg/Back.vue";
|
import Back from "@/components/UI/svg/Back.vue";
|
||||||
|
import { NTooltip } from 'naive-ui'
|
||||||
|
|
||||||
const numbers = ref([]); // Инициализируем массив с пустыми строками
|
const numbers = ref([]); // Инициализируем массив с пустыми строками
|
||||||
const clickCount = ref(1); // Счетчик нажатий
|
const clickCount = ref(1); // Счетчик нажатий
|
||||||
@@ -184,7 +184,7 @@ function copyAndToast(text) {
|
|||||||
function handleDownloadBtn() {
|
function handleDownloadBtn() {
|
||||||
// Создание файла
|
// Создание файла
|
||||||
const downloadUrl = ref('');
|
const downloadUrl = ref('');
|
||||||
const blob = new Blob([finallyText.value], {type: 'text/plain'});
|
const blob = new Blob([finallyText.value], { type: 'text/plain' });
|
||||||
downloadUrl.value = URL.createObjectURL(blob);
|
downloadUrl.value = URL.createObjectURL(blob);
|
||||||
// Задержка для избежания ошибок в некоторых браузерах
|
// Задержка для избежания ошибок в некоторых браузерах
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@@ -272,6 +272,16 @@ function createIcon(src) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function createSvgIcon(svg) {
|
||||||
|
return h(svg,{
|
||||||
|
style:{
|
||||||
|
color: '#000',
|
||||||
|
width: '20px',
|
||||||
|
height: '20px',
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
function onContextMenu(e, item) {
|
function onContextMenu(e, item) {
|
||||||
ContextMenu.showContextMenu({
|
ContextMenu.showContextMenu({
|
||||||
theme: 'mac dark',
|
theme: 'mac dark',
|
||||||
@@ -300,7 +310,7 @@ function onContextMenu(e, item) {
|
|||||||
{
|
{
|
||||||
label: "Удалить",
|
label: "Удалить",
|
||||||
onClick: () => deletePlatform(item),
|
onClick: () => deletePlatform(item),
|
||||||
icon: createIcon('icons/trash.svg'),
|
icon: createSvgIcon(Trash),
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -316,14 +326,14 @@ function onContextMenu(e, item) {
|
|||||||
{
|
{
|
||||||
label: "Удалить",
|
label: "Удалить",
|
||||||
onClick: () => deleteQR(item),
|
onClick: () => deleteQR(item),
|
||||||
icon: createIcon('icons/trash.svg')
|
icon: createSvgIcon(Trash),
|
||||||
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Удалить",
|
label: "Удалить",
|
||||||
icon: createIcon('icons/trash.svg'),
|
icon: createSvgIcon(Trash),
|
||||||
onClick: () => deletePointMap(item),
|
onClick: () => deletePointMap(item),
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
@@ -335,18 +345,38 @@ function onContextMenu(e, item) {
|
|||||||
<div v-if="!isCodeViewVisible" class="wraper">
|
<div v-if="!isCodeViewVisible" class="wraper">
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
<div class="square" v-for="(item, index) in numbers" :data-key="index" :key="index" @click="setNumber(item)"
|
<div class="square" v-for="(item, index) in numbers" :data-key="index" :key="index" @click="setNumber(item)"
|
||||||
@contextmenu.prevent="onContextMenu($event, item)" :style="{ backgroundImage: `url(${item.BgImg})` }">
|
@contextmenu.prevent="onContextMenu($event, item)" :style="{ backgroundImage: `url(${item.BgImg})` }">
|
||||||
{{ numbers[index].variable.join(", ") }}
|
{{ numbers[index].variable.join(", ") }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<Save @click="saveResult"/>
|
<n-tooltip trigger="hover">
|
||||||
<Trash @click="cleanResult"/>
|
<template #trigger>
|
||||||
<Back @click="cancel"/>
|
<Save @click="saveResult" />
|
||||||
<Preview @click="openPreview"/>
|
</template>
|
||||||
|
Сохранить
|
||||||
|
</n-tooltip>
|
||||||
|
<n-tooltip trigger="hover">
|
||||||
|
<template #trigger>
|
||||||
|
<Trash @click="cleanResult" />
|
||||||
|
</template>
|
||||||
|
Удалить
|
||||||
|
</n-tooltip>
|
||||||
|
<n-tooltip trigger="hover">
|
||||||
|
<template #trigger>
|
||||||
|
<Back @click="cancel" />
|
||||||
|
</template>
|
||||||
|
Отменить
|
||||||
|
</n-tooltip>
|
||||||
|
<n-tooltip trigger="hover">
|
||||||
|
<template #trigger>
|
||||||
|
<Preview @click="openPreview" />
|
||||||
|
</template>
|
||||||
|
Превью
|
||||||
|
</n-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<MyDropMenu ref="dropMenu"/>
|
<MyDropMenu ref="dropMenu" />
|
||||||
<MyDialog v-model:show="isModalVisible" class="dialogWindow" :is-success=Boolean(listOfTrips.length)>
|
<MyDialog v-model:show="isModalVisible" class="dialogWindow" :is-success=Boolean(listOfTrips.length)>
|
||||||
<template #header>
|
<template #header>
|
||||||
<strong v-if="listOfTrips.length">Код готов!</strong>
|
<strong v-if="listOfTrips.length">Код готов!</strong>
|
||||||
@@ -356,33 +386,38 @@ function onContextMenu(e, item) {
|
|||||||
<p v-if="listOfTrips.length">Скопируйте или скачайте ваш код</p>
|
<p v-if="listOfTrips.length">Скопируйте или скачайте ваш код</p>
|
||||||
<p v-else>Выстройте маршрут перед сохранением кода.</p>
|
<p v-else>Выстройте маршрут перед сохранением кода.</p>
|
||||||
</main>
|
</main>
|
||||||
<template v-if="listOfTrips.length" #footer>
|
<template #footer>
|
||||||
<button @click="isCodeViewVisible = true">Предпросмотр</button>
|
<div v-if="listOfTrips.length">
|
||||||
<button @click="handleDownloadBtn">Скачать код</button>
|
<button @click="isCodeViewVisible = true">Предпросмотр</button>
|
||||||
<button @click="copyAndToast(finallyText)">Скопировать код</button>
|
<button @click="handleDownloadBtn">Скачать код</button>
|
||||||
|
<button @click="copyAndToast(finallyText)">Скопировать код</button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</MyDialog>
|
</MyDialog>
|
||||||
</div>
|
</div>
|
||||||
<CodeView v-model:show="isCodeViewVisible" :code="finallyText" :show="isCodeViewVisible"/>
|
<CodeView v-model:show="isCodeViewVisible" :code="finallyText" :show="isCodeViewVisible" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
font-family: 'Courier New', Courier, monospace;
|
font-family: 'Courier New', Courier, monospace;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
* :focus-visible {
|
||||||
|
box-shadow: 0 0 0 3px #23aae3e2;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
background-image: radial-gradient(#23aae3e2, #222222);
|
background-image: radial-gradient(#23aae3e2, #222222);
|
||||||
font-size: 18px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
font-size: 18px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--side: 8vh;
|
--side: 75px;
|
||||||
--sizeActions: 5vh;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.wraper {
|
.wraper {
|
||||||
@@ -395,40 +430,36 @@ body {
|
|||||||
display: grid;
|
display: grid;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
grid-template-columns: repeat(10, var(--side));
|
grid-template-columns: repeat(10, var(--side));
|
||||||
grid-template-rows: repeat(10, var(--side));
|
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.square {
|
.square {
|
||||||
width: 100%;
|
width: var(--side);
|
||||||
height: 100%;
|
height: var(--side);
|
||||||
text-align: center;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
border: 3px solid #ffffff;
|
border: 3px solid rgb(251, 251, 251);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
|
||||||
background-blend-mode: multiply;
|
background-blend-mode: multiply;
|
||||||
background-color: #ffffff;
|
background-color: transparent;
|
||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
|
|
||||||
color: #2267fce2;
|
color: white;
|
||||||
text-shadow: -1px -1px 0 #fff,
|
text-shadow: -1px -1px 0 black,
|
||||||
1px -1px 0 #fff,
|
1px -1px 0 black,
|
||||||
-1px 1px 0 #fff,
|
-1px 1px 0 black,
|
||||||
1px 1px 0 #fff;
|
1px 1px 0 black;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 1.1rem;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.square:hover {
|
.square:hover {
|
||||||
background-color: #949494;
|
background-color: rgb(166, 162, 162);
|
||||||
}
|
}
|
||||||
|
|
||||||
.square:active {
|
.square:active {
|
||||||
background-color: #747474;
|
background-color: rgb(164, 162, 162);
|
||||||
}
|
}
|
||||||
|
|
||||||
.square::-webkit-scrollbar {
|
.square::-webkit-scrollbar {
|
||||||
@@ -456,11 +487,17 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.actions svg {
|
.actions svg {
|
||||||
width: var(--sizeActions);
|
outline: none;
|
||||||
height: var(--sizeActions);
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
transition: color 0.4s;
|
transition: color 0.4s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.actions svg:focus-visible {
|
||||||
|
box-shadow: 0 0 0 3px #23aae3e2;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.actions svg:hover {
|
.actions svg:hover {
|
||||||
color: rgba(20, 104, 140, 0.89);
|
color: rgba(20, 104, 140, 0.89);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,13 +18,13 @@ const props = defineProps({
|
|||||||
<div class="code-view" v-if="show">
|
<div class="code-view" v-if="show">
|
||||||
<CustomButton
|
<CustomButton
|
||||||
@click.stop="$emit('update:show', false)">
|
@click.stop="$emit('update:show', false)">
|
||||||
Вернуться к генерации маршрута
|
Вернуться к сохранению сгенерированного кода
|
||||||
</CustomButton>
|
</CustomButton>
|
||||||
<CodeBlock :code="code" />
|
<CodeBlock :code="code" />
|
||||||
|
|
||||||
<CustomButton
|
<CustomButton
|
||||||
@click.stop="$emit('update:show', false)">
|
@click.stop="$emit('update:show', false)">
|
||||||
Вернуться к генерации маршрута
|
Вернуться к сохранению сгенерированного кода
|
||||||
</CustomButton>
|
</CustomButton>
|
||||||
<MovementButtons/>
|
<MovementButtons/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -80,9 +80,9 @@ useEventListener("keydown", handleKeydown);
|
|||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 55%;
|
max-width: 500px;
|
||||||
|
width: 90%;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
font-size: 1.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-header,
|
.modal-header,
|
||||||
@@ -110,17 +110,16 @@ useEventListener("keydown", handleKeydown);
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal-footer {
|
.modal-footer {
|
||||||
|
justify-content: flex-end;
|
||||||
border-top: 1px solid white;
|
border-top: 1px solid white;
|
||||||
display: flex;
|
|
||||||
gap: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-footer button {
|
.modal-footer button {
|
||||||
width: 33%;
|
justify-content: flex-end;
|
||||||
border-top: 1px solid white;
|
border-top: 1px solid white;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
color: black;
|
color: black;
|
||||||
font-size: 20px;
|
font-size: 15px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -99,8 +99,8 @@ defineExpose({open: () => (isOpen.value = true), close: closeMenu});
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
min-width: 40px;
|
width: 40px;
|
||||||
min-height: 30px;
|
height: 30px;
|
||||||
background: rgba(255, 255, 255, 0.508);
|
background: rgba(255, 255, 255, 0.508);
|
||||||
border: 1px solid #383838;
|
border: 1px solid #383838;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -109,18 +109,12 @@ defineExpose({open: () => (isOpen.value = true), close: closeMenu});
|
|||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 3rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-content {
|
.menu-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
padding-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.menu-content button{
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.line {
|
.line {
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.cls-1{fill:none;}
|
.cls-1{
|
||||||
|
fill:none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user