رفع بیرون‌زدگی گرید تماس و افزودن کادر و راهنمای اسکرول افقی جدول + دکمه سوییچ به کارت عمودی در موبایل

This commit is contained in:
parastoo 2026-11-12 14:55:18 +00:00
parent 447c6ab330
commit ed126333b6
2 changed files with 48 additions and 22 deletions

View file

@ -993,11 +993,14 @@
.ekeepa-table-container {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
padding-bottom: 12px !important;
margin: 0 -4px !important;
padding: 12px !important;
margin: 0 !important;
border: 2px solid #000000 !important;
border-radius: 16px !important;
background: #F8FAFC !important;
}
.table-head-grid, .comp-row, .table-foot-grid {
min-width: 640px !important; /* Keeps table cells beautifully proportioned */
min-width: 660px !important; /* Keeps table cells beautifully proportioned */
gap: 8px !important;
}
.th-title-col, .th-pill-btn {
@ -1020,16 +1023,20 @@
}
.mobile-table-scroll-hint {
display: flex !important;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
font-size: 11.5px;
color: var(--purple-deep);
background: var(--purple-light);
border: 1.5px dashed var(--purple-deep);
border-radius: 10px;
padding: 6px 10px;
margin-bottom: 10px;
font-size: 12px;
font-weight: 700;
color: #000000;
background: var(--yellow-neon);
border: 2px solid #000000;
border-radius: 14px;
padding: 10px 12px;
margin-bottom: 12px;
text-align: center;
box-shadow: 2px 2px 0px #000000;
}
/* 8. Cap Guarantee Card */
@ -1126,7 +1133,7 @@
border-radius: 18px !important;
}
.contacts-subgrid {
grid-template-columns: 1fr 1fr !important;
grid-template-columns: 1fr !important;
gap: 8px !important;
}
.contacts-action-buttons {
@ -1918,6 +1925,12 @@
<span class="tag-provenance tag-live">منطبق با استایل بصری ekeepa.pdf</span>
</div>
<div class="mobile-table-scroll-hint">
<div>↔️ جدول را به سمت <strong>چپ</strong> بکشید تا هر ۳ ستون پکیج (برنزی، نقره‌ای، طلایی) را ببینید</div>
<button type="button" class="btn btn-white" onclick="switchTab('tab-cards')" style="font-size:11px; padding:5px 12px; border-width:1.5px;">
💳 یا نمایش پکیج‌ها به صورت کارت‌های عمودی (مناسب گوشی)
</button>
</div>
<div class="ekeepa-table-container">
<!-- Top Pill Header -->
<div class="table-head-grid">

View file

@ -993,11 +993,14 @@
.ekeepa-table-container {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
padding-bottom: 12px !important;
margin: 0 -4px !important;
padding: 12px !important;
margin: 0 !important;
border: 2px solid #000000 !important;
border-radius: 16px !important;
background: #F8FAFC !important;
}
.table-head-grid, .comp-row, .table-foot-grid {
min-width: 640px !important; /* Keeps table cells beautifully proportioned */
min-width: 660px !important; /* Keeps table cells beautifully proportioned */
gap: 8px !important;
}
.th-title-col, .th-pill-btn {
@ -1020,16 +1023,20 @@
}
.mobile-table-scroll-hint {
display: flex !important;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
font-size: 11.5px;
color: var(--purple-deep);
background: var(--purple-light);
border: 1.5px dashed var(--purple-deep);
border-radius: 10px;
padding: 6px 10px;
margin-bottom: 10px;
font-size: 12px;
font-weight: 700;
color: #000000;
background: var(--yellow-neon);
border: 2px solid #000000;
border-radius: 14px;
padding: 10px 12px;
margin-bottom: 12px;
text-align: center;
box-shadow: 2px 2px 0px #000000;
}
/* 8. Cap Guarantee Card */
@ -1126,7 +1133,7 @@
border-radius: 18px !important;
}
.contacts-subgrid {
grid-template-columns: 1fr 1fr !important;
grid-template-columns: 1fr !important;
gap: 8px !important;
}
.contacts-action-buttons {
@ -1918,6 +1925,12 @@
<span class="tag-provenance tag-live">منطبق با استایل بصری ekeepa.pdf</span>
</div>
<div class="mobile-table-scroll-hint">
<div>↔️ جدول را به سمت <strong>چپ</strong> بکشید تا هر ۳ ستون پکیج (برنزی، نقره‌ای، طلایی) را ببینید</div>
<button type="button" class="btn btn-white" onclick="switchTab('tab-cards')" style="font-size:11px; padding:5px 12px; border-width:1.5px;">
💳 یا نمایش پکیج‌ها به صورت کارت‌های عمودی (مناسب گوشی)
</button>
</div>
<div class="ekeepa-table-container">
<!-- Top Pill Header -->
<div class="table-head-grid">