mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-22 07:04:53 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56eb29c91b | ||
|
|
6e4bda0adf | ||
|
|
0baced640a | ||
|
|
3c2e73fc0c |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "pairdrop",
|
"name": "pairdrop",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "pairdrop",
|
"name": "pairdrop",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pairdrop",
|
"name": "pairdrop",
|
||||||
"version": "1.7.1",
|
"version": "1.7.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -224,7 +224,7 @@
|
|||||||
<div class="row-separator"></div>
|
<div class="row-separator"></div>
|
||||||
<div id="text-input" title="Message" class="textarea" role="textbox" autocapitalize="none" spellcheck="false" autofocus contenteditable></div>
|
<div id="text-input" title="Message" class="textarea" role="textbox" autocapitalize="none" spellcheck="false" autofocus contenteditable></div>
|
||||||
<div class="center row-reverse">
|
<div class="center row-reverse">
|
||||||
<button class="button" type="submit" title="STR + ENTER" disabled close>Send</button>
|
<button class="button" type="submit" title="CTRL/⌘ + ENTER" disabled>Send</button>
|
||||||
<button class="button" type="button" title="ESCAPE" close>Cancel</button>
|
<button class="button" type="button" title="ESCAPE" close>Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</x-paper>
|
</x-paper>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const cacheVersion = 'v1.7.1';
|
const cacheVersion = 'v1.7.2';
|
||||||
const cacheTitle = `pairdrop-cache-${cacheVersion}`;
|
const cacheTitle = `pairdrop-cache-${cacheVersion}`;
|
||||||
const urlsToCache = [
|
const urlsToCache = [
|
||||||
'index.html',
|
'index.html',
|
||||||
|
|||||||
@@ -1144,8 +1144,12 @@ button::-moz-focus-inner {
|
|||||||
|
|
||||||
#about x-background {
|
#about x-background {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 500px;
|
--size: max(max(230vw, 230vh), calc(150vh + 150vw));
|
||||||
height: 500px;
|
--size-half: calc(var(--size)/2);
|
||||||
|
top: calc(28px - var(--size-half));
|
||||||
|
right: calc(36px - var(--size-half));
|
||||||
|
width: var(--size);
|
||||||
|
height: var(--size);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: var(--primary-color);
|
background: var(--primary-color);
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
@@ -1159,7 +1163,7 @@ button::-moz-focus-inner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#about:target x-background {
|
#about:target x-background {
|
||||||
transform: scale(10);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#about .row a {
|
#about .row a {
|
||||||
@@ -1282,7 +1286,7 @@ x-peers:empty~x-instructions {
|
|||||||
@media (hover: none) and (pointer: coarse) {
|
@media (hover: none) and (pointer: coarse) {
|
||||||
x-peer {
|
x-peer {
|
||||||
transform: scale(0.95);
|
transform: scale(0.95);
|
||||||
padding: 4px 0;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -227,7 +227,7 @@
|
|||||||
<div class="row-separator"></div>
|
<div class="row-separator"></div>
|
||||||
<div id="text-input" title="Message" class="textarea" role="textbox" autocapitalize="none" spellcheck="false" autofocus contenteditable></div>
|
<div id="text-input" title="Message" class="textarea" role="textbox" autocapitalize="none" spellcheck="false" autofocus contenteditable></div>
|
||||||
<div class="center row-reverse">
|
<div class="center row-reverse">
|
||||||
<button class="button" type="submit" title="STR + ENTER" disabled close>Send</button>
|
<button class="button" type="submit" title="CTRL/⌘ + ENTER" disabled>Send</button>
|
||||||
<button class="button" type="button" title="ESCAPE" close>Cancel</button>
|
<button class="button" type="button" title="ESCAPE" close>Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</x-paper>
|
</x-paper>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const cacheVersion = 'v1.7.1';
|
const cacheVersion = 'v1.7.2';
|
||||||
const cacheTitle = `pairdrop-included-ws-fallback-cache-${cacheVersion}`;
|
const cacheTitle = `pairdrop-included-ws-fallback-cache-${cacheVersion}`;
|
||||||
const urlsToCache = [
|
const urlsToCache = [
|
||||||
'index.html',
|
'index.html',
|
||||||
|
|||||||
@@ -1170,8 +1170,12 @@ button::-moz-focus-inner {
|
|||||||
|
|
||||||
#about x-background {
|
#about x-background {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 500px;
|
--size: max(max(230vw, 230vh), calc(150vh + 150vw));
|
||||||
height: 500px;
|
--size-half: calc(var(--size)/2);
|
||||||
|
top: calc(28px - var(--size-half));
|
||||||
|
right: calc(36px - var(--size-half));
|
||||||
|
width: var(--size);
|
||||||
|
height: var(--size);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: var(--primary-color);
|
background: var(--primary-color);
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
@@ -1185,7 +1189,7 @@ button::-moz-focus-inner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#about:target x-background {
|
#about:target x-background {
|
||||||
transform: scale(10);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#about .row a {
|
#about .row a {
|
||||||
@@ -1308,7 +1312,7 @@ x-peers:empty~x-instructions {
|
|||||||
@media (hover: none) and (pointer: coarse) {
|
@media (hover: none) and (pointer: coarse) {
|
||||||
x-peer {
|
x-peer {
|
||||||
transform: scale(0.95);
|
transform: scale(0.95);
|
||||||
padding: 4px 0;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user