generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
119 lines (97 loc) · 2.37 KB
/
styles.css
File metadata and controls
119 lines (97 loc) · 2.37 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
/*
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.
*/
.folder-rule-container {
border: 1px solid var(--background-modifier-border);
margin: 1em 0;
padding: 1em;
border-radius: 4px;
}
.folder-rule-container .setting-item {
border: none;
padding: 0.5em 0;
}
.condition-container {
margin-left: 2em;
padding: 0.5em;
border-left: 2px solid var(--background-modifier-border);
}
.condition-container .setting-item {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.condition-container .setting-item-control {
flex: 1;
display: flex;
gap: 8px;
}
.condition-container .setting-item-control input {
flex: 1;
}
.condition-container .setting-item-control select {
min-width: 100px;
}
.folder-browse-button {
background-color: var(--interactive-normal);
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
padding: 4px 8px;
cursor: pointer;
font-size: 14px;
}
.folder-browse-button:hover {
background-color: var(--interactive-hover);
}
/* Delete Rule Button Styles */
.delete-rule-button {
border-top: 1px solid var(--background-modifier-border);
}
.delete-rule-button .setting-item-control {
justify-content: center;
}
.delete-rule-button button {
background-color: var(--background-modifier-error);
color: var(--text-on-accent);
border: none;
padding: 4px 12px;
border-radius: 4px;
cursor: pointer;
min-width: 120px;
}
.delete-rule-button button:hover {
background-color: var(--background-modifier-error-hover);
}
/* Delete Rule Modal Styles */
.rule-details {
margin: 1em 0;
padding: 1em;
background-color: var(--background-secondary);
border-radius: 4px;
}
.rule-details p {
margin: 0.5em 0;
color: var(--text-muted);
}
.modal-button-container {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 1em;
}
.modal-button-container button {
padding: 4px 12px;
border-radius: 4px;
cursor: pointer;
}
.modal-button-container button.mod-warning {
background-color: var(--background-modifier-error);
color: var(--text-on-accent);
border: none;
}
.modal-button-container button.mod-warning:hover {
background-color: var(--background-modifier-error-hover);
}