UNPKG

app-datepicker

Version:

A custom datepicker element based on Google's Material Design built from scratch with lit-element

62 lines (57 loc) 1.28 kB
import { css } from 'lit'; export const resetButton = css ` button { -webkit-appearance: none; -moz-appearance: none; appearance: none; position: relative; display: block; margin: 0; padding: 0; background: none; /** NOTE: IE11 fix */ color: inherit; border: none; font: inherit; text-align: left; text-transform: inherit; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } `; export const resetAnchor = css ` a { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); position: relative; display: inline-block; background: initial; color: inherit; font: inherit; text-transform: inherit; text-decoration: none; outline: none; } a:focus, a:focus.page-selected { text-decoration: underline; } `; export const resetSvgIcon = css ` svg { display: block; min-width: var(--svg-icon-min-width, 24px); min-height: var(--svg-icon-min-height, 24px); fill: var(--svg-icon-fill, currentColor); pointer-events: none; } `; export const absoluteHidden = css `[hidden] { display: none !important; }`; export const datepickerVariables = css ` :host { display: block; /* --app-datepicker-width: 300px; */ /* --app-datepicker-primary-color: #4285f4; */ /* --app-datepicker-header-height: 80px; */ } * { box-sizing: border-box; } `;