This commit is contained in:
Generated
+1
-1
@@ -3255,7 +3255,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "web-petting"
|
name = "web-petting"
|
||||||
version = "0.1.7"
|
version = "0.1.8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"chrono-tz",
|
"chrono-tz",
|
||||||
|
|||||||
+20
-11
@@ -26,15 +26,24 @@
|
|||||||
position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
|
position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
|
||||||
background: #fff; border-top: 1px solid #e8e8e8;
|
background: #fff; border-top: 1px solid #e8e8e8;
|
||||||
display: flex; height: 3.5rem;
|
display: flex; height: 3.5rem;
|
||||||
|
overflow-x: auto; -webkit-overflow-scrolling: touch;
|
||||||
|
scrollbar-width: none;
|
||||||
}
|
}
|
||||||
|
.bottom-tabs::-webkit-scrollbar { display: none; }
|
||||||
.bottom-tabs a {
|
.bottom-tabs a {
|
||||||
flex: 1; display: flex; flex-direction: column; align-items: center;
|
flex: 0 0 auto; min-width: 3.2rem; padding: 0 0.45rem;
|
||||||
|
display: flex; flex-direction: column; align-items: center;
|
||||||
justify-content: center; text-decoration: none; color: #999;
|
justify-content: center; text-decoration: none; color: #999;
|
||||||
font-size: 0.65rem; font-weight: 600; gap: 0.15rem;
|
font-size: 0.6rem; font-weight: 600; gap: 0.1rem;
|
||||||
transition: color 0.15s;
|
transition: color 0.15s; white-space: nowrap;
|
||||||
}
|
}
|
||||||
.bottom-tabs a .tab-icon { font-size: 1.25rem; line-height: 1; }
|
.bottom-tabs a .tab-icon { font-size: 1.25rem; line-height: 1; }
|
||||||
|
.bottom-tabs a .tab-label { display: block; }
|
||||||
.bottom-tabs a.is-active { color: var(--accent); }
|
.bottom-tabs a.is-active { color: var(--accent); }
|
||||||
|
@media (max-width: 400px) {
|
||||||
|
.bottom-tabs a .tab-label { display: none; }
|
||||||
|
.bottom-tabs a { min-width: 2.8rem; padding: 0 0.3rem; }
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Desktop: hide bottom tabs, show top nav ── */
|
/* ── Desktop: hide bottom tabs, show top nav ── */
|
||||||
.desktop-nav { display: none; }
|
.desktop-nav { display: none; }
|
||||||
@@ -135,28 +144,28 @@
|
|||||||
<!-- Bottom tabs (mobile) -->
|
<!-- Bottom tabs (mobile) -->
|
||||||
<nav class="bottom-tabs">
|
<nav class="bottom-tabs">
|
||||||
<a href="/admin/?lang={{ lang.code() }}" {% if active_page == "dashboard" %}class="is-active"{% endif %}>
|
<a href="/admin/?lang={{ lang.code() }}" {% if active_page == "dashboard" %}class="is-active"{% endif %}>
|
||||||
<span class="tab-icon">🏠</span>{{ t.dashboard_title }}
|
<span class="tab-icon">🏠</span><span class="tab-label">{{ t.dashboard_title }}</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin/leads?lang={{ lang.code() }}" {% if active_page == "leads" %}class="is-active"{% endif %}>
|
<a href="/admin/leads?lang={{ lang.code() }}" {% if active_page == "leads" %}class="is-active"{% endif %}>
|
||||||
<span class="tab-icon">📋</span>{{ t.nav_leads }}
|
<span class="tab-icon">📋</span><span class="tab-label">{{ t.nav_leads }}</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin/clients?lang={{ lang.code() }}" {% if active_page == "clients" %}class="is-active"{% endif %}>
|
<a href="/admin/clients?lang={{ lang.code() }}" {% if active_page == "clients" %}class="is-active"{% endif %}>
|
||||||
<span class="tab-icon">👥</span>{{ t.nav_clients }}
|
<span class="tab-icon">👥</span><span class="tab-label">{{ t.nav_clients }}</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin/schedule?lang={{ lang.code() }}" {% if active_page == "schedule" %}class="is-active"{% endif %}>
|
<a href="/admin/schedule?lang={{ lang.code() }}" {% if active_page == "schedule" %}class="is-active"{% endif %}>
|
||||||
<span class="tab-icon">📅</span>{{ t.nav_schedule }}
|
<span class="tab-icon">📅</span><span class="tab-label">{{ t.nav_schedule }}</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin/media?lang={{ lang.code() }}" {% if active_page == "media" %}class="is-active"{% endif %}>
|
<a href="/admin/media?lang={{ lang.code() }}" {% if active_page == "media" %}class="is-active"{% endif %}>
|
||||||
<span class="tab-icon">📷</span>{{ t.nav_media }}
|
<span class="tab-icon">📷</span><span class="tab-label">{{ t.nav_media }}</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin/testimonials?lang={{ lang.code() }}" {% if active_page == "testimonials" %}class="is-active"{% endif %}>
|
<a href="/admin/testimonials?lang={{ lang.code() }}" {% if active_page == "testimonials" %}class="is-active"{% endif %}>
|
||||||
<span class="tab-icon">💬</span>{{ t.nav_testimonials }}
|
<span class="tab-icon">💬</span><span class="tab-label">{{ t.nav_testimonials }}</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin/users?lang={{ lang.code() }}" {% if active_page == "users" %}class="is-active"{% endif %}>
|
<a href="/admin/users?lang={{ lang.code() }}" {% if active_page == "users" %}class="is-active"{% endif %}>
|
||||||
<span class="tab-icon">🔑</span>{{ t.nav_users }}
|
<span class="tab-icon">🔑</span><span class="tab-label">{{ t.nav_users }}</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin/settings?lang={{ lang.code() }}" {% if active_page == "settings" %}class="is-active"{% endif %}>
|
<a href="/admin/settings?lang={{ lang.code() }}" {% if active_page == "settings" %}class="is-active"{% endif %}>
|
||||||
<span class="tab-icon">⚙️</span>{{ t.nav_settings }}
|
<span class="tab-icon">⚙️</span><span class="tab-label">{{ t.nav_settings }}</span>
|
||||||
</a>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user