Files
shopadmin/ShopAdmin/wwwroot/app.css
T

137 lines
2.5 KiB
CSS

/* --- 1. Variables & Global Reset --- */
:root {
--bar-bg: #001219;
--text-white: #ffffff;
--brand-blue: #0096c7;
--hover-blue: #00b4d8;
--payoff-color: #90e0ef;
--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 4rem;
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);
}
main {
flex: 1;
display: flex;
flex-direction: column;
width: 100%;
}
/* --- Responsive Logic --- */
@media (max-width: 1200px) {
.top-bar {
padding: 0 2rem;
}
}
/* --- 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);
}