diff --git a/src/assets/scss/_global.scss b/src/assets/scss/_global.scss index 2e485a5..c55b6cb 100644 --- a/src/assets/scss/_global.scss +++ b/src/assets/scss/_global.scss @@ -70,6 +70,15 @@ hr { border-color: rgba($white, .2); } +.fs-icon { + width: 50px; + height: 50px; + &.icon-sm { + width: 20px; + height: 20px; + } +} + .btn { display: inline-block; padding: 13px 33px; @@ -119,11 +128,28 @@ hr { } } -.fs-icon { - width: 50px; - height: 50px; - &.icon-sm { - width: 20px; - height: 20px; +.bg-image { + position: relative; + &:after { + display: block; + content: ""; + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 100%; + background-size: cover; + background-attachment: fixed; + z-index: -1; + opacity: 33%; + pointer-events: none; + } + &.bg-fade-in { + &:after { + width: 120vw; + opacity: 0; + animation: fadeInBg 2s ease-out 0s 1 forwards, + paneBgAround 35s ease-in-out 0s infinite forwards; + } } } \ No newline at end of file diff --git a/src/components/NestLoader.vue b/src/components/NestLoader.vue new file mode 100644 index 0000000..db8f133 --- /dev/null +++ b/src/components/NestLoader.vue @@ -0,0 +1,84 @@ + + + + + diff --git a/src/components/celestials/CelestialsList.vue b/src/components/celestials/CelestialsList.vue index 29cbf1c..224ef4c 100644 --- a/src/components/celestials/CelestialsList.vue +++ b/src/components/celestials/CelestialsList.vue @@ -16,11 +16,6 @@ + + diff --git a/src/views/celestials/Celestials.vue b/src/views/celestials/Celestials.vue index 0986c08..dd50182 100644 --- a/src/views/celestials/Celestials.vue +++ b/src/views/celestials/Celestials.vue @@ -1,22 +1,71 @@ @@ -28,19 +77,7 @@ export default defineComponent({ padding: 25px 5%; &:after { - display: block; - content: ""; - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 100%; background-image: url("/celestials_bg-min.jpg"); - background-size: cover; - background-attachment: fixed; - z-index: -1; - opacity: 33%; - pointer-events: none; } }