Merge remote-tracking branch 'gsoc2016/Subtitle-1'
[mediagoblin.git] / mediagoblin / static / css / audio.css
CommitLineData
a9d84d4c
JW
1.audio-spectrogram {
2 position: relative;
3}
03ff0b36 4.audio-spectrogram > img {
5 width: 100%;
6}
a9d84d4c
JW
7.playhead {
8 position: absolute;
9 top: 0;
10 left: 0;
11 background: rgba(134, 212, 177, 0.3);
12 border-right: thin solid #ffaa00;
13 height: 100%;
14 -webkit-transition: width .1s ease-out;
15 -moz-transition: width .1s ease-out;
97e40b52 16 transition: width .1s ease-out;
a9d84d4c
JW
17}
18.audio-control-play-pause {
19 position: absolute;
20 bottom: 0;
21 left: 5px;
22 cursor: pointer;
23 /* background: rgba(0, 0, 0, 0.7); */
24 font-size: 40px;
25 width: 50px;
26 text-shadow: 0 0 10px black;
697e6c5c
BB
27 background: none;
28 border: none;
a9d84d4c
JW
29}
30 .audio-control-play-pause.playing {
31 color: #b71500;
97e40b52 32 margin-left: -7px;
a9d84d4c
JW
33 }
34 .audio-control-play-pause.paused {
97e40b52 35 /* Warning: this means the the play button shows! */
a9d84d4c
JW
36 color: rgb(134, 212, 177);
37 }
97e40b52
JW
38
39.buffered-indicators {
a9d84d4c
JW
40 position: absolute;
41 bottom: 0;
42 left: 0;
43 height: 2px;
a9d84d4c 44}
97e40b52
JW
45 .buffered-indicators div {
46 position: absolute;
47 height: 2px;
48 left: 0;
49 background: rgba(134, 177, 212, 1);
50
51 -webkit-transition: left 1s ease-out;
52 -moz-transition: left 1s ease-out;
53 transition: left 1s ease-out;
54
55 -webkit-transition: width 1s ease-out;
56 -moz-transition: width 1s ease-out;
57 transition: width 1s ease-out;
58
59 cursor: pointer;
60 }
61
a9d84d4c
JW
62.seekbar {
63 position: absolute;
64 top: 0;
65 left: 0;
66 width: 100%;
67 height: 100%;
68}
97e40b52 69
a9d84d4c
JW
70.audio-currentTime {
71 position: absolute;
72 bottom: 0;
73 right: 0;
74 background: rgba(0, 0, 0, 0.7);
75}
97e40b52
JW
76
77.audio-volume {
78 position: absolute;
79 left: 50px;
80 bottom: 10px;
81 opacity: 0.3;
82 -moz-transition: opacity .1s ease-in-out;
83 -webkit-transition: opacity .1s ease-in-out;
84 transition: opacity .1s ease-in-out;
85}
86 .audio-spectrogram:hover .audio-volume {
196a5181 87 opacity: 0.7;
97e40b52 88 }