2023-04-28 17:48:11 +02:00
|
|
|
import {NavigationDrawerModal as MDNavigationDrawerModal} from '@material/web/navigationdrawer/lib/navigation-drawer-modal.js';
|
2023-05-07 17:02:00 +02:00
|
|
|
import {styles} from '@material/web/navigationdrawer/lib/navigation-drawer-modal-styles.css.js';
|
2023-04-20 20:00:38 +02:00
|
|
|
import {styles as sharedStyles} from '@material/web/navigationdrawer/lib/shared-styles.css.js';
|
|
|
|
import {css} from 'lit';
|
|
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
|
2023-05-07 13:37:58 +02:00
|
|
|
declare global {
|
|
|
|
interface HTMLElementTagNameMap {
|
|
|
|
'md-navigation-drawer-modal': MdNavigationDrawer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-20 20:00:38 +02:00
|
|
|
@customElement('md-navigation-drawer-modal')
|
|
|
|
export default class MdNavigationDrawer extends MDNavigationDrawerModal {
|
|
|
|
static override readonly styles = [sharedStyles, styles, css`
|
|
|
|
:host {
|
|
|
|
--md-navigation-drawer-modal-container-color: var(--md-sys-color-surface);
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2023-05-07 13:37:58 +02:00
|
|
|
|
2023-04-20 20:00:38 +02:00
|
|
|
/*.md3-navigation-drawer-modal .md3-navigation-drawer-modal__slot-content {
|
|
|
|
padding-top: 64px;
|
|
|
|
}*/
|
|
|
|
`];
|
|
|
|
}
|