Files
boursecu_user/src/views/base/wallet/desktop/styles/desktop-wallet.less
T
safavimohadeseh78andCursor c21738950d feat(convert): show history and let customers edit pending requests
Desktop history sits beside the form. Pending requests can be updated or deleted, and the shared wallet surface drops its extra border and padding.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-03 13:04:09 +03:30

322 lines
5.3 KiB
Plaintext

/* Premium desktop wallet page */
.dwallet {
min-height: 100%;
background: #f6f7f9;
color: #111827;
}
.dwallet__container {
max-width: 1180px;
margin: 0 auto;
padding: 28px 36px 40px;
}
.dwallet-topbar {
margin-bottom: 24px;
padding-bottom: 24px;
border-bottom: 1px solid rgba(15, 23, 42, 0.06);
&__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 0 6px;
line-height: 1.2;
}
&__subtitle {
font-size: 14px;
color: #6b7280;
margin: 0;
}
}
.dwallet-toolbar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-bottom: 24px;
}
.dwallet-toggle {
display: inline-flex;
gap: 4px;
padding: 4px;
background: #f3f4f6;
border-radius: 12px;
&__btn {
min-width: 96px;
padding: 10px 18px;
border: none;
border-radius: 10px;
background: transparent;
font-size: 14px;
font-weight: 600;
color: #6b7280;
font-family: inherit;
cursor: pointer;
transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
&:hover {
color: #374151;
}
&--active {
background: #fff;
color: @App-primary-color;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
}
}
.dwallet-balance-pill {
display: inline-flex;
flex-direction: column;
align-items: flex-end;
gap: 2px;
padding: 10px 16px;
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 12px;
&__label {
font-size: 12px;
color: #9ca3af;
font-weight: 500;
}
&__value {
font-size: 16px;
font-weight: 700;
color: #111827;
gap: 4px;
span {
font-size: 12px;
font-weight: 500;
color: #6b7280;
}
}
}
.dwallet-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
gap: 20px;
align-items: start;
}
.dwallet-surface {
background: #fff;
border-radius: 16px;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.dwallet-form {
&__title {
font-size: 16px;
font-weight: 600;
color: #111827;
margin: 0 0 20px;
}
&__extras {
margin-bottom: 8px;
}
&__hint {
font-size: 12px;
margin: 0 0 10px;
line-height: 1.5;
&--warn {
color: #dc2626;
font-weight: 600;
}
}
&__balance-text {
font-size: 13px;
font-weight: 600;
color: #374151;
margin: 0 0 8px;
}
&__submit {
width: 100%;
margin-top: 16px;
min-height: 44px;
}
}
.dwallet-quick-amounts {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
&__btn {
padding: 10px 8px;
border: 1px solid #e5e7eb;
border-radius: 10px;
background: #f9fafb;
font-size: 12px;
font-weight: 700;
color: #374151;
font-family: inherit;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
&:hover {
border-color: @App-primary-color;
color: @App-primary-color;
background: #fff;
}
}
}
.dwallet-side {
display: flex;
flex-direction: column;
min-height: 420px;
overflow: hidden;
&__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 20px 24px 0;
&--split {
margin-top: 4px;
padding-top: 16px;
border-top: 1px solid #f1f5f9;
}
}
&__title {
font-size: 16px;
font-weight: 600;
color: #111827;
margin: 0;
}
&__subtitle {
margin: 0;
padding: 0 24px 8px;
font-size: 13px;
font-weight: 600;
color: #6b7280;
text-align: right;
}
&__add-link {
appearance: none;
border: none;
background: transparent;
padding: 0;
font-size: 14px;
font-weight: 700;
color: #2563eb;
cursor: pointer;
font-family: inherit;
}
&__scroll {
flex: 1;
overflow-y: auto;
padding: 16px 24px 24px;
max-height: 520px;
}
&__skeletons {
padding: 16px 24px 24px;
}
&__empty {
text-align: center;
color: #9ca3af;
font-size: 14px;
padding: 32px 24px;
&--cards {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
flex: 1;
min-height: 280px;
color: #6b7280;
}
}
&__add-btn {
display: inline-flex;
align-items: center;
gap: 6px;
border: 1px solid #e5e7eb;
border-radius: 10px;
background: #fff;
color: #374151;
font-size: 13px;
font-weight: 600;
font-family: inherit;
padding: 8px 12px;
cursor: pointer;
transition: border-color 0.15s ease, color 0.15s ease;
&:hover {
border-color: @App-primary-color;
color: @App-primary-color;
}
&--primary {
background: @App-primary-color;
border-color: @App-primary-color;
color: #fff;
padding: 10px 16px;
&:hover {
opacity: 0.92;
color: #fff;
}
}
}
}
.dwallet-cards {
padding: 8px 24px 24px;
&__slider {
height: 240px !important;
:deep(.h-\[28vh\]) {
height: 240px !important;
}
}
}
@media (max-width: 1023.98px) {
.dwallet-grid {
grid-template-columns: 1fr;
}
.dwallet-side {
min-height: 320px;
}
}