بهبود تجربه کاربری و ریسپانسیو داشبورد کمپین
This commit is contained in:
parent
9ac68453b2
commit
79ec3584ac
2 changed files with 44 additions and 6 deletions
|
|
@ -18,6 +18,8 @@
|
|||
}
|
||||
</script>
|
||||
<style>
|
||||
:root { --brand:#4f46e5; --ink:#0f172a; --muted:#64748b; --line:#e2e8f0; --canvas:#f8fafc; }
|
||||
html { scroll-behavior:smooth; }
|
||||
body {
|
||||
font-family: 'Vazirmatn', sans-serif;
|
||||
background-color: #F8FAFC;
|
||||
|
|
@ -62,13 +64,30 @@
|
|||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
.tab-btn { transition: all 0.15s ease-in-out; }
|
||||
.tab-btn { transition: all 0.18s ease-in-out; min-height:42px; }
|
||||
.tab-btn:hover { background:#eef2ff; }
|
||||
.tab-btn.active {
|
||||
background-color: #FFFFFF;
|
||||
color: #0F172A;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
||||
font-weight: 700;
|
||||
}
|
||||
.tab-content > * { animation: rise-in .24s ease both; }
|
||||
@keyframes rise-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
|
||||
:focus-visible { outline:3px solid #a5b4fc !important; outline-offset:2px; }
|
||||
button, select, input, textarea { font:inherit; }
|
||||
button { min-height:38px; }
|
||||
.bg-white.rounded-2xl, .bg-white.rounded-xl { transition:box-shadow .18s ease, border-color .18s ease; }
|
||||
.bg-white.rounded-2xl:hover { border-color:#cbd5e1; }
|
||||
.tooltip-box { width:min(250px, 78vw); }
|
||||
@media (max-width:640px) {
|
||||
header .max-w-7xl { align-items:stretch; }
|
||||
main { padding-top:1rem !important; }
|
||||
.tab-btn { min-height:44px; }
|
||||
#view-overview table { min-width:1050px; }
|
||||
.tooltip-box { right:auto; left:0; transform:none; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }
|
||||
.badge-ekeepa-ir { background-color: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
|
||||
.badge-ekeepa-art { background-color: #FAF5FF; color: #7E22CE; border: 1px solid #E9D5FF; }
|
||||
</style>
|
||||
|
|
@ -84,13 +103,13 @@
|
|||
</div>
|
||||
<div>
|
||||
<div class="flex items-center gap-2 flex-wrap">
|
||||
<h1 class="text-base sm:text-lg font-extrabold text-slate-900">داشبورد نظارت بر ادزهای پولی سوشال و تیمهای تولید محتوا</h1>
|
||||
<h1 class="text-base sm:text-lg font-extrabold text-slate-900">گزارش کمپینهای تبلیغاتی</h1>
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[11px] font-bold bg-emerald-100 text-emerald-800">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-emerald-600 animate-pulse"></span>
|
||||
۵ پلتفرم مشخصشده + بخشبندی کمپینها
|
||||
</span>
|
||||
</div>
|
||||
<p class="text-xs text-slate-500 mt-0.5">کارمزد مصوب اکیپا: <strong>۴۶٪</strong> • هزینه ادز بله: <strong>۲۹۹ هزار تومان</strong></p>
|
||||
<p class="text-xs text-slate-500 mt-0.5">عملکرد کانالها، هزینهها و فروش در یک نگاه</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@
|
|||
}
|
||||
</script>
|
||||
<style>
|
||||
:root { --brand:#4f46e5; --ink:#0f172a; --muted:#64748b; --line:#e2e8f0; --canvas:#f8fafc; }
|
||||
html { scroll-behavior:smooth; }
|
||||
body {
|
||||
font-family: 'Vazirmatn', sans-serif;
|
||||
background-color: #F8FAFC;
|
||||
|
|
@ -62,13 +64,30 @@
|
|||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
.tab-btn { transition: all 0.15s ease-in-out; }
|
||||
.tab-btn { transition: all 0.18s ease-in-out; min-height:42px; }
|
||||
.tab-btn:hover { background:#eef2ff; }
|
||||
.tab-btn.active {
|
||||
background-color: #FFFFFF;
|
||||
color: #0F172A;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
||||
font-weight: 700;
|
||||
}
|
||||
.tab-content > * { animation: rise-in .24s ease both; }
|
||||
@keyframes rise-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
|
||||
:focus-visible { outline:3px solid #a5b4fc !important; outline-offset:2px; }
|
||||
button, select, input, textarea { font:inherit; }
|
||||
button { min-height:38px; }
|
||||
.bg-white.rounded-2xl, .bg-white.rounded-xl { transition:box-shadow .18s ease, border-color .18s ease; }
|
||||
.bg-white.rounded-2xl:hover { border-color:#cbd5e1; }
|
||||
.tooltip-box { width:min(250px, 78vw); }
|
||||
@media (max-width:640px) {
|
||||
header .max-w-7xl { align-items:stretch; }
|
||||
main { padding-top:1rem !important; }
|
||||
.tab-btn { min-height:44px; }
|
||||
#view-overview table { min-width:1050px; }
|
||||
.tooltip-box { right:auto; left:0; transform:none; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }
|
||||
.badge-ekeepa-ir { background-color: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
|
||||
.badge-ekeepa-art { background-color: #FAF5FF; color: #7E22CE; border: 1px solid #E9D5FF; }
|
||||
</style>
|
||||
|
|
@ -84,13 +103,13 @@
|
|||
</div>
|
||||
<div>
|
||||
<div class="flex items-center gap-2 flex-wrap">
|
||||
<h1 class="text-base sm:text-lg font-extrabold text-slate-900">داشبورد نظارت بر ادزهای پولی سوشال و تیمهای تولید محتوا</h1>
|
||||
<h1 class="text-base sm:text-lg font-extrabold text-slate-900">گزارش کمپینهای تبلیغاتی</h1>
|
||||
<span class="inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-[11px] font-bold bg-emerald-100 text-emerald-800">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-emerald-600 animate-pulse"></span>
|
||||
۵ پلتفرم مشخصشده + بخشبندی کمپینها
|
||||
</span>
|
||||
</div>
|
||||
<p class="text-xs text-slate-500 mt-0.5">کارمزد مصوب اکیپا: <strong>۴۶٪</strong> • هزینه ادز بله: <strong>۲۹۹ هزار تومان</strong></p>
|
||||
<p class="text-xs text-slate-500 mt-0.5">عملکرد کانالها، هزینهها و فروش در یک نگاه</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue