PangandaranAI_FE / src /components /layout /AppBar /AppBar.module.css
rsam-66's picture
feat: Update UI - add logo
096a33e
Raw History Blame Contribute Delete
1.31 kB
.appBar {
display: flex;
align-items: center;
justify-content: space-between;
height: var(--appbar-height);
padding: 0 var(--space-md);
background: var(--bg-primary);
color: var(--text-primary);
flex-shrink: 0;
position: relative;
z-index: 10;
border-bottom: 1px solid var(--border-light);
}
/* When in back mode, keep same white style */
.appBarBack {
border-bottom: 1px solid var(--border);
}
.left,
.right {
display: flex;
align-items: center;
width: 44px;
flex-shrink: 0;
}
.right {
justify-content: flex-end;
}
.spacer {
width: 36px;
}
/* Center area */
.center {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}
.logoImage {
height: 30px;
width: auto;
object-fit: contain;
}
.title {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
text-align: center;
}
.backBtn,
.iconBtn {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
color: var(--text-primary);
transition: background 0.2s;
}
.backBtn:hover,
.iconBtn:hover {
background: var(--bg-surface);
}