import { storiesOf, html } from '@open-wc/storybook';
import { css } from '@lion/core';
import '@lion/icon/lion-icon.js';
import '@lion/button/lion-button.js';
import '../lion-popup.js';
const popupDemoStyle = css`
.demo-box {
width: 200px;
background-color: white;
border-radius: 2px;
border: 1px solid grey;
margin: 250px;
padding: 8px;
}
.demo-box_positions {
display: flex;
flex-direction: column;
width: 173px;
margin: 0 auto;
margin-top: 68px;
}
lion-popup {
padding: 10px;
}
.demo-box__column {
display: flex;
flex-direction: column;
}
.popup {
display: block;
position: absolute;
font-size: 16px;
color: white;
background-color: black;
border-radius: 4px;
padding: 8px;
}
@media (max-width: 480px) {
.popup {
display: none;
}
}
`;
storiesOf('Overlay System|', module)
.add(
'Button popup',
() => html`
Popup
`,
)
.add(
'positions',
() => html`
Top
Right
Bottom
Left
`,
);