primevue-mirror/assets/styles/layout/_topbar.scss

76 lines
1.6 KiB
SCSS

.layout-topbar {
padding: 0;
height: 5rem;
position: fixed;
top: 0;
left: 0;
padding: 0 4rem;
width: 100%;
z-index: 1100;
transition: background-color 1s;
border-bottom: 1px solid var(--surface-border);
.layout-topbar-start {
display: flex;
align-items: center;
gap: 4rem;
.layout-topbar-logo-container {
width: 250px;
display: flex;
align-items: center;
justify-content: center;
}
}
.layout-topbar-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 4rem 0 0;
height: 100%;
width: calc(100% - var(--scrollbar-width, 0px));
}
&.layout-topbar-sticky {
backdrop-filter: blur(8px);
}
.menu-button {
display: none;
color: var(--text-color);
width: 3rem;
height: 3rem;
background-color: var(--surface-card);
border: 1px solid var(--surface-border);
align-items: center;
justify-content: center;
transition: border-color .3s;
cursor: pointer;
&:hover {
border-color: var(--primary-color);
}
i {
font-size: 1.5rem;
}
}
}
.layout-wrapper-light {
.layout-topbar {
&.layout-topbar-sticky {
background-color: rgba(255,255,255,.7);
}
}
}
.layout-wrapper-dark {
.layout-topbar {
&.layout-topbar-sticky {
background-color: rgba(0,0,0,.3);
}
}
}