mirror of
https://github.com/9001/copyparty.git
synced 2025-08-16 16:42:13 -06:00
ux tweaks + devdocs
This commit is contained in:
parent
6a96c62fde
commit
c7d950dd5e
|
@ -44,6 +44,11 @@ a.r {
|
|||
color: #c04;
|
||||
border-color: #c7a;
|
||||
}
|
||||
a.g {
|
||||
color: #2b0;
|
||||
border-color: #3a0;
|
||||
box-shadow: 0 .3em 1em #4c0;
|
||||
}
|
||||
#repl {
|
||||
border: none;
|
||||
background: none;
|
||||
|
@ -106,9 +111,6 @@ html.z code {
|
|||
color: #9e0;
|
||||
background: rgba(0,16,0,0.2);
|
||||
}
|
||||
.ossel a.r {
|
||||
box-shadow: 0 .3em 1em #c04;
|
||||
}
|
||||
.os {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
@ -147,8 +149,10 @@ html.z a.r {
|
|||
background: #804;
|
||||
border-color: #c28;
|
||||
}
|
||||
html.z .ossel a.r {
|
||||
box-shadow: 0 .3em 1em #704, 0 .3em 1em #704;
|
||||
html.z a.g {
|
||||
background: #470;
|
||||
border-color: #af4;
|
||||
box-shadow: 0 .3em 1em #7d0;
|
||||
}
|
||||
html.z input {
|
||||
color: #fff;
|
||||
|
|
|
@ -28,7 +28,7 @@ function setos(os) {
|
|||
|
||||
oa = QSA('.ossel a');
|
||||
for (var a = 0; a < oa.length; a++)
|
||||
clmod(oa[a], 'r', oa[a].id.slice(1) == os);
|
||||
clmod(oa[a], 'g', oa[a].id.slice(1) == os);
|
||||
}
|
||||
|
||||
setos(WINDOWS ? 'win' : LINUX ? 'lin' : MACOS ? 'mac' : '');
|
||||
|
|
|
@ -95,6 +95,7 @@ python3 -m venv .venv
|
|||
pip install jinja2 strip_hints # MANDATORY
|
||||
pip install mutagen # audio metadata
|
||||
pip install pyftpdlib # ftp server
|
||||
pip install impacket # smb server -- disable Windows Defender if you REALLY need this on windows
|
||||
pip install Pillow pyheif-pillow-opener pillow-avif-plugin # thumbnails
|
||||
pip install black==21.12b0 click==8.0.2 bandit pylint flake8 isort mypy # vscode tooling
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue