mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 04:32:26 -06:00
reduce pfp border opacity
This commit is contained in:
parent
89ce0578b8
commit
46457fca85
|
|
@ -21,6 +21,7 @@
|
|||
--fg-weak: color-mix(var(--fg-max) 70%, var(--bg-max) 30%);
|
||||
|
||||
--bg: color-mix(var(--bg-max) 85%, var(--fg-max) 15%);
|
||||
--bg-half: color-mix(var(--bg) 50%, transparent 50%);
|
||||
--bg-u1: color-mix(var(--bg-max) 80%, var(--fg-max) 20%);
|
||||
--bg-u2: color-mix(var(--bg-max) 75%, var(--fg-max) 25%);
|
||||
--bg-u3: color-mix(var(--bg-max) 70%, var(--fg-max) 30%);
|
||||
|
|
@ -1567,7 +1568,10 @@ html.y #ops svg circle {
|
|||
border-radius: .3em;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
text-shadow: 1px 1px 0 var(--bg), 1px -1px 0 var(--bg), -1px -1px 0 var(--bg), -1px 1px 0 var(--bg);
|
||||
text-shadow: none;
|
||||
}
|
||||
#acc_pfp.placeholder {
|
||||
text-shadow: 1px 1px 0 var(--bg-half), 1px -1px 0 var(--bg-half), -1px -1px 0 var(--bg-half), -1px 1px 0 var(--bg-half);
|
||||
}
|
||||
.opbox {
|
||||
padding: .5em;
|
||||
|
|
|
|||
|
|
@ -8465,6 +8465,7 @@ function apply_perms(res) {
|
|||
ebi('acc_pfp').innerHTML = '👤';
|
||||
ebi('acc_button').onclick = goHome;
|
||||
}
|
||||
clmod(ebi('acc_pfp'), 'placeholder', acct == '*');
|
||||
|
||||
var o = QSA('#ops>a[data-perm]');
|
||||
for (var a = 0; a < o.length; a++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue