Files
midrandbooks/MidrandBookshop/Components/Layout/MainLayout.razor.css
T
Khwezi Mngoma 01a0264452
continuous-integration/drone/pr Build is passing
Working search
2026-05-30 21:00:13 +02:00

194 lines
3.8 KiB
CSS

.sticky-top {
position: -webkit-sticky !important;
position: sticky !important;
top: 0 !important;
z-index: 1000 !important;
}
.cart-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.25);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
z-index: 1040;
opacity: 0;
pointer-events: none;
transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-overlay.is-visible {
opacity: 1;
pointer-events: auto;
}
.cart-drawer {
position: fixed;
top: 0;
right: -420px;
width: 100%;
max-width: 400px;
height: 100vh;
z-index: 1050;
pointer-events: none;
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.is-open {
transform: translateX(-420px);
pointer-events: auto;
}
.cart-badge {
position: absolute;
top: 2px;
right: 2px;
background-color: #1A1A1A;
color: #FFF;
font-size: 0.62rem;
font-weight: 700;
border-radius: 50%;
width: 15px;
height: 15px;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
}
.xx-small {
font-size: 0.68rem;
}
.border-bottom-dashed {
border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}
.quantity-picker {
padding: 2px 4px;
}
.quantity-picker button {
font-size: 0.85rem;
font-weight: 600;
line-height: 1;
}
.quantity-picker button:hover {
background-color: rgba(0,0,0,0.05);
border-radius: 50%;
}
.custom-site-footer {
width: 100%;
position: relative;
z-index: 10;
background-color: #1A1A1A !important;
border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
padding: 3rem 0 2rem 0;
}
.footer-content-section {
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.footer-brand-title {
font-family: 'Inter', sans-serif;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 1px;
color: #FFFFFF !important;
}
.footer-desc {
font-size: 0.8rem;
line-height: 1.6;
max-width: 360px;
color: #A0AEC0 !important;
}
.footer-contact-link {
text-decoration: none;
font-size: 0.8rem;
color: #A0AEC0 !important;
display: inline-flex;
align-items: center;
gap: 8px;
transition: color 0.2s ease;
}
.footer-contact-link:hover {
color: #FFFFFF !important;
}
.footer-section-heading {
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 1.2px;
color: #FFFFFF !important;
}
.footer-nav-link {
text-decoration: none;
font-size: 0.8rem;
color: #A0AEC0 !important;
transition: color 0.2s ease;
}
.footer-nav-link:hover {
color: #FFFFFF !important;
}
.footer-meta-item {
font-size: 0.8rem;
font-weight: 500;
color: #FFFFFF !important;
}
.footer-copyright-section {
color: #718096 !important;
}
.footer-copyright {
font-size: 0.72rem;
font-weight: 500;
letter-spacing: 0.2px;
}
.btn-back-to-top {
position: absolute;
bottom: 2rem;
right: 2rem;
width: 42px !important;
min-width: 42px !important;
max-width: 42px !important;
height: 42px !important;
border-radius: 50% !important;
background-color: #1A1A1A;
color: #FFFFFF;
border: none;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
z-index: 1010;
cursor: pointer;
transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-back-to-top:hover {
background-color: #333333;
transform: translateY(-2px);
}
.btn-back-to-top:active {
transform: translateY(0);
}
.scroll-container {
scroll-behavior: smooth;
}