diff --git a/index.html b/index.html index 574d1ee..d05b4a3 100644 --- a/index.html +++ b/index.html @@ -1667,6 +1667,7 @@ diff --git a/script.js b/script.js index 9471315..77299d9 100644 --- a/script.js +++ b/script.js @@ -4556,6 +4556,16 @@ document.getElementById('netadmin-detail-form')?.addEventListener('submit', asyn } catch (e) { alert('Tallennus epƤonnistui: ' + e.message); } }); +// ==================== FOOTER: KEHITYSEHDOTUS ==================== + +function openFeatureSuggestion() { + switchToTab('todo', 'features'); + // Pieni viive jotta tab ehtii latautua + setTimeout(() => { + openFeatureEdit(null); + }, 200); +} + // ==================== DOKUMENTIT ==================== let allDocuments = []; diff --git a/style.css b/style.css index 321b3d0..7e7961d 100644 --- a/style.css +++ b/style.css @@ -493,6 +493,27 @@ footer { font-size: 0.8rem; border-top: 1px solid #e5e7eb; margin-top: 1rem; + display: flex; + justify-content: center; + align-items: center; + gap: 1.5rem; +} + +.footer-idea-btn { + background: none; + border: 1px dashed #ccc; + border-radius: 20px; + padding: 0.35rem 1rem; + font-size: 0.8rem; + color: #999; + cursor: pointer; + transition: all 0.2s; +} + +.footer-idea-btn:hover { + border-color: var(--primary-color); + color: var(--primary-color); + background: #f0f7ff; } /* Buttons */