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

61 lines
1.1 KiB
SCSS

.layout-topbar {
height: 4rem;
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);
display: flex;
align-items: center;
justify-content: space-between;
&.layout-topbar-sticky {
backdrop-filter: blur(8px);
}
.layout-topbar-logo-container {
width: 250px;
margin-right: 4rem;
.layout-topbar-logo {
svg {
width: 120px;
}
}
.layout-topbar-icon {
display: none;
svg {
width: 25px;
}
}
}
#docsearch {
margin-right: auto;
}
.menu-button {
display: none;
}
}
.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);
}
}
}