247 lines
4.7 KiB
CSS
247 lines
4.7 KiB
CSS
/**
|
|
* دیالوگ راهنمای ثبت کالا — شبکه تأمین
|
|
*/
|
|
|
|
.hx-st-supplier-dialog {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 10045;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
padding: 0;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition: opacity 0.24s ease, visibility 0.24s ease;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.hx-st-supplier-dialog {
|
|
align-items: center;
|
|
padding: 1.25rem;
|
|
}
|
|
}
|
|
|
|
.hx-st-supplier-dialog.is-open {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
html.hx-st-supplier-dialog-open,
|
|
body.hx-st-supplier-dialog-open {
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(15, 23, 42, 0.58);
|
|
backdrop-filter: blur(5px);
|
|
-webkit-backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.hx-st-supplier-dialog__panel {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
max-width: 32rem;
|
|
max-height: min(92vh, 40rem);
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
background: #fff;
|
|
border-radius: 1.25rem 1.25rem 0 0;
|
|
box-shadow: 0 -6px 32px rgba(15, 23, 42, 0.16);
|
|
padding: 1.25rem 1.25rem 1.35rem;
|
|
outline: none;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.hx-st-supplier-dialog__panel {
|
|
border-radius: 1.25rem;
|
|
max-width: 36rem;
|
|
padding: 1.35rem 1.5rem 1.5rem;
|
|
}
|
|
}
|
|
|
|
.hx-st-supplier-dialog__close {
|
|
position: absolute;
|
|
top: 0.75rem;
|
|
left: 0.75rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 2.25rem;
|
|
height: 2.25rem;
|
|
border: none;
|
|
border-radius: 0.65rem;
|
|
background: rgba(15, 23, 42, 0.06);
|
|
color: #334155;
|
|
cursor: pointer;
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__close:hover {
|
|
background: rgba(15, 23, 42, 0.1);
|
|
}
|
|
|
|
.hx-st-supplier-dialog__header {
|
|
padding-inline-start: 0.25rem;
|
|
padding-inline-end: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__badge {
|
|
display: inline-block;
|
|
margin: 0 0 0.5rem;
|
|
padding: 0.2rem 0.55rem;
|
|
border-radius: 999px;
|
|
background: #e0f2fe;
|
|
color: #0369a1;
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__title {
|
|
margin: 0 0 0.5rem;
|
|
font-size: 1.15rem;
|
|
font-weight: 800;
|
|
line-height: 1.4;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__lead {
|
|
margin: 0;
|
|
font-size: 0.875rem;
|
|
line-height: 1.65;
|
|
color: #475569;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__steps {
|
|
margin: 0 0 1rem;
|
|
padding: 0;
|
|
list-style: none;
|
|
counter-reset: st-supplier-step;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__steps li {
|
|
display: grid;
|
|
grid-template-columns: 1.5rem minmax(0, 1fr);
|
|
column-gap: 0.65rem;
|
|
row-gap: 0.2rem;
|
|
align-items: start;
|
|
counter-increment: st-supplier-step;
|
|
padding: 0.75rem 0.85rem;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 0.75rem;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__steps li + li {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__steps li::before {
|
|
content: counter(st-supplier-step);
|
|
grid-column: 1;
|
|
grid-row: 1 / -1;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 999px;
|
|
background: #0ea5e9;
|
|
color: #fff;
|
|
font-size: 0.75rem;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
margin-block-start: 0.05rem;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__steps strong,
|
|
.hx-st-supplier-dialog__steps span {
|
|
grid-column: 2;
|
|
min-width: 0;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__steps strong {
|
|
display: block;
|
|
margin-bottom: 0.2rem;
|
|
font-size: 0.875rem;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__steps span {
|
|
display: block;
|
|
font-size: 0.8125rem;
|
|
line-height: 1.6;
|
|
color: #64748b;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__note {
|
|
margin: 0 0 1rem;
|
|
padding: 0.75rem 0.85rem;
|
|
border-radius: 0.75rem;
|
|
border-inline-start: 3px solid #38bdf8;
|
|
background: #f0f9ff;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__note p {
|
|
margin: 0;
|
|
font-size: 0.8125rem;
|
|
line-height: 1.65;
|
|
color: #334155;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__footer {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 2.5rem;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.75rem;
|
|
font-size: 0.875rem;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__btn--primary {
|
|
flex: 1 1 12rem;
|
|
background: linear-gradient(135deg, #0284c7, #0ea5e9);
|
|
color: #fff;
|
|
box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
|
|
}
|
|
|
|
.hx-st-supplier-dialog__btn--primary:hover {
|
|
transform: translateY(-1px);
|
|
color: #fff;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__btn--ghost {
|
|
background: transparent;
|
|
color: #475569;
|
|
border: 1px solid #cbd5e1;
|
|
}
|
|
|
|
.hx-st-supplier-dialog__btn--ghost:hover {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
/* دکمهٔ هیرو — ظاهر لینک بدون ناوبری */
|
|
button.st-public-hero__cta {
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
}
|