mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 13:42:29 -06:00
selection box fades out over 1s
This commit is contained in:
parent
465cc2272a
commit
4048f2b1b2
|
|
@ -371,10 +371,15 @@ html.y #tth {
|
||||||
*:focus+label,
|
*:focus+label,
|
||||||
#pctl *:focus,
|
#pctl *:focus,
|
||||||
.btn:focus {
|
.btn:focus {
|
||||||
box-shadow: 0 .1em .2em #fc0 inset;
|
/* box-shadow: 0 .1em .2em #fc0 inset; */
|
||||||
outline: #fc0 solid .1em;
|
animation: outline_fadeOut 1s;
|
||||||
border-radius: .2em;
|
border-radius: .2em;
|
||||||
}
|
}
|
||||||
|
@keyframes outline_fadeOut {
|
||||||
|
0% {outline: #fc0 solid .1em;}
|
||||||
|
30% {outline: rgba(255, 204, 0, 0.755) solid .1em;}
|
||||||
|
100% {outline: transparent solid .1em;}
|
||||||
|
}
|
||||||
html.y *:focus,
|
html.y *:focus,
|
||||||
html.y *:focus+label,
|
html.y *:focus+label,
|
||||||
html.y #pctl *:focus,
|
html.y #pctl *:focus,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue