-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.scss
116 lines (111 loc) · 2.07 KB
/
app.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.sequencer {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
.kick-track,
.snare-track,
.hihat-track {
margin: 20px;
display: flex;
align-items: center;
justify-content: space-between;
width: 70%;
.controls {
justify-content: space-between;
display: flex;
align-items: center;
flex: 1;
margin: 0 20px;
.name-track {
font-family: sans-serif;
}
.mute {
background-color: gray;
color: white;
width: 2rem;
height: 2rem;
border: none;
cursor: pointer;
transition: all 0.5s ease;
&.active {
background-color: rgb(173, 173, 173);
}
span {
pointer-events: none;
}
}
select {
padding: 5px;
}
}
}
.kick,
.hihat,
.snare {
display: flex;
.pad {
width: 3rem;
height: 3rem;
margin: 5px;
cursor: pointer;
transition: all 0.5s ease;
&.kick-pad {
background-color: paleturquoise;
}
&.snare-pad {
background-color: rgb(175, 238, 189);
}
&.hihat-pad {
background-color: rgb(176, 175, 238);
}
&.kick-pad.active {
background-color: rgb(80, 214, 214);
}
&.snare-pad.active {
background-color: rgb(69, 212, 100);
}
&.hihat-pad.active {
background-color: rgb(76, 74, 211);
}
}
}
.play {
background-color: gray;
color: white;
padding: 10px 20px;
border: none;
margin-top: 20px;
}
.tempo {
margin: 30px;
.tempo-slider {
padding: 10px;
margin: 10px 0;
width: 100%;
position: relative;
background-color: gray;
cursor: pointer;
border-radius: 10px;
}
p {
font-size: 20px;
margin: 20px;
text-align: center;
}
}
}
@keyframes playTrack {
from {
transform: scale(1);
}
to {
transform: scale(1.2);
}
}