mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-07 23:42:46 -06:00
nav-underline
This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
}
|
}
|
||||||
</pngx-page-header>
|
</pngx-page-header>
|
||||||
|
|
||||||
<ul ngbNav #nav="ngbNav" (navChange)="onNavChange($event)" [(activeId)]="activeNavID" class="nav-tabs">
|
<ul ngbNav #nav="ngbNav" (navChange)="onNavChange($event)" [(activeId)]="activeNavID" class="nav-underline">
|
||||||
@for (section of visibleSections; track section.id) {
|
@for (section of visibleSections; track section.id) {
|
||||||
<li [ngbNavItem]="section.id">
|
<li [ngbNavItem]="section.id">
|
||||||
<a ngbNavLink >
|
<a ngbNavLink >
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="border-start border-end border-bottom p-3 mb-3 shadow-sm">
|
<div class="my-3 shadow-sm">
|
||||||
<ng-container
|
<ng-container
|
||||||
[ngComponentOutlet]="activeSection?.component"
|
[ngComponentOutlet]="activeSection?.component"
|
||||||
#activeOutlet="ngComponentOutlet"
|
#activeOutlet="ngComponentOutlet"
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
// .attributes-tabs {
|
||||||
|
// border-bottom-color: rgba(var(--bs-body-color-rgb), 0.12);
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .attributes-tabs .nav-link {
|
||||||
|
// position: relative;
|
||||||
|
// padding-bottom: 0.45rem;
|
||||||
|
// color: rgba(var(--bs-body-color-rgb));
|
||||||
|
// transition: color 140ms ease;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .attributes-tabs .nav-link::after {
|
||||||
|
// content: '';
|
||||||
|
// position: absolute;
|
||||||
|
// left: 0.2rem;
|
||||||
|
// right: 0.2rem;
|
||||||
|
// bottom: 0;
|
||||||
|
// height: var(--bs-nav-underline-border-width);
|
||||||
|
// border-radius: 1px;
|
||||||
|
// background: transparent;
|
||||||
|
// transition: background-color 140ms ease;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .attributes-tabs .nav-link:hover {
|
||||||
|
// color: rgba(var(--bs-body-color-rgb), 0.95);
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .attributes-tabs .nav-link.active {
|
||||||
|
// color: var(--bs-primary);
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .attributes-tabs .nav-link.active::after {
|
||||||
|
// background: var(--bs-primary);
|
||||||
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user