%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/themes/cwg/template-parts/collapsible/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/themes/cwg/template-parts/collapsible/start.php

<div class="collapsible js-collapsible<?= isset($px_only) && $px_only ? ' js-extandWithPx' : '' ?> w-full" <?= (isset($item['is_open']) && $item['is_open']) ? 'data-isopen="true"' : 'data-isopen="false"'; ?>>
    <div class="js-collapsibleToggle collapsible-toggle cursor-pointer w-full py-2 transition-all duration-500 ease-in-out text-grey-textLight">
        <div class="w-full flex items-center">
            <div class="js-stroke w-[30px] h-0 border-t border-grey-textLight mr-1.5"></div>
            <span class="text-light text-[11px] uppercase">
                <?= $item['title']; ?>&nbsp;<span class="js-count" data-attribute="<?= isset($key) ? $key : '' ?>"></span>
            </span>
            <span class="js-openIcon transform self-end ml-auto opacity-40">
                <?php include(locate_template('/assets/img/expand-more.svg')); ?>
            </span>
        </div>
        <?php if (isset($item['subtitle']) && !is_null($item['subtitle'])) : ?>
            <div class="w-full mt-1">
                <p class="font-light text-xs">
                    <?= $item['subtitle']; ?>
                </p>
            </div>
        <?php endif; ?>
    </div>
    <div class="max-h-0 overflow-hidden transition-all duration-500 ease-in-out">
        <div class="pt-5 w-full lg:pt-[10px] <?= isset($item['layout']) ? $item['layout'] : ''; ?>">

Zerion Mini Shell 1.0