-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (119 loc) · 1.85 KB
/
style.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
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
117
118
119
120
121
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: sans-serif;
}
i,
svg {
pointer-events: none;
}
.kick-pad,
.snare-pad,
.hihat-pad {
width: 5rem;
height: 5rem;
margin: 1rem 0.5rem;
cursor: pointer;
}
.kick-pad {
background: rgba(93, 219, 238);
}
.kick-pad.activate {
background: rgb(9, 100, 149);
}
.snare-pad {
background: rgb(223, 93, 238);
}
.snare-pad.activate {
background: rgb(124, 5, 137);
}
.hihat-pad {
background: rgb(238, 175, 93);
}
.hihat-pad.activate {
background: rgb(255, 145, 0);
}
.sequencer {
display: flex;
min-height: 100vh;
flex-direction: column;
align-items: center;
justify-content: center;
margin-right: 1rem;
}
.kick-track,
.hihat-track,
.snare-track {
display: flex;
align-items: center;
width: 100%;
justify-content: space-between;
margin-top: 1rem;
}
.kick,
.snare,
.hihat {
display: flex;
}
.controls {
display: flex;
justify-content: space-between;
align-items: center;
flex: 1;
margin: 0rem 2rem;
}
.controls button {
background: rgb(68, 68, 68);
border: none;
padding: 1rem;
color: white;
cursor: pointer;
transition: all 0.5s ease-in-out;
}
.pad {
transition: all 0.5s ease-in-out;
}
.play {
border: none;
background: rgb(68, 68, 68);
color: white;
padding: 1rem 2rem;
cursor: pointer;
margin-top: 5rem;
font-size: 1.5rem;
border-start-end-radius: 10rem;
border-end-end-radius: 10rem;
}
select {
padding: 1rem;
font-size: 1rem;
}
.mute.activate {
background: gray;
}
.tempo {
margin: 3rem;
width: 30%;
text-align: center;
}
.tempo-slider {
padding: 0.25rem;
-webkit-appearance: none;
margin: 1rem 0rem;
width: 100%;
position: relative;
background: rgb(88, 88, 88);
cursor: pointer;
border-radius: 1rem;
}
@keyframes playTrack {
from {
transform: scale(1);
}
to {
transform: scale(1.2);
}
}