forked from danielo515/obsidian-modal-form
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
63 lines (51 loc) · 1.09 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
:root {
--mf-spacing: 0.75rem;
}
/* Utilities to remove styles from native obsidian elements when wrapped like this
<div class='utility'>
<div>...</div>
</div>
*/
.remove-border div:first-of-type {
border: none;
}
.remove-padding div:first-of-type {
padding: 0;
}
.fix-suggest .setting-item-info {
display: none;
}
.modal-form-danger {
color: var(--text-error);
}
.modal-form-primary {
color: var(--text-accent);
}
.modal-form-hint {
color: var(--text-muted);
}
.modal-form {
--shadow-bottom: 0 0.8rem 0.8rem -0.8rem;
}
/* .modal-form-hint code {
color: var(--text-normal);
background-color: var(--background-secondary);
} */
.modal-form-textarea {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: var(--mf-spacing);
}
.modal-form-textarea .setting-item-control {
flex: 1;
width: 100%;
}
.modal-form-textarea .setting-item-control textarea {
width: 100%;
}