Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
126 lines (110 loc) · 2.04 KB
/
Copy pathstyles.css
File metadata and controls
126 lines (110 loc) · 2.04 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
/*
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;
--mf-spacing2: 1.5rem;
--mf-tablet: 768px;
}
/* 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%;
}
.modal-form.flex {
display: flex;
}
.modal-form.column {
flex-direction: column;
}
.modal-form input:invalid,
.modal-form .invalid {
border-color: var(--text-error);
color: var(--text-error);
}
.notice-warning {
color: var(--text-warning);
}
.notice-error {
color: var(--text-error);
}
.modal-form-error-message {
color: var(--text-error);
font-weight: bold;
}
.modal-form-suggestion {
display: flex;
gap: 8px;
padding: 4px 0;
align-items: center;
}
.modal-form {
&.flex,
.flex {
display: flex;
}
&.gap-1,
.gap-1 {
gap: 0.5rem;
}
&.gap-2,
.gap-2 {
gap: 1rem;
}
&.flex-col,
.flex-col {
flex-direction: column;
}
.gap1 {
gap: 0.5rem;
}
.flex-1 {
flex: 1;
}
.items-center {
align-items: center;
}
.flex-wrap {
flex-wrap: wrap;
}
}