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

View File

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

View File

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