{% extends "pxy_dashboard/partials/base.html" %}
{% load static %}

{% block title %}Utilities{% endblock title %}

{% block extra_css %}
{% endblock extra_css %}


{% block pagetitle %}
{% include "pxy_dashboard/partials/page-title.html" with pagetitle="Base UI" title="Utilitiess" %}
{% endblock pagetitle %}

{% block content %}
<div class="row">
    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title">Background Color</h4>
                <p class="text-muted fs-14">Similar to the contextual text color classes, set the background of an
                    element to any contextual class. Background
                    utilities <strong>do not set <code>color</code></strong>, so in some cases you’ll want to use
                    <code>.text-*</code>color utilities.
                </p>

                <div class="bg-primary text-white p-2 mb-2">.bg-primary</div>
                <div class="bg-secondary text-white p-2 mb-2">.bg-secondary</div>
                <div class="bg-success text-white p-2 mb-2">.bg-success</div>
                <div class="bg-danger text-white p-2 mb-2">.bg-danger</div>
                <div class="bg-warning text-dark p-2 mb-2">.bg-warning</div>
                <div class="bg-info text-dark p-2 mb-2">.bg-info</div>
                <div class="bg-light text-dark p-2 mb-2">.bg-light</div>
                <div class="bg-dark p-2 mb-2">.bg-dark</div>
                <div class="bg-body text-dark p-2 mb-2">.bg-body</div>
                <div class="bg-body-secondary text-dark p-2 mb-2">.bg-body-secondary</div>
                <div class="bg-body-tertiary text-dark p-2 mb-2">.bg-body-tertiary</div>
                <div class="bg-white p-2 mb-2">.bg-white</div>
                <div class="bg-black text-white p-2 mb-2">.bg-black</div>
                <div class="bg-transparent text-dark p-2">.bg-transparent</div>
            </div> <!-- end card-body -->
        </div> <!-- end card-->
    </div> <!-- end col -->

    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title">Background Gradient Color</h4>
                <p class="text-muted fs-14">By adding a <code>.bg-gradient</code> class, a linear gradient is added as
                    background image to the backgrounds. This
                    gradient starts with a semi-transparent white which fades out to the bottom.</p>

                <div class="p-2 mb-2 bg-primary bg-gradient text-white">.bg-gradient.bg-primary</div>
                <div class="p-2 mb-2 bg-secondary bg-gradient text-white">.bg-secondary.bg-gradient</div>
                <div class="p-2 mb-2 bg-success bg-gradient text-white">.bg-success.bg-gradient</div>
                <div class="p-2 mb-2 bg-danger bg-gradient text-white">.bg-danger.bg-gradient</div>
                <div class="p-2 mb-2 bg-warning bg-gradient text-dark">.bg-warning.bg-gradient</div>
                <div class="p-2 mb-2 bg-info bg-gradient text-dark">.bg-info.bg-gradient</div>
                <div class="p-2 mb-2 bg-light bg-gradient text-dark">.bg-light.bg-gradient</div>
                <div class="p-2 mb-2 bg-dark bg-gradient text-white">.bg-dark.bg-gradient</div>
                <div class="p-2 mb-2 bg-black bg-gradient text-white">.bg-black.bg-gradient</div>
            </div> <!-- end card-body -->
        </div> <!-- end card-->
    </div> <!-- end col -->
</div>
<!-- end row -->

