mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
ux: login margin; theme2: yellow buttons
the red buttons from protonmail's monokai theme look better, but they're confusing because intuitively red means off
This commit is contained in:
parent
b0af4b3712
commit
5153db6bff
4 changed files with 68 additions and 68 deletions
|
@ -141,6 +141,9 @@ find -maxdepth 1 -printf '%s %p\n' | sort -n | awk '!/-([0-9a-zA-Z_-]{11})\.(mkv
|
|||
# unique stacks in a stackdump
|
||||
f=a; rm -rf stacks; mkdir stacks; grep -E '^#' $f | while IFS= read -r n; do awk -v n="$n" '!$0{o=0} o; $0==n{o=1}' <$f >stacks/f; h=$(sha1sum <stacks/f | cut -c-16); mv stacks/f stacks/$h-"$n"; done ; find stacks/ | sort | uniq -cw24
|
||||
|
||||
# find unused css variables
|
||||
cat browser.css | sed -r 's/(var\()/\n\1/g' | awk '{sub(/:/," ")} $1~/^--/{d[$1]=1} /var\(/{sub(/.*var\(/,"");sub(/\).*/,"");u[$1]=1} END{for (x in u) delete d[x]; for (x in d) print x}' | tr '\n' '|'
|
||||
|
||||
|
||||
##
|
||||
## sqlite3 stuff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue