mirror of
https://github.com/ivabus/www
synced 2025-06-08 10:20:26 +03:00
Styling for preloader on bottles page
This commit is contained in:
parent
4c096732e8
commit
ad4f39269a
3 changed files with 36 additions and 1 deletions
|
@ -13,7 +13,7 @@ function Bottles() {
|
||||||
|
|
||||||
if (isLoading) return (
|
if (isLoading) return (
|
||||||
<div id="bottle-preloader" className="flex">
|
<div id="bottle-preloader" className="flex">
|
||||||
<div id="bottle-status" className="justify-content-center mx-auto">
|
<div id="bottle-status" className="my-auto">
|
||||||
<i className="icon-tea-logo-iconasset-1 grid-gray tea-icon lead mb-0"></i>
|
<i className="icon-tea-logo-iconasset-1 grid-gray tea-icon lead mb-0"></i>
|
||||||
<div id="bottle-loading-text"><p className="grid-gray">steeping...</p></div>
|
<div id="bottle-loading-text"><p className="grid-gray">steeping...</p></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,6 +40,36 @@
|
||||||
.expand{
|
.expand{
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.tea-icon{
|
||||||
|
display:block;
|
||||||
|
text-align:center;
|
||||||
|
animation: pulse 1s infinite;
|
||||||
|
}
|
||||||
|
@keyframes pulse {
|
||||||
|
0% { opacity: 1; }
|
||||||
|
50% { opacity: 0.5; }
|
||||||
|
100% { opacity: 1; }
|
||||||
|
}
|
||||||
|
#bottle-preloader {
|
||||||
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
|
background: #1a1a1a;
|
||||||
|
|
||||||
|
}
|
||||||
|
#bottle-status {
|
||||||
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
background-position: center;
|
||||||
|
margin: -100px 0 0 -100px;
|
||||||
|
}
|
||||||
|
#bottle-loading-text {
|
||||||
|
font-size: 20px;
|
||||||
|
text-align: center;
|
||||||
|
animation: pulse 1s infinite !important;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 576px) {
|
@media screen and (max-width: 576px) {
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,11 @@
|
||||||
#bottle-status {
|
#bottle-status {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
background-position: center;
|
||||||
|
margin: -100px 0 0 -100px;
|
||||||
}
|
}
|
||||||
#bottle-loading-text {
|
#bottle-loading-text {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
|
Loading…
Reference in a new issue