forked from harvard-lil/alter-space
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sound.scss
93 lines (82 loc) · 1.36 KB
/
sound.scss
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
.sound-to-choose {
margin: 5px 25px;
margin-right: 0.5em;
}
.btn-sound-add.btn-toggle {
border: 1px solid $color-navy;
color: $color-navy;
background-color: $color-white;
padding: 2px 7px 4px 7px;
width: 140px;
font-size: 14px;
&.on {
background-color: $color-navy;
color: $color-white;
}
}
.btn-sound-container {
-webkit-box-flex: 0;
-ms-flex: 0 0 40%;
flex: 0 0 40%;
max-width: 40%;
padding: 0 20px;
}
.sound-type-container {
border-top: 1px solid $color-navy;
}
.btn-sound-item {
&:first-child {
float: left;
}
&:last-child {
float: right;
}
svg.btn-sound-type {
&.nature, &.urban, &.abstract {
&:hover {
path {
fill: $color-navy;
}
}
}
&.nature.expanded, &.urban.expanded, &.abstract.expanded {
path {
fill: $color-navy;
}
}
}
}
.volume-range {
width: 90%;
margin-left: 10px;
height: 50px;
}
.sound-container {
display: none;
&.show {
display: inline-block;
}
}
.sound-list {
background-color: $color-white;
padding: 20px 5px 10px 5px;
text-align: center;
&.show {
display: inline-block;
}
}
.now-playing-container {
display: inline;
text-align: left;
font-size: 16px;
font-weight: 600;
ul {
max-width: 320px;
}
.soundtype-container {
display: inline-table;
}
}
audio {
display: none;
}