@zoff-tech/zt-bottom-drawer
Version:
Bottom Drawer / Web Component
2 lines • 1.57 kB
JavaScript
import{r as o,h as r,H as t}from"./p-f6c816ce.js";import{createColorClasses as n}from"@utils/theme";import{g as i}from"./p-0b9b2444.js";const a=":host{--background:transparent;--color:inherit;display:flex;position:relative;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;flex-direction:column-reverse}@supports (backdrop-filter: blur(0)){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);backdrop-filter:saturate(180%) blur(30px)}}";const d=":host{--background:transparent;--color:inherit;display:flex;position:relative;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}";const e=class{constructor(r){o(this,r);this.color=undefined;this.translucent=false}render(){const o=i(this);return r(t,{class:n(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":true,[o]:true})},r("slot",null))}};e.style={ios:a,md:d};export{e as ion_card_header};
//# sourceMappingURL=p-637c8cdc.entry.js.map