fixed post create response

This commit is contained in:
SlimusMinus
2026-07-29 00:59:15 +03:00
parent eb1c444c94
commit 0b169633d2
4 changed files with 124 additions and 13 deletions

View File

@@ -251,4 +251,55 @@
border-radius: 20px 20px 0 0;
padding: 20px 16px 32px; /* 32px снизу — отступ от home indicator */
}
}
/* ── Result Modal (success / blocked) ── */
.f-modal-result {
text-align: center;
padding: 36px 28px 28px;
max-width: 380px;
}
.f-result-icon {
width: 56px; height: 56px;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
margin: 0 auto 16px;
font-size: 1.5rem; font-weight: 900;
}
.f-result-icon.success {
background: rgba(var(--teal-rgb), .15);
color: var(--teal);
}
.f-result-icon.blocked {
background: rgba(255, 107, 107, .15);
color: #ff6b6b;
}
.f-result-title {
margin: 0 0 8px;
font-size: 1.05rem; font-weight: 800;
color: var(--text-primary);
}
.f-result-text {
margin: 0 0 22px;
font-size: .85rem; line-height: 1.5;
color: var(--muted);
}
.f-result-btn {
width: 100%; border: none; border-radius: 12px;
padding: 13px; font-family: var(--font);
font-size: .9rem; font-weight: 800; cursor: pointer;
transition: opacity .15s, transform .15s;
}
.f-result-btn:hover { opacity: .88; transform: translateY(-1px); }
.f-result-btn:active { transform: translateY(0); }
.f-result-btn.ok {
background: linear-gradient(90deg, var(--teal2), var(--teal), var(--teal2));
background-size: 200% 100%;
color: #082320;
animation: shimmer 3s linear infinite;
}
.f-result-btn.err {
background: rgba(255, 107, 107, .12);
border: 1.5px solid rgba(255, 107, 107, .35);
color: #ff6b6b;
}