Documentation v8.0.9

Overview

Overlay is a custom component to create an overlay effect on elements.

Basic Example

Use .overlayon an element and wrap the element's primary content with .overlay-wrapperand the overlay content with .overlay-layerand set the overlay backgroud color with opacity with .bg-white .bg-opacity-5:
<div class="row">
    <div class="col-lg-4">
        <!--begin::Card-->
        <div class="card  overlay overflow-hidden">
            <div class="card-body p-0">
                <div class="overlay-wrapper">
                    <img src="assets/media/stock/600x400/img-1.jpg" alt="" class="w-100 rounded"/>
                </div>
                <div class="overlay-layer bg-dark bg-opacity-10">
                    <a href="#" class="btn btn-primary btn-shadow">Explore</a>
                    <a href="#" class="btn btn-light-primary btn-shadow ms-2">Purchase</a>
                </div>
            </div>
        </div>
        <!--end::Card-->
    </div>

    <div class="col-lg-4">
        <!--begin::Card-->
        <div class="card  overlay overflow-hidden">
            <div class="card-body p-0">
                <div class="overlay-wrapper">
                    <img src="assets/media/stock/600x400/img-2.jpg" alt="" class="w-100 rounded"/>
                </div>
                <div class="overlay-layer bg-dark bg-opacity-10 align-items-end justify-content-center">
                    <div class="d-flex flex-grow-1 flex-center  py-5">
                        <a href="#" class="btn btn-primary btn-shadow">Explore</a>
                        <a href="#" class="btn btn-light-primary btn-shadow ms-2">Purchase</a>
                    </div>
                </div>
            </div>
        </div>
        <!--end::Card-->
    </div>

    <div class="col-lg-4">
        <!--begin::Card-->
        <div class="card  overlay overflow-hidden">
            <div class="card-body p-0">
                <div class="overlay-wrapper">
                    <img src="assets/media/stock/600x400/img-3.jpg" alt="" class="w-100 rounded"/>
                </div>
                <div class="overlay-layer bg-dark bg-opacity-10 align-items-start justify-content-center">
                    <div class="d-flex flex-grow-1 flex-center py-5">
                        <a href="#" class="btn btn-primary btn-shadow">Explore</a>
                        <a href="#" class="btn btn-light-primary btn-shadow ms-2">Purchase</a>
                    </div>
                </div>
            </div>
        </div>
        <!--end::Card-->
    </div>
</div>

Default Shown

Use .overlay-blockon an element to display its overlay content by default:
<div class="row">
    <div class="col-lg-4">
        <!--begin::Card-->
        <div class="card overlay overflow-block">
            <div class="card-body p-0">
                <div class="overlay-wrapper">
                    <img src="assets/media/stock/600x400/img-1.jpg" alt="" class="w-100 card-rounded"/>
                </div>
                <div class="overlay-layer card-rounded bg-dark bg-opacity-10">
                    <a href="#" class="btn btn-primary btn-shadow">Explore</a>
                    <a href="#" class="btn btn-light-primary btn-shadow ms-2">Purchase</a>
                </div>
            </div>
        </div>
        <!--end::Card-->
    </div>

    <div class="col-lg-4">
        <!--begin::Card-->
        <div class="card  overlay overflow-hidden">
            <div class="card-body p-0">
                <div class="overlay-wrapper">
                    <img src="assets/media/stock/600x400/img-2.jpg" alt="" class="w-100 card-rounded"/>
                </div>
                <div class="overlay-layer card-rounded bg-dark bg-opacity-10 align-items-end justify-content-center">
                    <div class="d-flex flex-grow-1 flex-center  py-5">
                        <a href="#" class="btn btn-primary btn-shadow">Explore</a>
                        <a href="#" class="btn btn-light-primary btn-shadow ms-2">Purchase</a>
                    </div>
                </div>
            </div>
        </div>
        <!--end::Card-->
    </div>

    <div class="col-lg-4">
        <!--begin::Card-->
        <div class="card  overlay overflow-hidden">
            <div class="card-body p-0">
                <div class="overlay-wrapper">
                    <img src="assets/media/stock/600x400/img-3.jpg" alt="" class="w-100 card-rounded"/>
                </div>
                <div class="overlay-layer card-rounded bg-dark bg-opacity-10 align-items-start justify-content-center">
                    <div class="d-flex flex-grow-1 flex-center py-5">
                        <a href="#" class="btn btn-primary btn-shadow">Explore</a>
                        <a href="#" class="btn btn-light-primary btn-shadow ms-2">Purchase</a>
                    </div>
                </div>
            </div>
        </div>
        <!--end::Card-->
    </div>
</div>

Content Blocking

Use .overlay-blockclass for blocking an element content.

