aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/style/js-player.css
blob: 303ed96e291c20e9d58a65770660bcd0b2fb3c84 (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
/*
    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>
*/

.js-player {
    --csize: 50px;
}

.js-player .controls {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: var(--csize);
    background-color: #1d1d1d99;
    transition: opacity 0.2s;
}

.js-player .controls button {
    padding: 0px;
    width: var(--csize);
    height: 100%;
    border: none;
    background-color: #ffffff10;
}

.pri {
    padding: 0px;
    display: inline-block;
    margin: 0px;
    width: calc(100% - var(--csize) * 2 - 2px);
    height: var(--csize);
}
.pri-current {
    height: var(--csize);
    background-color: #ffffff20;
}