generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 16
/
styles.css
49 lines (41 loc) · 1.15 KB
/
styles.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
/* Default abcjs styles look good. Just adapting it to the current theme. */
.abcjs-container svg path {
fill: var(--text-normal);
}
.abcjs-container svg text {
fill: var(--text-normal);
}
.abcjs-brace {
stroke: var(--text-normal);
}
.obsidian-plugin-abcjs-error {
background-color: #E74C3C;
color: white;
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 8px;
text-align: center
}
/* ------------------------------------------------- Audio Playback styles */
.abcjs-container {
cursor: pointer;
}
/* color the current notes */
.abcjs-highlight path {
fill: var(--background-modifier-success) !important;
}
/* Highlight the region when audio is playing */
.cm-embed-block.is-playing,
.cm-embed-block.is-playing:focus-within {
box-shadow: 0 0 0 1px var(--background-modifier-success), inset 0 0 0 1px var(--background-modifier-success) !important;
border-radius: var(--radius-s);
}
/* .cm-embed-block:focus-within {
box-shadow: 0 0 0 1px var(--color-blue), inset 0 0 0 1px var(--color-blue) !important;
border-radius: var(--radius-s);
} */
.abcjs-css-warning {
display: none;
}