<div class="row">
    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title">Soft background</h4>
                <p class="text-muted fs-14">Similar to the contextual text color classes, set the background of an
                    element to any contextual class. Background utilities do not set <code>color</code>, so in some
                    cases you’ll want to use <code>.text-*</code> <a
                        href="https://getbootstrap.com/docs/5.3/utilities/colors/">color utilities</a>.</p>
                <div class="row">
                    <div class="col-12">
                        <div class="d-flex flex-column gap-2">
                            <div class="bg-primary-subtle p-2"><code
                                    class="text-primary-emphasis">.text-primary-subtle</code></div>
                            <div class="bg-secondary-subtle p-2"><code
                                    class="text-secondary-emphasis">.bg-secondary-subtle </code></div>
                            <div class="bg-success-subtle p-2"><code
                                    class="text-success-emphasis">.bg-success-subtle</code></div>
                            <div class="bg-danger-subtle p-2"><code
                                    class="text-danger-emphasis">.bg-danger-subtle</code></div>
                            <div class="bg-warning-subtle p-2"><code
                                    class="text-warning-emphasis">.bg-warning-subtle</code></div>
                            <div class="bg-info-subtle p-2"><code class="text-info-emphasis">.bg-info-subtle</code>
                            </div>
                            <div class="bg-light-subtle p-2"><code class="text-light-emphasis">.bg-light-subtle</code>
                            </div>
                            <div class="bg-dark-subtle p-2"><code class="text-dark-emphasis">.bg-dark-subtle</code>
                            </div>
                        </div>
                    </div>
                </div>
            </div> <!-- end card-body -->
        </div> <!-- end card-->
    </div> <!-- end col -->

    <div class="col-xl-6">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title">Color & background</h4>
                <p class="text-muted fs-14">Color and background helpers combine the power of our <code>.text-*</code>
                    utilities and <code>.bg-*</code> utilities in one class. Using our Sass
                    <code>color-contrast()</code> function, we automatically determine a contrasting <code>color</code>
                    for a particular <code>background-color</code>.
                </p>
                <div class="d-flex flex-column gap-2">
                    <div class="text-bg-primary p-2">Primary with contrasting color (.text-bg-primary)</div>
                    <div class="text-bg-secondary p-2">Secondary with contrasting color (.text-bg-secondary)</div>
                    <div class="text-bg-success p-2">Success with contrasting color (.text-bg-success)</div>
                    <div class="text-bg-danger p-2">Danger with contrasting color (.text-bg-danger)</div>
                    <div class="text-bg-warning p-2">Warning with contrasting color (.text-bg-warning)</div>
                    <div class="text-bg-info p-2">Info with contrasting color (.text-bg-info)</div>
                    <div class="text-bg-light p-2">Light with contrasting color (.text-bg-light)</div>
                    <div class="text-bg-dark p-2">Dark with contrasting color (.text-bg-dark)</div>
                </div>
            </div> <!-- end card-body -->
        </div> <!-- end card-->
    </div> <!-- end col -->
</div>

<div class="row">
    <div class="col-xl-12">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title">Background Opacity</h4>
                <p class="text-muted fs-14"><code>background-color</code> utilities are generated with Sass using CSS
                    variables. This
                    allows for real-time color changes without compilation and dynamic alpha transparency changes.</p>

                <div class="text-bg-primary p-2">This is default primary background</div>
                <div class="text-bg-primary p-2 bg-opacity-75">This is 75% opacity primary background</div>
                <div class="bg-primary p-2 text-dark bg-opacity-50">This is 50% opacity primary background</div>
                <div class="bg-primary p-2 text-dark bg-opacity-25">This is 25% opacity primary background</div>
                <div class="bg-primary p-2 text-dark bg-opacity-10">This is 10% opacity success background</div>
            </div> <!-- end card-body -->
        </div> <!-- end card-->
    </div> <!-- end col -->
</div>
<!-- end row -->

