mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-13 01:30:11 +01:00
26 lines
933 B
TypeScript
26 lines
933 B
TypeScript
import {NavigationDrawerModal as MDNavigationDrawerModal} from '@material/web/navigationdrawer/lib/navigation-drawer-modal.js';
|
|
import {styles} from '@material/web/navigationdrawer/lib/navigation-drawer-modal-styles.css.js';
|
|
import {styles as sharedStyles} from '@material/web/navigationdrawer/lib/shared-styles.css.js';
|
|
import {css} from 'lit';
|
|
import {customElement} from 'lit/decorators.js';
|
|
|
|
declare global {
|
|
interface HTMLElementTagNameMap {
|
|
'md-navigation-drawer-modal': MdNavigationDrawer;
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|
|
/*.md3-navigation-drawer-modal .md3-navigation-drawer-modal__slot-content {
|
|
padding-top: 64px;
|
|
}*/
|
|
`];
|
|
}
|