forked from selfthinker/dokuwiki_plugin_abc2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
191 lines (165 loc) · 3.91 KB
/
style.css
File metadata and controls
191 lines (165 loc) · 3.91 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
/* inherit SVG colours from the template settings */
.abc2-plugin svg,
.abc-render svg {
color: @ini_text;
background-color: @ini_background;
}
/* the SVGs abc2svg (and abc-ui) produce are not responsive and get cut off */
/* this makes the SVG readable by making it possible for it to break out of the page */
/* for the default 'dokuwiki' template, other templates might need other fixes */
.dokuwiki div.page {
overflow: visible !important;
}
/* abcjs (original from abcjs-midi.css, MIT license)
********************************************************************/
/* changes from Anika Henke <anika@selfthinker.org>:
* removed references to Font Awesome
* added Unicode characters for player icons instead
*/
.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;
margin-bottom: 1.4em;
}
.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 inherit;
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: "↔";
}
.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: "🔁";
}
.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: "⏮️";
}
.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: "▶️";
}
.abcjs-inline-midi .abcjs-midi-start.abcjs-pushed:before {
content: "⏸";
}
.abcjs-inline-midi .abcjs-midi-start.abcjs-loading {
outline: none;
animation: a 1s infinite steps(8);
}
.abcjs-inline-midi .abcjs-midi-start.abcjs-loading:before {
content: "◌";
}
.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;
}
/* Adding the class "abcjs-large" will make the control easier on a touch device. */
.abcjs-large .abcjs-inline-midi {
height: 52px;
}
.abcjs-large .abcjs-btn {
width: 56px;
height: 52px;
font-size: 28px;
}
.abcjs-large .abcjs-midi-progress-background {
height: 20px;
border: 4px solid #cccccc;
}
.abcjs-large .abcjs-midi-progress-indicator {
height: 28px;
top: -8px;
width: 40px;
}
.abcjs-large .abcjs-midi-clock {
font-size: 32px;
margin-right: 10px;
margin-left: 10px;
}
.abcjs-highlight {
fill: #0a9ecc;
}
.abcjs-cursor {
stroke: red;
}