mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 12:42:51 -06:00
compact and mobile media controls
This commit is contained in:
parent
8a00e50ce4
commit
9c46193a9f
|
|
@ -1180,7 +1180,6 @@ html.y #widget.open {
|
|||
#wtgrid, #wtgrid2,
|
||||
#wtico {
|
||||
position: relative;
|
||||
font-size: .9em;
|
||||
top: -.04em;
|
||||
}
|
||||
#wtgrid, #wtgrid2 {
|
||||
|
|
@ -1418,23 +1417,14 @@ html.y #widget.open {
|
|||
height: 1.3em;
|
||||
margin-right: .3em;
|
||||
}
|
||||
#widget.cmp {
|
||||
height: 1.6em;
|
||||
bottom: -1.6em;
|
||||
}
|
||||
#widget.cmp.open {
|
||||
bottom: 0;
|
||||
}
|
||||
#widget.cmp #wtoggle {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
#widget.cmp #fshr {
|
||||
display: none;
|
||||
}
|
||||
#widget.cmp #pctl .icon {
|
||||
top: 0;
|
||||
left: 0;
|
||||
font-size: .75em;
|
||||
#widget.cmp {
|
||||
font-size: 1em;
|
||||
}
|
||||
#widget.cmp #barpos,
|
||||
#widget.cmp #barbuf {
|
||||
|
|
@ -3445,6 +3435,9 @@ html.d #treepar {
|
|||
#widget, #wrap {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
#widget {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
#pathBar {
|
||||
display: block;
|
||||
}
|
||||
|
|
@ -3470,6 +3463,9 @@ html.d #treepar {
|
|||
#s_divider {
|
||||
display: none;
|
||||
}
|
||||
#pctl {
|
||||
padding: .2em .5em .5em .5em;
|
||||
}
|
||||
}
|
||||
@media (max-width: 32em) {
|
||||
#u2conf {
|
||||
|
|
|
|||
|
|
@ -2451,7 +2451,7 @@ var pbar = (function () {
|
|||
var m1 = pctx.measureText(t1),
|
||||
m1b = pctx.measureText(t1 + ":88"),
|
||||
m2 = pctx.measureText(t2),
|
||||
yt = pc.h * 0.65,
|
||||
yt = pc.h * 0.7,
|
||||
xt1 = pc.w - (m1.width + 12),
|
||||
xt2 = x < m1.width * 1.4 ? (x + 12) : (Math.min(pc.w - m1b.width, x - 12) - m2.width);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue