generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstyles.css
44 lines (34 loc) · 1.02 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
/* Any line that isn't focused on, reduce opacity */
body.StilleStyle .cm-editor.cm-focused .cm-line:not(.cm-active) {
opacity: var(--unfocusedLevel);
}
/* If the editor does not have focus, then reduce opacity of contents of editor */
body.StilleStyle .cm-editor:not(.cm-focused) .cm-line {
opacity: var(--unfocusedLevel);
}
body.StilleStyle .cm-editor .metadata-container {
opacity:var(--unfocusedLevel);
}
body.StilleStyle .cm-editor .internal-embed,
body.StilleStyle .cm-editor .cm-embed-block {
opacity: var(--unfocusedLevel);
}
body.StilleStyle .cm-editor .cm-active {
opacity: 1;
}
body.StilleStyle.is-mobile .cm-editor .cm-active {
opacity: 1;
}
body.StilleUnfocusTitle .view-header-title {
opacity: var(--unfocusedLevel);
}
body.StilleUnfocusTitle .view-header-title:focus-within {
opacity: 1;
}
/* Below are v1.0 specific fixes */
body.StilleUnfocusTitle .inline-title {
opacity: var(--unfocusedLevel);
}
body.StilleUnfocusTitle .inline-title:focus-within {
opacity: 1;
}