Naprawa lokalizacji - odczytu

This commit is contained in:
2026-06-10 20:31:48 +02:00
parent 04aaa6e321
commit 79a83d4d73
16 changed files with 1826 additions and 477 deletions

View File

@@ -71,33 +71,191 @@ body {
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px;
padding: 24px 20px;
text-align: center;
transition: opacity 0.5s ease, visibility 0.5s;
overflow-y: auto;
}
.geo-shell {
width: 100%;
max-width: 400px;
}
.geo-icon {
font-size: 80px;
margin-bottom: 16px;
font-size: 64px;
margin-bottom: 12px;
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-15px); }
50% { transform: translateY(-10px); }
}
.geo-text h2 {
.geo-title {
font-family: 'Playfair Display', serif;
margin: 0 0 12px;
margin: 0 0 10px;
color: var(--primary);
font-size: 1.65rem;
line-height: 1.2;
}
.geo-lead {
color: var(--text-muted);
font-size: 15px;
line-height: 1.45;
margin: 0;
}
.geo-status {
color: var(--text-muted);
font-size: 14px;
line-height: 1.45;
margin: 14px 0 0;
min-height: 0;
}
.geo-status:empty {
display: none;
}
.geo-status.is-error {
color: #ff8a8a;
font-weight: 600;
}
.geo-status.is-info {
color: var(--primary);
}
.geo-msg {
.geo-actions {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 10px;
margin-top: 20px;
width: 100%;
}
.geo-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
min-height: 76px;
padding: 12px 10px;
border-radius: 14px;
cursor: pointer;
font-family: inherit;
line-height: 1.25;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.geo-btn:active {
transform: scale(0.98);
}
.geo-btn-main {
font-size: 14px;
font-weight: 700;
}
.geo-btn-sub {
font-size: 11px;
font-weight: 500;
opacity: 0.85;
}
.geo-btn-menu {
background: rgba(255, 255, 255, 0.03);
border: 1.5px solid rgba(226, 176, 126, 0.25);
color: var(--text-muted);
font-size: 15px;
}
.geo-btn-menu .geo-btn-main {
color: var(--text-main);
}
.geo-btn-locate {
border: none;
box-shadow: 0 4px 18px rgba(226, 176, 126, 0.28);
}
.geo-btn-locate .geo-btn-main {
font-size: 13px;
line-height: 1.3;
}
.geo-btn-locate:disabled {
opacity: 0.65;
cursor: wait;
transform: none;
}
.geo-instructions {
margin-top: 16px;
padding: 14px 16px;
background: var(--surface-light);
border: 1px solid rgba(226, 176, 126, 0.2);
border-radius: 12px;
font-size: 13px;
line-height: 1.55;
color: #d1d5db;
text-align: left;
}
.geo-instructions.hidden {
display: none;
}
.geo-wifi-callout {
margin: 20px 0 0;
padding: 16px 18px;
background: rgba(226, 176, 126, 0.1);
border: 1.5px solid rgba(226, 176, 126, 0.35);
border-radius: 14px;
font-size: 14px;
line-height: 1.5;
margin-bottom: 16px;
color: #e8e8ea;
text-align: left;
}
.geo-wifi-callout-title {
margin: 0 0 10px;
font-size: 16px;
font-weight: 700;
color: var(--primary);
}
.geo-wifi-callout p {
margin: 0 0 8px;
}
.geo-wifi-network,
.geo-wifi-password {
font-size: 15px;
color: var(--text-main);
}
.geo-wifi-list {
margin: 8px 0 0;
padding-left: 20px;
color: #d1d5db;
}
.geo-wifi-list li {
margin-bottom: 4px;
}
.geo-wifi-list li:last-child {
margin-bottom: 0;
}
@media (max-width: 360px) {
.geo-actions {
grid-template-columns: 1fr;
}
}
/* --- MAIN LAYOUT --- */
@@ -907,6 +1065,10 @@ header {
line-height: 1.45;
}
.menu-only-banner.is-hidden {
display: none !important;
}
.menu-only-banner-btn {
flex-shrink: 0;
border: 1px solid rgba(226, 176, 126, 0.45);
@@ -944,6 +1106,10 @@ header {
margin-bottom: 10px;
}
#menuOnlyBanner.is-hidden + .menu-search-container {
padding-top: 0;
}
#menuSearchInput {
width: 100%;
background: var(--surface);