Files
midrandbooks/MidrandBookshop/Components/Pages/Account.razor.css
T
Khwezi Mngoma 8d2efbeb4a
continuous-integration/drone/pr Build is passing
Added legal pages, contact and abut us
Redesigned account, checkout
Added stock management design elements
2026-06-16 23:32:44 +02:00

236 lines
5.3 KiB
CSS

/* ==========================================================================
Curated Architecture Dashboard Style Matrix
========================================================================== */
.account-page-container {
max-width: 1140px;
margin: 0 auto;
padding-left: 1.5rem;
padding-right: 1.5rem;
font-family: system-ui, -apple-system, sans-serif;
}
.account-main-title {
font-size: 2.25rem;
letter-spacing: -0.03em;
color: #111111;
}
.tracking-wider {
letter-spacing: 0.08em;
}
.extra-small {
font-size: 0.72rem !important;
}
/* --- Left Sidebar Architectural Pillar Controls --- */
.account-nav-stack .nav-link {
color: #555555;
border-radius: 8px;
padding: 0.8rem 1rem;
font-weight: 500;
font-size: 0.9rem;
transition: all 0.2s ease;
border: 1px solid transparent;
background: transparent !important;
}
.account-nav-stack .nav-link.active {
background-color: #111111 !important;
color: #FFFFFF !important;
font-weight: 600;
}
.account-nav-stack .nav-link:hover:not(.active):not(.nav-logout) {
color: #111111;
background-color: rgba(0, 0, 0, 0.04) !important;
transform: translateX(2px);
}
.account-nav-stack .nav-logout:hover {
background-color: #FFF5F5 !important;
color: #DC3545 !important;
}
/* --- Main Tabbed Layout Container Content Structures --- */
.panel-card-wrapper {
background-color: #FFFFFF;
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 12px;
padding: 2.2rem;
}
.panel-section-title {
font-size: 0.9rem;
color: #666666;
}
/* --- Order History Structured Panel Cards --- */
.premium-order-card {
transition: transform 0.2s ease, border-color 0.2s ease;
}
.premium-order-card:hover {
border-color: rgba(0, 0, 0, 0.15) !important;
}
.border-b-dashed {
border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
/* Minimalist Curated Logistics and Payment Badges Matrix */
.status-badge-base {
font-family: var(--bs-font-monospace);
font-size: 0.65rem !important;
letter-spacing: 0.05em;
padding: 0.3rem 0.6rem !important;
border-radius: 4px !important;
font-weight: 600;
}
/* Fulfillment Matrix Colors */
.status-delivered {
background-color: #E2F0D9 !important; /* Soft Green Match */
color: #385723 !important;
border: 1px solid rgba(56, 87, 35, 0.15);
}
.status-shipped {
background-color: #FFF3CD !important; /* Warm Gold Amber */
color: #856404 !important;
border: 1px solid rgba(133, 100, 4, 0.12);
}
.status-processing {
background-color: #F2F2F2 !important; /* Architectural Neutral Muted Grey */
color: #595959 !important;
border: 1px dashed rgba(0, 0, 0, 0.12);
}
/* Financial Matrix Colors */
.pay-paid {
background-color: #E2F0D9 !important; /* Soft Green Match */
color: #385723 !important;
border: 1px solid rgba(56, 87, 35, 0.15);
}
.pay-pending {
background-color: #F8D7DA !important; /* soft red alert tint for unpaid/abandoned items */
color: #721C24 !important;
border: 1px solid rgba(114, 28, 36, 0.15);
}
.pay-refunded {
background-color: #E2E3E5 !important;
color: #383D41 !important;
border: 1px solid rgba(56, 61, 65, 0.15);
}
/* --- Curated Shipping Identity Panels --- */
.address-curated-card {
transition: all 0.23s cubic-bezier(0.16, 1, 0.3, 1);
}
.address-curated-card:hover {
border-color: #111111 !important;
transform: translateY(-2px);
}
.border-top-dashed {
border-top: 1px dashed rgba(0, 0, 0, 0.08);
}
.btn-action-trigger {
transition: color 0.15s ease;
}
.btn-action-trigger:hover:not(.text-danger) {
color: #111111 !important;
text-decoration: underline;
}
.btn-action-trigger:hover.text-danger {
color: #A71D2A !important;
text-decoration: underline;
}
/* --- Interactive Form Element Overlays --- */
.premium-plaintext-field {
border: 1px solid rgba(0, 0, 0, 0.12);
border-radius: 6px;
padding: 0.65rem 0.85rem;
font-size: 0.9rem;
color: #111111;
transition: all 0.2s ease;
}
.premium-plaintext-field:focus {
border-color: #111111;
box-shadow: 0 0 0 1px #111111;
background-color: #FFFFFF;
}
.custom-box-tick {
border: 1.5px solid rgba(0, 0, 0, 0.25);
width: 1rem;
height: 1rem;
border-radius: 4px;
transition: all 0.15s ease;
cursor: pointer;
}
.custom-box-tick:checked {
background-color: #111111;
border-color: #111111;
}
.btn-premium-sm {
font-size: 0.75rem;
padding: 0.45rem 1rem;
border-radius: 6px;
font-weight: 500;
}
.btn-clean-cancel {
background: transparent;
border: none;
color: #666666;
transition: color 0.2s ease;
}
.btn-clean-cancel:hover {
color: #111111;
}
.border-y {
border-top: 1px solid rgba(0, 0, 0, 0.06);
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.context-clickable {
cursor: pointer;
user-select: none;
}
/* --- Identity Node Presentation Wrappers --- */
.profile-hero-banner {
border: 1px solid rgba(0, 0, 0, 0.05);
}
.animate-fade-in {
animation: layoutFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes layoutFadeIn {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}