1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00
Files
browser/libs/components/src/dialog/simple-dialog/simple-dialog.component.html
2025-06-04 15:21:17 -04:00

31 lines
1.1 KiB
HTML

<div
class="tw-my-4 tw-pb-6 tw-pt-8 tw-flex tw-max-h-screen tw-w-96 tw-max-w-90vw tw-flex-col tw-overflow-hidden tw-rounded-3xl tw-border tw-border-solid tw-border-secondary-100 tw-shadow-xl tw-bg-text-contrast tw-text-main"
@fadeIn
>
<div class="tw-flex tw-px-6 tw-flex-col tw-items-center tw-gap-2 tw-text-center">
@if (!hideIcon()) {
@if (hasIcon) {
<ng-content select="[bitDialogIcon]"></ng-content>
} @else {
<i class="bwi bwi-exclamation-triangle tw-text-3xl tw-text-warning" aria-hidden="true"></i>
}
}
<h1
bitDialogTitleContainer
bitTypography="h3"
noMargin
class="tw-w-full tw-text-main tw-break-words tw-hyphens-auto"
>
<ng-content select="[bitDialogTitle]"></ng-content>
</h1>
</div>
<div
class="tw-overflow-y-auto tw-px-6 tw-mb-6 tw-text-center tw-text-base tw-break-words tw-hyphens-auto"
>
<ng-content select="[bitDialogContent]"></ng-content>
</div>
<div class="tw-flex tw-flex-col tw-gap-2 tw-px-6">
<ng-content select="[bitDialogFooter]"></ng-content>
</div>
</div>