UNPKG

@tindtechnologies/universalviewer

Version:

The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎

2 lines (1 loc) 1.22 kB
import{b as n}from"./chunk-Y2TXPXZV.js";import{a as e,e as o,f as i,o as a}from"./chunk-VNJCZCB4.js";import"./chunk-L67DAW3A.js";var c=function(){function r(t){e(this,t),this.translucent=!1}return r.prototype.render=function(){var t,s=a(this);return o(i,{class:Object.assign(Object.assign({},n(this.color)),(t={"card-header-translucent":this.translucent},t[s]=!0,t))},o("slot",null))},Object.defineProperty(r,"style",{get:function(){return":host{display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) ::slotted(ion-card-subtitle),:host(.ion-color) ::slotted(ion-card-title){color:currentColor}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-subtitle:not(:first-child)),::slotted(ion-card-title:not(:first-child)){margin-top:8px}"},enumerable:!0,configurable:!0}),r}();export{c as ion_card_header};