diff --git a/src/App.vue b/src/App.vue
index 6a248b1..214b4c1 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -356,12 +356,10 @@ function onContextMenu(e, item) {
Скопируйте или скачайте ваш код
Выстройте маршрут перед сохранением кода.
-
-
- Предпросмотр
- Скачать код
- Скопировать код
-
+
+ Предпросмотр
+ Скачать код
+ Скопировать код
@@ -383,7 +381,8 @@ body {
}
:root {
- --side: 75px;
+ --side: 8vh;
+ --sizeActions: 5vh;
}
.wraper {
@@ -396,36 +395,40 @@ body {
display: grid;
padding: 3px;
grid-template-columns: repeat(10, var(--side));
+ grid-template-rows: repeat(10, var(--side));
gap: 5px;
user-select: none;
}
.square {
- width: var(--side);
- height: var(--side);
+ width: 100%;
+ height: 100%;
+ text-align: center;
background-size: cover;
- border: 3px solid rgb(251, 251, 251);
+ border: 3px solid #ffffff;
cursor: pointer;
overflow-y: scroll;
background-blend-mode: multiply;
- background-color: transparent;
+ background-color: #ffffff;
transition: background-color 0.3s ease;
- color: white;
- text-shadow: -1px -1px 0 black,
- 1px -1px 0 black,
- -1px 1px 0 black,
- 1px 1px 0 black;
+ color: #2267fce2;
+ text-shadow: -1px -1px 0 #fff,
+ 1px -1px 0 #fff,
+ -1px 1px 0 #fff,
+ 1px 1px 0 #fff;
box-sizing: border-box;
+ font-size: 1.1rem;
+ font-weight: bold
}
.square:hover {
- background-color: rgb(166, 162, 162);
+ background-color: #949494;
}
.square:active {
- background-color: rgb(164, 162, 162);
+ background-color: #747474;
}
.square::-webkit-scrollbar {
@@ -453,8 +456,8 @@ body {
}
.actions svg {
- width: 40px;
- height: 40px;
+ width: var(--sizeActions);
+ height: var(--sizeActions);
transition: color 0.4s;
}
diff --git a/src/components/CodeView.vue b/src/components/CodeView.vue
index d26ecfc..043d75b 100644
--- a/src/components/CodeView.vue
+++ b/src/components/CodeView.vue
@@ -18,13 +18,13 @@ const props = defineProps({
- Вернуться к сохранению сгенерированного кода
+ Вернуться к генерации маршрута
- Вернуться к сохранению сгенерированного кода
+ Вернуться к генерации маршрута
diff --git a/src/components/MyDialog.vue b/src/components/MyDialog.vue
index e8b95c7..aa1e827 100644
--- a/src/components/MyDialog.vue
+++ b/src/components/MyDialog.vue
@@ -80,9 +80,9 @@ useEventListener("keydown", handleKeydown);
overflow-x: auto;
display: flex;
flex-direction: column;
- max-width: 500px;
- width: 90%;
+ width: 55%;
border-radius: 5px;
+ font-size: 1.5rem;
}
.modal-header,
@@ -110,16 +110,17 @@ useEventListener("keydown", handleKeydown);
}
.modal-footer {
- justify-content: flex-end;
border-top: 1px solid white;
+ display: flex;
+ gap: 5px;
}
.modal-footer button {
- justify-content: flex-end;
+ width: 33%;
border-top: 1px solid white;
padding: 5px;
color: black;
- font-size: 15px;
+ font-size: 20px;
border-radius: 5px;
}
diff --git a/src/components/MyDropMenu.vue b/src/components/MyDropMenu.vue
index 90b7ba7..7784aae 100644
--- a/src/components/MyDropMenu.vue
+++ b/src/components/MyDropMenu.vue
@@ -99,8 +99,8 @@ defineExpose({open: () => (isOpen.value = true), close: closeMenu});
display: flex;
flex-direction: column;
justify-content: space-around;
- width: 40px;
- height: 30px;
+ min-width: 40px;
+ min-height: 30px;
background: rgba(255, 255, 255, 0.508);
border: 1px solid #383838;
cursor: pointer;
@@ -109,12 +109,18 @@ defineExpose({open: () => (isOpen.value = true), close: closeMenu});
h1 {
text-align: center;
+ font-size: 3rem;
}
.menu-content {
display: flex;
flex-direction: column;
gap: 10px;
+ padding-bottom: 20px;
+}
+
+.menu-content button{
+ font-size: 1.2rem;
}
.line {