Initial commit: OAuth IAM Laravel application
Laravel-based OAuth/IAM service with Passport, Vue 3 frontend, and Docker Compose setup for local and production deployment. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
131
resources/scss/components/_app-nav.scss
Normal file
131
resources/scss/components/_app-nav.scss
Normal file
@@ -0,0 +1,131 @@
|
||||
@use '../abstracts/variables' as *;
|
||||
@use '../abstracts/mixins' as *;
|
||||
|
||||
.app-nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
background: rgb(255 255 255 / 80%);
|
||||
backdrop-filter: blur(8px);
|
||||
|
||||
@include dark {
|
||||
background: rgb(9 9 11 / 80%);
|
||||
}
|
||||
}
|
||||
|
||||
.app-nav__inner {
|
||||
max-width: $page-max-width;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: $space-4;
|
||||
padding: $space-3 $space-6;
|
||||
}
|
||||
|
||||
.app-nav__section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: $space-6;
|
||||
}
|
||||
|
||||
.app-nav__brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: $space-2;
|
||||
}
|
||||
|
||||
.app-nav__logo {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
height: 1.75rem;
|
||||
width: 1.75rem;
|
||||
border-radius: $radius-md;
|
||||
background: var(--gradient-accent);
|
||||
color: #fff;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.app-nav__brand-name {
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.01em;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.app-nav__links {
|
||||
display: none;
|
||||
align-items: center;
|
||||
gap: $space-1;
|
||||
|
||||
@include respond-up($breakpoint-md) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.app-nav__link {
|
||||
border-radius: $radius-full;
|
||||
padding: $space-1 * 1.5 $space-3;
|
||||
font-size: $font-sm;
|
||||
font-weight: 500;
|
||||
color: var(--color-text-secondary);
|
||||
transition: $transition-fast;
|
||||
|
||||
&:hover {
|
||||
background: var(--color-surface-muted);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
&--active {
|
||||
background: var(--color-accent-soft);
|
||||
color: var(--color-accent-soft-text);
|
||||
}
|
||||
}
|
||||
|
||||
.app-nav__controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: $space-2;
|
||||
}
|
||||
|
||||
.app-nav__theme-toggle {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
height: 2rem;
|
||||
width: 2rem;
|
||||
border-radius: $radius-full;
|
||||
border: 1px solid var(--color-border-strong);
|
||||
color: var(--color-text-secondary);
|
||||
transition: $transition-fast;
|
||||
|
||||
@include dark {
|
||||
border-color: var(--color-border);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: var(--color-surface-muted);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
svg {
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.app-nav__user {
|
||||
display: none;
|
||||
font-size: $font-sm;
|
||||
color: var(--color-text-secondary);
|
||||
|
||||
@include respond-up($breakpoint-sm) {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
.page {
|
||||
max-width: $page-max-width;
|
||||
margin: 0 auto;
|
||||
padding: $space-10 $space-6;
|
||||
}
|
||||
Reference in New Issue
Block a user