-
Notifications
You must be signed in to change notification settings - Fork 0
/
cast_assistant.css
74 lines (64 loc) · 1.43 KB
/
cast_assistant.css
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
.cast-assistant-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 60000;
background: black;
opacity: 1;
transition: opacity 1s ease-out;
text-align: center;
}
.cast-assistant-overlay.hidden {
opacity: 0;
z-index: -1;
transition: opacity 1s ease-out, z-index 0s linear 1s;
}
.cast-assistant-overlay__info {
position: relative;
top: 50%;
left: 0;
width: 80%;
height: 200px;
margin: -100px auto 0;
color: white;
}
.not-playing .cast-assistant-overlay__info {
display: none;
}
.cast-assistant-overlay__artist {
font: normal 24px/30px 'Helvetica Neue', Helvetica, sans-serif;
color: #999;
margin-bottom: 10px;
}
.cast-assistant-overlay__title {
font: 100 60px/60px 'Helvetica Neue', Helvetica, sans-serif;
}
.cast-assistant-overlay__progress {
position: relative;
background: #222;
margin-top: 4em;
height: 4px;
width: 100%;
}
.cast-assistant-overlay.soundcloud .cast-assistant-overlay__progress { display: none; }
.cast-assistant-overlay__progress-fill {
content: '';
position: absolute;
left: 0;
top: 0;
width: 0%;
height: 100%;
background: white;
/*box-shadow: white 0 0 32px 4px;*/
transition: width 1s linear;
}
.cast-assistant-overlay__progress-info {
position: absolute;
top: 12px;
font: bold 16px/16px 'Helvetica Neue', Helvetica, sans-serif;
color: white;
}
.cast-assistant-overlay__progress-start { left: 0; }
.cast-assistant-overlay__progress-end { right: 0; color: #444; }