<div class="row">
    <div class="col-xl-12">
        <div class="card">
            <div class="card-body">
                <h4 class="header-title">Text Color</h4>
                <p class="text-muted fs-14">Colorize text with color utilities. If you want to colorize links, you can
                    use the <code>.link-*</code> helper classes which have <code>:hover</code>
                    and <code>:focus</code> states.</p>

                <div class="row">
                    <div class="col-md-6">
                        <p class="text-primary">.text-primary</p>
                        <p class="text-primary-emphasis">.text-primary-emphasis</p>
                        <p class="text-secondary">.text-secondary</p>
                        <p class="text-secondary-emphasis">.text-secondary-emphasis</p>
                        <p class="text-success">.text-success</p>
                        <p class="text-success-emphasis">.text-success-emphasis</p>
                        <p class="text-danger">.text-danger</p>
                        <p class="text-danger-emphasis">.text-danger-emphasis</p>
                        <p class="text-warning bg-dark">.text-warning</p>
                        <p class="text-warning-emphasis">.text-warning-emphasis</p>
                        <p class="text-info bg-dark">.text-info</p>
                        <p class="text-info-emphasis">.text-info-emphasis</p>
                        <p class="text-light bg-dark">.text-light</p>
                        <p class="text-light-emphasis">.text-light-emphasis</p>
                    </div>
                    <div class="col-md-6">
                        <p class="text-dark">.text-dark</p>
                        <p class="text-dark-emphasis">.text-dark-emphasis</p>
                        <p class="text-muted">.text-muted</p>
                        <p class="text-body">.text-body</p>
                        <p class="text-body-emphasis">.text-body-emphasis</p>
                        <p class="text-body-secondary">.text-body-secondary</p>
                        <p class="text-body-tertiary">.text-body-tertiary</p>
                        <p class="text-black">.text-black</p>
                        <p class="text-white bg-dark">.text-white</p>
                        <p class="text-black-50">.text-black-50</p>
                        <p class="text-white-50 bg-dark">.text-white-50</p>
                    </div>
                </div>
            </div> <!-- end card-body -->
        </div> <!-- end card-->
    </div> <!-- end col -->


    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Text Opacity Color</h4>
                    <p class="text-muted fs-14">text color utilities are generated with Sass using CSS variables. This
                        allows for real-time color
                        changes without compilation and dynamic alpha transparency changes.</p>

                    <div class="text-primary">This is default primary text</div>
                    <div class="text-primary text-opacity-75">This is 75% opacity primary text</div>
                    <div class="text-primary text-opacity-50">This is 50% opacity primary text</div>
                    <div class="text-primary text-opacity-25">This is 25% opacity primary text</div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->

        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Opacity</h4>
                    <p class="text-muted fs-14">The <code>opacity</code> property sets the opacity level for an element.
                        The opacity level describes the transparency
                        level, where <code>1</code> is not transparent at all, <code>.5</code> is 50% visible, and
                        <code>0</code> is
                        completely transparent. Set the <code>opacity</code> of an element using
                        <code>.opacity-{value}</code> utilities.
                    </p>

                    <div class="d-flex flex-wrap gap-2">
                        <div class="opacity-100 p-2 bg-primary text-light fw-bold rounded">100%</div>
                        <div class="opacity-75 p-2 bg-primary text-light fw-bold rounded">75%</div>
                        <div class="opacity-50 p-2 bg-primary text-light fw-bold rounded">50%</div>
                        <div class="opacity-25 p-2 bg-primary text-light fw-bold rounded">25%</div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div>
    </div>
    <!-- end row -->

    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Additive(Add) Border</h4>
                    <p class="text-muted fs-14">Use border utilities to <b>add</b> an element’s borders. Choose from all
                        borders or one at a time.</p>

                    <div class="d-flex align-items-start flex-wrap gap-4">
                        <div class="text-center">
                            <div class="border avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border-top avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border-end avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border-bottom avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border-start avatar-md bg-light bg-opacity-50"></div>
                        </div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->

        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Subtractive(Remove) Border</h4>
                    <p class="text-muted fs-14">Use border utilities to <b>remove</b> an element’s borders. Choose from
                        all borders or one at a time.</p>

                    <div class="d-flex align-items-start flex-wrap gap-4">
                        <div class="text-center">
                            <div class="border border-0 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-top-0 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-end-0 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-bottom-0 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-start-0 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div>
    <!-- end row -->

    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Border Color</h4>
                    <p class="text-muted fs-14">Change the border color using utilities built on our theme colors.</p>

                    <div class="d-flex align-items-start flex-wrap gap-2">
                        <div class="text-center">
                            <div class="border border-primary avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-secondary avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-success avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-danger avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-warning avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-info avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-light avatar-md"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-dark avatar-md bg-light bg-opacity-50"></div>
                        </div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->

            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Border Width Size</h4>

                    <div class="d-flex align-items-start flex-wrap gap-2">
                        <div class="text-center">
                            <div class="border border-1 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-2 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-3 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-4 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-5 avatar-md bg-light bg-opacity-50"></div>
                        </div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->

        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Border Opacity</h4>
                    <p class="text-muted fs-14">choose from any of the <code>.border-opacity</code> utilities:</p>

                    <div class="border border-success p-2 mb-2">This is default success border</div>
                    <div class="border border-success p-2 mb-2 border-opacity-75">This is 75% opacity success border
                    </div>
                    <div class="border border-success p-2 mb-2 border-opacity-50">This is 50% opacity success border
                    </div>
                    <div class="border border-success p-2 mb-2 border-opacity-25">This is 25% opacity success border
                    </div>
                    <div class="border border-success p-2 border-opacity-10">This is 10% opacity success border</div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div>
    <!-- end row -->

    <div class="row">
        <div class="col-xl-12">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Border subtle Color</h4>
                    <p class="text-muted fs-14">Change the border color using utilities built on our theme colors.</p>

                    <div class="d-flex align-items-start flex-wrap gap-2">
                        <div class="text-center">
                            <div class="border border-primary-subtle avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-secondary-subtle avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-success-subtle avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-danger-subtle avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-warning-subtle avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-info-subtle avatar-md bg-light bg-opacity-50"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-light-subtle avatar-md"></div>
                        </div>
                        <div class="text-center">
                            <div class="border border-dark-subtle avatar-md bg-light bg-opacity-50"></div>
                        </div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div><!--end row-->

    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Border Radius</h4>
                    <p class="text-muted fs-14">Add classes to an element to easily round its corners.</p>

                    <div class="d-flex align-items-start flex-wrap gap-2">
                        <img src="{% static 'dashboard/images/users/avatar-2.jpg' %}" class="avatar-lg rounded" alt="rounded">
                        <img src="{% static 'dashboard/images/users/avatar-2.jpg' %}" class="avatar-lg rounded-top" alt="rounded-top">
                        <img src="{% static 'dashboard/images/users/avatar-2.jpg' %}" class="avatar-lg rounded-end" alt="rounded-end">
                        <img src="{% static 'dashboard/images/users/avatar-2.jpg' %}" class="avatar-lg rounded-bottom"
                            alt="rounded-bottom">
                        <img src="{% static 'dashboard/images/users/avatar-2.jpg' %}" class="avatar-lg rounded-start" alt="rounded-start">
                        <img src="{% static 'dashboard/images/users/avatar-2.jpg' %}" class="avatar-lg rounded-circle"
                            alt="rounded-circle">
                        <img src="{% static 'dashboard/images/small/small-2.jpg' %}" class="avatar-lg w-auto rounded-pill"
                            alt="rounded-pill">
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->

        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Border Radius Size</h4>
                    <p class="text-muted fs-14">Use the scaling classes for larger or smaller rounded corners. Sizes
                        range from <code>0</code> to <code>5</code>.</p>

                    <div class="d-flex align-items-start flex-wrap gap-2">
                        <img src="{% static 'dashboard/images/users/avatar-4.jpg' %}" class="avatar-lg rounded-0" alt="rounded-0">
                        <img src="{% static 'dashboard/images/users/avatar-4.jpg' %}" class="avatar-lg rounded-1" alt="rounded-1">
                        <img src="{% static 'dashboard/images/users/avatar-4.jpg' %}" class="avatar-lg rounded-2" alt="rounded-2">
                        <img src="{% static 'dashboard/images/users/avatar-4.jpg' %}" class="avatar-lg rounded-3" alt="rounded-3">
                        <img src="{% static 'dashboard/images/users/avatar-4.jpg' %}" class="avatar-lg rounded-4" alt="rounded-4">
                        <img src="{% static 'dashboard/images/users/avatar-4.jpg' %}" class="avatar-lg rounded-5" alt="rounded-5">
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div>
    <!-- end row -->


    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Text Selection</h4>
                    <p class="text-muted fs-14">Use <code>user-select-all</code>, <code>user-select-auto</code>, or
                        <code>user-select-none</code> class to the content which is selected when the user interacts
                        with it.
                    </p>

                    <p class="user-select-all">This paragraph will be entirely selected when clicked by the user.</p>
                    <p class="user-select-auto">This paragraph has default select behavior.</p>
                    <p class="user-select-none mb-0">This paragraph will not be selectable when clicked by the user.</p>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->

        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Pointer Events</h4>
                    <p class="text-muted fs-14">Bootstrap provides <code>.pe-none</code> and <code>.pe-auto</code>
                        classes to prevent or add element interactions.</p>

                    <p><a href="#" class="pe-none" tabindex="-1" aria-disabled="true">This link</a> can not be clicked.
                    </p>
                    <p><a href="#" class="pe-auto">This link</a> can be clicked (this is default behavior).</p>
                    <p class="pe-none"><a href="#" tabindex="-1" aria-disabled="true">This link</a> can not be clicked
                        because the
                        <code>pointer-events</code> property is inherited from its parent. However, <a href="#"
                            class="pe-auto">this
                            link</a> has a <code>pe-auto</code> class and can be clicked.
                    </p>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div>
    <!-- end row -->

    <div class="row">
        <div class="col-xl-12">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Overflow</h4>
                    <p class="text-muted fs-14">Adjust the <code>overflow</code> property on the fly with four default
                        values and classes. These classes are not
                        responsive by default.</p>

                    <div class="d-flex flex-wrap gap-4">
                        <div class="overflow-auto p-3 bg-light" style="max-width: 260px; max-height: 100px;">
                            This is an example of using <code>.overflow-auto</code> on an element with set width and
                            height dimensions. By
                            design, this content will vertically scroll.
                        </div>
                        <div class="overflow-hidden p-3 bg-light" style="max-width: 260px; max-height: 100px;">
                            This is an example of using <code>.overflow-hidden</code> on an element with set width and
                            height dimensions.
                        </div>
                        <div class="overflow-visible p-3 bg-light" style="max-width: 260px; max-height: 100px;">
                            This is an example of using <code>.overflow-visible</code> on an element with set width and
                            height dimensions.
                        </div>
                        <div class="overflow-scroll p-3 bg-light" style="max-width: 260px; max-height: 100px;">
                            This is an example of using <code>.overflow-scroll</code> on an element with set width and
                            height dimensions.
                        </div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div>
    <!-- end row -->

    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Position in Arrange</h4>
                    <p class="text-muted fs-14">Arrange elements easily with the edge positioning utilities. The format
                        is <code>{property}-{position}</code>.</p>

                    <!-- Arrange elements -->
                    <div class="position-relative p-5 bg-light bg-opacity-50 m-3 border rounded" style="height: 180px;">
                        <div class="position-absolute top-0 start-0 avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute top-0 end-0 avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute top-50 start-50 avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute bottom-50 end-50 avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute bottom-0 start-0 avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute bottom-0 end-0 avatar-xs bg-dark rounded"></div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->

        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Position in Center</h4>
                    <p class="text-muted fs-14">In addition, you can also center the elements with the transform utility
                        class <code>.translate-middle</code>.</p>

                    <!-- Center elements -->
                    <div class="position-relative m-3 bg-light bg-opacity-50 border rounded" style="height: 180px;">
                        <div class="position-absolute top-0 start-0 translate-middle avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute top-0 start-50 translate-middle avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute top-0 start-100 translate-middle avatar-xs bg-dark rounded"></div>

                        <div class="position-absolute top-50 start-0 translate-middle avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute top-50 start-50 translate-middle avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute top-50 start-100 translate-middle avatar-xs bg-dark rounded">
                        </div>

                        <div class="position-absolute top-100 start-0 translate-middle avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute top-100 start-50 translate-middle avatar-xs bg-dark rounded">
                        </div>
                        <div class="position-absolute top-100 start-100 translate-middle avatar-xs bg-dark rounded">
                        </div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div>
    <!-- end row -->

    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Position in Axis</h4>
                    <p class="text-muted fs-14">By adding <code>.translate-middle-x</code> or
                        <code>.translate-middle-y</code> classes, elements can be positioned only in horizontal or
                        vertical direction.
                    </p>

                    <!-- Center elements -->
                    <div class="position-relative m-3 bg-light border rounded" style="height: 180px;">
                        <div class="position-absolute top-0 start-0 avatar-xs bg-dark rounded "></div>
                        <div class="position-absolute top-0 start-50 translate-middle-x avatar-xs bg-dark rounded">
                        </div>
                        <div class="position-absolute top-0 end-0 avatar-xs bg-dark rounded"></div>

                        <div class="position-absolute top-50 start-0 translate-middle-y avatar-xs bg-dark rounded">
                        </div>
                        <div class="position-absolute top-50 start-50 translate-middle avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute top-50 end-0 translate-middle-y avatar-xs bg-dark rounded"></div>

                        <div class="position-absolute bottom-0 start-0 avatar-xs bg-dark rounded"></div>
                        <div class="position-absolute bottom-0 start-50 translate-middle-x avatar-xs bg-dark rounded">
                        </div>
                        <div class="position-absolute bottom-0 end-0 avatar-xs bg-dark rounded"></div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->

        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Shadows</h4>
                    <p class="text-muted fs-14">While shadows on components are disabled by default in Bootstrap and can
                        be enabled via
                        <code>$enable-shadows</code>, you can also quickly add or remove a shadow with our
                        <code>box-shadow</code> utility
                        classes. Includes support for <code>.shadow-none</code> and three default sizes (which have
                        associated variables to
                        match).
                    </p>

                    <div class="shadow-none p-2 mb-2 bg-light rounded">No shadow</div>
                    <div class="shadow-sm p-2 mb-2 rounded">Small shadow</div>
                    <div class="shadow p-2 mb-2 rounded">Regular shadow</div>
                    <div class="shadow-lg p-2 mb-2 rounded">Larger shadow</div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div>
    <!-- end row -->


    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Width</h4>
                    <p class="text-muted fs-14">Width utilities are generated from the utility API in
                        <code>_utilities.scss</code>. Includes support for
                        <code>25%</code>, <code>50%</code>, <code>75%</code>, <code>100%</code>, and <code>auto</code>
                        by default. Modify
                        those values as you need to generate different utilities here.
                    </p>

                    <!-- Width -->
                    <div class="w-25 p-2 bg-light">Width 25%</div>

                    <div class="w-50 p-2 bg-light">Width 50%</div>

                    <div class="w-75 p-2 bg-light">Width 75%</div>

                    <div class="w-100 p-2 bg-light">Width 100%</div>

                    <div class="w-auto p-2 bg-light">Width auto</div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->

        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Height</h4>
                    <p class="text-muted fs-14">Height utilities are generated from the utility API in
                        <code>_utilities.scss</code>. Includes support for
                        <code>25%</code>, <code>50%</code>, <code>75%</code>, <code>100%</code>, and <code>auto</code>
                        by default. Modify
                        those values as you need to generate different utilities here.
                    </p>

                    <div class="d-flex flex-wrap gap-3 align-items-start" style="height: 255px;">
                        <!-- Height -->
                        <div class="h-25 p-2 bg-light">Height25%</div>

                        <div class="h-50 p-2 bg-light">Height50%</div>

                        <div class="h-75 p-2 bg-light">Height75%</div>

                        <div class="h-100 p-2 bg-light">Height100%</div>

                        <div class="h-auto p-2 bg-light">Height auto</div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div>
    <!-- end row -->

    <div class="row">
        <div class="col-xl-12">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Object fit</h4>
                    <p class="text-muted fs-14">Change the value of the <a
                            href="https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit"><code>object-fit</code>
                            property</a> with our responsive <code>object-fit</code> utility classes. This property
                        tells the content to fill the parent container in a variety of ways, such as preserving the
                        aspect ratio or stretching to take up as much space as possible.</p>

                    <div class="d-flex align-items-start flex-wrap gap-3 text-center">
                        <div>
                            <img src="{% static 'dashboard/images/small/small-1.jpg' %}"
                                class="object-fit-contain border rounded avatar-xl" alt="...">
                            <p class="mt-1 mb-0"><code class="user-select-all">.object-fit-contain</code></p>
                        </div>
                        <div>
                            <img src="{% static 'dashboard/images/small/small-1.jpg' %}" class="object-fit-cover border rounded avatar-xl"
                                alt="...">
                            <p class="mt-1 mb-0"><code class="user-select-all">.object-fit-cover</code></p>
                        </div>
                        <div>
                            <img src="{% static 'dashboard/images/small/small-1.jpg' %}" class="object-fit-fill border rounded avatar-xl"
                                alt="...">
                            <p class="mt-1 mb-0"><code class="user-select-all">.object-fit-fill</code></p>
                        </div>
                        <div>
                            <img src="{% static 'dashboard/images/small/small-1.jpg' %}" class="object-fit-scale border rounded avatar-xl"
                                alt="...">
                            <p class="mt-1 mb-0"><code class="user-select-all">.object-fit-scale</code></p>
                        </div>
                        <div>
                            <img src="{% static 'dashboard/images/small/small-1.jpg' %}" class="object-fit-none border rounded avatar-xl"
                                alt="...">
                            <p class="mt-1 mb-0"><code class="user-select-all">.object-fit-none</code></p>
                        </div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div><!-- end end -->

    <div class="row">
        <div class="col-xl-6">
            <div class="card">
                <div class="card-body">
                    <h4 class="header-title">Object fit</h4>
                    <p class="text-muted fs-14">Change the value of the <a
                            href="https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit"><code>object-fit</code>
                            property</a> with our responsive <code>object-fit</code> utility classes. This property
                        tells the content to fill the parent container in a variety of ways, such as preserving the
                        aspect ratio or stretching to take up as much space as possible.</p>

                    <div class="position-relative" style="height: 220px;z-index: 1;">
                        <div class="z-3 position-absolute p-5 rounded-3 bg-primary-subtle"></div>
                        <div class="z-2 position-absolute p-5 m-2 rounded-3 bg-success-subtle"></div>
                        <div class="z-1 position-absolute p-5 m-3 rounded-3 bg-secondary-subtle"></div>
                        <div class="z-0 position-absolute p-5 m-4 rounded-3 bg-danger-subtle"></div>
                        <div class="z-n1 position-absolute p-5 m-5 rounded-3 bg-info-subtle"></div>
                    </div>
                </div> <!-- end card-body -->
            </div> <!-- end card-->
        </div> <!-- end col -->
    </div><!-- end end -->


    {% endblock content %}

    {% block extra_js %}

    <!-- App js -->
    <script src="{% static 'dashboard/js/app.min.js' %}"></script>

    {% endblock extra_js %}