summaryrefslogtreecommitdiff
path: root/css/player.css
blob: 08da44f7b69e608f78b44db4a7f7323ae734a166 (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
#player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .175);
    background-color: rgba(0, 0, 0, .02);
    transition: background-color 200ms;
}

#player:hover {
    background-color: rgba(0, 0, 0, .03);
}

#player-inner {
    text-align: center;
    height: 100%;
}

#player-buttons, #player-info, #player-seekbar-area {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    vertical-align: middle;
}

.player-button {
    display: inline-block;
    padding: 5px;
    width: 24px;
    height: 24px;
}

.player-button:hover .player-button-icon {
    opacity: .75;
}

.player-button:active .player-button-icon {
    opacity: .5;
}

#player-artwork {
    width: 42px;
    height: 42px;
    margin-right: 8px;
    background: rgb(208, 208, 208);
}

#player-info-text {
    font-size: 14px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

#player-info-text-title {
    font-weight: 600;
}

#player-info-text-title, #player-info-text-set, #player-info-text {
    text-overflow: ellipsis;
    width: 256px;
    overflow: hidden;
}

#player-button-load-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
}

#player-seekbar {
    width: 35vw;
    margin: 0 10px;
}

#player-seekbar-elapsed, #player-seekbar-total {
    font-size: 12px;
    display: inline-block;
    width: 48px;
}

#player-seekbar-total {
    margin-right: 5px;
}

.player-button-disabled .player-button-icon {
    opacity: .25 !important;
}