Fixed that horrendous "please wait" blocker... Also updated favicon
This commit is contained in:
parent
486064cef3
commit
267e8b6151
4
tubio-frontend-nuxt-app/assets/css/modular.css
Normal file
4
tubio-frontend-nuxt-app/assets/css/modular.css
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.inherit-all {
|
||||||
|
all: inherit;
|
||||||
|
}
|
||||||
|
|
@ -1,12 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="click-blocker flex justify-center md:items-center">
|
<div class="click-blocker flex justify-center md:items-center">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<h2 class="mt-2">Please wait...</h2>
|
|
||||||
|
<div class="w-full h-full flex flex-col justify-center items-center">
|
||||||
<div class="dots flex w-full justify-center items-center">
|
<h2 class="loading-text">Just a second...</h2>
|
||||||
<div class="dot" />
|
<div class="dots flex w-full justify-center items-center mt-24">
|
||||||
<div class="dot" />
|
<div class="dot" />
|
||||||
<div class="dot" />
|
<div class="dot" />
|
||||||
|
<div class="dot" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -30,15 +32,10 @@ export default {
|
|||||||
|
|
||||||
.box {
|
.box {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 200px;
|
top: 0;
|
||||||
bottom: 200px;
|
left: 0;
|
||||||
left: 200px;
|
right: 0;
|
||||||
right: 200px;
|
height: 60%;
|
||||||
max-height: 70vh;
|
|
||||||
background-color: #586679;
|
|
||||||
opacity: 0.95;
|
|
||||||
border-radius: 5px;
|
|
||||||
border: 2px solid theme("colors.gray-1");
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
@media (max-width: theme('screens.xl')) {
|
@media (max-width: theme('screens.xl')) {
|
||||||
@ -69,8 +66,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
& .dots {
|
& .dots {
|
||||||
margin-top: 250px;
|
|
||||||
|
|
||||||
@media (max-width: theme('screens.md')) {
|
@media (max-width: theme('screens.md')) {
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
@ -99,15 +94,15 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: theme('screens.md')) {
|
@media (max-width: theme('screens.md')) {
|
||||||
width: 10px;
|
width: 30px;
|
||||||
height: 10px;
|
height: 30px;
|
||||||
|
|
||||||
&:not(:first-child) {
|
&:not(:first-child) {
|
||||||
margin-left: 5px;
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(:last-child) {
|
&:not(:last-child) {
|
||||||
margin-right: 5px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -124,6 +119,14 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& .loading-text {
|
||||||
|
font-size: 36pt;
|
||||||
|
|
||||||
|
@media (max-width: theme('screens.md')) {
|
||||||
|
font-size: 24pt;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes dot-hover {
|
@keyframes dot-hover {
|
||||||
|
@ -33,6 +33,7 @@ export default {
|
|||||||
css: [
|
css: [
|
||||||
"~/assets/css/reset.css",
|
"~/assets/css/reset.css",
|
||||||
"~/assets/css/main.css",
|
"~/assets/css/main.css",
|
||||||
|
"~/assets/css/modular.css",
|
||||||
"~/assets/css/fonts/zilla-slab.css"
|
"~/assets/css/fonts/zilla-slab.css"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -1,41 +1,42 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
|
<span class="inherit-all" v-if="!isWaitingForResponse">
|
||||||
|
<div class="hidden md:block">
|
||||||
|
<Spacer height="0" m_height="1em" />
|
||||||
|
<Logo class="logo mt-4" />
|
||||||
|
<Spacer height="2em" m_height="2em" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flex flex-row flex-wrap md:flex-no-wrap input-flex justify-between md:justify-center">
|
||||||
|
<input class="flex-grow md:mr-4 mb-2 md:mb-0 w-full"
|
||||||
|
type="url"
|
||||||
|
name="video_url"
|
||||||
|
id="video_url"
|
||||||
|
ref="video_url"
|
||||||
|
placeholder="video-url"
|
||||||
|
v-on:keydown="keyMonitor"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<div class="w-full md:hidden" />
|
||||||
|
|
||||||
|
<div class="flex-shrink button-submit flex-grow-0">
|
||||||
|
<select name="mode" id="mode" ref="mode" class="dropdown">
|
||||||
|
<option value="video">Video</option>
|
||||||
|
<option value="audio">Audio</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="button flex-shrink button-submit flex-grow-0 ml-3" v-on:click="downloadButtonClicked">
|
||||||
|
<IconArrowRightSquare class="icon-button" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="hidden md:block">
|
|
||||||
<Spacer height="0" m_height="1em" />
|
|
||||||
<Logo class="logo mt-4" />
|
|
||||||
<Spacer height="2em" m_height="2em" />
|
<Spacer height="2em" m_height="2em" />
|
||||||
</div>
|
<DownloadBox />
|
||||||
|
</span>
|
||||||
<div class="flex flex-row flex-wrap md:flex-no-wrap input-flex justify-between md:justify-center">
|
<PleaseWaitBlocker v-else />
|
||||||
<input class="flex-grow md:mr-4 mb-2 md:mb-0 w-full"
|
|
||||||
type="url"
|
|
||||||
name="video_url"
|
|
||||||
id="video_url"
|
|
||||||
ref="video_url"
|
|
||||||
placeholder="video-url"
|
|
||||||
v-on:keydown="keyMonitor"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<div class="w-full md:hidden" />
|
|
||||||
|
|
||||||
<div class="flex-shrink button-submit flex-grow-0">
|
|
||||||
<select name="mode" id="mode" ref="mode" class="dropdown">
|
|
||||||
<option value="video">Video</option>
|
|
||||||
<option value="audio">Audio</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="button flex-shrink button-submit flex-grow-0 ml-3" v-on:click="downloadButtonClicked">
|
|
||||||
<IconArrowRightSquare class="icon-button" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<Spacer height="2em" m_height="2em" />
|
|
||||||
<DownloadBox />
|
|
||||||
|
|
||||||
<PleaseWaitBlocker v-if="isWaitingForResponse" />
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user