import {css, html, LitElement} from 'lit'; import {customElement} from 'lit/decorators/custom-element.js'; import { SimulatorInstructionsCloseEvent, SimulatorInstructionsNextEvent, } from './SimulatorInstructionsEvents.js'; @customElement('xrblocks-simulator-instructions-card') export class SimulatorInstructionsCard extends LitElement { static styles = css` :host { position: relative; box-sizing: border-box; background: #ffffff; display: flex; max-height: 100%; overflow-y: auto; height: 40rem; width: min-content; min-width: 30rem; border-radius: 1.6rem; color: #000000; padding: 1.5rem; flex-direction: column; } h1 { margin-top: 0px; font-size: 1.375rem; } h2 { margin-top: 0px; margin-bottom: 0px; font-size: 1.125rem; } ul { margin-top: 0px; margin-bottom: 0px; } .image-div { margin-top: 0.5rem; margin-bottom: 0.5rem; } .description-div { flex-grow: 1; } .close-button { position: absolute; right: 1.3rem; top: 1.3rem; } button { align-self: flex-end; width: min-content; height: min-content; font-size: 0.75rem; background: rgb(48, 40, 34); color: white; border-radius: 1rem; padding: 0.5rem 0.7rem; border: none; } video { max-width: 100%; aspect-ratio: 16/9; } p { margin-top: 0px; margin-bottom: 0px; } `; continueButtonClicked() { this.dispatchEvent(new SimulatorInstructionsNextEvent()); } closeButtonClicked() { this.dispatchEvent(new SimulatorInstructionsCloseEvent()); } getHeaderContents() { return html`

Welcome to XR Blocks!

`; } getImageContents() { return html``; } getDescriptionContents() { return html``; } render() { return html`
${this.getHeaderContents()}
${this.getImageContents()}
${this.getDescriptionContents()}
`; } }