Theming changes
This commit is contained in:
@@ -311,7 +311,12 @@ const keyboard_event = evt => {
|
||||
if (evt.ctrlKey || evt.altKey || evt.metaKey) {
|
||||
return // prevent custom shortcuts from interfering with system shortcuts
|
||||
}
|
||||
if (document.activeElement.type && document.activeElement.type === "text") {
|
||||
if (
|
||||
document.activeElement.type && (
|
||||
document.activeElement.type === "text" ||
|
||||
document.activeElement.type === "textarea"
|
||||
)
|
||||
) {
|
||||
return // Prevent shortcuts from interfering with input fields
|
||||
}
|
||||
|
||||
@@ -685,8 +690,8 @@ const keyboard_event = evt => {
|
||||
}
|
||||
.file_preview {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
left: 4px;
|
||||
right: 4px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
display: block;
|
||||
|
@@ -65,7 +65,7 @@ onMount(() => {
|
||||
|
||||
<p>
|
||||
<strong>
|
||||
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427&cadence=12">
|
||||
<a href="https://www.patreon.com/join/pixeldrain" target="_blank" class="button button_highlight">
|
||||
<i class="icon">bolt</i> Support Pixeldrain on Patreon
|
||||
</a>
|
||||
to disable the transfer limit
|
||||
|
@@ -89,7 +89,7 @@ onMount(async () => {
|
||||
<button on:click={() => {dispatch("download")}}>
|
||||
<i class="icon">download</i> Download
|
||||
</button>
|
||||
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427&cadence=12" target="_blank" class="button button_highlight">
|
||||
<a href="https://www.patreon.com/join/pixeldrain" target="_blank" class="button button_highlight">
|
||||
<i class="icon">bolt</i> Support Pixeldrain on Patreon
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -55,7 +55,7 @@ onMount(async () => {
|
||||
{formatDuration((file.size/file.download_speed_limit)*1000)}
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427&cadence=12" target="_blank" class="button button_highlight">
|
||||
<a href="https://www.patreon.com/join/pixeldrain" target="_blank" class="button button_highlight">
|
||||
<i class="icon">bolt</i> Support Pixeldrain on Patreon
|
||||
</a>
|
||||
and earn my eternal gratitude
|
||||
|
@@ -156,15 +156,15 @@ const fullscreen = () => {
|
||||
still download the video and watch it locally on your computer without
|
||||
an account.
|
||||
<br/>
|
||||
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5291427&cadence=12" target="_blank" class="button button_highlight">
|
||||
<i class="icon">bolt</i> Get Pixeldrain Pro
|
||||
</a>
|
||||
<button on:click={download}>
|
||||
<i class="icon">download</i> Download
|
||||
</button>
|
||||
<a href="/register" class="button">
|
||||
<i class="icon">how_to_reg</i> Sign up
|
||||
</a>
|
||||
<a href="https://www.patreon.com/join/pixeldrain" target="_blank" class="button button_highlight">
|
||||
<i class="icon">bolt</i> Get Pixeldrain Pro
|
||||
</a>
|
||||
</TextBlock>
|
||||
|
||||
<br/><br/>
|
||||
|
@@ -53,7 +53,7 @@ onMount(() => {
|
||||
Data transfer limit
|
||||
</div>
|
||||
<div class="feat_normal">
|
||||
5 GB data transfer per 24 hours. When this threshold is reached
|
||||
10 GB data transfer per 24 hours. When this threshold is reached
|
||||
your download speed will be reduced
|
||||
</div>
|
||||
<div class="feat_pro">
|
||||
|
@@ -264,9 +264,9 @@ onDestroy(() => {
|
||||
{/if}
|
||||
|
||||
{#if transfer_cap === -1}
|
||||
Paid transfers in the last 30 days: {formatDataVolume(transfer_used, 3)}<br/>
|
||||
Premium transfers in the last 30 days: {formatDataVolume(transfer_used, 3)}<br/>
|
||||
{:else}
|
||||
Paid transfers:
|
||||
Premium transfers:
|
||||
{formatDataVolume(transfer_used, 3)}
|
||||
out of
|
||||
{formatDataVolume(transfer_cap, 3)}
|
||||
|
Reference in New Issue
Block a user