Sync live quote handling, SSE product images, store hours, file URL normalization, PWA icon cache, TV monitor, about software, SuperAdmin menu gates, price alerts, and related UX from modular while preserving boursecu branding and config constraints. Co-authored-by: Cursor <cursoragent@cursor.com>
305 lines
4.9 KiB
Plaintext
305 lines
4.9 KiB
Plaintext
/* Premium desktop physical receive */
|
|
|
|
.dpr {
|
|
min-height: 100%;
|
|
height: 100%;
|
|
background: #f6f7f9;
|
|
color: #111827;
|
|
overflow: visible;
|
|
}
|
|
|
|
.dpr__container {
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
padding: 28px 36px 40px;
|
|
min-height: 100%;
|
|
box-sizing: border-box;
|
|
overflow: visible;
|
|
}
|
|
|
|
.dpr-topbar {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
margin-bottom: 28px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid rgba(15, 23, 42, 0.06);
|
|
|
|
&__back {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #6b7280;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
padding: 8px 0;
|
|
flex-shrink: 0;
|
|
|
|
&:hover {
|
|
color: #111827;
|
|
}
|
|
}
|
|
|
|
&__meta {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
&__eyebrow {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: #9ca3af;
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
&__title {
|
|
font-size: 26px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.03em;
|
|
color: #111827;
|
|
margin: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
&__subtitle {
|
|
font-size: 14px;
|
|
color: #6b7280;
|
|
margin: 6px 0 0;
|
|
line-height: 1.6;
|
|
}
|
|
}
|
|
|
|
.dpr-surface {
|
|
background: #fff;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
border-radius: 16px;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.dpr-list {
|
|
padding: 24px;
|
|
background: #fff;
|
|
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
border-radius: 16px;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
height: auto;
|
|
overflow: visible;
|
|
|
|
&__toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
&__count {
|
|
font-size: 14px;
|
|
color: #6b7280;
|
|
}
|
|
|
|
&__add {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 18px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
background: @App-primary-color;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
filter: brightness(0.95);
|
|
}
|
|
}
|
|
|
|
&__items {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
&__empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
min-height: 240px;
|
|
padding: 32px 16px;
|
|
color: #6b7280;
|
|
text-align: center;
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
|
|
&__empty-btn {
|
|
margin-top: 8px;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 10px;
|
|
background: @App-primary-color;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.dpr-new {
|
|
&__grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
|
|
gap: 20px;
|
|
align-items: start;
|
|
}
|
|
|
|
&__picker,
|
|
&__cart {
|
|
padding: 24px;
|
|
}
|
|
|
|
&__section-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #111827;
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
&__picker-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
&__hint {
|
|
margin: 12px 0 0;
|
|
font-size: 13px;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
&__cart-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
&__cart-count {
|
|
font-size: 13px;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
&__cart-items {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
max-height: 420px;
|
|
overflow-y: auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
&__cart-item {
|
|
padding: 14px;
|
|
border-radius: 12px;
|
|
background: #f9fafb;
|
|
border: 1px solid rgba(15, 23, 42, 0.05);
|
|
}
|
|
|
|
&__cart-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
min-height: 200px;
|
|
color: #9ca3af;
|
|
text-align: center;
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
&__actions {
|
|
padding-top: 8px;
|
|
border-top: 1px solid rgba(15, 23, 42, 0.06);
|
|
}
|
|
}
|
|
|
|
.dpr-cart-row__input {
|
|
width: min(100%, 240px);
|
|
min-width: 220px;
|
|
flex-shrink: 0;
|
|
|
|
.noname-input,
|
|
.ant-input-group-wrapper {
|
|
width: 100%;
|
|
}
|
|
|
|
.ant-input-group-addon {
|
|
min-width: 4.75rem;
|
|
padding-inline: 10px;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
.dpr-address-picker {
|
|
&--desktop {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
&__list {
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
&__item {
|
|
padding: 14px 16px;
|
|
margin-bottom: 10px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(15, 23, 42, 0.08);
|
|
background: #f9fafb;
|
|
font-size: 14px;
|
|
}
|
|
|
|
&__actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
padding-top: 8px;
|
|
|
|
> button:last-child {
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.dpr-list__items {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.dpr-new__grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|