blob: 6d1bd719f1b3be1f627c0a48bf03e6cc8b295e1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
/*
This file is part of jellything (https://codeberg.org/metamuffin/jellything)
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2023 metamuffin <metamuffin.org>
*/
.jsp {
--csize: 50px;
}
.jsp .jsp-controls {
position: absolute;
bottom: 0px;
left: 0px;
width: 100%;
height: var(--csize);
background-color: #1d1d1d99;
transition: opacity 0.2s;
display: flex;
flex-direction: row;
}
.jsp .jsp-controls button {
padding: 0px;
width: var(--csize);
height: 100%;
border: none;
background-color: #ffffff10;
}
.jsp-controls p.jsp-status {
display: inline-block;
width: 6em;
text-align: right;
margin: 0px;
font-family: monospace;
margin: 0.4em;
}
.jsp-pri {
position: relative;
flex-grow: 1;
padding: 0px;
display: inline-block;
margin: 0px;
width: calc(100% - var(--csize) * 2 - 2px);
height: var(--csize);
--pribufsize: calc(var(--csize) * 0.5);
}
.jsp-pri-current {
z-index: 101;
position: absolute;
height: var(--csize);
background-color: #ffffff20;
}
.jsp-pri-buffer {
z-index: 100;
position: absolute;
height: var(--pribufsize);
}
.jsp-pri-buffer-buffered {
background-color: #08fa0018;
}
.jsp-pri-buffer-loading {
background-color: #ffd00018;
}
.jsp-overlay {
position: absolute;
bottom: var(--csize);
left: 0px;
}
.jsp-overlay .jsp-buffering {
margin: 0.2em;
font-size: larger;
color: grey;
}
.jsp-stats {
position: absolute;
background-color: rgba(0, 0, 0, 0.404);
bottom: var(--csize);
right: 0px;
padding: 1em;
}
.jsp-stats pre {
margin: 0.1em;
}
.jsp .jsh-log {
position: absolute;
bottom: var(--csize);
left: 0px;
}
.jsp .jsh-log-line {
padding: 0.15em;
margin: 0px;
font-size: large;
animation-name: appear;
animation-timing-function: linear;
animation-duration: 0.5s;
animation-fill-mode: forwards;
}
.jsp .jsh-log-line-disappear {
animation-name: disappear;
animation-timing-function: linear;
animation-duration: 0.2s;
animation-fill-mode: forwards;
}
@keyframes appear {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes disappear {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
|