UNPKG

dap-design-system

Version:

Official design system for the DÁP (dap.gov.hu)

6 lines (5 loc) 7.88 kB
const a = "*,*:before,*:after{box-sizing:border-box;outline:none}* :not(dap-ds-table-cell,dap-ds-table-header){margin:0;padding:0}html:focus-within{scroll-behavior:smooth}a:not([class]){text-decoration-skip-ink:auto}img,picture,svg,video,canvas{max-width:100%;height:auto;background-repeat:no-repeat;background-size:cover;font-style:italic;vertical-align:middle}input,button,textarea,select{font:inherit}[hidden]{display:none!important}@media (prefers-reduced-motion: reduce){html:focus-within{scroll-behavior:auto}*,*:before,*:after{transition:none;transition-duration:.01ms!important;transition-delay:1ms!important;animation-duration:1ms!important;animation-delay:-1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important}}body,html{height:100%;scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input[type=number]{appearance:textfield}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{appearance:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.input-description{display:block;margin-bottom:var(--dds-spacing-200)}@keyframes dds-spin{to{transform:rotate(360deg)}}@keyframes dds-fade{0%,to{opacity:.3}50%{opacity:1}}:host{outline-color:var(--dds-focus-outer-ring);outline-offset:var(--dds-spacing-50);outline-width:var(--dds-border-width-large);transition-property:all;transition-duration:var(--dds-transition-fast);transition-timing-function:var(--dds-easing-ease-in-out);--dds-calendar-cell-display: flex;--dds-calendar-cell-position: relative;--dds-calendar-cell-border-radius: var(--dds-radius-rounded);--dds-calendar-cell-min-width: var(--dds-spacing-1000);--dds-calendar-cell-height: var(--dds-spacing-1000);--dds-calendar-cell-min-height: var(--dds-spacing-1000);--dds-calendar-cell-color: var(--dds-button-subtle-text-neutral-enabled);--dds-calendar-cell-font-size: var(--dds-font-sm);--dds-calendar-cell-font-weight: var(--dds-font-weight-medium);--dds-calendar-cell-text-align: center;--dds-calendar-cell-cursor: pointer;--dds-calendar-cell-background-hover: var(--dds-background-neutral-medium);--dds-calendar-cell-background-active: var(--dds-background-neutral-strong);--dds-calendar-cell-selected-background: var( --dds-button-primary-background-enabled );--dds-calendar-cell-selected-color: var(--dds-button-primary-text-enabled);--dds-calendar-cell-selected-background-hover: var( --dds-button-primary-background-hover );--dds-calendar-cell-selected-background-pressed: var( --dds-button-primary-background-pressed );--dds-calendar-cell-selected-today-mark-background: var( --dds-text-neutral-on-inverted );--dds-calendar-cell-disabled-color: var(--dds-text-neutral-disabled);--dds-calendar-cell-disabled-cursor: not-allowed;--dds-calendar-cell-out-of-range-color: var(--dds-text-neutral-placeholder);--dds-calendar-cell-today-font-weight: var(--dds-font-weight-bold);--dds-calendar-cell-header-background: transparent;--dds-calendar-cell-header-color: var(--dds-text-neutral-base);--dds-calendar-cell-header-text-transform: capitalize;--dds-calendar-cell-header-cursor: default;--dds-calendar-cell-in-range-border-radius: 0;--dds-calendar-cell-in-range-background: var( --dds-button-primary-background-enabled );--dds-calendar-cell-in-range-color: var(--dds-button-primary-text-enabled);--dds-calendar-cell-in-range-background-hover: var( --dds-button-primary-background-hover );--dds-calendar-cell-in-range-background-pressed: var( --dds-button-primary-background-pressed );--dds-calendar-cell-range-background: var( --dds-button-primary-background-enabled );--dds-calendar-cell-range-color: var(--dds-button-primary-text-enabled);--dds-calendar-cell-range-today-mark-background: var( --dds-text-neutral-on-inverted );--dds-calendar-cell-today-mark-bottom: var(--dds-spacing-100);--dds-calendar-cell-today-mark-width: 5px;--dds-calendar-cell-today-mark-height: 5px;--dds-calendar-cell-today-mark-stroke: var(--dds-border-neutral-transparent);--dds-calendar-cell-today-mark-background: var( --dds-background-neutral-medium-inverted );--dds-calendar-cell-today-mark-fill: var( --dds-background-neutral-medium-inverted );display:var(--dds-calendar-cell-display);position:var(--dds-calendar-cell-position);border-radius:var(--dds-calendar-cell-border-radius)}:host:focus-visible{outline-style:solid}:host:has(.calendar-cell--disabled){cursor:not-allowed}:host .calendar-cell{display:flex;align-items:center;justify-content:center;min-width:var(--dds-calendar-cell-min-width);height:var(--dds-calendar-cell-height);min-height:var(--dds-calendar-cell-min-height);border-radius:var(--dds-calendar-cell-border-radius);color:var(--dds-calendar-cell-color);font-size:var(--dds-calendar-cell-font-size);font-weight:var(--dds-calendar-cell-font-weight);text-align:var(--dds-calendar-cell-text-align);cursor:var(--dds-calendar-cell-cursor)}:host .calendar-cell:hover{background-color:var(--dds-calendar-cell-background-hover)}:host .calendar-cell:active{background-color:var(--dds-calendar-cell-background-active)}:host .calendar-cell--selected{background-color:var(--dds-calendar-cell-selected-background);color:var(--dds-calendar-cell-selected-color)}:host .calendar-cell--selected:hover{background-color:var(--dds-calendar-cell-selected-background-hover)}:host .calendar-cell--selected:active{background-color:var(--dds-calendar-cell-selected-background-pressed)}:host .calendar-cell--selected .calendar-cell__today-mark{background-color:var(--dds-calendar-cell-selected-today-mark-background)}:host .calendar-cell--disabled{color:var(--dds-calendar-cell-disabled-color);cursor:var(--dds-calendar-cell-disabled-cursor);pointer-events:none}:host .calendar-cell--out-of-range{color:var(--dds-calendar-cell-out-of-range-color)}:host .calendar-cell--today{font-weight:var(--dds-calendar-cell-today-font-weight)}:host .calendar-cell--header{background-color:var(--dds-calendar-cell-header-background);color:var(--dds-calendar-cell-header-color);text-transform:var(--dds-calendar-cell-header-text-transform);cursor:var(--dds-calendar-cell-header-cursor);pointer-events:none}:host .calendar-cell--header:hover{background-color:var(--dds-calendar-cell-header-background)}:host .calendar-cell--header:active{background-color:var(--dds-calendar-cell-header-background)}:host .calendar-cell--header:focus-visible{outline:none}:host .calendar-cell--in-range{border-radius:var(--dds-calendar-cell-in-range-border-radius);background-color:var(--dds-calendar-cell-in-range-background);color:var(--dds-calendar-cell-in-range-color)}:host .calendar-cell--in-range:hover{background-color:var(--dds-calendar-cell-in-range-background-hover)}:host .calendar-cell--in-range:active{background-color:var(--dds-calendar-cell-in-range-background-pressed)}:host .calendar-cell--range-start,:host .calendar-cell--range-end{background-color:var(--dds-calendar-cell-range-background);color:var(--dds-calendar-cell-range-color)}:host .calendar-cell--range-start .calendar-cell__today-mark,:host .calendar-cell--range-end .calendar-cell__today-mark{background-color:var(--dds-calendar-cell-range-today-mark-background)}:host .calendar-cell--range-start{border-top-right-radius:0;border-bottom-right-radius:0}:host .calendar-cell--range-end{border-top-left-radius:0;border-bottom-left-radius:0}:host .calendar-cell__today-mark{position:absolute;bottom:var(--dds-calendar-cell-today-mark-bottom);width:var(--dds-calendar-cell-today-mark-width);height:var(--dds-calendar-cell-today-mark-height);border-radius:var(--dds-calendar-cell-border-radius);stroke:var(--dds-calendar-cell-today-mark-stroke);background-color:var(--dds-calendar-cell-today-mark-background);fill:var(--dds-calendar-cell-today-mark-fill)}"; export { a as default }; //# sourceMappingURL=calendar-cell.scss.js.map