{{ t('app.title') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ t('theme.label') }}
-
-
-
-
- {{ t('pwa.installTitle') }}
@@ -306,12 +150,6 @@ onUnmounted(() => {
-
-
-
@@ -320,9 +158,6 @@ onUnmounted(() => {
-
-
-
@@ -347,285 +182,60 @@ onUnmounted(() => {
padding-bottom: 50px;
}
-.game-header {
- text-align: center;
- margin-bottom: 30px;
- margin-top: 40px;
-}
-
-h1 {
- font-size: 3.5rem;
- margin: 0;
- letter-spacing: 5px;
- font-weight: 300;
- color: var(--text-strong);
- text-shadow: 0 0 20px var(--title-glow);
-}
-
-.underline {
- width: 100px;
- height: 3px;
- background: var(--primary-accent);
- margin: 10px auto 0;
- box-shadow: 0 0 10px var(--primary-accent);
-}
-
-.header-toggles {
+.install-banner {
+ background: rgba(0, 242, 254, 0.1);
+ border: 1px solid var(--primary-neon);
+ border-radius: 8px;
+ padding: 10px 20px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ width: 90%;
+ max-width: 600px;
+ margin-bottom: 20px;
+}
+
+.install-text {
+ color: #fff;
+}
+
+.install-actions {
display: flex;
- flex-wrap: wrap;
gap: 10px;
align-items: center;
- justify-content: center;
- margin-top: 12px;
}
-.lang-dropdown {
- position: relative;
- display: inline-flex;
- align-items: center;
-}
-
-.lang-trigger {
- background: var(--toggle-bg);
- border: 1px solid var(--toggle-border);
- box-shadow: var(--toggle-shadow);
- border-radius: 999px;
- width: 38px;
- height: 38px;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- transition: all 0.2s ease;
-}
-
-.lang-trigger:hover {
- border-color: var(--toggle-hover-border);
-}
-
-.lang-menu {
- position: absolute;
- top: calc(100% + 8px);
- left: 0;
- min-width: 170px;
- background: var(--fixed-bar-bg);
- border: 1px solid var(--fixed-bar-border);
- box-shadow: var(--fixed-bar-shadow);
- border-radius: 16px;
- padding: 8px;
- display: flex;
- flex-direction: column;
- gap: 6px;
- z-index: 10;
- opacity: 1;
- max-height: 70vh;
- overflow-y: auto;
-}
-
-.lang-search {
- display: flex;
- padding: 6px;
-}
-
-.lang-search-input {
- width: 100%;
- padding: 8px 10px;
- border: 1px solid var(--toggle-btn-border);
- border-radius: 10px;
- background: var(--toggle-bg);
- color: var(--text-strong);
- outline: none;
-}
-
-.lang-option {
+.install-close {
background: transparent;
- border: 1px solid var(--toggle-btn-border);
- color: var(--text-strong);
- padding: 6px 10px;
- border-radius: 12px;
- font-size: 0.85rem;
- letter-spacing: 0.5px;
- display: flex;
- align-items: center;
- gap: 8px;
+ border: none;
+ color: #aaa;
+ font-size: 1.5rem;
cursor: pointer;
- transition: all 0.2s ease;
- text-align: left;
-}
-
-.lang-option:hover {
- border-color: var(--toggle-hover-border);
-}
-
-.lang-option.active {
- border-color: var(--primary-accent);
- box-shadow: var(--toggle-active-shadow);
-}
-
-.lang-flag {
- width: 24px;
- height: 16px;
- display: inline-flex;
-}
-
-.lang-flag svg {
- width: 100%;
- height: 100%;
- display: block;
- border-radius: 2px;
-}
-
-.lang-name {
- font-weight: 500;
-}
-
-.theme-toggle {
- display: inline-flex;
- gap: 8px;
- align-items: center;
- padding: 6px 10px;
- border-radius: 999px;
- background: var(--toggle-bg);
- border: 1px solid var(--toggle-border);
- box-shadow: var(--toggle-shadow);
-}
-
-.theme-label {
- font-size: 0.75rem;
- letter-spacing: 1px;
- text-transform: uppercase;
- color: var(--text-muted);
-}
-
-.theme-btn {
- background: transparent;
- border: 1px solid var(--toggle-btn-border);
- color: var(--text-strong);
- padding: 4px 10px;
- border-radius: 999px;
- font-size: 0.75rem;
- letter-spacing: 1px;
- cursor: pointer;
- transition: all 0.2s ease;
-}
-
-.theme-btn.active {
- border-color: var(--primary-accent);
- box-shadow: var(--toggle-active-shadow);
-}
-
-.theme-btn:hover {
- border-color: var(--toggle-hover-border);
}
.game-layout {
display: flex;
flex-direction: column;
- gap: 10px;
+ align-items: center;
+ gap: 20px;
width: 100%;
- max-width: 900px;
- align-items: center;
+ max-width: 1200px;
+ padding: 0 20px;
}
-.install-banner {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16px;
- padding: 12px 16px;
- border-radius: 16px;
- background: var(--banner-bg);
- border: 1px solid var(--banner-border);
- box-shadow: var(--banner-shadow);
- width: min(680px, 92vw);
- margin: -10px 0 20px;
-}
-
-.install-text {
- color: var(--text-secondary);
- font-size: 0.95rem;
- letter-spacing: 0.5px;
-}
-
-.install-actions {
- display: flex;
- align-items: center;
- gap: 10px;
-}
-
-.install-btn {
- padding: 8px 16px;
- font-size: 0.85rem;
-}
-
-.install-close {
- background: transparent;
- border: 1px solid var(--toggle-btn-border);
- color: var(--text-strong);
- width: 32px;
- height: 32px;
- border-radius: 999px;
- cursor: pointer;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- font-size: 1.1rem;
- line-height: 1;
- transition: all 0.2s ease;
-}
-
-.install-close:hover {
- border-color: var(--toggle-hover-border);
-}
-
-/* Remove old glass panel style from game-layout since we split it */
.board-section {
display: flex;
justify-content: center;
- margin-top: 10px;
+ width: 100%;
}
-@media (max-width: 768px) {
- .game-header {
- margin-top: 20px;
- margin-bottom: 20px;
- }
- h1 {
- font-size: 2.4rem;
- letter-spacing: 3px;
- }
- .lang-menu {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 100vw;
- min-width: 0;
- z-index: 1005;
- max-height: none;
- padding: 16px;
- border-radius: 0;
- }
- .lang-search {
- position: sticky;
- top: 0;
- padding: 8px 0 12px 0;
- background: var(--fixed-bar-bg);
- }
- .lang-option {
- font-size: 1rem;
- padding: 10px 12px;
- }
+.fade-enter-active,
+.fade-leave-active {
+ transition: opacity 0.3s ease;
}
-@media (max-width: 420px) {
- h1 {
- font-size: 2rem;
- letter-spacing: 2px;
- }
- .lang-menu {
- width: 100vw;
- }
+.fade-enter-from,
+.fade-leave-to {
+ opacity: 0;
}
-
+
\ No newline at end of file
diff --git a/src/components/GameActions.vue b/src/components/GameActions.vue
deleted file mode 100644
index ca4b7cc..0000000
--- a/src/components/GameActions.vue
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/Hints.vue b/src/components/Hints.vue
index 433d89e..f128c45 100644
--- a/src/components/Hints.vue
+++ b/src/components/Hints.vue
@@ -32,12 +32,13 @@ defineProps({
v-for="(group, index) in hints"
:key="index"
class="hint-group"
- :class="{ 'hint-alt': index % 2 !== 0, 'is-active': index === activeIndex }"
+ :class="{ 'is-active': index === activeIndex }"
>
{{ num }}
@@ -94,8 +95,8 @@ defineProps({
padding: 2px;
}
-/* Alternating Colors */
-.hint-group.hint-alt .hint-num {
+/* Alternating Colors within the group */
+.hint-num.hint-alt {
color: var(--accent-cyan);
}
diff --git a/src/components/LevelSelector.vue b/src/components/LevelSelector.vue
deleted file mode 100644
index 4ffbaf5..0000000
--- a/src/components/LevelSelector.vue
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue
new file mode 100644
index 0000000..8bcb3b5
--- /dev/null
+++ b/src/components/NavBar.vue
@@ -0,0 +1,654 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/StatusPanel.vue b/src/components/StatusPanel.vue
index 3ad5274..caf97ba 100644
--- a/src/components/StatusPanel.vue
+++ b/src/components/StatusPanel.vue
@@ -3,6 +3,7 @@ import { computed } from 'vue';
import { usePuzzleStore } from '@/stores/puzzle';
import { useTimer } from '@/composables/useTimer';
import { useI18n } from '@/composables/useI18n';
+import { RotateCcw, RefreshCw, Eye } from 'lucide-vue-next';
const store = usePuzzleStore();
const { formatTime } = useTimer();
@@ -14,22 +15,38 @@ const progressText = computed(() => `${store.progressPercentage.toFixed(3)}%`);
-
- {{ t('status.time') }}
- {{ formattedTime }}
-
-
-
- {{ t('status.moves') }}
- {{ store.moves }}
-
-
-
- {{ t('status.progress') }}
-
- {{ progressText }}
- 👁️
+
@@ -37,9 +54,9 @@ const progressText = computed(() => `${store.progressPercentage.toFixed(3)}%`);
+
+.eye-btn:hover {
+ opacity: 1;
+ color: var(--primary-neon);
+}
+
+.panel-separator {
+ width: 1px;
+ background: rgba(255, 255, 255, 0.1);
+ margin: 10px 0;
+}
+
+.actions-group {
+ display: flex;
+ flex-direction: column;
+ width: 60px;
+}
+
+.action-btn {
+ flex: 1;
+ background: transparent;
+ border: none;
+ color: var(--text-strong);
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: all 0.2s;
+}
+
+.action-btn:hover {
+ background: rgba(255, 255, 255, 0.1);
+ color: var(--primary-neon);
+}
+
+.action-separator {
+ height: 1px;
+ background: rgba(255, 255, 255, 0.1);
+ width: 80%;
+ align-self: center;
+}
+
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index fcfa41f..90a898b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,6 +1,7 @@
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
+import '/node_modules/flag-icons/css/flag-icons.min.css'
import './styles/main.css'
// Custom directive v-cell-hover (zgodnie z wymaganiami)
+
+
+
+
+
+ {{ t('status.time') }}
+ {{ formattedTime }}
+
+
+ {{ t('status.moves') }}
+ {{ store.moves }}
+
+
+
+ {{ t('status.progress') }}
+
+
+ {{ progressText }}
+
+
+
+
+
+