-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
93 lines (83 loc) · 1.47 KB
/
index.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
body {
text-align: center;
font-family: sans-serif;
}
.top-controls {
padding: 0.2em;
background-color: #f7f7f7;
}
.control, .control-base {
background-color: #DDD;
padding: 0 0.2em;
margin: 4px;
border-radius: 10px;
}
.control {
display: inline-block;
&.button {
font-size: 300%;
width: 1em;
height: 1.2em;
}
&.value {
padding: 0.3em;
text-align: left;
}
&.value .value-text {
font-size: 150%;
font-family: monospace;
}
&.range-control {
padding: 0.4em;
}
&.range-control > * {
display: block;
text-align: left;
}
&.range-control label {
padding-right: 1em;
}
&.range-control .value {
font-size: 150%;
font-family: monospace;
}
}
label, .label {
font-size: 80%;
color: #555;
font-weight: 100;
}
.play-pause-button:before { content: "▶︎"; }
.playing .play-pause-button:before { content: "||"; }
.restart-button:before { content: "⎌"; }
.beat-grid {
border-collapse: collapse;
margin: 10px auto;
td {
padding: 0;
&.label {
padding: 0.3em;
margin: 0px 0;
height: 100%;
border-bottom: solid white 1px; /* TODO: make margin work */
border-radius: 15px 0 0 15px;
}
}
button {
background-color: #444;
width: 4em;
height: 4em;
&.on {
background-color: #DD0;
}
&.current {
background-color: #888;
}
&.current.on {
background-color: #FF3;
}
}
}
.row > * {
vertical-align: middle;
}