mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-24 03:10:13 +01:00
fix(docs): popover and themes page
This commit is contained in:
parent
7a1c74cb18
commit
413cbdbd01
9 changed files with 39 additions and 22 deletions
|
|
@ -1,12 +1,16 @@
|
|||
<div style="position: relative;">
|
||||
<nb-badge text="New!" status="danger" position="top right"></nb-badge>
|
||||
<a
|
||||
routerLink="/material"
|
||||
class="eva-parent-hover"
|
||||
[nbPopover]="popoverContent"
|
||||
nbPopoverPlacement="bottom"
|
||||
nbPopoverTrigger="noop"
|
||||
nbPopoverOffset="0"
|
||||
>
|
||||
Material Theme
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ng-template #popoverContent>
|
||||
<p class="material-theme-popover" (mouseover)="hidePopover()">New theme is available!</p>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
@include nb-install-component() {
|
||||
$menu-item-fg: nb-theme(color-fg-heading-light);
|
||||
$menu-item-fg-active: nb-theme(header-menu-fg-active);
|
||||
$header-font-weight: nb-theme(header-font-weight);
|
||||
|
||||
:host {
|
||||
display: flex;
|
||||
|
|
@ -15,7 +14,7 @@
|
|||
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-weight: $header-font-weight;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
line-height: 1.5rem;
|
||||
padding: 0.675rem 1.375rem;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import {NbPopoverModule} from '@nebular/theme';
|
||||
import {NbBadgeModule, NbPopoverModule} from '@nebular/theme';
|
||||
import { MaterialThemeLinkComponent } from './components/material-theme-link/material-theme-link.component';
|
||||
import { CapitalizePipe } from './pipes/capitalize.pipe';
|
||||
import { EvaIconsPipe } from './pipes/eva-icons.pipe';
|
||||
|
|
@ -9,7 +9,7 @@ const component = [MaterialThemeLinkComponent];
|
|||
const pipes = [CapitalizePipe, EvaIconsPipe];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule, NbPopoverModule],
|
||||
imports: [RouterModule, NbPopoverModule, NbBadgeModule],
|
||||
declarations: [...component, ...pipes],
|
||||
exports: [NbPopoverModule, ...component, ...pipes],
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue