CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s
Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
162 lines
2.9 KiB
Sass
162 lines
2.9 KiB
Sass
@use "@/common/styles/colors"
|
|
@use "@/common/styles/breakpoints"
|
|
|
|
.topnav
|
|
flex-shrink: 0
|
|
border-bottom: 1px solid colors.$border
|
|
background-color: colors.$background
|
|
position: sticky
|
|
top: 0
|
|
z-index: 40
|
|
|
|
.topnav-inner
|
|
max-width: 68rem
|
|
margin: 0 auto
|
|
height: 3.5rem
|
|
padding: 0 2rem
|
|
display: flex
|
|
align-items: center
|
|
gap: 2rem
|
|
|
|
@media (max-width: breakpoints.$mobile)
|
|
padding: 0 1rem
|
|
gap: 1rem
|
|
|
|
.topnav-brand
|
|
display: flex
|
|
align-items: center
|
|
gap: 0.5rem
|
|
cursor: pointer
|
|
user-select: none
|
|
flex-shrink: 0
|
|
|
|
span
|
|
font-size: 1rem
|
|
font-weight: 700
|
|
letter-spacing: -0.02em
|
|
|
|
@media (max-width: breakpoints.$mobile)
|
|
span
|
|
display: none
|
|
|
|
.topnav-links
|
|
display: flex
|
|
align-items: center
|
|
gap: 0.25rem
|
|
flex: 1
|
|
min-width: 0
|
|
overflow-x: auto
|
|
scrollbar-width: none
|
|
|
|
&::-webkit-scrollbar
|
|
display: none
|
|
|
|
.topnav-link
|
|
display: flex
|
|
align-items: center
|
|
gap: 0.45rem
|
|
padding: 0.375rem 0.75rem
|
|
border-radius: 0.625rem
|
|
color: colors.$muted
|
|
font-size: 0.875rem
|
|
font-weight: 500
|
|
white-space: nowrap
|
|
transition: color 0.15s ease, background-color 0.15s ease
|
|
|
|
&:hover
|
|
color: colors.$text
|
|
|
|
&.active
|
|
color: colors.$text
|
|
background-color: colors.$surface-hover
|
|
|
|
.topnav-account
|
|
position: relative
|
|
flex-shrink: 0
|
|
|
|
.topnav-user
|
|
display: flex
|
|
align-items: center
|
|
gap: 0.5rem
|
|
background: none
|
|
border: none
|
|
border-radius: 0.625rem
|
|
padding: 0.3rem 0.5rem 0.3rem 0.3rem
|
|
color: colors.$subtext
|
|
font-family: inherit
|
|
font-size: 0.875rem
|
|
font-weight: 500
|
|
cursor: pointer
|
|
transition: background-color 0.15s ease, color 0.15s ease
|
|
|
|
svg
|
|
width: 1rem
|
|
height: 1rem
|
|
color: colors.$muted
|
|
|
|
&:hover, &.open
|
|
background-color: colors.$surface-hover
|
|
color: colors.$text
|
|
|
|
@media (max-width: breakpoints.$mobile)
|
|
.topnav-username
|
|
display: none
|
|
|
|
.topnav-avatar
|
|
display: flex
|
|
align-items: center
|
|
justify-content: center
|
|
width: 1.625rem
|
|
height: 1.625rem
|
|
flex-shrink: 0
|
|
border-radius: 0.5rem
|
|
background-color: colors.$primary-tint
|
|
color: colors.$primary
|
|
font-size: 0.75rem
|
|
font-weight: 700
|
|
|
|
.topnav-menu
|
|
position: absolute
|
|
top: calc(100% + 0.5rem)
|
|
right: 0
|
|
min-width: 11rem
|
|
background-color: colors.$surface-raised
|
|
border: 1px solid colors.$border-strong
|
|
border-radius: 0.75rem
|
|
padding: 0.25rem
|
|
box-shadow: colors.$shadow-lg
|
|
z-index: 50
|
|
|
|
.topnav-menu-item
|
|
display: flex
|
|
align-items: center
|
|
gap: 0.625rem
|
|
width: 100%
|
|
background: none
|
|
border: none
|
|
border-radius: 0.5rem
|
|
padding: 0.5rem 0.625rem
|
|
color: colors.$subtext
|
|
font-family: inherit
|
|
font-size: 0.875rem
|
|
font-weight: 500
|
|
text-align: left
|
|
cursor: pointer
|
|
|
|
svg
|
|
width: 1rem
|
|
height: 1rem
|
|
|
|
&:hover
|
|
background-color: colors.$surface-hover
|
|
color: colors.$text
|
|
|
|
&.danger:hover
|
|
background-color: colors.$error-tint
|
|
color: colors.$error
|
|
|
|
.topnav-menu-divider
|
|
height: 1px
|
|
background-color: colors.$border
|
|
margin: 0.25rem 0
|