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