Files
ghatreh_user/src/views/base/user/desktop/styles/desktop-user.less
T
2026-06-29 22:43:28 +03:30

261 lines
4.4 KiB
Plaintext

/* Premium desktop user account page */
.duser {
min-height: 100%;
background: #f6f7f9;
color: #111827;
}
.duser__container {
max-width: 960px;
margin: 0 auto;
padding: 28px 36px 40px;
}
.duser-topbar {
display: flex;
align-items: center;
justify-content: space-between;
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;
&: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;
}
}
.duser-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
gap: 20px;
align-items: start;
}
.duser-surface {
background: #ffffff;
border-radius: 14px;
padding: 24px;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.duser-profile {
&__header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 24px;
padding-bottom: 20px;
border-bottom: 1px solid #f3f4f6;
}
&__avatar {
display: flex;
align-items: center;
justify-content: center;
width: 64px;
height: 64px;
border-radius: 16px;
background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
color: @App-primary-color;
flex-shrink: 0;
}
&__name {
font-size: 20px;
font-weight: 600;
letter-spacing: -0.02em;
color: #111827;
margin: 0 0 4px;
}
&__phone {
font-size: 13px;
color: #6b7280;
margin: 0;
direction: ltr;
text-align: right;
}
&__fields {
display: flex;
flex-direction: column;
gap: 14px;
margin-bottom: 20px;
}
&__field {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 12px 14px;
border-radius: 10px;
background: #f9fafb;
}
&__label {
font-size: 12px;
font-weight: 600;
color: #6b7280;
}
&__value {
font-size: 14px;
font-weight: 600;
color: #111827;
direction: ltr;
text-align: left;
}
&__referral-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-bottom: 16px;
}
&__btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 14px;
border-radius: 10px;
border: 1px solid #e5e7eb;
background: #fff;
font-size: 13px;
font-weight: 600;
color: #374151;
font-family: inherit;
cursor: pointer;
transition: background 0.15s ease, border-color 0.15s ease;
&:hover {
background: #f9fafb;
border-color: #d1d5db;
}
&--primary {
width: 100%;
background: @App-primary-color;
border-color: @App-primary-color;
color: #fff;
&:hover {
opacity: 0.92;
color: #fff;
}
}
}
}
.duser-actions {
&__title {
font-size: 13px;
font-weight: 600;
color: #374151;
margin: 0 0 16px;
}
&__list {
display: flex;
flex-direction: column;
gap: 8px;
}
&__item {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 12px 14px;
border: 1px solid #f3f4f6;
border-radius: 10px;
background: #fff;
text-align: right;
cursor: pointer;
font-family: inherit;
transition: background 0.15s ease, border-color 0.15s ease;
&:hover {
background: #f9fafb;
border-color: #e5e7eb;
}
}
&__icon {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 10px;
background: #f3f4f6;
color: #374151;
flex-shrink: 0;
overflow: visible;
}
&__icon-image {
width: 18px;
height: 18px;
object-fit: contain;
transform: scale(2.2);
}
&__label {
flex: 1;
font-size: 13px;
font-weight: 600;
color: #111827;
}
&__chevron {
color: #9ca3af;
flex-shrink: 0;
}
}
@media (max-width: 860px) {
.duser-grid {
grid-template-columns: 1fr;
}
}