Content Blocking

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to.
Loading...
<div class="card shadow">
    <div class="card-header">
        <h3 class="card-title">Content Blocking</h3>
    </div>
    <div class="card-body">
        <div class="overlay overlay-block card-rounded">
            <div class="overlay-wrapper p-5">
                Lorem Ipsum is simply dummy text...
            </div>
            <div class="overlay-layer card-rounded bg-dark bg-opacity-5">
                <div class="spinner-border text-primary" role="status">
                    <span class="visually-hidden">Loading...</span>
                </div>
            </div>
        </div>
    </div>
</div>

Card Blocking

Use .overlay-blockclass for blocking card element.

Card Blocking

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to.
Loading...
<div class="card card-border overlay overlay-block">
    <div class="card-header">
        <h3 class="card-title">Card Blocking</h3>
    </div>
    <div class="card-body">
        <div class="overlay-wrapper p-5">
            Lorem Ipsum is simply dummy text....
        </div>
        <div class="overlay-layer card-rounded bg-dark bg-opacity-5">
            <div class="spinner-border text-primary" role="status">
                <span class="visually-hidden">Loading...</span>
            </div>
        </div>
    </div>
</div>

Modal Blocking

Use .overlay-blockclass block a modal's content.
<button type="button" class="btn btn-primary me-2" data-bs-toggle="modal" data-bs-target="#exampleModal">Launch modal</button>

<!--begin::Modal Body Overlay-->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Modal Title</h5>

                <!--begin::Close-->
                <div class="btn btn-icon btn-sm btn-active-light-primary ms-2" data-bs-dismiss="modal" aria-label="Close">
                    <span class="svg-icon svg-icon-2x"></span>
                </div>
                <!--end::Close-->
            </div>

            <!--begin::Overlay-->
            <div class="modal-body overlay overlay-block">
                Lorem Ipsum is simply dummy text ...

                <!--begin::Overlay Layer-->
                <div class="overlay-layer bg-dark bg-opacity-5">
                    <div class="spinner-border text-primary" role="status">
                        <span class="visually-hidden">Loading...</span>
                    </div>
                </div>
                <!--end::Overlay Layer-->
            </div>
            <!--end::Overlay-->

            <div class="modal-footer">
                <button type="button" class="btn btn-light-primary fw-bold" data-bs-dismiss="modal">Close</button>
                <button type="button" class="btn btn-primary ">Ok</button>
            </div>
        </div>
    </div>
</div>
<!--end::Modal Body Overlay-->

Activity Logs

There are 2 new tasks for you in “AirPlus Mobile APp” project:
Added at 4:23 PM by
img
Meeting with customer
Application Design
img
img
A
In Progress
View
Project Delivery Preparation
CRM System Development
img
B
Completed
View
Invitation for crafting engaging designs that speak human workshop
Sent at 4:23 PM by
img
Task #45890merged with #45890in “Ads Pro Admin Dashboard project:
Initiated at 4:23 PM by
img
3 new application design concepts added:
Created at 4:23 PM by
img
New case #67890is assigned to you in Multi-platform Database Design project
Added at 4:23 PM by
Alice Tan
You have received a new order:
Placed at 5:05 AM by
img

Database Backup Process Completed!

Login into Metronic Admin Dashboard to make sure the data integrity is OK
Proceed
New order #67890is placed for Workshow Planning & Budget Estimation
Placed at 4:23 PM by
Jimmy Bold
Pic
Brian Cox 2 mins
How likely are you to recommend our company to your friends and family ?
5 mins You
Pic
Hey there, we’re just writing to let you know that you’ve been subscribed to a repository on GitHub.
Pic
Brian Cox 1 Hour
Ok, Understood!
2 Hours You
Pic
You’ll receive notifications for all issues, pull requests!
Pic
Brian Cox 3 Hours
You can unwatch this repository immediately by clicking here: Keenthemes.com
4 Hours You
Pic
Most purchased Business courses during this sale!
Pic
Brian Cox 5 Hours
Company BBQ to celebrate the last quater achievements and goals. Food and drinks provided
Just now You
Pic
Pic
Brian Cox Just now
Right before vacation season we have the next Big Deal for you.

Explore Metronic

Demo1

Demo2

demo
Coming soon

Demo3

demo
Coming soon

Demo4

demo
Coming soon

Demo5

Demo6

demo
Coming soon

Demo7

demo
Coming soon

Demo8

demo
Coming soon

Demo9

demo
Coming soon

Demo10

demo
Coming soon

Demo11

demo
Coming soon

Demo12

demo
Coming soon

Demo13

demo
Coming soon

Demo14

demo
Coming soon

Demo15

demo
Coming soon