styling loading converted to custom css
This commit is contained in:
parent
19cf224171
commit
7d88423e24
8
public/css/app.css
vendored
8
public/css/app.css
vendored
@ -57297,10 +57297,6 @@ body{
|
|||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lg\:-mt-16{
|
|
||||||
margin-top: -4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.lg\:mb-0{
|
.lg\:mb-0{
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
}
|
}
|
||||||
@ -57417,10 +57413,6 @@ body{
|
|||||||
width: 46.875rem;
|
width: 46.875rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lg\:w-4\/5{
|
|
||||||
width: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.lg\:w-3\/5{
|
.lg\:w-3\/5{
|
||||||
width: 60%;
|
width: 60%;
|
||||||
}
|
}
|
||||||
|
82
public/css/custom_loading.css
vendored
Normal file
82
public/css/custom_loading.css
vendored
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
/* content */
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.content-modal {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.content-modal {
|
||||||
|
position: fixed;
|
||||||
|
width: 80%;
|
||||||
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-left: -0.25rem;
|
||||||
|
margin-right: -0.25rem;
|
||||||
|
z-index: 60;
|
||||||
|
top: 0px;
|
||||||
|
bottom: 0px;
|
||||||
|
background-color: rgb(252, 252, 252);
|
||||||
|
z-index: 60;
|
||||||
|
}
|
||||||
|
|
||||||
|
[dir="ltr"] .content-modal {
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[dir="rtl"] .content-modal {
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.content-modal img {
|
||||||
|
margin-top: -4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.content-modal img {
|
||||||
|
width: 7rem;
|
||||||
|
height: 7rem;
|
||||||
|
}
|
||||||
|
/* content */
|
||||||
|
|
||||||
|
/* absolute */
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
.absolute-modal {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.absolute-modal {
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: start;
|
||||||
|
justify-content: center;
|
||||||
|
top: 0px;
|
||||||
|
bottom: 0px;
|
||||||
|
left: 0px;
|
||||||
|
right: 0px;
|
||||||
|
background-color: rgb(252, 252, 252);
|
||||||
|
z-index: 60;
|
||||||
|
}
|
||||||
|
|
||||||
|
.absolute-modal img {
|
||||||
|
width: 7rem;
|
||||||
|
height: 7rem;
|
||||||
|
}
|
||||||
|
/* absolute */
|
||||||
|
|
||||||
|
.material-icons-outlined {
|
||||||
|
font-family: 'Material Icons Outlined';
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 1;
|
||||||
|
letter-spacing: normal;
|
||||||
|
text-transform: none;
|
||||||
|
display: inline-block;
|
||||||
|
white-space: nowrap;
|
||||||
|
word-wrap: normal;
|
||||||
|
direction: ltr;
|
||||||
|
-webkit-font-feature-settings: 'liga';
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
}
|
@ -5,6 +5,8 @@
|
|||||||
<head>
|
<head>
|
||||||
@stack('head_start')
|
@stack('head_start')
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ asset('public/css/custom_loading.css?v=' . version('short')) }}" type="text/css">
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
<head>
|
<head>
|
||||||
@stack('head_start')
|
@stack('head_start')
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ asset('public/css/custom_loading.css?v=' . version('short')) }}" type="text/css">
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
<head>
|
<head>
|
||||||
@stack('head_start')
|
@stack('head_start')
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ asset('public/css/custom_loading.css?v=' . version('short')) }}" type="text/css">
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
<head>
|
<head>
|
||||||
@stack('head_start')
|
@stack('head_start')
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ asset('public/css/custom_loading.css?v=' . version('short')) }}" type="text/css">
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
<head>
|
<head>
|
||||||
@stack('head_start')
|
@stack('head_start')
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ asset('public/css/custom_loading.css?v=' . version('short')) }}" type="text/css">
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
<head>
|
<head>
|
||||||
@stack('head_start')
|
@stack('head_start')
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="{{ asset('public/css/custom_loading.css?v=' . version('short')) }}" type="text/css">
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
x-data="{ }"
|
x-data="{ }"
|
||||||
x-init="document.querySelector('[data-modal-handle]') ? document.querySelectorAll('[data-modal-handle]').forEach((item) => { item.classList.add('invisible') }) : null, setTimeout(() => $refs.loadingAbsoluteContent.remove(), 1000), setTimeout(() => document.querySelector('[data-modal-handle]') ? document.querySelectorAll('[data-modal-handle]').forEach((item) => { item.classList.remove('invisible') }) : null , 1010)"
|
x-init="document.querySelector('[data-modal-handle]') ? document.querySelectorAll('[data-modal-handle]').forEach((item) => { item.classList.add('invisible') }) : null, setTimeout(() => $refs.loadingAbsoluteContent.remove(), 1000), setTimeout(() => document.querySelector('[data-modal-handle]') ? document.querySelectorAll('[data-modal-handle]').forEach((item) => { item.classList.remove('invisible') }) : null , 1010)"
|
||||||
x-ref="loadingAbsoluteContent"
|
x-ref="loadingAbsoluteContent"
|
||||||
class="absolute w-full lg:flex items-start justify-center bg-body top-0 bottom-0 left-0 right-0"
|
class="absolute-modal"
|
||||||
style="z-index: 60;"
|
|
||||||
>
|
>
|
||||||
<img src="{{ asset('public/img/akaunting-loading.gif') }}" class="w-28 h-28" alt="Akaunting" />
|
<img src="{{ asset('public/img/akaunting-loading.gif') }}" alt="Akaunting" />
|
||||||
</div>
|
</div>
|
||||||
<!--data attr added because for none vue.js pages-->
|
<!--data attr added because for none vue.js pages-->
|
@ -2,9 +2,8 @@
|
|||||||
x-data="{ }"
|
x-data="{ }"
|
||||||
x-init="document.querySelector('[data-modal-handle]') ? document.querySelectorAll('[data-modal-handle]').forEach((item) => { item.classList.add('invisible') }) : null, setTimeout(() => $refs.loadingContent.remove(), 1000), setTimeout(() => document.querySelector('[data-modal-handle]') ? document.querySelectorAll('[data-modal-handle]').forEach((item) => { item.classList.remove('invisible') }) : null , 1010)"
|
x-init="document.querySelector('[data-modal-handle]') ? document.querySelectorAll('[data-modal-handle]').forEach((item) => { item.classList.add('invisible') }) : null, setTimeout(() => $refs.loadingContent.remove(), 1000), setTimeout(() => document.querySelector('[data-modal-handle]') ? document.querySelectorAll('[data-modal-handle]').forEach((item) => { item.classList.remove('invisible') }) : null , 1010)"
|
||||||
x-ref="loadingContent"
|
x-ref="loadingContent"
|
||||||
class="fixed w-full lg:w-4/5 h-screen flex items-center justify-center bg-body top-0 bottom-0 ltr:right-0 rtl:left-0 -mx-1"
|
class="content-modal"
|
||||||
style="position:fixed; z-index:60; top:0; bottom:0; background-color: #fcfcfc;"
|
|
||||||
>
|
>
|
||||||
<img src="{{ asset('public/img/akaunting-loading.gif') }}" class="w-28 h-28 lg:-mt-16" alt="Akaunting" />
|
<img src="{{ asset('public/img/akaunting-loading.gif') }}" alt="Akaunting" />
|
||||||
</div>
|
</div>
|
||||||
<!--data attr added because for none vue.js pages-->
|
<!--data attr added because for none vue.js pages-->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user