Files
shopadmin/ShopAdmin/wwwroot/app.css
T
Khwezi Mngoma 5f5f83a85a
continuous-integration/drone/pr Build is passing
Configured security, stable run
2026-05-17 08:29:12 +02:00

151 lines
3.2 KiB
CSS

/* --- 1. Variables & Global Reset --- */
:root {
/* --- BRAND CORES --- */
--brand-blue: #0096c7;
--hover-blue: #4dabff;
/* --- NEW CANVAS BALANCE --- */
/* Lighter, slate-tinted midnight for the main workspace body */
--body-bg: #0b1519;
/* Deep obsidian for the fixed navigation anchors */
--bar-bg: #03090b;
/* The NavShelf background: sits right between the bar and body */
--shelf-bg: #070e10;
/* --- TYPOGRAPHY & LINES --- */
--text-white: #f8f9fa;
/* Soft cyan-gray tone for secondary text and structural borders */
--payoff-color: #90e0ef;
--border-low-opacity: rgba(144, 224, 239, 0.08);
--border-mid-opacity: rgba(144, 224, 239, 0.18);
--header-height: 92px;
}
html, body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
background-color: var(--bar-bg);
color: var(--text-white);
overflow-x: hidden;
height: 100%;
display: flex;
flex-direction: column;
}
/* --- 2. Layout: Top Bar --- */
.top-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
height: var(--header-height);
background-color: var(--bar-bg);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 1.5rem; /* Balanced horizontal spacing for both sides */
z-index: 1000;
border-bottom: 1px solid rgba(144, 224, 239, 0.15);
}
/* --- 3. Branding & Logo --- */
.brand {
text-decoration: none;
display: flex;
align-items: center;
height: 100%;
}
.brand-mark {
height: 70px;
width: auto;
flex-shrink: 0;
filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.5));
transition: transform 0.3s ease;
}
.brand:hover .brand-mark {
transform: rotate(5deg) scale(1.05);
}
.text-column {
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 16px;
margin-left: 8px;
height: 70px;
}
.brand-main {
font-size: 1.8rem;
font-weight: 800;
color: var(--text-white);
letter-spacing: -0.5px;
line-height: 1;
}
.brand-accent {
color: var(--brand-blue);
}
.payoff-line {
font-size: 0.82rem;
color: var(--payoff-color);
margin-top: 2px;
letter-spacing: 0.3px;
white-space: nowrap;
}
/* --- 4. Page Structure --- */
.page-wrapper {
display: flex;
flex-direction: column;
flex: 1 0 auto;
padding-top: var(--header-height);
box-sizing: border-box;
background-color: var(--bar-bg);
position: relative;
transition: padding-right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
main {
flex: 1;
display: flex;
flex-direction: column;
width: 100%;
background-color: var(--body-bg) !important;
}
/* --- Responsive Logic --- */
@media (max-width: 1200px) {
.top-bar {
padding: 0 1rem;
}
}
/* --- Custom Scrollbar Branding --- */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--bar-bg);
border-left: 1px solid rgba(144, 224, 239, 0.05);
}
::-webkit-scrollbar-thumb {
background: var(--brand-blue);
border-radius: 10px;
border: 2px solid var(--bar-bg);
}
::-webkit-scrollbar-thumb:hover {
background: var(--hover-blue);
}
* {
scrollbar-width: thin;
scrollbar-color: var(--brand-blue) var(--bar-bg);
}