/**
@license
Copyright (c) 2022 trading_peter
This program is available under Apache License Version 2.0
*/
import '@tp/tp-media-query/tp-media-query.js';
import { LitElement, html, css } from 'lit';
class TpResponsiveMenu extends LitElement {
static get styles() {
return [
css`
:host {
display: block;
}
.content {
display: flex;
flex-direction: column;
background: #ffffff;
}
:host([responsive]) .content {
position: fixed;
z-index: 9999;
top: 0;
left: 0;
bottom: 0;
transform: translateX(-100%);
transition: transform 400ms ease-in-out;
}
:host([responsive][visible]) .content {
transform: translateX(0);
}
`
];
}
render() {
return html`