fix(bd): add info-icon tooltips for visual-qa compliance

This commit is contained in:
ghazale 2026-11-10 09:13:26 +00:00
parent e5ecc04d1c
commit 1a52b74f08
2 changed files with 20 additions and 20 deletions

20
bd.html
View file

@ -657,7 +657,7 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
border-right: 4px solid var(--success);
}
.info-tip {
.info-icon {
position: relative;
display: inline-flex;
align-items: center;
@ -674,7 +674,7 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
vertical-align: middle;
margin-right: 4px;
}
.info-tip .tip-box {
.info-icon .tip-box {
visibility: hidden;
opacity: 0;
position: absolute;
@ -696,7 +696,7 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
pointer-events: none;
transition: opacity 0.15s ease;
}
.info-tip:hover .tip-box {
.info-icon:hover .tip-box {
visibility: visible;
opacity: 1;
}
@ -708,25 +708,25 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
<!-- Header -->
<div class="header">
<div class="header-info">
<h1><span class="brand">Ekeepa</span> B2B Partnership Operations <span class="info-tip">i<span class="tip-box">منبع داده: سند جامع قراردادهای B2B اکیپا و همگام‌سازی خودکار با PostgreSQL 17 (/api/db/state).</span></span></h1>
<h1><span class="brand">Ekeepa</span> B2B Partnership Operations <span class="info-icon">ⓘ<span class="tip-box">منبع داده: سند جامع قراردادهای B2B اکیپا و همگام‌سازی خودکار با PostgreSQL 17 (/api/db/state).</span></span></h1>
<p>داشبورد یکپارچه پایش وضعیت همکاری‌های سازمانی، درگاه‌های اعتباری، زیرساخت و مخاطبین تجاری</p>
</div>
<div class="header-stats">
<div class="stat-badge">
<span class="num" id="totalPartners">۱۲</span>
<span class="label">کل طرف‌های همکاری <span class="info-tip">i<span class="tip-box">تعداد کل رکوردهای ثبت‌شده در جدول پارتنرها و زیرساخت‌ها (partners.length).</span></span></span>
<span class="label">کل طرف‌های همکاری <span class="info-icon">ⓘ<span class="tip-box">تعداد کل رکوردهای ثبت‌شده در جدول پارتنرها و زیرساخت‌ها (partners.length).</span></span></span>
</div>
<div class="stat-badge">
<span class="num" style="color: #34D399;" id="activePartners">۶</span>
<span class="label">فعال و در حال اجرا <span class="info-tip">i<span class="tip-box">تعداد همکاری‌هایی با وضعیت «فعال و در حال اجرا» (status === 'active').</span></span></span>
<span class="label">فعال و در حال اجرا <span class="info-icon">ⓘ<span class="tip-box">تعداد همکاری‌هایی با وضعیت «فعال و در حال اجرا» (status === 'active').</span></span></span>
</div>
<div class="stat-badge">
<span class="num" style="color: #FBBF24;" id="pendingPartners">۲</span>
<span class="label">در انتظار لانچ / اقدام <span class="info-tip">i<span class="tip-box">قراردادهای در مرحله آنبوردینگ، تفاهم‌نامه یا اتصال فنی (status === 'pending').</span></span></span>
<span class="label">در انتظار لانچ / اقدام <span class="info-icon">ⓘ<span class="tip-box">قراردادهای در مرحله آنبوردینگ، تفاهم‌نامه یا اتصال فنی (status === 'pending').</span></span></span>
</div>
<div class="stat-badge">
<span class="num" style="color: #F87171;" id="riskPartners">۱</span>
<span class="label">هشدار ریسک / متوقف <span class="info-tip">i<span class="tip-box">موارد دارای ریسک حقوقی یا مالی بالا که نیازمند بازنگری قبل از امضا هستند (status === 'warning').</span></span></span>
<span class="label">هشدار ریسک / متوقف <span class="info-icon">ⓘ<span class="tip-box">موارد دارای ریسک حقوقی یا مالی بالا که نیازمند بازنگری قبل از امضا هستند (status === 'warning').</span></span></span>
</div>
</div>
</div>
@ -758,8 +758,8 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
<th>شریک تجاری / برند</th>
<th>مدل همکاری</th>
<th>مرحله و وضعیت فعلی</th>
<th>کارمزد / تسویه <span class="info-tip">i<span class="tip-box">کارمزد مصوب درگاه یا پلتفرم در قرارداد؛ درگاه‌های BNPL زیر ۱۰٪ با مارک‌آپ +۱۰٪ عرضه می‌شوند.</span></span></th>
<th>مفاد مهم قرارداد (حقوقی/مالی) <span class="info-tip">i<span class="tip-box">خلاصه بندهای حساس انحصار، جریمه دیرکرد/فسخ و شرایط تسویه استخراج‌شده از متن قرارداد.</span></span></th>
<th>کارمزد / تسویه <span class="info-icon">ⓘ<span class="tip-box">کارمزد مصوب درگاه یا پلتفرم در قرارداد؛ درگاه‌های BNPL زیر ۱۰٪ با مارک‌آپ +۱۰٪ عرضه می‌شوند.</span></span></th>
<th>مفاد مهم قرارداد (حقوقی/مالی) <span class="info-icon">ⓘ<span class="tip-box">خلاصه بندهای حساس انحصار، جریمه دیرکرد/فسخ و شرایط تسویه استخراج‌شده از متن قرارداد.</span></span></th>
<th>نتیجه و خروجی حاصل‌شده</th>
<th>مسئول ارتباطی و رابط طرفین</th>
<th>اقدام بعدی (Next Action)</th>

View file

@ -657,7 +657,7 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
border-right: 4px solid var(--success);
}
.info-tip {
.info-icon {
position: relative;
display: inline-flex;
align-items: center;
@ -674,7 +674,7 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
vertical-align: middle;
margin-right: 4px;
}
.info-tip .tip-box {
.info-icon .tip-box {
visibility: hidden;
opacity: 0;
position: absolute;
@ -696,7 +696,7 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
pointer-events: none;
transition: opacity 0.15s ease;
}
.info-tip:hover .tip-box {
.info-icon:hover .tip-box {
visibility: visible;
opacity: 1;
}
@ -708,25 +708,25 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
<!-- Header -->
<div class="header">
<div class="header-info">
<h1><span class="brand">Ekeepa</span> B2B Partnership Operations <span class="info-tip">i<span class="tip-box">منبع داده: سند جامع قراردادهای B2B اکیپا و همگام‌سازی خودکار با PostgreSQL 17 (/api/db/state).</span></span></h1>
<h1><span class="brand">Ekeepa</span> B2B Partnership Operations <span class="info-icon">ⓘ<span class="tip-box">منبع داده: سند جامع قراردادهای B2B اکیپا و همگام‌سازی خودکار با PostgreSQL 17 (/api/db/state).</span></span></h1>
<p>داشبورد یکپارچه پایش وضعیت همکاری‌های سازمانی، درگاه‌های اعتباری، زیرساخت و مخاطبین تجاری</p>
</div>
<div class="header-stats">
<div class="stat-badge">
<span class="num" id="totalPartners">۱۲</span>
<span class="label">کل طرف‌های همکاری <span class="info-tip">i<span class="tip-box">تعداد کل رکوردهای ثبت‌شده در جدول پارتنرها و زیرساخت‌ها (partners.length).</span></span></span>
<span class="label">کل طرف‌های همکاری <span class="info-icon">ⓘ<span class="tip-box">تعداد کل رکوردهای ثبت‌شده در جدول پارتنرها و زیرساخت‌ها (partners.length).</span></span></span>
</div>
<div class="stat-badge">
<span class="num" style="color: #34D399;" id="activePartners">۶</span>
<span class="label">فعال و در حال اجرا <span class="info-tip">i<span class="tip-box">تعداد همکاری‌هایی با وضعیت «فعال و در حال اجرا» (status === 'active').</span></span></span>
<span class="label">فعال و در حال اجرا <span class="info-icon">ⓘ<span class="tip-box">تعداد همکاری‌هایی با وضعیت «فعال و در حال اجرا» (status === 'active').</span></span></span>
</div>
<div class="stat-badge">
<span class="num" style="color: #FBBF24;" id="pendingPartners">۲</span>
<span class="label">در انتظار لانچ / اقدام <span class="info-tip">i<span class="tip-box">قراردادهای در مرحله آنبوردینگ، تفاهم‌نامه یا اتصال فنی (status === 'pending').</span></span></span>
<span class="label">در انتظار لانچ / اقدام <span class="info-icon">ⓘ<span class="tip-box">قراردادهای در مرحله آنبوردینگ، تفاهم‌نامه یا اتصال فنی (status === 'pending').</span></span></span>
</div>
<div class="stat-badge">
<span class="num" style="color: #F87171;" id="riskPartners">۱</span>
<span class="label">هشدار ریسک / متوقف <span class="info-tip">i<span class="tip-box">موارد دارای ریسک حقوقی یا مالی بالا که نیازمند بازنگری قبل از امضا هستند (status === 'warning').</span></span></span>
<span class="label">هشدار ریسک / متوقف <span class="info-icon">ⓘ<span class="tip-box">موارد دارای ریسک حقوقی یا مالی بالا که نیازمند بازنگری قبل از امضا هستند (status === 'warning').</span></span></span>
</div>
</div>
</div>
@ -758,8 +758,8 @@ window.__PG_LS_BRIDGE_INSTALLED__ = true;
<th>شریک تجاری / برند</th>
<th>مدل همکاری</th>
<th>مرحله و وضعیت فعلی</th>
<th>کارمزد / تسویه <span class="info-tip">i<span class="tip-box">کارمزد مصوب درگاه یا پلتفرم در قرارداد؛ درگاه‌های BNPL زیر ۱۰٪ با مارک‌آپ +۱۰٪ عرضه می‌شوند.</span></span></th>
<th>مفاد مهم قرارداد (حقوقی/مالی) <span class="info-tip">i<span class="tip-box">خلاصه بندهای حساس انحصار، جریمه دیرکرد/فسخ و شرایط تسویه استخراج‌شده از متن قرارداد.</span></span></th>
<th>کارمزد / تسویه <span class="info-icon">ⓘ<span class="tip-box">کارمزد مصوب درگاه یا پلتفرم در قرارداد؛ درگاه‌های BNPL زیر ۱۰٪ با مارک‌آپ +۱۰٪ عرضه می‌شوند.</span></span></th>
<th>مفاد مهم قرارداد (حقوقی/مالی) <span class="info-icon">ⓘ<span class="tip-box">خلاصه بندهای حساس انحصار، جریمه دیرکرد/فسخ و شرایط تسویه استخراج‌شده از متن قرارداد.</span></span></th>
<th>نتیجه و خروجی حاصل‌شده</th>
<th>مسئول ارتباطی و رابط طرفین</th>
<th>اقدام بعدی (Next Action)</th>