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

61 lines
1.2 KiB
SCSS
Raw Normal View History

2023-02-28 08:29:30 +00:00
.layout-topbar {
padding: 0;
height: 5rem;
position: fixed;
top: 0;
left: 250px;
width: calc(100% - 250px);
z-index: 1100;
2023-06-14 20:02:06 +00:00
transition: background-color 1s;
2023-02-28 08:29:30 +00:00
.layout-topbar-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 4rem;
2023-09-25 10:05:27 +00:00
height: 100%;
width: calc(100% - var(--scrollbar-width, 0px));
2023-02-28 08:29:30 +00:00
}
&.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;
}
}
2023-06-14 20:02:06 +00:00
}
.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);
}
}
2023-02-28 08:29:30 +00:00
}