dashboard-core/theme/dbd-soft-ui/views/partials/preload.ejs

67 lines
1.8 KiB
Text
Raw Permalink Normal View History

2023-06-19 14:21:58 +05:00
<style>
2023-06-22 19:36:52 +05:00
@media all and (min-width: 0px) and (max-width: 600px) {
.responsive {
width: calc(100vw - 30px)
}
}
2023-06-19 14:21:58 +05:00
2023-06-22 19:36:52 +05:00
@media all and (min-width: 0px) and (max-width: 590px) {
.responsive {
margin-top: calc(100vh / 4) !important;
}
}
2023-06-19 14:21:58 +05:00
2023-06-22 19:36:52 +05:00
.preloader {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100vh;
z-index: 99999999;
background-repeat: no-repeat;
background-image: none;
background-color: #FFF;
background-position: center;
}
2023-06-19 14:21:58 +05:00
2023-06-22 19:36:52 +05:00
#scroll {
height: 100% !important;
/* overflow: hidden; */
}
2023-06-19 14:21:58 +05:00
</style>
<div class="preloader">
2023-06-22 19:36:52 +05:00
<div class="progress-wrapper">
<div id="progress-bar" class="progress">
<div id="progress" class="progress-bar bg-gradient-primary" role="progressbar" aria-valuenow="60"
aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>
</div>
</div>
<% if(themeConfig.preloader){ %>
<% if(themeConfig.preloader.image) { %>
<% if(!themeConfig.preloader.spinner) { %>
<div class="loader">
<img class="responsive preloader-image" src="<%- themeConfig.preloader.image %>" alt=""
style="border-radius: 5%; display: block; margin-left: auto; margin-right: auto; margin-top: calc(100vh / 5.8);">
</div>
<% } %>
<% } %>
<% if(themeConfig.preloader.text){ %>
<br>
<div style="text-align: center;<% if(themeConfig.preloader.spinner) { %>margin-top: calc(100vh / 2.7);<% } %>">
<h1 class="font-weight-bolder text-primary text-gradient"><%- req?.locales?.partials?.preloader?.text %></h1>
<% if(themeConfig.preloader.spinner) { %>
2023-06-19 14:21:58 +05:00
2023-06-22 19:36:52 +05:00
<div style="transform: scale(3); padding-top: 30px;">
<div style="text-align: center; " class="spinner-border text-primary text-gradient"
role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<% } %>
</div>
<% } %>
<% } %>
2023-06-19 14:21:58 +05:00
</div>