aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/static/css/audio.css
blob: e007a0e11138dbd029f8fef3704254697489b8b9 (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
.audio-spectrogram {
    position: relative;
}
.playhead {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(134, 212, 177, 0.3);
    border-right: thin solid #ffaa00;
    height: 100%;
    -webkit-transition: width .1s ease-out;
    -moz-transition: width .1s ease-out;
    transition: width .1s ease-out;
}
.audio-control-play-pause {
    position: absolute;
    bottom: 0;
    left: 5px;
    cursor: pointer;
    /* background: rgba(0, 0, 0, 0.7); */
    font-size: 40px;
    width: 50px;
    text-shadow: 0 0 10px black;
}
    .audio-control-play-pause.playing {
        color: #b71500;
        letter-spacing: -17px;
        margin-left: -7px;
    }
    .audio-control-play-pause.paused {
        /* Warning: this means the the play button shows! */
        color: rgb(134, 212, 177);
    }

.buffered-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
}
    .buffered-indicators div {
        position: absolute;
        height: 2px;
        left: 0;
        background: rgba(134, 177, 212, 1);

        -webkit-transition: left 1s ease-out;
        -moz-transition: left 1s ease-out;
        transition: left 1s ease-out;

        -webkit-transition: width 1s ease-out;
        -moz-transition: width 1s ease-out;
        transition: width 1s ease-out;

        cursor: pointer;
    }

.seekbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.audio-currentTime {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
}

.audio-volume {
    position: absolute;
    left: 50px;
    bottom: 10px;
    opacity: 0.3;
    -moz-transition: opacity .1s ease-in-out;
    -webkit-transition: opacity .1s ease-in-out;
    transition: opacity .1s ease-in-out;
}
    .audio-spectrogram:hover .audio-volume {
        opacity: 0.7;
    }