fix(docs): popover and themes page

This commit is contained in:
Alex 2020-04-01 14:46:32 +03:00
parent 2a921c2a0f
commit 75f27e2cfc
10 changed files with 42 additions and 25 deletions

View file

@ -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>

View file

@ -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;