forked from paulrosen/abcjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabcjs-midi.css
129 lines (111 loc) · 2.71 KB
/
abcjs-midi.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
122
123
124
125
126
127
128
129
/* Some basic CSS to make the MIDI controls in abcjs presentable. */
.abcjs-inline-midi {
height: 26px;
padding: 0 5px;
border-radius: 3px;
color: #f4f4f4;
background-color: #424242;
display: flex;
align-items: center;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-btn {
width: 28px;
height: 26px;
display: inline-block;
margin-right: 2px;
float: left;
padding: 0;
background: none;
font: normal normal normal 14px/1 FontAwesome;
font-size: 14px;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #f4f4f4;
border: 1px solid transparent;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-btn:hover {
color: #cccccc;
}
.abcjs-inline-midi .abcjs-midi-selection:before {
content: "\f07e"; /* fa-arrows-h [] */
}
.abcjs-inline-midi .abcjs-midi-selection.abcjs-pushed {
border: 1px solid #cccccc;
background-color: #666666;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-midi-loop:before {
content: "\f021"; /* fa-refresh [] */
}
.abcjs-inline-midi .abcjs-midi-loop.abcjs-pushed {
border: 1px solid #cccccc;
background-color: #666666;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-midi-reset:before {
content: "\f048"; /* fa-step-backward [] */
}
.abcjs-inline-midi .abcjs-midi-reset.abcjs-pushed {
border: 1px solid #cccccc;
background-color: #666666;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-midi-start:before {
content: "\f04b"; /* fa-play [] fa-pause [] */
}
.abcjs-inline-midi .abcjs-midi-start.abcjs-pushed:before {
content: "\f04c"; /* fa-play [] fa-pause [] */
}
.abcjs-inline-midi .abcjs-midi-progress-background {
background-color: #424242;
height: 10px;
border-radius: 5px;
border: 2px solid #cccccc;
margin: 0 8px 0 15px;
position: relative;
flex: 1;
padding: 0;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-midi-progress-indicator {
width: 20px;
margin-left: -10px; /* half of the width */
height: 14px;
background-color: #f4f4f4;
position: absolute;
display: inline-block;
border-radius: 6px;
top: -4px;
left: 0;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-midi-clock, .abcjs-inline-midi .abcjs-midi-post {
margin-left: 4px;
margin-top: 0;
display: inline-block;
font-family: sans-serif;
font-size: 16px;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-midi-pre {
display: inline-block;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-tempo-wrapper {
float: right;
font-size: 10px;
display: inline-block;
color: #f4f4f4;
box-sizing: border-box;
}
.abcjs-inline-midi .abcjs-midi-tempo {
border-radius: 2px;
border: none;
margin: 1px 2px 0 4px;
width: 32px;
padding-left: 2px;
box-sizing: border-box;
}