This commit is contained in:
crusader 2018-08-17 20:13:02 +09:00
parent beaff07758
commit df60d66951
3 changed files with 10 additions and 3 deletions

View File

@ -4,8 +4,8 @@
</div>
</div>
<div #container [ngClass]="{'ui-menu ui-widget ui-widget-content': true, 'ui-menu-dynamic ui-shadow': popup}" [class]="dropdownStyleClass"
[ngStyle]="dropdownStyle" (click)="preventDocumentDefault=true" *ngIf="!popup || visible" [@overlayAnimation]="'visible'"
<div #container [ngClass]="{'ui-dropdownpanel-container ui-menu ui-widget ui-widget-content': true, 'ui-menu-dynamic ui-shadow': popup}"
[class]="dropdownStyleClass" [ngStyle]="dropdownStyle" (click)="preventDocumentDefault=true" *ngIf="!popup || visible" [@overlayAnimation]="'visible'"
[@.disabled]="popup !== true" (@overlayAnimation.start)="onOverlayAnimationStart($event)">
<div class="ui-dropdownpanel-content-wrapper" [ngClass]="{'ui-dropdownpanel-content-wrapper-overflown': !visible||animating}">
<div class="ui-dropdownpanel-content ui-widget-content">

View File

@ -14,6 +14,10 @@
background-color: var(--toolbar-button-background-color)
}
.ui-dropdownpanel-container {
background-color: rgba(201, 76, 76, 0.3);
}
.ui-dropdownpanel-footer {
padding-top: 1em;
}

View File

@ -52,4 +52,7 @@
</button>
</div>
</app-toolbar>
<router-outlet #o="outlet"></router-outlet>
<div #bodyPlaceholder>
<router-outlet #o="outlet"></router-outlet>
</div>