2023-02-28 08:29:30 +00:00
|
|
|
.layout-topbar {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
2023-10-07 14:34:18 +00:00
|
|
|
left: 0;
|
2024-04-02 10:29:01 +00:00
|
|
|
width: calc(100% - var(--p-scrollbar-width, 0px));
|
2023-02-28 08:29:30 +00:00
|
|
|
z-index: 1100;
|
2023-10-19 19:09:48 +00:00
|
|
|
transition: background-color .5s, border-color .5s;
|
|
|
|
border-bottom: 1px solid transparent;
|
2023-10-11 23:32:18 +00:00
|
|
|
|
2023-10-07 19:43:10 +00:00
|
|
|
&.layout-topbar-sticky {
|
2024-02-11 21:25:50 +00:00
|
|
|
border-bottom: 1px solid var(--border-color);
|
|
|
|
background-color: var(--topbar-sticky-background);
|
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;
|
2024-10-24 14:52:43 +00:00
|
|
|
margin-inline-end: 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 {
|
2024-02-11 21:25:50 +00:00
|
|
|
transition: outline-color .2s;
|
|
|
|
outline-color: transparent;
|
2023-10-13 22:09:30 +00:00
|
|
|
@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
|
|
|
}
|
2024-10-21 07:46:05 +00:00
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
.menu-button {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-02-07 10:15:47 +00:00
|
|
|
|
|
|
|
.topbar-items {
|
|
|
|
display: flex;
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
gap: 0.5rem;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topbar-item {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex-shrink: 0;
|
2024-02-11 21:25:50 +00:00
|
|
|
border: 1px solid var(--border-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
width: 2rem;
|
|
|
|
height: 2rem;
|
2024-02-11 21:25:50 +00:00
|
|
|
transition: outline-color .2s, border-color .2s;
|
2024-02-07 10:15:47 +00:00
|
|
|
border-radius: 6px;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2024-02-11 21:25:50 +00:00
|
|
|
outline-color: transparent;
|
|
|
|
background-color: var(--card-background);
|
2024-02-07 10:15:47 +00:00
|
|
|
cursor: pointer;
|
2024-10-21 07:46:05 +00:00
|
|
|
|
2024-02-07 10:15:47 +00:00
|
|
|
@include focus-visible();
|
2024-10-21 07:46:05 +00:00
|
|
|
|
2024-02-07 10:15:47 +00:00
|
|
|
&:hover {
|
2024-03-27 09:25:35 +00:00
|
|
|
border-color: var(--primary-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
}
|
2024-10-21 07:46:05 +00:00
|
|
|
|
2024-02-07 10:15:47 +00:00
|
|
|
i, span {
|
2024-02-10 08:57:04 +00:00
|
|
|
color: var(--text-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-item {
|
2024-03-27 09:25:35 +00:00
|
|
|
background-color: var(--primary-color);
|
2024-10-21 07:46:05 +00:00
|
|
|
|
2024-02-07 10:15:47 +00:00
|
|
|
i {
|
2024-05-14 11:27:21 +00:00
|
|
|
color: var(--primary-contrast-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-panel {
|
|
|
|
position: absolute;
|
2024-02-07 12:29:48 +00:00
|
|
|
top: calc(100% + 2px);
|
2024-10-21 07:46:05 +00:00
|
|
|
inset-inline-end: 0;
|
2024-09-30 07:41:04 +00:00
|
|
|
width: 18rem;
|
2024-02-07 10:15:47 +00:00
|
|
|
padding: .75rem;
|
2024-02-11 21:25:50 +00:00
|
|
|
background-color: var(--overlay-background);
|
|
|
|
border-radius: 6px;
|
|
|
|
border: 1px solid var(--border-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
transform-origin: top;
|
|
|
|
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
2024-10-21 07:46:05 +00:00
|
|
|
|
2024-02-07 10:15:47 +00:00
|
|
|
.config-panel-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-panel-label {
|
|
|
|
font-size: .875rem;
|
2024-02-10 08:57:04 +00:00
|
|
|
color: var(--text-secondary-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
font-weight: 600;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-panel-colors {
|
|
|
|
> div {
|
|
|
|
padding-top: .5rem;
|
|
|
|
display: flex;
|
|
|
|
gap: .5rem;
|
|
|
|
flex-wrap: wrap;
|
2024-10-21 07:46:05 +00:00
|
|
|
|
2024-02-07 10:15:47 +00:00
|
|
|
button {
|
|
|
|
border: none;
|
2024-05-15 07:07:32 +00:00
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
2024-02-07 10:15:47 +00:00
|
|
|
border-radius: 50%;
|
2024-05-15 08:34:58 +00:00
|
|
|
padding: 0;
|
2024-02-07 10:15:47 +00:00
|
|
|
cursor: pointer;
|
2024-02-07 12:29:48 +00:00
|
|
|
outline-color: transparent;
|
|
|
|
outline-width: 2px;
|
|
|
|
outline-style: solid;
|
|
|
|
outline-offset: 1px;
|
2024-10-21 07:46:05 +00:00
|
|
|
|
2024-02-07 10:15:47 +00:00
|
|
|
&.active-color {
|
2024-03-27 09:25:35 +00:00
|
|
|
outline-color: var(--primary-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.config-panel-settings {
|
2024-05-06 21:12:41 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.5rem;
|
2024-02-07 10:15:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.version-item {
|
|
|
|
width: auto;
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
|
|
|
.version-text {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.version-icon {
|
2024-11-06 05:57:28 +00:00
|
|
|
margin-inline-start: .25rem;
|
2024-02-10 08:57:04 +00:00
|
|
|
color: var(--text-secondary-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.versions-panel {
|
|
|
|
padding: .25rem;
|
2024-02-11 21:25:50 +00:00
|
|
|
background-color: var(--overlay-background);
|
2024-02-07 10:15:47 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2024-02-07 12:29:48 +00:00
|
|
|
top: calc(100% + 2px);
|
2024-02-11 21:25:50 +00:00
|
|
|
border-radius: 6px;
|
|
|
|
border: 1px solid var(--border-color);
|
2024-02-07 10:15:47 +00:00
|
|
|
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
|
|
transform-origin: top;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 4px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 2px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-flex;
|
|
|
|
padding: 0.5rem .75rem;
|
2024-02-11 21:25:50 +00:00
|
|
|
border-radius: 6px;
|
2024-02-07 10:15:47 +00:00
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
2024-04-02 14:50:57 +00:00
|
|
|
color: var(--text-color);
|
|
|
|
white-space: nowrap;
|
2024-02-07 10:15:47 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-02-11 21:25:50 +00:00
|
|
|
background-color: var(--hover-background);
|
2024-02-07 10:15:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-10-21 07:46:05 +00:00
|
|
|
}
|