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

57 lines
1.0 KiB
SCSS
Raw Normal View History

2023-02-28 08:29:30 +00:00
.layout-topbar {
position: fixed;
top: 0;
2023-10-07 14:34:18 +00:00
left: 0;
width: calc(100% - var(--scrollbar-width, 0px));
2023-02-28 08:29:30 +00:00
z-index: 1100;
2023-06-14 20:02:06 +00:00
transition: background-color 1s;
2023-10-13 08:20:56 +00:00
border-bottom: 1px solid var(--topbar-border);
2023-10-07 19:43:10 +00:00
&.layout-topbar-sticky {
2023-10-14 19:30:59 +00:00
background-color: var(--topbar-sticky-bg);
2023-10-07 19:43:10 +00:00
backdrop-filter: blur(8px);
}
2023-10-10 18:19:29 +00:00
}
2023-10-07 14:34:18 +00:00
2023-10-10 18:19:29 +00:00
.layout-topbar-inner {
height: 4rem;
padding: 0 4rem;
display: flex;
align-items: center;
justify-content: space-between;
2023-10-10 08:38:49 +00:00
2023-10-07 15:46:59 +00:00
.layout-topbar-logo-container {
width: 250px;
margin-right: 4rem;
2023-10-10 18:19:29 +00:00
}
2023-02-28 08:29:30 +00:00
2023-10-13 22:09:30 +00:00
.layout-topbar-logo,
.layout-topbar-icon {
border-radius: var(--border-radius);
@include focus-visible();
svg {
width: 120px;
}
}
2023-10-10 18:19:29 +00:00
.layout-topbar-logo {
2023-10-13 22:09:30 +00:00
display: inline-flex;
2023-10-10 18:19:29 +00:00
svg {
width: 120px;
2023-10-09 07:21:14 +00:00
}
2023-10-10 18:19:29 +00:00
}
2023-10-09 07:21:14 +00:00
2023-10-10 18:19:29 +00:00
.layout-topbar-icon {
display: none;
2023-10-09 07:21:14 +00:00
2023-10-10 18:19:29 +00:00
svg {
width: 25px;
2023-10-07 19:43:10 +00:00
}
2023-02-28 08:29:30 +00:00
}
2023-10-13 08:20:56 +00:00
2023-02-28 08:29:30 +00:00
.menu-button {
display: none;
}
2023-10-14 19:30:59 +00:00
}